aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-02-09 17:09:29 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-02-09 17:09:29 +0000
commit88db72a5e94181ee2eb88519aa375a8075068ec5 (patch)
treee29e1dc5c119f2c26ba7ac588051fe474c7d59e7
parentd4f64674bb4945b3fa364c7c679a4198bbf0585c (diff)
downloadports-88db72a5e94181ee2eb88519aa375a8075068ec5.tar.gz
ports-88db72a5e94181ee2eb88519aa375a8075068ec5.zip
- Update to 0.4.1
- While here, add LICENSE_FILE, don't install license as documentation and sort plist PR: 215931 Submitted by: ghostonthewire@gmail.com Approved by: maintainer timeout (jessefrgsmith@yahoo.ca, 1 month)
Notes
Notes: svn path=/head/; revision=433747
-rw-r--r--sysutils/dateutils/Makefile3
-rw-r--r--sysutils/dateutils/distinfo5
-rw-r--r--sysutils/dateutils/files/patch-build-aux_yuck.c11
-rw-r--r--sysutils/dateutils/files/patch-lib__tzraw.c20
-rw-r--r--sysutils/dateutils/files/patch-src__prchunk.c19
-rw-r--r--sysutils/dateutils/pkg-plist44
6 files changed, 43 insertions, 59 deletions
diff --git a/sysutils/dateutils/Makefile b/sysutils/dateutils/Makefile
index bc1155bad9bd..bf99b83396ad 100644
--- a/sysutils/dateutils/Makefile
+++ b/sysutils/dateutils/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= dateutils
-PORTVERSION= 0.2.7
+PORTVERSION= 0.4.1
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
+LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= help2man:misc/help2man
diff --git a/sysutils/dateutils/distinfo b/sysutils/dateutils/distinfo
index d0c3583d10ad..275f6aa5543d 100644
--- a/sysutils/dateutils/distinfo
+++ b/sysutils/dateutils/distinfo
@@ -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
index 000000000000..8d8886181778
--- /dev/null
+++ b/sysutils/dateutils/files/patch-build-aux_yuck.c
@@ -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
index 27d531de8f33..000000000000
--- a/sysutils/dateutils/files/patch-lib__tzraw.c
+++ /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
index a1ff28e10f2e..000000000000
--- a/sysutils/dateutils/files/patch-src__prchunk.c
+++ /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)
diff --git a/sysutils/dateutils/pkg-plist b/sysutils/dateutils/pkg-plist
index 3c0aa40c3a67..978ac1539d59 100644
--- a/sysutils/dateutils/pkg-plist
+++ b/sysutils/dateutils/pkg-plist
@@ -1,35 +1,45 @@
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/dsort
bin/dtest
+bin/dzone
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/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/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/dsort.1.gz
man/man1/dtest.1.gz
+man/man1/dzone.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