pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
zutils: Upgrade to 1.16
Module Name: pkgsrc-wip
Committed By: Marcin Gondek <drixter%e-utp.net@localhost>
Pushed By: drixter
Date: Sun Jul 12 00:31:47 2026 +0200
Changeset: 5b624ed1d842bb8e39db88b0796ea0a233db41bb
Modified Files:
Makefile
Added Files:
zutils/COMMIT_MSG
zutils/DESCR
zutils/Makefile
zutils/PLIST
zutils/distinfo
Log Message:
zutils: Upgrade to 1.16
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5b624ed1d842bb8e39db88b0796ea0a233db41bb
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
zutils/COMMIT_MSG | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
zutils/DESCR | 14 +++++++++++
zutils/Makefile | 40 +++++++++++++++++++++++++++++
zutils/PLIST | 17 +++++++++++++
zutils/distinfo | 5 ++++
6 files changed, 152 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 68e8f5a8d0..3be7007ad7 100644
--- a/Makefile
+++ b/Makefile
@@ -6304,6 +6304,7 @@ SUBDIR+= zodiac
SUBDIR+= zpaq
SUBDIR+= zrepl
SUBDIR+= zuse
+SUBDIR+= zutils
SUBDIR+= zynaddsubfx
${.CURDIR}/PKGDB:
diff --git a/zutils/COMMIT_MSG b/zutils/COMMIT_MSG
new file mode 100644
index 0000000000..fb77e22281
--- /dev/null
+++ b/zutils/COMMIT_MSG
@@ -0,0 +1,75 @@
+zutils: Upgrade to 1.16
+
+2026-02-07 Antonio Diaz Diaz <antonio%gnu.org@localhost>
+
+ * Version 1.16 released.
+ * zcmp.cc (getnum): Accept underscore separators ('_').
+ Print large numbers with underscore separators ('_').
+ * zgrep.cc: Assign short option name '-?' to '--help'.
+ * *.cc: (show_help): Print "*Exit status*" for section in man page.
+ * Makefile.in (install-bin): Warn of changes in /etc/zutils.conf.
+
+2025-05-27 Antonio Diaz Diaz <antonio%gnu.org@localhost>
+
+ * Version 1.15 released.
+ * zcat, ztest, zupdate: New option '-x, --exclude'.
+ * zgrep: New option '--exclude'.
+ * zgrep.cc: Exit with status 2 if write error on stdout.
+
+2025-01-05 Antonio Diaz Diaz <antonio%gnu.org@localhost>
+
+ * Version 1.14 released.
+ * zupdate.cc: '-r -d' now keeps last component of dir arguments.
+ * zutils.texi: New chapter 'Syntax of command-line arguments'.
+ * check.sh: Use 'cp' instead of 'cat'.
+
+2024-01-23 Antonio Diaz Diaz <antonio%gnu.org@localhost>
+
+ * Version 1.13 released.
+ * zutils.cc (test_format): Fix detection of bzip2 with no blocks.
+ * rc.h (format_order): Put fmt_gz before fmt_bz2.
+ * zcmpdiff.cc (open_other_instream): Try also other compressed formats.
+ * zcmp.cc (cmp): Report EOF on empty file like GNU cmp.
+ * zupdate.cc: Reformat file diagnostics as 'PROGRAM: FILE: MESSAGE'.
+ * Replace 'verify' with 'check'.
+ * configure, Makefile.in: New variable 'MAKEINFO'.
+
+2023-01-07 Antonio Diaz Diaz <antonio%gnu.org@localhost>
+
+ * Version 1.12 released.
+ * zutilsrc: Rename to zutils.conf. Search for it in $XDG_CONFIG_HOME.
+ (Suggested by Adam Tuja).
+ * Allow '-O, --force-format' force also uncompressed format.
+ * zcmp.cc: New option '-H, --hexadecimal'.
+ Change long name of option '-s' to '--script'.
+ (Following a similar change made to GNU ed).
+ Assign short name '-q' to options '--quiet' and '--silent'.
+ Separate option '-l, --list' from '-v, --verbose'.
+ (cmp): Print byte and line in EOF message like GNU cmp.
+ * zgrep.cc: New options '-G, --basic-regexp', '--label=<label>',
+ '--line-buffered', '-P, --perl-regexp', '--silent',
+ '-T, --initial-tab', '-U, --binary'. (Reported by Chris Jamboretz).
+ New option '-Z, --null'. (Reported by Leah Neukirchen).
+ * ztest.cc: Exit with status 2 if a file has wrong extension.
+ * zupdate.cc: New options '-d, --destdir', '-e, --expand-extensions',
+ '-i, --ignore-errors'. ('-i' suggested by Antoni Sawicki).
+ (zupdate_file): Pass '-q -s' to zcmp if verbosity < 0.
+ * Support compress'd (.Z) files through gzip in all utilities.
+ * rc.cc (show_version): Print the versions of the compressors used.
+ (show_option_error): New function showing argument and option name.
+ * zutils.texi: Document that format is detected by its magic bytes.
+ * check.sh: Test tarlz (if available) as compressor for zupdate.
+
+2022-01-25 Antonio Diaz Diaz <antonio%gnu.org@localhost>
+
+ * Version 1.11 released.
+ * zcmp.cc, zdiff.cc (main): Fix race returning 1 instead of 2 when a
+ compressor is not found or when the wrong format is forced.
+ * zcmp.cc (getnum): Show option name and valid range if error.
+ * All utilities: Show option name if error in option argument.
+ * Add support for zstd format to all utilities.
+ * 'zdiff -v -V' now prints the version of the diff program used.
+ * 'zgrep --verbose -V' now prints the version of the grep program used.
+ * zutils.texi: Document recompression of read-only files by linking.
+ * zutils.texi: Change GNU Texinfo category to 'Compression'.
+ (Reported by Alfred M. Szmidt).
diff --git a/zutils/DESCR b/zutils/DESCR
new file mode 100644
index 0000000000..0251309d19
--- /dev/null
+++ b/zutils/DESCR
@@ -0,0 +1,14 @@
+Zutils is a collection of utilities able to deal with any combination
+of compressed and non-compressed files transparently. If any given
+file, including standard input, is compressed, its decompressed
+content is used. Compressed files are decompressed on the fly; no
+temporary files are created. These utilities are not wrapper scripts
+but safer and more efficient C++ programs. In particular the
+"--recursive" option is very efficient in those utilities supporting it.
+
+The provided utilities are:
+Zcat - Decompresses and copies files to standard output.
+Zcmp - Decompresses and compares two files byte by byte.
+Zdiff - Decompresses and compares two files line by line.
+Zgrep - Decompresses and searches files for a regular expression.
+Ztest - Tests integrity of compressed files.
diff --git a/zutils/Makefile b/zutils/Makefile
new file mode 100644
index 0000000000..a4cd3e37ff
--- /dev/null
+++ b/zutils/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.13 2021/02/12 07:27:48 nia Exp $
+#
+
+DISTNAME= zutils-1.16
+CATEGORIES= archivers
+MASTER_SITES= http://download-mirror.savannah.gnu.org/releases/zutils/
+EXTRACT_SUFX= .tar.lz
+
+MAINTAINER= drixter%e-utp.net@localhost
+HOMEPAGE= https://www.nongnu.org/zutils/zutils.html
+COMMENT= Utilities for any combination of compressed and non-compressed files
+LICENSE= gnu-gpl-v3
+
+CONFLICTS= lzip<1.12
+
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
+CONFIGURE_ARGS+= --infodir=${PREFIX}/${PKGINFODIR}
+CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc
+USE_LANGUAGES= c++
+AUTO_MKDIRS= yes
+USE_TOOLS+= gmake
+
+INFO_FILES= yes
+
+CONF_FILES+= \
+ ${PREFIX}/share/examples/zutils/zutils.conf \
+ ${PKG_SYSCONFDIR}/zutils.conf
+
+EGDIR= ${PREFIX}/share/examples/zutils
+
+post-install:
+ ${RM} ${DESTDIR}${PKG_SYSCONFDIR}/zutils.conf
+
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/zutils.conf ${DESTDIR}${EGDIR}/zutils.conf
+
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/zutils/PLIST b/zutils/PLIST
new file mode 100644
index 0000000000..10f3236927
--- /dev/null
+++ b/zutils/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD$
+bin/zcat
+bin/zcmp
+bin/zdiff
+bin/zegrep
+bin/zfgrep
+bin/zgrep
+bin/ztest
+bin/zupdate
+info/zutils.info
+man/man1/zcat.1
+man/man1/zcmp.1
+man/man1/zdiff.1
+man/man1/zgrep.1
+man/man1/ztest.1
+man/man1/zupdate.1
+share/examples/zutils/zutils.conf
diff --git a/zutils/distinfo b/zutils/distinfo
new file mode 100644
index 0000000000..5a4aeecc39
--- /dev/null
+++ b/zutils/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.9 2021/10/26 09:57:20 nia Exp $
+
+BLAKE2s (zutils-1.16.tar.lz) = fd19b00d0d76b57e866c650de0dd35ab3b9a8a66e15fe6c750f8dff4cbde7e03
+SHA512 (zutils-1.16.tar.lz) = 2f89a6366c107bf3e316bc79a1d7e02a39b4efc74bad81951a153076f4e0b0b1f4f7e8bd239c8f43a9ccda9d721238d6877e19cce231c27f0ddb43852a8da1d8
+Size (zutils-1.16.tar.lz) = 66011 bytes
Home |
Main Index |
Thread Index |
Old Index