- 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)
This commit is contained in:
Dmitry Marakasov 2017-02-09 17:09:29 +00:00
parent d4f64674bb
commit 88db72a5e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433747
6 changed files with 43 additions and 59 deletions

View file

@ -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

View 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

View file

@ -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>

View file

@ -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;

View file

@ -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)

View file

@ -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