Update sysutils/dateutils to version 0.4.1
authorDPorts Builder <nobody@home.ok>
Tue, 21 Feb 2017 15:23:14 +0000 (07:23 -0800)
committerDPorts Builder <nobody@home.ok>
Tue, 21 Feb 2017 15:23:14 +0000 (07:23 -0800)
sysutils/dateutils/Makefile
sysutils/dateutils/Makefile.DragonFly [new file with mode: 0644]
sysutils/dateutils/distinfo
sysutils/dateutils/files/patch-build-aux_yuck.c [new file with mode: 0644]
sysutils/dateutils/files/patch-lib__tzraw.c [deleted file]
sysutils/dateutils/files/patch-src__prchunk.c [deleted file]
sysutils/dateutils/pkg-plist

index bc1155b..bf99b83 100644 (file)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=      dateutils
 # $FreeBSD$
 
 PORTNAME=      dateutils
-PORTVERSION=   0.2.7
+PORTVERSION=   0.4.1
 CATEGORIES=    sysutils
 MASTER_SITES=  https://bitbucket.org/hroptatyr/dateutils/downloads/
 
 CATEGORIES=    sysutils
 MASTER_SITES=  https://bitbucket.org/hroptatyr/dateutils/downloads/
 
@@ -9,6 +9,7 @@ MAINTAINER=     jessefrgsmith@yahoo.ca
 COMMENT=       Command line utilities for working with dates
 
 LICENSE=       BSD3CLAUSE
 COMMENT=       Command line utilities for working with dates
 
 LICENSE=       BSD3CLAUSE
+LICENSE_FILE=  ${WRKSRC}/LICENSE
 
 BUILD_DEPENDS= help2man:misc/help2man
 
 
 BUILD_DEPENDS= help2man:misc/help2man
 
diff --git a/sysutils/dateutils/Makefile.DragonFly b/sysutils/dateutils/Makefile.DragonFly
new file mode 100644 (file)
index 0000000..17cc119
--- /dev/null
@@ -0,0 +1,6 @@
+CFLAGS+=       -D__BSD_VISIBLE
+
+dfly-patch:
+       ${REINPLACE_CMD} -e "s@\(D_XOPEN_SOURCE\)=700@\1=600@g" \
+               ${WRKSRC}/build-aux/Makefile.in \
+               ${WRKSRC}/build-aux/yuck.am     # for vfork visibility
index d0c3583..275f6aa 100644 (file)
@@ -1,2 +1,3 @@
-SHA256 (dateutils-0.2.7.tar.xz) = f7d0c502d79dec4a604ebc30e7c44988d7095bd303137d1fa652720350337042
-SIZE (dateutils-0.2.7.tar.xz) = 490456
+TIMESTAMP = 1484000496
+SHA256 (dateutils-0.4.1.tar.xz) = 6ccce48975fc4d3af2e27c7893e181c46ab5df1cb37e4a428b4b521a77d55278
+SIZE (dateutils-0.4.1.tar.xz) = 611460
diff --git a/sysutils/dateutils/files/patch-build-aux_yuck.c b/sysutils/dateutils/files/patch-build-aux_yuck.c
new file mode 100644 (file)
index 0000000..8d88861
--- /dev/null
@@ -0,0 +1,11 @@
+--- build-aux/yuck.c.orig      2016-12-13 05:12:37 UTC
++++ build-aux/yuck.c
+@@ -61,6 +61,8 @@
+ #include <fcntl.h>
+ #include <sys/wait.h>
+ #include <sys/stat.h>
++#include <sys/types.h>
++#include <sys/sysctl.h>
+ #include <time.h>
+ #if defined WITH_SCMVER
+ # include <yuck-scmver.h>
diff --git a/sysutils/dateutils/files/patch-lib__tzraw.c b/sysutils/dateutils/files/patch-lib__tzraw.c
deleted file mode 100644 (file)
index 27d531d..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
---- ./lib/tzraw.c.orig 2014-01-29 10:08:23.000000000 -0500
-+++ ./lib/tzraw.c      2014-03-27 23:53:01.000000000 -0400
-@@ -70,9 +70,14 @@
- /* me own header, innit */
- #include "tzraw.h"
--#if !defined MAP_ANONYMOUS && defined MAP_ANON
--# define MAP_ANONYMOUS        (MAP_ANON)
--#endif        /* MAP_ANON->MAP_ANONYMOUS */
-+#ifndef MAP_ANONYMOUS
-+#define MAP_ANONYMOUS 0x1000
-+#endif
-+
-+#ifndef MAP_ANON
-+#define MAP_ANON 0x1000
-+#endif
-+
- #if defined TZDIR
- static const char tzdir[] = TZDIR;
diff --git a/sysutils/dateutils/files/patch-src__prchunk.c b/sysutils/dateutils/files/patch-src__prchunk.c
deleted file mode 100644 (file)
index a1ff28e..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
---- ./src/prchunk.c.orig       2014-01-29 10:08:23.000000000 -0500
-+++ ./src/prchunk.c    2014-03-27 23:53:01.000000000 -0400
-@@ -61,9 +61,13 @@
- #define MAX_NLINES    (16384)
- #define MAX_LLEN      (1024)
--#if !defined MAP_ANONYMOUS && defined MAP_ANON
--# define MAP_ANONYMOUS        (MAP_ANON)
--#endif        /* MAP_ANON->MAP_ANONYMOUS */
-+#ifndef MAP_ANONYMOUS
-+#define MAP_ANONYMOUS 0x1000
-+#endif
-+
-+#ifndef MAP_ANON
-+#define MAP_ANON 0x1000
-+#endif
- #if defined __INTEL_COMPILER
- # pragma warning(disable: 981)
index 3c0aa40..978ac15 100644 (file)
@@ -1,35 +1,45 @@
 bin/dadd
 bin/dadd
