--- arc-5.21o.orig/debian/changelog +++ arc-5.21o/debian/changelog @@ -0,0 +1,49 @@ +arc (5.21o-2) unstable; urgency=low + + * Added watch file. + + -- Klaus Reimer Tue, 12 May 2009 06:43:56 +0000 + +arc (5.21o-1) unstable; urgency=low + + * New upstream release (Closes: #415988) + * Updated to debhelper 7 and debian policy 3.8.1 + + -- Klaus Reimer Fri, 13 Mar 2009 07:50:34 +0000 + +arc (5.21m-1) unstable; urgency=high + + * New upstream release + * Fixed insecure permissions of a temporary file [arcsvc.c, + CAN-2005-2945] (Closes: #329053) + * Fixed insecure temporary file creation [arcsvc.c, CAN-2005-2992] + + -- Klaus Reimer Wed, 21 Sep 2005 18:28:00 +0100 + +arc (5.21l-1) unstable; urgency=low + + * New upstream version. + * Fixed gcc-4.0 compiler problem (Closes: #285195) + + -- Klaus Reimer Sun, 13 Mar 2005 16:50:13 +0100 + +arc (5.21k-1) unstable; urgency=low + + * New upstream version. + * Fixed some buffer overflows (Closes: #278879) + + -- Klaus Reimer Sat, 6 Nov 2004 12:34:09 +0100 + +arc (5.21j-2) unstable; urgency=low + + * Now build with -O2 and CC=gcc (Closes: 221949) + * Created and added a simple marc man page. + + -- Klaus Reimer Wed, 28 Jan 2004 16:42:43 +0100 + +arc (5.21j-1) unstable; urgency=low + + * Initial Release (Closes: #219018). + + -- Klaus Reimer Mon, 3 Nov 2003 22:15:12 +0100 + --- arc-5.21o.orig/debian/dirs +++ arc-5.21o/debian/dirs @@ -0,0 +1 @@ +usr/bin --- arc-5.21o.orig/debian/docs +++ arc-5.21o/debian/docs @@ -0,0 +1,3 @@ +Readme +Arc521.doc +Arcinfo --- arc-5.21o.orig/debian/rules +++ arc-5.21o/debian/rules @@ -0,0 +1,98 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + +CC = gcc +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) CC="$(CC)" OPT="$(CFLAGS)" + #/usr/bin/docbook-to-man debian/arc.sgml > arc.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/arc. + cp -f marc arc $(CURDIR)/debian/arc/usr/bin + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs Changelog + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman arc.1 debian/marc.1 + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- arc-5.21o.orig/debian/marc.1 +++ arc-5.21o/debian/marc.1 @@ -0,0 +1,41 @@ +.TH MARC 1L "25 Nov 1992" "Howard Chu@JPL" "LOCAL COMMANDS" +.SH NAME +marc \- archive merger +.SH SYNOPSIS +.B marc +\fItgtarc\fR \fIsrcarc\fR [ \fIfiles\fR ... ] +.SH DESCRIPTION +Reads \fIfiles\fR from the arc archive \fIsrcarc\fR and add them to the +arc archive \fItgtarc\fR. +.SH HISTORY +\fIArc\fP has been in use in the CP/M and MSDOS world for many years. +Thom Henderson developed the original version, but it is important to note that +\fIarc\fP is based on the file compression theories developed by Huffman, Welch, +Knott, Knuth, and many other scientists. This implementation is based on +version 5.21 of the MSDOS program. +.SH BUGS +\fIArc\fP behaves just like the PC version of the program; all functions +of the "usage" display are working. +Full compatibility with PC ARC files is maintained, the price for which is +that \fIarc\fP doesn't like long filenames, and can only archive files with +names of up to 12 characters. +It will *sometimes* do The Right Thing with them, but I suggest +you put long-winded filenames in a "shar" before +.IR arc ing +them. + +There shouldn't be any problems, (hah!) but if you find any, please +send them to me at: + + hyc@hanauma.jpl.nasa.gov + +.SH AUTHORS +Original MSDOS program by Thom Henderson +.br +COPYRIGHT(C) 1985-87 by System Enhancement Associates; ALL RIGHTS RESERVED + +Original Lempel-Zev code derived from compress 4.0. +Modified to support Squashing by Dan Lanciani (ddl@harvard.edu) +Ported from MSDOS by Howard Chu, +with help from John Gilmore (hoptoad!gnu), James Turner (daisy!turner) +and others. --- arc-5.21o.orig/debian/watch +++ arc-5.21o/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/arc/arc-(.*)\.tgz --- arc-5.21o.orig/debian/control +++ arc-5.21o/debian/control @@ -0,0 +1,28 @@ +Source: arc +Section: utils +Priority: optional +Maintainer: Klaus Reimer +Build-Depends: debhelper (>= 7.0.0) +Standards-Version: 3.8.1 + +Package: arc +Architecture: any +Depends: ${shlibs:Depends} +Description: Archive utility based on the MSDOS ARC program + This program is based on the MSDOS ARC program, version 5.21, plus + a few enhancements... + . + o ARC also performs Huffman Squeezing on data. The Huffman Squeeze + algorithm was removed from MSDOS ARC after version 5.12. It turns + out to be more efficient than Lempel-Ziv style compression when + compressing graphic images. Squeeze analysis is always done now, + and the best of packing, squeezing, or crunching is used. + . + o Compresses and extracts Squashed files. "Squashing" was created + by Phil Katz in his PKxxx series of ARC utility programs for + MSDOS. Dan Lanciani wrote the original modifications to ARC's + Crunch code to handle Squashing. I've made minor changes since + then, mostly to reduce the amount of memory required. The 'q' + option flag must be specified to Squash files. The Squashing + algorithm will be used instead of the usual Crunch algorithm, + and will be compared against packing and squeezing, as before. --- arc-5.21o.orig/debian/copyright +++ arc-5.21o/debian/copyright @@ -0,0 +1,21 @@ +This package was debianized by Klaus Reimer on +Mon, 3 Nov 2003 22:15:12 +0100. + +It was downloaded from http://arc.sourceforge.net/ + +Upstream Author: + + Howard Chu + +Copyright: + + Copyright (C) 2003 Thom Henderson + +License: + + arc is available under the terms of the General Public License. On Debian + GNU/Linux systems, the complete text of this license can be found in + /usr/share/common-licenses/GPL. + +The Debian packaging is copyright 2009, Klaus Reimer and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- arc-5.21o.orig/debian/compat +++ arc-5.21o/debian/compat @@ -0,0 +1 @@ +7