pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/zip Update to 3.0, add dependency on bzip2. ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c6d6870e2268
branches: trunk
changeset: 564087:c6d6870e2268
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Aug 26 22:33:15 2009 +0000
description:
Update to 3.0, add dependency on bzip2. New features in 3.0:
- Large files. Support for files and archives greater than 2 GB using
large file I/O and the Zip64 extensions. Also can now have more
than 64K entries in an archive.
- Split archives. Zip now supports split archives, zip archives
split into a set of files that can then be stored on removable media
for instance.
- Unicode. If Unicode support is enabled and supported on the system
Zip is run on, Zip now can read paths not in the current character
set and store those paths in portable UTF-8 format. These Unicode
paths can then be used to partially or fully recreate the paths on
other systems depending on the character set support provided by
the unzip on the receiving system. In particular, this allows
portability of paths between Windows and Unix. Unicode comments
are also supported on systems where UTF-8 is the current character
set. Unicode comment support for other systems is expected in
Zip 3.1.
- New command line parser. This new parser allows for command line
permuting, where options can appear almost anywhere on the command
line. This allows adding options to the end of the command line,
for instance. It also supports long options, allowing for
more readable command lines, and also allows lists for the -x
exclude and -i include options to appear not just at the end of
the command line. And some bugs in command line processing in
Zip 2.32 have been fixed.
- Unix 32-bit UIDs/GIDs. Now UIDs/GIDs larger than 16 bits are
supported, but UnZip 6.0 is needed to restore these larger
UIDs/GIDs. If Zip detects that the current system does not use
16-bit UIDs/GIDs, the old 16-bit UID/GID storage is not used
as putting 32-bit UIDs/GIDs into 16-bit fields can cause
problems.
- New modes. Additional archive modes have been added, including a
difference mode for supporting incremental backups, a file sync
mode for synchronizing an existing archive with the current file
system (which can be much faster than creating a new archive), and
a copy mode that allows copying entries from one archive to another.
- Compression using bzip2. Now can add bzip2 compression as a
compression option in Zip. bzip2 compression can result in much
more compact entries in some cases, but the user should verify
that bzip2 is supported on the target unzip before using this new
compression choice.
- New Windows dll. The Windows dll has been updated to support the
new Zip64 large file and larger number of entries limits. This
new dll is not backward compatible with the Zip 2.32 dll, as the
arguments to the dll have been updated to support the added
capabilities, but modifying existing programs to use the new dll
should be simple. See the included Visual Basic example project
for details.
- Better streaming and piping. Zip now has better support of
streaming and piping and handles Unix FIFOs (named pipes) better.
- Gobs of new progress information. Zip can now output progress
information, such as how many entries processed and to go, how
many bytes processed and to go, and adjustable size progress
dots. If the initial file scan takes longer than about 5
seconds, Zip now outputs dots during the scan to avoid a long
period of quiet. Zip can also now generate log files.
- Updated archive fixing. The archive fixing capability is
slightly improved, and now can fix split archives.
- Windows Archive bit support. The Windows archive bit is now
supported, though the new difference mode is probably more
reliable than relying on the Windows archive bit for creating
incremental backups.
- File lists. Zip can list the files that would be added to an
archive as well as the files in an existing archive.
- Extended help. A new extended help option lists a very terse
summary of the major features of Zip and how to use them.
- Many bug fixes.
diffstat:
archivers/zip/Makefile | 8 ++++----
archivers/zip/distinfo | 9 ++++-----
archivers/zip/patches/patch-ah | 25 -------------------------
3 files changed, 8 insertions(+), 34 deletions(-)
diffs (71 lines):
diff -r 5debbc619b76 -r c6d6870e2268 archivers/zip/Makefile
--- a/archivers/zip/Makefile Wed Aug 26 22:10:23 2009 +0000
+++ b/archivers/zip/Makefile Wed Aug 26 22:33:15 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.53 2007/06/05 06:02:46 wiz Exp $
+# $NetBSD: Makefile,v 1.54 2009/08/26 22:33:15 wiz Exp $
-DISTNAME= zip232
-PKGNAME= zip-2.32
+DISTNAME= zip30
+PKGNAME= zip-3.0
CATEGORIES= archivers
MASTER_SITES= ftp://ftp.info-zip.org/pub/infozip/src/
EXTRACT_SUFX= .tgz
@@ -14,7 +14,6 @@
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_FILE= unix/Makefile
-WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
.include "../../mk/bsd.prefs.mk"
@@ -48,4 +47,5 @@
${LN} -f -s zip.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/zipnote.1
${LN} -f -s zip.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/zipsplit.1
+.include "../../archivers/bzip2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 5debbc619b76 -r c6d6870e2268 archivers/zip/distinfo
--- a/archivers/zip/distinfo Wed Aug 26 22:10:23 2009 +0000
+++ b/archivers/zip/distinfo Wed Aug 26 22:33:15 2009 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.9 2007/06/05 06:02:46 wiz Exp $
+$NetBSD: distinfo,v 1.10 2009/08/26 22:33:15 wiz Exp $
-SHA1 (zip232.tgz) = 5bc562bf95d9aee0cb6625e6038898e1f191a4aa
-RMD160 (zip232.tgz) = 6b9326c8a60bc6bf08825e416140fd0ca8a6a7f1
-Size (zip232.tgz) = 807180 bytes
-SHA1 (patch-ah) = 1591f12b9b8593b7a51e0dde865c05f92fed61b0
+SHA1 (zip30.tgz) = c9f4099ecf2772b53c2dd4a8e508064ce015d182
+RMD160 (zip30.tgz) = 1fc99daf3e36494ba392c7514a714fe3d258d232
+Size (zip30.tgz) = 1118845 bytes
diff -r 5debbc619b76 -r c6d6870e2268 archivers/zip/patches/patch-ah
--- a/archivers/zip/patches/patch-ah Wed Aug 26 22:10:23 2009 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-$NetBSD: patch-ah,v 1.2 2005/08/03 18:54:31 wiz Exp $
-
---- unix/Makefile.orig 2005-02-28 08:33:50.000000000 +0100
-+++ unix/Makefile
-@@ -12,7 +12,6 @@ all:
-
- list: all
-
--MAKE = make -f unix/Makefile
- SHELL = /bin/sh
- LN = ln -s
-
-@@ -155,10 +154,10 @@ flags: unix/configure
- # Generic targets:
-
- generic: flags
-- eval $(MAKE) zips `cat flags`
-+ eval $(MAKE) -f unix/Makefile zips `cat flags`
-
- generic_gcc:
-- $(MAKE) generic CC=gcc CPP="gcc -E"
-+ $(MAKE) -f unix/Makefile generic CC=gcc CPP="gcc -E"
-
- # AT&T 6300 PLUS (don't know yet how to allocate 64K bytes):
- att6300nodir:
Home |
Main Index |
Thread Index |
Old Index