(pkgsrc) - (Makefile) Add following lines CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc CONF_FILES= ${EGDIR}/zutilsrc ${PREFIX}/etc/zutilsrc - (PLIST) delete bin/zutils, see 2014-02-01 Changes Below. (upstream) - Update 0.9 to 1.3 ---------- 2014-08-30 Antonio Diaz Diaz <antonio@gnu.org> * Version 1.3 released. * testsuite/check.sh: Fixed two values of expected exit status. * zutils.texi: Documented that '--format' does not verify format. * Added two missing #includes. * License changed to GPL version 2 or later. 2014-02-01 Antonio Diaz Diaz <antonio@gnu.org> * Version 1.2 released. * Added new utility; zupdate. * Removed zutils executable. Utils are now independent executables. * zgrep.cc: Fixed the exit status returned on error. * zutils.texinfo: Renamed to zutils.texi. 2013-08-02 Antonio Diaz Diaz <antonio@gnu.org> * Version 1.1 released. * Added options '--bz2', '--gz', '--lz' and '--xz' to all utilities. * Added runtime configuration file 'zutilsrc'. * New function 'good_status' checks exit status of all children. * Fixed all uses of decompressed/uncompressed in the documentation. 2013-05-31 Antonio Diaz Diaz <antonio@gnu.org> * Version 1.0 released. * Added new option '--format' to all utilities. * main.cc (main): Make 'grep_show_name' tri-state so that file name is no prefixed to output by default when searching one file and '--recursive' has not been selected. * Zgrep: Fixed output of option '-L' (it behaved like '-l'). * zcmp.cc: Fixed deadlock when '-n' option is used. * zdiff.cc (set_data_feeder): Call compressor with option "-q" only if verbosity < 0. * zutils.cc (set_data_feeder): Likewise. * Changed quote characters in messages as advised by GNU Standards. * configure: Options now accept a separate argument. * configure: 'datadir' renamed to 'datarootdir'. * Makefile.in: Added new target 'install-bin'. * Use 'setmode' instead of '_setmode' on Windows and OS/2. * zcat.cc (Line_number): Fixed a portability issue with Solaris 9. * INSTALL: Document installing zutils along with GNU gzip.diff -r1.5 -r1.6 pkgsrc/archivers/zutils/Makefile
(mef)
@@ -1,23 +1,37 @@ | @@ -1,23 +1,37 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2013/04/06 03:45:06 rodent Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2014/12/31 01:25:22 mef Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= zutils-0.9 | 4 | DISTNAME= zutils-1.3 | |
5 | CATEGORIES= archivers | 5 | CATEGORIES= archivers | |
6 | MASTER_SITES= http://download.savannah.gnu.org/releases/zutils/ | 6 | MASTER_SITES= http://download.savannah.gnu.org/releases/zutils/ | |
7 | EXTRACT_SUFX= .tar.lz | |||
7 | 8 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://www.nongnu.org/zutils/zutils.html | 10 | HOMEPAGE= http://www.nongnu.org/zutils/zutils.html | |
10 | COMMENT= Utilities for any combination of compressed and non-compressed files | 11 | COMMENT= Utilities for any combination of compressed and non-compressed files | |
11 | LICENSE= gnu-gpl-v3 | 12 | LICENSE= gnu-gpl-v3 | |
12 | 13 | |||
13 | CONFLICTS= lzip<1.12 | 14 | CONFLICTS= lzip<1.12 | |
14 | 15 | |||
15 | HAS_CONFIGURE= yes | 16 | HAS_CONFIGURE= yes | |
16 | CONFIGURE_ARGS+= --prefix=${PREFIX} | 17 | CONFIGURE_ARGS+= --prefix=${PREFIX} | |
17 | CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} | 18 | CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} | |
18 | CONFIGURE_ARGS+= --infodir=${PREFIX}/${PKGINFODIR} | 19 | CONFIGURE_ARGS+= --infodir=${PREFIX}/${PKGINFODIR} | |
20 | CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc | |||
19 | USE_LANGUAGES= c++ | 21 | USE_LANGUAGES= c++ | |
22 | AUTO_MKDIRS= yes | |||
20 | 23 | |||
21 | INFO_FILES= yes | 24 | INFO_FILES= yes | |
25 | EGDIR= ${PREFIX}/share/examples/zutils | |||
26 | CONF_FILES= ${EGDIR}/zutilsrc ${PREFIX}/etc/zutilsrc | |||
27 | ||||
28 | SUBST_CLASSES+= sysconfdir | |||
29 | SUBST_STAGE.sysconfdir= post-patch | |||
30 | SUBST_FILES.sysconfdir= zutilsrc | |||
31 | SUBST_MESSAGE.sysconfdir= path of sysconfdir in example (zutilsrc) | |||
32 | SUBST_SED.sysconfdir= -e '/sysconfdir/s,$${sysconfdir},${PREFIX}/etc,' | |||
33 | ||||
34 | post-install: | |||
35 | ${MV} ${DESTDIR}${PREFIX}/etc/zutilsrc ${DESTDIR}${EGDIR} | |||
22 | 36 | |||
23 | .include "../../mk/bsd.pkg.mk" | 37 | .include "../../mk/bsd.pkg.mk" |
@@ -1,15 +1,17 @@ | @@ -1,15 +1,17 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1.1.1 2011/10/21 21:41:09 ryoon Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2014/12/31 01:25:22 mef Exp $ | |
2 | bin/zcat | 2 | bin/zcat | |
3 | bin/zcmp | 3 | bin/zcmp | |
4 | bin/zdiff | 4 | bin/zdiff | |
5 | bin/zegrep | 5 | bin/zegrep | |
6 | bin/zfgrep | 6 | bin/zfgrep | |
7 | bin/zgrep | 7 | bin/zgrep | |
8 | bin/ztest | 8 | bin/ztest | |
9 | bin/zutils | 9 | bin/zupdate | |
10 | info/zutils.info | 10 | info/zutils.info | |
11 | man/man1/zcat.1 | 11 | man/man1/zcat.1 | |
12 | man/man1/zcmp.1 | 12 | man/man1/zcmp.1 | |
13 | man/man1/zdiff.1 | 13 | man/man1/zdiff.1 | |
14 | man/man1/zgrep.1 | 14 | man/man1/zgrep.1 | |
15 | man/man1/ztest.1 | 15 | man/man1/ztest.1 | |
16 | man/man1/zupdate.1 | |||
17 | share/examples/zutils/zutilsrc |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.1.1.1 2011/10/21 21:41:09 ryoon Exp $ | 1 | $NetBSD: distinfo,v 1.2 2014/12/31 01:25:22 mef Exp $ | |
2 | 2 | |||
3 | SHA1 (zutils-0.9.tar.gz) = 69ecf5632c73fc67d5387e0b4e2f429d960e2648 | 3 | SHA1 (zutils-1.3.tar.lz) = 7a9c8cbdc43c2d1d07d4d261a3c76cbfca73fc50 | |
4 | RMD160 (zutils-0.9.tar.gz) = 59187ba1fa821e3d8314f036f0c39f287b5db595 | 4 | RMD160 (zutils-1.3.tar.lz) = fb1b0d86f1b38f0769b6abd7d5039a82ee618da2 | |
5 | Size (zutils-0.9.tar.gz) = 66382 bytes | 5 | Size (zutils-1.3.tar.lz) = 40838 bytes |