pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/libtai
Module Name: pkgsrc
Committed By: schmonz
Date: Tue Jan 8 03:57:11 UTC 2019
Modified Files:
pkgsrc/devel/libtai: Makefile distinfo
pkgsrc/devel/libtai/patches: patch-leapsecs.txt
Log Message:
Add the latest leap second. Generate leapsecs.dat during build. Install
static library with sensible permissions. Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/libtai/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/libtai/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/libtai/patches/patch-leapsecs.txt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/libtai/Makefile
diff -u pkgsrc/devel/libtai/Makefile:1.14 pkgsrc/devel/libtai/Makefile:1.15
--- pkgsrc/devel/libtai/Makefile:1.14 Wed Jul 26 00:29:53 2017
+++ pkgsrc/devel/libtai/Makefile Tue Jan 8 03:57:11 2019
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2017/07/26 00:29:53 schmonz Exp $
+# $NetBSD: Makefile,v 1.15 2019/01/08 03:57:11 schmonz Exp $
#
DISTNAME= libtai-0.60
-PKGREVISION= 5
+PKGREVISION= 6
CATEGORIES= devel
MASTER_SITES= http://cr.yp.to/libtai/
@@ -28,6 +28,9 @@ SUBST_SED.paths= -e 's,@PKG_SYSCONFDIR@,
INSTALLATION_DIRS= bin include lib ${EGDIR}
INSTALLATION_DIRS+= ${PKGMANDIR}/man3
+post-build:
+ cd ${WRKSRC} && ./leapsecs < leapsecs.txt > leapsecs.dat
+
do-install:
set -e; cd ${WRKSRC}; \
for f in *.3; do \
@@ -40,7 +43,7 @@ do-install:
${INSTALL_DATA} "$${f}" ${DESTDIR}${PREFIX}/include; \
done; \
for f in libtai.a; do \
- ${INSTALL_LIB} "$${f}" ${DESTDIR}${PREFIX}/lib; \
+ ${INSTALL_DATA} "$${f}" ${DESTDIR}${PREFIX}/lib; \
done; \
for f in leapsecs.dat leapsecs.txt; do \
${INSTALL_DATA} "$${f}" ${DESTDIR}${PREFIX}/${EGDIR}; \
Index: pkgsrc/devel/libtai/distinfo
diff -u pkgsrc/devel/libtai/distinfo:1.8 pkgsrc/devel/libtai/distinfo:1.9
--- pkgsrc/devel/libtai/distinfo:1.8 Wed Jul 26 00:29:53 2017
+++ pkgsrc/devel/libtai/distinfo Tue Jan 8 03:57:11 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2017/07/26 00:29:53 schmonz Exp $
+$NetBSD: distinfo,v 1.9 2019/01/08 03:57:11 schmonz Exp $
SHA1 (libtai-0.60.tar.gz) = f4682fb2a98dd7d434aa0cecd9254a58a0bfd9fb
RMD160 (libtai-0.60.tar.gz) = 706111781e5e5bd7ae888e3cdc169d1d8d29de6f
@@ -6,5 +6,5 @@ SHA512 (libtai-0.60.tar.gz) = e3e6e3e46f
Size (libtai-0.60.tar.gz) = 17300 bytes
SHA1 (patch-Makefile) = 738372e27b6391b033c3c90f09bba5be8a0f5dde
SHA1 (patch-leapsecs.3) = 537c8c8a03a89b0f8af8d2ecc539e60c7cf15560
-SHA1 (patch-leapsecs.txt) = 957c257bf41fcc50fb8ff7f975bcdbf1d07c6fd9
+SHA1 (patch-leapsecs.txt) = 69707a6ada0d40435154241cff6fbf1aeeb0099a
SHA1 (patch-leapsecs__read.c) = 064ba81ef40d9dd4bd18f9e1064ce2737517f45b
Index: pkgsrc/devel/libtai/patches/patch-leapsecs.txt
diff -u pkgsrc/devel/libtai/patches/patch-leapsecs.txt:1.1 pkgsrc/devel/libtai/patches/patch-leapsecs.txt:1.2
--- pkgsrc/devel/libtai/patches/patch-leapsecs.txt:1.1 Mon Jun 26 00:45:54 2017
+++ pkgsrc/devel/libtai/patches/patch-leapsecs.txt Tue Jan 8 03:57:11 2019
@@ -1,10 +1,10 @@
-$NetBSD: patch-leapsecs.txt,v 1.1 2017/06/26 00:45:54 schmonz Exp $
+$NetBSD: patch-leapsecs.txt,v 1.2 2019/01/08 03:57:11 schmonz Exp $
Add leap seconds since this software was written.
--- leapsecs.txt.orig 1998-10-13 16:52:20.000000000 +0000
+++ leapsecs.txt
-@@ -35,3 +35,7 @@
+@@ -35,3 +35,8 @@
+1995-12-31
+1997-06-30
+1998-12-31
@@ -12,3 +12,4 @@ Add leap seconds since this software was
++2008-12-31
++2012-06-30
++2015-06-30
+++2016-12-31
Home |
Main Index |
Thread Index |
Old Index