pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/leapsunpack Initial import of leapsunpack, a prog...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e96c7a43a0c2
branches:  trunk
changeset: 545309:e96c7a43a0c2
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Wed Jul 30 13:59:25 2008 +0000

description:
Initial import of leapsunpack, a program to convert D. J. Bernstein's
compressed leapsecond table into a viable leapsecs.txt file. It is
designed to augment D. J. Bernstein's libtai package. D. J. Bernstein!

diffstat:

 time/leapsunpack/DESCR            |   3 +++
 time/leapsunpack/Makefile         |  30 ++++++++++++++++++++++++++++++
 time/leapsunpack/PLIST            |   5 +++++
 time/leapsunpack/distinfo         |   6 ++++++
 time/leapsunpack/patches/patch-aa |  12 ++++++++++++
 5 files changed, 56 insertions(+), 0 deletions(-)

diffs (76 lines):

diff -r fd47806ce3c7 -r e96c7a43a0c2 time/leapsunpack/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/leapsunpack/DESCR    Wed Jul 30 13:59:25 2008 +0000
@@ -0,0 +1,3 @@
+leapsunpack is a program to convert D. J. Bernstein's compressed
+leapsecond table into a viable leapsecs.txt file. It is designed
+to augment D. J. Bernstein's libtai package.
diff -r fd47806ce3c7 -r e96c7a43a0c2 time/leapsunpack/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/leapsunpack/Makefile Wed Jul 30 13:59:25 2008 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/07/30 13:59:25 schmonz Exp $
+#
+
+DISTNAME=              leapsunpack-0.05
+CATEGORIES=            time
+MASTER_SITES=          ${HOMEPAGE}
+
+MAINTAINER=            schmonz%NetBSD.org@localhost
+HOMEPAGE=              http://su.bze.ro/software/
+COMMENT=               Creates libtai leapsecs.dat from compressed table
+
+DEPENDS+=              libtai-[0-9]*:../../devel/libtai
+
+DJB_RESTRICTED=                no
+
+SUBST_CLASSES+=                files
+SUBST_STAGE.files=     do-configure
+SUBST_FILES.files=     leapsinstall.sh
+SUBST_SED.files=       -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"
+SUBST_MESSAGE.files=   Fixing configuration files.
+
+INSTALLATION_DIRS=     bin share/doc/${PKGBASE}
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/leapsunpack ${PREFIX}/bin
+       ${INSTALL_SCRIPT} ${WRKSRC}/leapsinstall ${PREFIX}/bin
+       ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/${PKGBASE}
+
+.include "../../mk/djbware.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r fd47806ce3c7 -r e96c7a43a0c2 time/leapsunpack/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/leapsunpack/PLIST    Wed Jul 30 13:59:25 2008 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/07/30 13:59:25 schmonz Exp $
+bin/leapsinstall
+bin/leapsunpack
+share/doc/leapsunpack/INSTALL
+@dirrm share/doc/leapsunpack
diff -r fd47806ce3c7 -r e96c7a43a0c2 time/leapsunpack/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/leapsunpack/distinfo Wed Jul 30 13:59:25 2008 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/07/30 13:59:25 schmonz Exp $
+
+SHA1 (leapsunpack-0.05.tar.gz) = 82b692a5d7473a1f224f931df49b77557ebe1d3f
+RMD160 (leapsunpack-0.05.tar.gz) = d7d34129311c01f785b39918ebbfd9bc1d454508
+Size (leapsunpack-0.05.tar.gz) = 28320 bytes
+SHA1 (patch-aa) = 09f81e14f3dd2731c48f206e5b7b0d6c756e01bb
diff -r fd47806ce3c7 -r e96c7a43a0c2 time/leapsunpack/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/leapsunpack/patches/patch-aa Wed Jul 30 13:59:25 2008 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/07/30 13:59:25 schmonz Exp $
+
+--- leapsinstall.sh.orig       2003-12-30 16:18:29.000000000 -0500
++++ leapsinstall.sh
+@@ -1,4 +1,4 @@
+ umask 022
+-HOME/leapsunpack -a | HOME/leapsecs > ${1-/etc/leapsecs.dat}.tmp
+-mv ${1-/etc/leapsecs.dat}.tmp ${1-/etc/leapsecs.dat}
+-chmod 0644 ${1-/etc/leapsecs.dat}
++HOME/leapsunpack -a | HOME/leapsecs > ${1-@PKG_SYSCONFDIR@/leapsecs.dat}.tmp
++mv ${1-@PKG_SYSCONFDIR@/leapsecs.dat}.tmp ${1-@PKG_SYSCONFDIR@/leapsecs.dat}
++chmod 0644 ${1-@PKG_SYSCONFDIR@/leapsecs.dat}



Home | Main Index | Thread Index | Old Index