./archivers/zutils, Utilities for any combination of compressed and non-compressed files

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.8, Package name: zutils-1.8, Maintainer: pkgsrc-users

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.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 6c37963877addfc266f93af587ecf66258288be2
RMD160: 5187bdc7da5527d7ad9afc17449360fe128aa67a
Filesize: 52.036 KB

Version history: (Expand)


CVS history: (Expand)


   2020-02-29 17:19:50 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
(archivers/zutils) Updated 1.6 to 1.8

Changes in version 1.8:

A buffer overflow has been fixed in zcat which happened sometimes when
the '-v, --show-nonprinting' option was used (or indirectly enabled).
A canary byte has been added to the output buffer to prevent the buffer
overflow from happening again.

The option '-R, --dereference-recursive', which recursively follows
symbolic links, has been added to zcat, zgrep, ztest and zupdate.

The option '-r, --recursive' now skips symlinks that are encountered
recursively.

If no files are given to zcat, zgrep, ztest and zupdate, a recursive
search will now examine the current working directory.

Recursive directory loops are now detected.

zcat and zgrep now ignore directories given in the command line if
'--recursive' is not specified, instead of reporting an error.

Extra trailing slashes are now removed from directories given in the
command line before recursing into them.

zcat and zgrep now show the right error when they can't open an input
file instead of showing "No such file or directory".

Killed decompressors are now waited for, preventing failure caused by
too many open pipes.

Test and document that if a file fails to decompress, zcat, zgrep and
ztest continue processing the rest of the files.

Test and document that if an error happens while recompressing a file,
zupdate exits immediately without recompressing the rest of the files.

The configure script now accepts appending options to CXXFLAGS using the
syntax 'CXXFLAGS+=OPTIONS'.
   2020-01-19 00:36:14 by Roland Illig | Files touched by this commit (3046)
Log message:
all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
   2019-11-02 23:54:29 by Roland Illig | Files touched by this commit (27)
Log message:
archivers: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
   2018-07-04 15:40:45 by Jonathan Perkin | Files touched by this commit (423)
Log message:
*: Move SUBST_STAGE from post-patch to pre-configure

Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
   2017-04-09 13:39:19 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Updated archivers/zutils to 1.6
-------------------------------
2017-04-05  Antonio Diaz Diaz  <antonio@gnu.org>

        * Version 1.6 released.
        * zcmp.cc: Accept 'B' suffix in '--ignore-initial=1kB:1234B'.
        * zutils.cc (feed_data): Show input filename in error messages.
   2016-09-19 02:36:59 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Updated archivers/zutils 1.3 to 1.5
---------------------------------- (From NEWS)
Changes in version 1.5:

 zupdate now passes '-q' to zcmp if specified.

 zcat, zgrep and ztest no longer read from standard input more than once
 if '-' is specified multiple times.

 zdiff now uses '_' as separator if both temporary file names are
 otherwise different. For example 'xxx_file.lz' and 'xxx_file.gz'.
---------------------------------- (From ChangeLog)
2016-05-15  Antonio Diaz Diaz  <antonio@gnu.org>

	* Version 1.5 released.
	* zupdate.cc (zupdate_file): Pass '-q' to zcmp if verbosity < 0.
	* zcat.cc zgrep.cc ztest.cc (main): Don't use stdin more than once.
	* zdiff.cc (set_fifonames): Use '_' if both names are different.
	* configure: Avoid warning on some shells when testing for g++.
	* Makefile.in: Detect the existence of install-info.
	* testsuite/check.sh: A POSIX shell is required to run the tests.

(pkgsrc-changes)
 - Add TEST_TARGET = check
  (but make test fails for now)
   2015-11-03 01:56:27 by Alistair G. Crooks | Files touched by this commit (93)
Log message:
Add SHA512 digests for distfiles for archivers category

Problems found with existing distfile for eagle:
	distfiles/bicom101.zip
	distfiles/szip-2.1nb3/szip-2.1.tar.gz
	distfiles/xmill-0.9.1.tar.gz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-12-31 02:25:22 by Makoto Fujiwara | Files touched by this commit (3) | Package updated
Log message:
(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.