pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/time/dateutils



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Jun 26 15:29:56 UTC 2023

Modified Files:
        pkgsrc/time/dateutils: Makefile PLIST distinfo
Removed Files:
        pkgsrc/time/dateutils/patches: patch-Makefile.am patch-Makefile.in
            patch-build-aux_yuck.c patch-configure

Log Message:
dateutils: updated to 0.4.10

v0.4.10
do not resort to daisy sequences when incomplete dates are present
upon end-of-buffer finalise the last line
let --empty-mode|-E and --sed-mode|-S play nicely together
adapt CLI behaviour of strptime(1) to the other tools

v0.4.9
allow to specify epochs in nanoseconds, %s%N
fix nanosecond arithmetic
make cross-compilations easier
mention default timezone

v0.4.8
be symmetric about differences, A - B := -(B - A) for A < B
fix security issue when reading TZMAP_DIR from environment
fix printing of negative 0 (-0)
fix issue with tzdata transitions in files with leap second
adjustments that are now cut off at expiration time

v0.4.7
strptime mimics return code behaviour of dateconv
use unsigned arithmetic for leap second conversion
fix up ymds before adding days or business days
drain prchunk if filled with many small lines


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/time/dateutils/Makefile \
    pkgsrc/time/dateutils/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/time/dateutils/PLIST
cvs rdiff -u -r1.1 -r0 pkgsrc/time/dateutils/patches/patch-Makefile.am \
    pkgsrc/time/dateutils/patches/patch-Makefile.in \
    pkgsrc/time/dateutils/patches/patch-build-aux_yuck.c
cvs rdiff -u -r1.4 -r0 pkgsrc/time/dateutils/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/time/dateutils/Makefile
diff -u pkgsrc/time/dateutils/Makefile:1.13 pkgsrc/time/dateutils/Makefile:1.14
--- pkgsrc/time/dateutils/Makefile:1.13 Sun Jan 26 17:32:19 2020
+++ pkgsrc/time/dateutils/Makefile      Mon Jun 26 15:29:56 2023
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.13 2020/01/26 17:32:19 rillig Exp $
+# $NetBSD: Makefile,v 1.14 2023/06/26 15:29:56 adam Exp $
 
-DISTNAME=      dateutils-0.4.3
-PKGREVISION=   1
+DISTNAME=      dateutils-0.4.10
 CATEGORIES=    time
-#MASTER_SITES= ${MASTER_SITE_GITHUB:=hroptatyr/}
-MASTER_SITES+= https://bitbucket.org/hroptatyr/dateutils/downloads/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=hroptatyr/}
+GITHUB_RELEASE=        v${PKGVERSION_NOREV}
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -12,46 +11,16 @@ HOMEPAGE=   https://www.fresse.org/dateuti
 COMMENT=       Command line tools for working with dates
 LICENSE=       modified-bsd
 
-WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
-GNU_CONFIGURE= yes
-USE_TOOLS+=    pkg-config automake autoconf gmake makeinfo bison flex
 USE_LIBTOOL=   yes
-MAKE_JOBS_SAFE=        no
-
-INFO_FILES=            yes
-TEST_TARGET=           check
-INCLUDEDIR=            include/${PKGBASE}
-AUTO_MKDIRS=           YES
+USE_TOOLS+=    autoconf bison flex gmake makeinfo pkg-config
+GNU_CONFIGURE= yes
+INFO_FILES=    yes
+TEST_TARGET=   check
 
+# For patch-m4_sxe-compiler.m4
 pre-configure:
-       (cd ${WRKSRC}; autoreconf -i)
-
-post-install:
-       (cd ${WRKSRC}/lib; \
-       env DESTDIR=${DESTDIR} ${GMAKE} install-libLIBRARIES)
-# To have the similar PLIST of previous version, installing headers.
-.for i in \
-       boops.h \
-       date-core-strpf.h \
-       date-core.h \
-       dt-core-strpf.h \
-       dt-core-tz-glue.h \
-       dt-core.h \
-       generics.h \
-       gmtime.h \
-       leaps.h \
-       leapseconds.def \
-       leapseconds.h \
-       nifty.h \
-       strops.h \
-       time-core-strpf.h \
-       time-core.h \
-       token.h \
-       tzmap.h \
-       tzraw.h \
-       version.h
-       (cd ${WRKSRC}/lib; ${INSTALL_DATA} ${i} ${DESTDIR}${PREFIX}/${INCLUDEDIR})
-.endfor
+       cd ${WRKSRC} && autoreconf -i
 
 .include "../../devel/gperf/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/time/dateutils/distinfo
diff -u pkgsrc/time/dateutils/distinfo:1.13 pkgsrc/time/dateutils/distinfo:1.14
--- pkgsrc/time/dateutils/distinfo:1.13 Tue Oct 26 11:24:18 2021
+++ pkgsrc/time/dateutils/distinfo      Mon Jun 26 15:29:56 2023
@@ -1,10 +1,6 @@
-$NetBSD: distinfo,v 1.13 2021/10/26 11:24:18 nia Exp $
+$NetBSD: distinfo,v 1.14 2023/06/26 15:29:56 adam Exp $
 
-BLAKE2s (dateutils-0.4.3.tar.xz) = 4c6c464578ffef70497dcd90073fa197c1f1a14ac889fe7c5d4963528cc09340
-SHA512 (dateutils-0.4.3.tar.xz) = 0210ad1f47aec77b8b87a520da9155430b52068e53733ef7bb26dfa10e8651f2190171537d4317adf888733e9377f961d5ed070efacd8ca18139225fa8c185ca
-Size (dateutils-0.4.3.tar.xz) = 631216 bytes
-SHA1 (patch-Makefile.am) = 936ad7f986ff5cb8bec5f85c96a17657fca2774f
-SHA1 (patch-Makefile.in) = ff5aaffb2046f17189b9074090c68295df5fb57a
-SHA1 (patch-build-aux_yuck.c) = cd0be0ed0d0165f253165bff3609d8bcfaf1e67c
-SHA1 (patch-configure) = 09afa4f5237d8bc20a0585e97d616f0830f80d7c
+BLAKE2s (dateutils-0.4.10.tar.xz) = 88da7c184dda111f19e6102d80ef353df0a638f26b9971deb19f4fa17b9dd192
+SHA512 (dateutils-0.4.10.tar.xz) = 04a9fff177596bb9bc47d3b221865bbeafeafbc708385610845a1cdcb2a7fa379e8d9363cce578836ae121dab7ee64e19f61d82e8f222250e52d23c5f43cf521
+Size (dateutils-0.4.10.tar.xz) = 652548 bytes
 SHA1 (patch-m4_sxe-compiler.m4) = 43900ecee585b60b5283c82da89ad141f6f3cd91

Index: pkgsrc/time/dateutils/PLIST
diff -u pkgsrc/time/dateutils/PLIST:1.4 pkgsrc/time/dateutils/PLIST:1.5
--- pkgsrc/time/dateutils/PLIST:1.4     Mon Sep 19 05:33:15 2016
+++ pkgsrc/time/dateutils/PLIST Mon Jun 26 15:29:56 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2016/09/19 05:33:15 mef Exp $
+@comment $NetBSD: PLIST,v 1.5 2023/06/26 15:29:56 adam Exp $
 bin/dadd
 bin/dateadd
 bin/dateconv
@@ -18,27 +18,7 @@ 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/gmtime.h
-include/dateutils/leaps.h
-include/dateutils/leapseconds.def
-include/dateutils/leapseconds.h
-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/tzmap.h
-include/dateutils/tzraw.h
-include/dateutils/version.h
 info/dateutils.info
-lib/libdut.a
 man/man1/dadd.1
 man/man1/dateadd.1
 man/man1/dateconv.1



Home | Main Index | Thread Index | Old Index