The "--keep" (-k) option was added to not delete input files, in line with other tools such as xz, lzip, and bzip2. A decompression issue with certain invalid data in the 'pack' format was fixed. An incorrect overwrite when compiled with optimization was fixed. zgrep's handling of multi-digit context options was fixed. zmore now acts more like 'more'.
Changelog:
* Noteworthy changes in release 1.5 (2012-06-17) [stable]
** Bug fixes
gzip -d now decodes and checks header CRC16 checksums as specified by
the FHCRC section of Internet RFC 1952.
"gzip -d -S '' precious.gz" is now rejected immediately. Before,
that command would emulate "rm -i precious.gz", but with an easily-
misunderstood prompt. I.e., gzip would ask if it's ok to remove the
existing file, "precious.gz". If you made the mistake of saying "yes",
it would remove that input file before attempting to uncompress it.
gzip -cdf now properly handles input consisting of gzip'd data followed
by uncompressed data. Before it would output raw compressed input, too.
For example, now "(printf x|gzip; echo y)|gzip -dcf" prints "xy\n",
while before it would print "x<compressed data>y\n".
gzip -rf no longer compresses files more than once (e.g., replacing
FOO with FOO.gz.gz) on file systems such as ZFS where a readdir
loop that unlinks and creates files can revisit output files.
* Update LICENSE to gnu-gpl-v3
Changelog:
2.11:
Fix mt build.
In copy-in mode, if directory attributes do not permit writing to it, setting them is delayed until the end of run. This allows to correctly extract files in such directories.
In copy-in mode, permissions of a directory are restored if it appears in the file list after files in it (e.g. in listings produced by find . -depth). This fixes debian bug #458079.
Fix possible memory overflow in the rmt client code (CVE-2010-0624).
2.10:
Ensure record headers are properly packed (fix builds on ARM).
Fix exit codes to reliably indicate success or failure of the operation.
Fix large file support.
Support MinGW builds.
Minor bugfixes.
2.9:
Licensed under the GPLv3.
Bugfixes
Honor umask when creating intermediate directories, not specified in the archive (debian bug #430053).
2.8:
Option --owner can be used in copy-out mode, allowing to uniformly override the ownership of the files being added to the archive.
Bugfixes:
Symlinks were handled incorrectly in copy-out mode.
Fix handling of large files.
Fix setting the file permissions in copy-out mode.
Fix CAN-2005-1111
2.7:
Improved error checking and diagnostics
Fixed CAN-1999-1572
Allow to use --sparse in both copy-in and copy-pass.
Fix bug that eventually caused copying out the same hard-linked file several times to archive.
Fix several LFS-related issues.
Fix Debian bug #335580.
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
Directory paths containing '..' as a directory name are now sanitized,
to prevent malicious archives being able to overwrite arbitrary files on
the filesystem.
Symbolic links are now extracted in a safer way, being created as dummy
files in O_EXCL mode that are overwritten with proper symbolic links at
the end of extraction.
Processing of archives read from IPC pipes (including stdin) has
been fixed.
Changes from previous:
----------------------
2.10 2013-03-25 rurban
- updated bzlib-src from 1.0.2 to 1.0.6
- [cpan #82308] make breaks on 5.17.7 by schubiger
- [cpan #21961] update ppport.h
- [cpan #25002] memBzip() ignores level
keep using default 6, but honor optional level argument
- use -std=c89 on gcc compat compilers
- fix -Wimplicit-int warning for show_bzversion main()
- fix a couple if dangling else corner cases
format string errors, and unused variables.
- [cpan #82576] fix pod formatting errors
- [cpan #48128] support memBunzip BZh header w/o extra size prefix
and grow dest buf dynamically. Tests in t/040-memory.t
- [cpan #40741] fix bzreadline blocked on the broken bz2 files
- [cpan #84223] fix ignored bzinflateInit args
- [cpan #48124] Multiple issues with bzinflate
support PV ref as bzinflate() buffer arg as documented.
support status checks in chunked bzinflate() calls. t/060-inflate.t
- [cpan #49618] fix for win32 nmake + gcc
- fix t/041-error.t bzopen does not work with filehandles with 5.6,
global destruction of IO::Handle mixed up with a socket
- [cpan #36246] compress 0-byte srcfiles correctly. by Jeffrey Ratcliffe.
fixes debian bug 464205
- [cpan #28366] added testcase for double free or corruption on 32 bit, threaded
but could not repro it.
2.11 2013-04-01 rurban
- [cpan #84239] Updated FSF address
- [cpan #68572] Workaround EUMM bug #84345 missing -R
2.12 2013-04-01 rurban
- Fixed META.yml, added META records and SIGN, LICENSE, repository to Makefile.PL,
META.yml is now autogenerated
- added META and POD tests
2.13 2013-04-01 rurban
- Fixed POD coverage
2.14 2013-04-05 rurban
- Fixed solaris gcc issue [cpan #84432] by removing -std=c89
2.15 2013-04-05 rurban
- Silence show_bzversion warnings with make test in t/lib.pl when -lbz2 is unusable.
ParseConfig is duplicated and not needed in t/lib.pl, but I'll leave it there.
* Multi-step trials have been implemented.
* Compression ratio has been slightly increased.
* Compression time has been reduced by 5%.
* Decompression time has been reduced by 12%.
File too long (should be no more than 24 lines).
Line too long (should be no more than 80 characters).
Trailing empty lines.
Trailing white-space.
Trucated the long files as best as possible while preserving the most info
contained in them.
COMMENT should not be longer than 70 characters.
COMMENT should not begin with 'A'.
COMMENT should not begin with 'An'.
COMMENT should not begin with 'a'.
COMMENT should not end with a period.
COMMENT should start with a capital letter.
pkglint warnings. Some files also got minor formatting, spelling, and style
corrections.
0.11 [2013/03/23]
* Added Zip64 support (large file support)
* Added UTF-8 support for file names, file comments, and archive comments
* Changed API for name and comment related functions for UTF-8 support
* Added zip_discard()
* Added ZIP_TRUNCATE for zip_open()
* Added zip_set_file_compression()
* Added API for accessing and modifying extra fields
* Improved API type consistency
* Use gcc4's visibility __attribute__
* More changes for Windows support
* Additional test cases