+bin/dateadd
+bin/dateconv
+bin/datediff
+bin/dategrep
+bin/dateround
+bin/dateseq
+bin/datesort
+bin/datetest
+bin/datezone
 bin/dconv
 bin/ddiff
 bin/dgrep
 bin/dround
 bin/dseq
 bin/dconv
 bin/ddiff
 bin/dgrep
 bin/dround
 bin/dseq
+bin/dsort
 bin/dtest
 bin/dtest
+bin/dzone
 bin/strptime
 bin/strptime
-include/dateutils/boops.h
-include/dateutils/date-core-strpf.h
-include/dateutils/date-core.h
-include/dateutils/dt-core-strpf.h
-include/dateutils/dt-core-tz-glue.h
-include/dateutils/dt-core.h
-include/dateutils/generics.h
-include/dateutils/leaps.h
-include/dateutils/leapseconds.def
-include/dateutils/nifty.h
-include/dateutils/strops.h
-include/dateutils/time-core-strpf.h
-include/dateutils/time-core.h
-include/dateutils/token.h
-include/dateutils/tzraw.h
-lib/libdut.a
-libdata/pkgconfig/libdut.pc
 man/man1/dadd.1.gz
 man/man1/dadd.1.gz
+man/man1/dateadd.1.gz
+man/man1/dateconv.1.gz
+man/man1/datediff.1.gz
+man/man1/dategrep.1.gz
+man/man1/dateround.1.gz
+man/man1/dateseq.1.gz
+man/man1/datesort.1.gz
+man/man1/datetest.1.gz
 man/man1/dateutils.1.gz
 man/man1/dateutils.1.gz
+man/man1/datezone.1.gz
 man/man1/dconv.1.gz
 man/man1/ddiff.1.gz
 man/man1/dgrep.1.gz
 man/man1/dround.1.gz
 man/man1/dseq.1.gz
 man/man1/dconv.1.gz
 man/man1/ddiff.1.gz
 man/man1/dgrep.1.gz
 man/man1/dround.1.gz
 man/man1/dseq.1.gz
+man/man1/dsort.1.gz
 man/man1/dtest.1.gz
 man/man1/dtest.1.gz
+man/man1/dzone.1.gz
 man/man1/strptime.1.gz
 man/man1/strptime.1.gz
+%%DATADIR%%/iata.tzmcc
+%%DATADIR%%/icao.tzmcc
+%%DATADIR%%/locale
+%%DATADIR%%/mic.tzmcc
+@comment %%DOCSDIR%%/LICENSE
 %%PORTDOCS%%%%DOCSDIR%%/README.md
 %%PORTDOCS%%%%DOCSDIR%%/README.md