--- zip-2.31.orig/man/zip.1 +++ zip-2.31/man/zip.1 @@ -9,7 +9,7 @@ .\" .\" zip.1 by Mark Adler, Jean-loup Gailly and R. P. C. Rodgers .\" -.TH ZIP 1L "27 February 2005 (v2.31)" Info-ZIP +.TH ZIP 1 "27 February 2005 (v2.31)" Info-ZIP .SH NAME zip, zipcloak, zipnote, zipsplit \- package and compress (archive) files .SH SYNOPSIS @@ -51,14 +51,14 @@ and is compatible with PKZIP (Phil Katz's ZIP for MSDOS systems). .LP A companion program -.RI ( unzip (1L)), +.RI ( unzip (1)), unpacks .I zip archives. The .I zip and -.IR unzip (1L) +.IR unzip (1) programs can work with archives produced by PKZIP, and PKZIP and PKUNZIP can work with archives produced by .IR zip . @@ -953,7 +953,7 @@ .BR \-6. .TP .B \-! -[WIN32] Use priviliges (if granted) to obtain all aspects of WinNT security. +[WIN32] Use privileges (if granted) to obtain all aspects of WinNT security. .TP .B \-@ Take the list of input files from standard input. Only one filename per line. @@ -1143,10 +1143,10 @@ [VMS] see ZIPOPT .SH "SEE ALSO" compress(1), -shar(1L), +shar(1), tar(1), -unzip(1L), -gzip(1L) +unzip(1), +gzip(1) .SH DIAGNOSTICS The exit status (or error level) approximates the exit codes defined by PKWARE and takes on the following values, except under VMS: @@ -1236,7 +1236,7 @@ .I zip handles some of the conversion internally. When using Kermit to transfer zip files from Vax to MSDOS, type "set -file type block" on the Vax. When transfering from MSDOS to Vax, type +file type block" on the Vax. When transferring from MSDOS to Vax, type "set file type fixed" on the Vax. In both cases, type "set file type binary" on MSDOS. .LP --- zip-2.31.orig/unix/Makefile +++ zip-2.31/unix/Makefile @@ -24,6 +24,7 @@ EXE = # probably can change this to 'install' if you have it +INSTALL = cp INSTALL_PROGRAM = cp # probably can change this to 'install -d' if you have it # XXX NextStep 3.3 and Openstep 4.x don't know about -p ! --- zip-2.31.orig/debian/changelog +++ zip-2.31/debian/changelog @@ -0,0 +1,176 @@ +zip (2.31-3) unstable; urgency=low + + * Put manpages in section 1, not 1L (Closes #308045). + * Fixed another typo (Closes: #309877). + + -- Santiago Vila Wed, 25 May 2005 16:03:26 +0200 + +zip (2.31-2) unstable; urgency=low + + * Fixed manpage typo (Closes: #301914). + + -- Santiago Vila Sun, 24 Apr 2005 19:23:48 +0200 + +zip (2.31-1) unstable; urgency=low + + * New upstream release. + + -- Santiago Vila Wed, 23 Mar 2005 20:12:12 +0100 + +zip (2.30-8) unstable; urgency=medium + + * Applied patch for Bug#279867 (CAN-2004-1010) by Greg Roelofs. + Based on the patch by Josh Bressers, this one actually makes long + filenames to be supported, as the string `name' is now allocated + dynamically. + + -- Santiago Vila Mon, 15 Nov 2004 17:06:32 +0100 + +zip (2.30-7) unstable; urgency=medium + + * Fixed buffer overflow in unix.c, which happens when creating archives + with very long file names (Closes: #279867). This is CAN-2004-1010. + Patch by Martin Pitt, gives an error if len >= FNMAX. Thanks a lot. + + -- Santiago Vila Wed, 10 Nov 2004 19:10:28 +0100 + +zip (2.30-6) unstable; urgency=low + + * Removed doc symlinks. + * Check for strchr using -fno-builtin to make gcc happy. + * Added DEB_BUILD_OPTIONS support for noopt, dropped debug. + + -- Santiago Vila Sun, 24 Aug 2003 13:26:10 +0200 + +zip (2.30-5) unstable; urgency=low + + * Moved from non-US/main to main. Section: utils. + + -- Santiago Vila Sun, 24 Mar 2002 15:56:28 +0100 + +zip (2.30-4) unstable; urgency=low + + * Added support for DEB_BUILD_OPTIONS. + * Updated upstream URL in copyright file. + + -- Santiago Vila Sun, 11 Nov 2001 16:19:30 +0100 + +zip (2.30-3) unstable; urgency=low + + * Added encryption support, moved to non-US/main. + * Install man symlinks for zipnote, zipsplit and zipcloak, following + clarified policy about this (Closes: #99575). + * Modified unix/unix.c to compile under gcc-3.0/glibc-2.2 where printf + is now a macro (Closes: #99659). Patch by Matthew Wilcox, modified + later by Christian Spieler. + * Removed some redundant bits from extended description. + * Conflicts and Replaces are now versioned. + * Recommends: unzip again. + + -- Santiago Vila Mon, 18 Jun 2001 17:37:32 +0200 + +zip (2.30-2) unstable; urgency=low + + * Updated upstream URL in copyright file. + + -- Santiago Vila Mon, 1 Jan 2001 18:09:38 +0100 + +zip (2.30-1) unstable; urgency=low + + * New upstream release. + * Standards-Version: 3.1.1. + * Removed Recommends: unzip. + * Fixed URL location in copyright file. + * Moved to main. License is now DFSG-compliant. + * copyright file generated from `LICENSE' file. + + -- Santiago Vila Wed, 12 Jan 2000 13:22:41 +0100 + +zip (2.20-3) unstable; urgency=low + + * copyright file is not generated from README anymore (Bug #35019). + The result was not completely appropriate for a copyright file. + * Removed `email-from-greg' file, since it did not have any real value. + + -- Santiago Vila Sun, 4 Apr 1999 00:31:55 +0200 + +zip (2.20-2) unstable; urgency=low + + * Conflicts: zip-crypt, Replaces: zip-crypt. + + -- Santiago Vila Wed, 3 Dec 1997 17:46:34 +0100 + +zip (2.20-1) unstable; urgency=low + + * `copyright' file is generated from README automatically. + * New upstream release, using pristine source. + * Distribution unstable, Section non-free. + * build is no longer a PHONY target. + * Added WHATSNEW to /usr/doc/zip. + * First libc6 release. + * Added md5sums. + + -- Santiago Vila Tue, 4 Nov 1997 20:54:11 +0100 + +zip (2.10-4) unstable; urgency=low + + * Simplified debian/rules a little bit. + * Changed section from `misc' to `utils'. + * Removed spurious symlinks for zipsplit and zipnote. If some automated + bug reporting program complains, it's a bug in the automated reporting + program, not our fault. + * Copied `history' as is. Added the symlink changelog -> history. + * Added TODO to /usr/doc/zip. + * New maintainer. + + -- Santiago Vila Sun, 16 Feb 1997 19:05:35 +0100 + +zip (2.10-3) unstable; urgency=low + + * removed zipcloak from the distribution (no encryption) + * added symlinks to zip.1.gz for zipsplit and zipnote. Useless - man + picks it up even without symlinks - but it'll at least stop automated + bug reports complaining about the "lack". + * renamed the Debian changelog + * installed the upstream changelog + * gzipped the copyright notice + + -- Stuart Lamble Wed, 8 Jan 1996 19:39:00 +1100 + +zip (2.10-2) unstable; urgency=low + + * New Debian revision: I uploaded the wrong copy of zip_2.10-1. Oops. + + -- Stuart Lamble Sat, 16 Nov 1996 18:17:00 +1100 + +zip (2.10-1) unstable; urgency=low + + * New upstream version (InfoZIP's 2.1, which is being called 2.10 for + Debian: InfoZIP view this as an identical version number.) + * Modified the copyright to include the copyright from 2.1 - just in case + it's changed. + * corrected several bugs in the rules script - all should work fine now. + * removed zipgrep from the zip package (it's in unzip, where it really + belongs.) + + -- Stuart Lamble Wed, 13 Nov 1996 19:35:24 +1100 + +zip (2.01-14) unstable; urgency=low + + * Stripped the installed binaries + * Upgraded to the 2.1.1.0 source format + * Received email from the upstream maintainers: zip can now go into + the distribution proper. Yippee! :-) + * Added the email in question to the copyright information document. + + -- Stuart Lamble Sat, 19 Oct 1996 18:33:55 +1000 + + +30 July 1996 Stuart Lamble +* New maintainer. +* Changed debian.rules to support multiple architectures in the control + file. +* Uses dpkg-name rather than a manual mv of the end .deb file. + +zip 2.01 Debian 2 - 5/9/95 Carl Streeter +* initial release (used 2 to avoid confusion with old zip) --- zip-2.31.orig/debian/control +++ zip-2.31/debian/control @@ -0,0 +1,19 @@ +Source: zip +Section: utils +Priority: optional +Maintainer: Santiago Vila +Standards-Version: 3.6.1 + +Package: zip +Architecture: any +Depends: ${shlibs:Depends} +Recommends: unzip +Conflicts: zip-crypt (<= 2.30-2) +Replaces: zip-crypt (<= 2.30-2) +Description: Archiver for .zip files + This is InfoZIP's zip program. It produces files that are fully + compatible with the popular PKZIP program; however, the command line + options are not identical. In other words, the end result is the same, + but the methods differ. :-) + . + This version supports encryption. --- zip-2.31.orig/debian/copyright.in +++ zip-2.31/debian/copyright.in @@ -0,0 +1,13 @@ +This is the Debian prepackaged version of "zip", Info-Zip's fast, portable, +zipfile compression utility. + +This package is currently maintained by Santiago Vila +and built from sources obtained from: + +ftp://ftp.info-zip.org/pub/infozip/src/zip231.tar.gz + +The changes were fairly minimal, and consisted solely of adding +various debian/* files to the distribution. + +Copyright: [ Note: The zcrypt add-on is on the public domain. ] + --- zip-2.31.orig/debian/rules +++ zip-2.31/debian/rules @@ -0,0 +1,67 @@ +#!/usr/bin/make -f + +package = zip +docdir = debian/tmp/usr/share/doc/$(package) + +CC = gcc +CFLAGS = -g -Wall -I. -DUNIX +INSTALL_PROGRAM = install + +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +build: + $(checkdir) + unix/configure "$(CC)" "$(CFLAGS)" + $(MAKE) -f unix/Makefile generic + touch build + +clean: + $(checkdir) + rm -f build + -$(MAKE) -f unix/Makefile clean + rm -rf debian/tmp debian/files* debian/*~ debian/*.bak debian/substvars + +binary-indep: checkroot build + $(checkdir) + +binary-arch: checkroot build + rm -rf debian/tmp + install -d debian/tmp/DEBIAN $(docdir) + cd debian/tmp && install -d usr/bin usr/man/man1 + $(MAKE) -f unix/Makefile install prefix=`pwd`/debian/tmp/usr \ + INSTALL_PROGRAM="$(INSTALL_PROGRAM)" + chmod 755 debian/tmp/usr/bin/* + cat debian/copyright.in LICENSE > $(docdir)/copyright + cp debian/changelog $(docdir)/changelog.Debian + cp -p CHANGES TODO WHATSNEW $(docdir) + cd $(docdir) && gzip -9 changelog.Debian CHANGES + ln -s CHANGES.gz $(docdir)/changelog.gz + gzip -r9 debian/tmp/usr/man + cd debian/tmp && mv usr/man usr/share + ln -s zip.1.gz debian/tmp/usr/share/man/man1/zipnote.1.gz + ln -s zip.1.gz debian/tmp/usr/share/man/man1/zipsplit.1.gz + ln -s zip.1.gz debian/tmp/usr/share/man/man1/zipcloak.1.gz + dpkg-shlibdeps zip + dpkg-gencontrol -isp + cd debian/tmp && \ + md5sum `find * -type f ! -regex "DEBIAN/.*"` > DEBIAN/md5sums + chown -R root:root debian/tmp + chmod -R u+w,go=rX debian/tmp + dpkg --build debian/tmp .. + +define checkdir + test -f $(package).c -a -f debian/rules +endef + +binary: binary-indep binary-arch + +checkroot: + $(checkdir) + test root = "`whoami`" + +.PHONY: binary binary-arch binary-indep clean checkroot