debian/0002775000000000000000000000000012136052433007171 5ustar debian/source/0002775000000000000000000000000012136052432010470 5ustar debian/source/format0000664000000000000000000000001411533455427011707 0ustar 3.0 (quilt) debian/copyright0000664000000000000000000000177611727432753011151 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ncompress Upstream-Contact: Mike Frysinger Source: http://sourceforge.net/projects/ncompress/ Files: * Copyright: Public Domain License: public-domain Placed in the public domain by Spencer W. Thomas and James A. Woods. Other authors include: Jim McKie, Steve Davies, Ken Turkowski, Joe Orost, Dave Mack, and Peter Jannesen, as well as the current maintainer Mike Frysinger. Files: debian/* Copyright: 1996-1997 Christoph Lameter 1997 Helmut Geyer 1998 Adam Klein 2001 Colin Watson 2003-2004, 2006-2007, 2009-2010 Kenneth J. Pronovici License: Copying and distribution of these files, with or without modification, is permitted in any medium without royalty provided the copyright notice and this notice are preserved. debian/control0000664000000000000000000000165012070365776010612 0ustar Source: ncompress Section: utils Priority: optional Maintainer: Kenneth J. Pronovici Homepage: http://ncompress.sourceforge.net/ Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1) Standards-Version: 3.9.4.0 Package: ncompress Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: original Lempel-Ziv compress/uncompress programs This package provides the original compress and uncompress programs that used to be the de facto UNIX standard for compressing and uncompressing files. These programs implement a fast, simple Lempel-Ziv (LZW) file compression algorithm. . For Debian, the standard uncompress program is installed as uncompress.real, to avoid conflicting with other packages. . This package also contains a copyright notice and a brief discussion of the LZW patent history (written by one of the original authors) in the file /usr/share/doc/ncompress/README.Debian. debian/patches/0002775000000000000000000000000012136052432010617 5ustar debian/patches/uncompress-real.patch0000664000000000000000000000400211533455427014764 0ustar # Description: Use uncompress.real instead of uncompress. # The gzip package already has a program called uncompress. For historical # purposes, the solution to this is to have ncompress install its program as # uncompress.real rather than uncompress. See README.Debian for more # information. # Author: Kenneth J. Pronovici --- a/compress42.c +++ b/compress42.c @@ -727,7 +727,8 @@ else progname = argv[0]; - if (strcmp(progname, "uncompress") == 0) + if (strcmp(progname, "uncompress") == 0 + || strcmp(progname, "uncompress.real") == 0) do_decomp = 1; else if (strcmp(progname, "zcat") == 0) --- a/compress.1 +++ b/compress.1 @@ -1,6 +1,6 @@ .TH COMPRESS 1 local .SH NAME -compress, uncompress \- compress and expand data +compress, uncompress.real \- compress and expand data .SH SYNOPSIS .ll +8 .B compress @@ -22,7 +22,7 @@ ] .ll -8 .br -.B uncompress +.B uncompress.real [ .B \-f ] [ @@ -35,6 +35,14 @@ .I "name \&..." ] .SH DESCRIPTION +.PP +Note that the program that would normally be installed as +.I uncompress +is installed for Debian as +.I uncompress.real. +This has been done to avoid conflicting with the more-commonly-used +program with the same name that is part of the gzip package. +.PP .I Compress reduces the size of the named files using adaptive Lempel\-Ziv coding. Whenever possible, @@ -60,9 +68,9 @@ the user is prompted as to whether an existing file should be overwritten. .PP Compressed files can be restored to their original form using -.I uncompress. +.I uncompress.real. .PP -.I uncompress +.I uncompress.real takes a list of files on its command line and replaces each file whose name ends with .B "\&.Z" @@ -75,7 +83,7 @@ The .B \-c option makes -.I compress/uncompress +.I compress/uncompress.real write to the standard output; no files are changed. .PP If the @@ -125,7 +133,7 @@ Note that the .B \-b flag is omitted for -.I uncompress, +.I uncompress.real, since the .I bits parameter specified during compression debian/patches/remove-zcat.patch0000664000000000000000000000247611533455427014116 0ustar # Description: Remove references to zcat in the manpage. # We don't install a zcat tool, so it doesn't make sense to reference it. # Author: Kenneth J. Pronovici --- a/compress.1 +++ b/compress.1 @@ -1,6 +1,6 @@ .TH COMPRESS 1 local .SH NAME -compress, uncompress, zcat \- compress and expand data +compress, uncompress \- compress and expand data .SH SYNOPSIS .ll +8 .B compress @@ -34,13 +34,6 @@ ] [ .I "name \&..." ] -.br -.B zcat -[ -.B \-V -] [ -.I "name \&..." -] .SH DESCRIPTION .I Compress reduces the size of the named files using adaptive Lempel\-Ziv coding. @@ -67,9 +60,7 @@ the user is prompted as to whether an existing file should be overwritten. .PP Compressed files can be restored to their original form using -.I uncompress -or -.I zcat. +.I uncompress. .PP .I uncompress takes a list of files on its command line and replaces each @@ -87,19 +78,6 @@ .I compress/uncompress write to the standard output; no files are changed. .PP -.I zcat -is identical to -.I uncompress -.B \-c. -.I zcat -uncompresses either a list of files on the command line or its -standard input and writes the uncompressed data on standard output. -.I zcat -will uncompress files that have the correct magic number whether -they have a -.B "\&.Z" -suffix or not. -.PP If the .B \-r flag is specified, debian/patches/series0000664000000000000000000000005011533455427012040 0ustar remove-zcat.patch uncompress-real.patch debian/README.debian0000664000000000000000000001517511533455427011313 0ustar General Notes ------------- In this package, 'uncompress' is installed as 'uncompress.real' to avoid conflict with the gzip package. Most of the utility scripts distributed with the source code (zdiff, zmore, zcmp) are not installed. The uncompress.real program installed to /usr/bin is just a symlink to the compress program. Same goes for the uncompress.real manpage in /usr/share/man/man1. Please note that this version of ncompress does not support files larger than 2GB. I have toyed with increasing this limit, but I haven't been overly successful. It looks to be possible to increase the limit up to 4GB, but that's still an arbitrary limit, and given my level of understanding of this code, I'm leery of doing it for no real gain. If you need support for very large files, I suggest using gzip rather than compress. Also, note that prior to fixing bug #220820 (in November of 2003, version 4.2.4-13), there was a data-corruption bug with 'compress -b9'. If you created files using -b9 (maxbits of 9) prior to this version, your file was probably corrupted, and you will only be able to recover parts of it. I have "fixed" this bug by disallowing maxbits less than 10. The uncompress.real program will still decompress 9-bit files created by other compress programs (such as the ones from Solaris or AIX) but the compress program will not create 9-bit files. This package was moved to main in August of 2004. Prior to that, it was kept out of main because it implements the patented LZW algorithm. The consensus is that patents on that algorithm have expired as of July 2004. Upstream Source Code -------------------- Christoph apparently downloaded the original tarball from: ftp://sunsite.unc.edu/pub/linux/utils/compress/ncompress-4.2.4.tar.Z In the meantime, however, sunsite.unc.edu has disappeared, and has been replaced by ibiblio.org. Up until version 4.2.4.2-1, the upstream source was: ftp://ftp.ibiblio.org/pub/linux/utils/compress/ncompress-4.2.4.tar.Z Starting with 4.2.4.2-1, I have based the Debian package on the "new" upstream SourceForge project: http://sourceforge.net/projects/ncompress/ There still isn't any active "development" on this project, but at least now there's a central place where bug fixes from the various Linux distributions can all be coordinated together. Copyright and Patent Discussion ------------------------------- The following article is from James A. Woods, one of the earlier authors of compress. The article discusses the Unisys patent on the LZW compression method, and how that affects ncompress. From uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!wuarchive!usc!ucsd!ucbvax!agate!riacs!jaw Wed Aug 1 15:06:59 EDT 1990 Article: 1282 of gnu.misc.discuss Path: alembic!uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!wuarchive!usc!ucsd!ucbvax!agate!riacs!jaw From: jaw@riacs.edu (James A. Woods) Newsgroups: gnu.misc.discuss Subject: Sperry patent #4,558,302 does *not* affect 'compress' Keywords: data compression, algorithm, patent Message-ID: <1990Jul31.220935.1424@riacs.edu> Date: 31 Jul 90 22:09:35 GMT Organization: RIACS, NASA Ames Research Center Lines: 69 # "The chief defect of Henry King Was chewing little bits of string." -- Hilaire Belloc, Cautionary Tales [1907] As a co-author of 'compress' who has had contact with an attorney for Unisys (nee Sperry), I would like to relay a very basic admission from Unisys that noncommercial use of 'compress' is perfectly legal. 'Compress' is also commercially distributed by AT&T as part of Unix System 5 release 4, with no further restrictions placed upon the use of the binary, as far as I am aware. From conversations with Professor Abraham Lempel and others, it appears that neither AT&T, Sun Microsystems, Hewlett Packard, nor IBM are paying any sort of license fees to Unisys in conjunction with patent #4,558,302. It may be true that some organizations are paying fees for data compression technology licensed from one or more of the many holders of compression patents, but this is all independent from 'compress'. In particular, I received a letter at NASA dated October 1, 1987 from John B. Sowell of the Unisys law department, informing me for the first time that some form of LZW was patented. I naturally expressed skepticism that an algorithm could be patented (a murky legal area which remains so), stated that 'compress' is not identical to LZW, and in fact was designed, developed, and distributed before the ink on the patent was dry. Several telephone conversations later, Mr. Sowell intimated that they would *not* seek any fees from users of 'compress' but instead were signing licensees for hardware implementations of LZW. So, regardless of what you believe about a shady legal area, if anyone from Unisys contacts you to extract tribute for the use of 'compress', please tell them that, first, it is not theirs to begin with, and, second, there is someone who will testify in court about the conversation above. It is not even clear if anyone can "own" 'compress', since original developer Spencer Thomas, myself, and others placed the code in the public domain long before the adoption of the Berne copyright convention. In light of the events above, it seems that the Free Software Foundation is being unduly paranoid about the use of 'compress'. Now I can well believe that FSF is more likely to be a legal target than a behemoth like AT&T, but if they are simply redistributing untouched free software developed years ago in the public sector, I see no problem. Aside: I am investigating, possibly for a case history to be recycled to USENET, the particulars of data compression patents. I am aware of the following patents: IBM's Miller-Wegman LZ variant, those of Telcor and ACT [losing candidates for the British Telecom modem standard], James A. Storer's work on limited lookahead as explicated in his text "Data Compression (methods and theory)", Computer Science Press, 1988, and the various patents pending associated with the Fiala and Greene CACM article of April, 1989 on textual substitution methods. If you have any lore, send it this way. Sincerely, James A. Woods NASA Ames Research Center (RIACS) jaw@riacs.edu (or ames!jaw) P.S. The algorithm patent issue certainly is a "topic A" at the moment. One useful reference is the review article by Anthony and Colwell -- "Litigating the Validity and Infringement of Software Patents" in Washington and Lee Law Review, volume 41, fall 1984. I know Robert Colwell personally. As a practicing patent attorney, he tells me that, at a minimum, use of an invention "for research purposes" is legitimate. debian/changelog0000664000000000000000000002671612136050450011052 0ustar ncompress (4.2.4.4-7) unstable; urgency=low * Convert debian/rules to debhelper7. -- Kenneth J. Pronovici Wed, 24 Apr 2013 16:38:25 +0000 ncompress (4.2.4.4-6) unstable; urgency=low * Bump standards version to 3.9.4.0; no packaging changes. * Fix buildd log scanner W-build-stamp-in-binary warning in debian/rules. - Get rid of configure target (not necessary, causes problems) * Make other minor tweaks in debian/rules for consistency. - Add new .PHONY targets for all rules that don't create files - Change binary to depend on both binary-arch and binary-indep - Change binary-arch to depend on install, not build and install -- Kenneth J. Pronovici Mon, 31 Dec 2012 19:47:27 +0000 ncompress (4.2.4.4-5) unstable; urgency=low * Rearrange debian/rules slightly, to match other packages I maintain. - Move configure from build to build-stamp, so it's run consistently. -- Kenneth J. Pronovici Sat, 31 Mar 2012 21:48:46 +0000 ncompress (4.2.4.4-4) unstable; urgency=low * Update to machine-readable debian/copyright file format, version 1.0. * Bump standards version to 3.9.3.0; no packaging changes. * Add Build-Depends on dpkg-dev (>= 1.16.1), since I use buildflags.mk. * Support compile-time hardening to meet the release goal for wheezy. - Move to debhelper (>= 9) and debian/compat=9 - Add $LDFLAGS and $CPPFLAGS in debian/rules (closes: #663581). -- Kenneth J. Pronovici Mon, 12 Mar 2012 12:06:24 -0500 ncompress (4.2.4.4-3) unstable; urgency=low * Handle changes to build flag behavior introduced with dpkg-dev 1.16.1. - Modify debian/rules to set DPKG_EXPORT_BUILDFLAGS=1 and call buildflags.mk -- Kenneth J. Pronovici Mon, 26 Sep 2011 12:14:58 -0500 ncompress (4.2.4.4-2) unstable; urgency=low * Bump standards version to 3.9.2.0; no packaging changes. * Fix Lintian warning: debian-rules-missing-recommended-target - Restructure build, build-arch, build-indep targets in debian/rules -- Kenneth J. Pronovici Fri, 05 Aug 2011 16:19:01 -0500 ncompress (4.2.4.4-1) unstable; urgency=low * New upstream release. - Upstream now contains spelling-error.patch and manpage-syntax.patch - Tweak remove-zcat.patch and uncompress-real.patch for new compress.1 * Bump standards version to 3.9.1.0 (no packaging changes). -- Kenneth J. Pronovici Mon, 13 Sep 2010 21:07:29 -0500 ncompress (4.2.4.3-6) unstable; urgency=low * Rework manpage-syntax patch AGAIN after further discussion with upstream. - This change refines my fixes for Lintian's hyphen/dash/minus warnings - Minor changes cascaded into remove-zcat.patch and uncompress-real.patch -- Kenneth J. Pronovici Mon, 19 Jul 2010 17:32:07 -0500 ncompress (4.2.4.3-5) unstable; urgency=low * Rework manpage-syntax.patch after discussion with upstream. - Put SEE ALSO section back to its original location and preserve formatting -- Kenneth J. Pronovici Mon, 12 Jul 2010 03:43:55 +0000 ncompress (4.2.4.3-4) unstable; urgency=low * Rework patches so that they make more sense from an upstream perspective. * Fix warnings from the Full Lintian Report in the PTS. - Fix spelling errors in compress42.c (in spelling-error.patch) - Properly escape "-" in compress.1 (in manpage-syntax.patch) -- Kenneth J. Pronovici Sat, 10 Jul 2010 19:34:41 -0500 ncompress (4.2.4.3-3) unstable; urgency=low * Stop overriding $(CFLAGS) and accept whatever is passed to debian/rules. -- Kenneth J. Pronovici Fri, 02 Jul 2010 19:42:07 -0500 ncompress (4.2.4.3-2) unstable; urgency=low * Tweak long and short descriptions. * Bump standards version to 3.9.0.0. * Add Homepage: tag in debian/control. * Convert debian/copyright to new DEP-5 machine-readable format. * Convert to source format "3.0 (quilt)" - Add new file debian/source/format - Add new patch debian/patches/uncompress-real.patch - Add new patch debian/patches/remove-zcat.patch - Add new patch debian/patches/manpage-syntax.patch -- Kenneth J. Pronovici Mon, 28 Jun 2010 13:33:54 -0500 ncompress (4.2.4.3-1) unstable; urgency=low * New upstream release. * Bump standards version to 3.8.4 (no packaging changes) -- Kenneth J. Pronovici Sun, 28 Feb 2010 11:14:46 -0600 ncompress (4.2.4.2-3) unstable; urgency=low * Fix warnings/problems indicated on package tracking page. - Bump standards version to 3.8.3 (no packaging changes) - Add ${misc:Depends} for all binary packages -- Kenneth J. Pronovici Sun, 10 Jan 2010 18:52:27 +0000 ncompress (4.2.4.2-2) unstable; urgency=low * Bump standards version to 3.8.1 (no packaging changes). * Bump debhelper compatibility to 7, per linitian recommendation. * Declare a dependency on debhelper (>= 7.0.1) to match compatibility. * Remove unneeded leading .PU in compress.1, to quiet lintian. -- Kenneth J. Pronovici Sun, 29 Mar 2009 18:07:21 -0500 ncompress (4.2.4.2-1) unstable; urgency=low * Move to the SourceForge project, which is actively maintained. - Upgrade to version 4.2.4.2 - Update debian/copyright to note the SF maintainer - Updated debian/README.Debian to discuss SF package - Updated debian/watch to point to the new upstream source -- Kenneth J. Pronovici Sun, 18 Nov 2007 16:42:48 -0600 ncompress (4.2.4.0-3) unstable; urgency=low * Fix incorrect reference to /usr/doc (closes: #437106). -- Kenneth J. Pronovici Sun, 9 Sep 2007 17:54:50 -0500 ncompress (4.2.4.0-2) unstable; urgency=low * Fixed Debian watch file to include "real" upstream version. -- Kenneth J. Pronovici Sun, 12 Nov 2006 12:23:24 -0600 ncompress (4.2.4.0-1) unstable; urgency=low * Fake upstream "version change" to force dak migration (closes: #395486). - dak cannot cleanly migrate from non-free to main without a version change - Because of this, the sources (orig.tar.gz) were still deployed to non-free -- Kenneth J. Pronovici Sat, 28 Oct 2006 13:42:27 -0500 ncompress (4.2.4-16) unstable; urgency=low * Bumped standards version to 3.7.2 (no packaging changes). * Integrate changes from security team's 4.2.4-15sarge2 upload. Apply patch from Tavis Ormandy/Ludwig Nussel to fix missing boundary check. [compress42.c, CVE-2006-1168] -- Kenneth J. Pronovici Mon, 11 Sep 2006 21:13:13 -0500 ncompress (4.2.4-15) unstable; urgency=low * Move to main now that LZW patent has expired (closes: #261282). * Update debian/copyright to be clearer about public domain status. * Move James A. Woods letter from copyright file to README.Debian. * Move detailed location information from copyright file to README.Debian. -- Kenneth J. Pronovici Wed, 25 Aug 2004 13:38:42 -0500 ncompress (4.2.4-14) unstable; urgency=low * Bumped standards version to 3.6.1 (no package changes). * Fix gcc-3.4 build problem (closes: #260723). - Add -DNOFUNCDEFS to gcc command, to prevent custom prototypes for standard functions from being used by the compiler. -- Kenneth J. Pronovici Wed, 21 Jul 2004 20:49:01 -0500 ncompress (4.2.4-13) unstable; urgency=low * Disallow maxbits less than 10, to avoid data corruption (closes: #220820). * Added note in debian/README.Debian about 9-bit corruption. -- Kenneth J. Pronovici Fri, 14 Nov 2003 15:47:08 -0600 ncompress (4.2.4-12) unstable; urgency=low * Upstream source changed (ibiblio.org replaced sunsite.unc.edu). - Updated debian/watch to use correct URL - Updated debian/copyright to note new download location - Updated debian/copyright to clarify packaging history -- Kenneth J. Pronovici Fri, 19 Sep 2003 10:40:56 -0500 ncompress (4.2.4-11) unstable; urgency=low * Changed debian/README.debian to document (lack of) large file support. * Changed section to 'optional' in debian/control to match overrides. -- Kenneth J. Pronovici Mon, 14 Apr 2003 15:34:36 -0500 ncompress (4.2.4-10) unstable; urgency=low * New maintainer (closes: #182937). * Updated debian/copyright to reflect new maintainer. * Removed local variables from debian/changelog. * Updated debian/control file. - Reflect new maintainer. - Change standards version to 3.5.9. - Update debhelper depends to (>= 4.0.2). - Rewrite and clarify short and long descriptions. - Fix spelling error in long description (closes: #125169). * Updated comments in debian/README.debian. * Brought debian/rules up to "modern" standards. * Updated debian/copyright to clarify download location. * Added debian/watch file. * Added debian/compat file at compatibility level 4. * Changed prototype of main() in compress42.c, to quiet gcc. * Updated compress.1 manpage (closes: #99585). - Reference 'uncompress.real' rather than 'uncompress'. - No longer reference zcat at all. -- Kenneth J. Pronovici Mon, 7 Apr 2003 17:52:47 -0500 ncompress (4.2.4-9.1) unstable; urgency=low * NMU based on patch by Stephen Stafford : - FHS transition (closes: #91011, #91596). - Added build-depends on debhelper. - Uncommented call to dh_installdeb so the debhelper postinst and prerm files get installed with the FHS transition symlink stuff. - Bumped standards to 3.5.0. -- Colin Watson Wed, 25 Jul 2001 11:52:18 +0100 ncompress (4.2.4-9) frozen unstable; urgency=low * Upload for frozen. -- Adam Klein Thu, 3 Dec 1998 19:57:56 -0800 ncompress (4.2.4-8) unstable; urgency=low * No longer segfaults on long file names. (closes: #26416) * Standards version 2.5.0.0 (no changes). * 19 Oct 2004: reference CAN-2001-1413 and VU#176363. -- Adam Klein Wed, 2 Dec 1998 23:19:45 -0800 ncompress (4.2.4-7) unstable; urgency=low * Removed dh_du invocation from debian/rules -- Adam Klein Wed, 11 Mar 1998 23:17:13 -0500 ncompress (4.2.4-6) unstable; urgency=low * Moved exit status info to DIAGNOSTICS section (closes: #16640) -- Adam Klein Tue, 10 Feb 1998 21:27:56 -0800 ncompress (4.2.4-5) unstable; urgency=low * New maintainer * README.debian now mentions uncompress.real * Treat argv[0] value of "uncompress.real" as "uncompress" (closes: #16621) * Use debhelper (closes: #9674, #14503) * Control file now lists section as non-free/utils * Use standards version 2.4.0.0 -- Adam Klein Tue, 27 Jan 1998 09:28:38 -0800 ncompress (4.2.4-4) unstable; urgency=low * Rebuilt for hamm -- Christoph Lameter Mon, 29 Sep 1997 22:38:22 -0700 ncompress (4.2.4-3) unstable; urgency=low * new Maintainer -- Helmut Geyer Fri, 6 Jun 1997 07:31:46 +0200 ncompress (4.2.4-2) unstable; urgency=low * install uncompress as uncompress.real since gzip maintainer did not want to use alternative and gzip already installs a link for uncompress to gzip. -- Christoph Lameter Mon, 30 Dec 1996 16:24:03 -0800 ncompress (4.2.4-1) unstable; urgency=low * Initial Release. -- Christoph Lameter Sun, 22 Dec 1996 10:14:17 -0800 debian/dirs0000664000000000000000000000003311533455427010061 0ustar usr/bin usr/share/man/man1 debian/compat0000664000000000000000000000000211727437266010405 0ustar 9 debian/watch0000664000000000000000000000021411533455427010227 0ustar # This watch file uses the qa.debian.org redirector so that SourceForge URLs work version=3 http://sf.net/ncompress/ncompress-(.*)\.tar\.gz debian/rules0000775000000000000000000000202212136051423010241 0ustar #!/usr/bin/make -f # Set to enable verbose output from debhelper #export DH_VERBOSE=1 # Export standard build flags like CPFLAGS, LDFLAGS, etc. # Note that we're using "-include" to make this backport-friendly. # The buildflags.mk script was introduced along with dpkg-dev 1.16.1. DPKG_EXPORT_BUILDFLAGS = 1 -include /usr/share/dpkg/buildflags.mk %: dh $@ override_dh_installdocs: dh_installdocs Acknowleds README # This takes the place of an upstream install process override_dh_auto_install: install -o root -g root compress debian/ncompress/usr/bin ln -s compress debian/ncompress/usr/bin/uncompress.real install -o root -g root -m 644 compress.1 debian/ncompress/usr/share/man/man1 ln -s compress.1 debian/ncompress/usr/share/man/man1/uncompress.real.1 # This takes the place of an upstream build process override_dh_auto_build: gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o compress -DNOFUNCDEF -DCOMPILE_DATE="\"`date`\"" compress42.c # This takes the place of an upstream clean process override_dh_auto_clean: rm -f compress