pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libtai Add the latest leap second. Generate leap...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c1215295ebf3
branches:  trunk
changeset: 389747:c1215295ebf3
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Jan 08 03:57:11 2019 +0000

description:
Add the latest leap second. Generate leapsecs.dat during build. Install
static library with sensible permissions. Bump PKGREVISION.

diffstat:

 devel/libtai/Makefile                   |  9 ++++++---
 devel/libtai/distinfo                   |  4 ++--
 devel/libtai/patches/patch-leapsecs.txt |  5 +++--
 3 files changed, 11 insertions(+), 7 deletions(-)

diffs (70 lines):

diff -r fc406fc9c455 -r c1215295ebf3 devel/libtai/Makefile
--- a/devel/libtai/Makefile     Tue Jan 08 01:20:02 2019 +0000
+++ b/devel/libtai/Makefile     Tue Jan 08 03:57:11 2019 +0000
@@ -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 @@
 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 @@
                ${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};   \
diff -r fc406fc9c455 -r c1215295ebf3 devel/libtai/distinfo
--- a/devel/libtai/distinfo     Tue Jan 08 01:20:02 2019 +0000
+++ b/devel/libtai/distinfo     Tue Jan 08 03:57:11 2019 +0000
@@ -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 @@
 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
diff -r fc406fc9c455 -r c1215295ebf3 devel/libtai/patches/patch-leapsecs.txt
--- a/devel/libtai/patches/patch-leapsecs.txt   Tue Jan 08 01:20:02 2019 +0000
+++ b/devel/libtai/patches/patch-leapsecs.txt   Tue Jan 08 03:57:11 2019 +0000
@@ -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 @@
 ++2008-12-31
 ++2012-06-30
 ++2015-06-30
+++2016-12-31



Home | Main Index | Thread Index | Old Index