debian/0000755000000000000000000000000011740565471007200 5ustar debian/patches/0000755000000000000000000000000011732702031010611 5ustar debian/patches/20-Makefile.in.patch0000644000000000000000000000363011715427337014213 0ustar From aff8e0c00b1d41f5b80f2fe244ce90da9b15a8e8 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Mon, 24 May 2010 18:40:45 +0300 Subject: [PATCH] Makefile.in: (install): adjust slightly Commented module_dir param to disable modules by Tommaso Moroni Disable Magic file install. This is job for file(1). Organization: Private Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Jari Aalto --- Makefile.in | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index 4e4b401..8f31da6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -61,7 +61,7 @@ dact.conf: Makefile @echo "color_ui off" >> dact.conf @echo "network_access on" >> dact.conf @echo "binary_check off" >> dact.conf - @echo "module_dir $(datadir)/dact" >> dact.conf +# @echo "module_dir $(datadir)/dact" >> dact.conf @echo "module_load_all off" >> dact.conf @MODS@ @for so in $(MODS:.so=); do echo "load_module $$so" >> dact.conf; done @@ -104,11 +104,11 @@ install: all install-bin $(INSTALL) -m 644 dact.conf $(CONF) $(INSTALL) -m 644 Docs/dact.1 $(mandir)/man1/dact.1 -$(INSTALL) -m 755 libdact.$(SHOBJEXT) $(libdir)/libdact.$(SHOBJEXT) - -$(INSTALL) -m 644 libdact.$(SHOBJEXT).def $(libdir)/libdact.$(SHOBJEXT).def - -$(INSTALL) -m 644 libdact.$(SHOBJEXT).a $(libdir)/libdact.$(SHOBJEXT).a + -$(INSTALL) -m 644 libdact.$(SHOBJEXT).def $(libdir)/libdact.$(SHOBJEXT).def || : + -$(INSTALL) -m 644 libdact.$(SHOBJEXT).a $(libdir)/libdact.$(SHOBJEXT).a || : -$(INSTALL) -m 644 libdact.a $(libdir)/libdact.a @MODS@ for so in $(MODS); do $(INSTALL) -m 755 $$so $(datadir)/dact/$$so; done - ./patch-magic-file $(datadir)/magic +# ./patch-magic-file $(datadir)/dact/magic install-bin-local: dact$(EXEEXT) -$(INSTALL) -d $(HOME)/.dact/`uname -s | tr A-Z a-z`-`uname -m` -- 1.7.0 debian/patches/10-Docs--dact.1.patch0000644000000000000000000000671711715427337014116 0ustar From 57047c5727308048e27d45ec1781f23f0f6c262b Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Mon, 24 May 2010 22:09:04 +0300 Subject: [PATCH] Docs/dact.1: Fix hyphens etc. Organization: Private Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Jari Aalto --- Docs/dact.1 | 22 ++++++++++------------ 1 files changed, 10 insertions(+), 12 deletions(-) diff --git a/Docs/dact.1 b/Docs/dact.1 index 0e53451..4e31e62 100644 --- a/Docs/dact.1 +++ b/Docs/dact.1 @@ -1,4 +1,3 @@ -.PU .TH DACT 1 .SH NAME dact \- compress or expand a file or stream @@ -37,8 +36,8 @@ Magic number of file, DACT version file was compressed with, Block size used to .TP .B \-f Force bad and unsafe things to happen. Can be combined to -make even worse things happen. One `-f' allows overwriting of -existing files, two `-f' allows you to ignore bad magic and +make even worse things happen. One `\-f' allows overwriting of +existing files, two `\-f' allows you to ignore bad magic and CRC check fails. .TP .B \-c @@ -48,9 +47,9 @@ a file to a pipe. .TP .B \-v Increase verbosity, can be combined to increase verbosity a -lot. Currently, only up to 3 makes sense. One `-v' displays -a bar graph. Two `-v' displays a bar graph and block -information. Three `-v' displays a bar graph and detailed +lot. Currently, only up to 3 makes sense. One `\-v' displays +a bar graph. Two `\-v' displays a bar graph and block +information. Three `\-v' displays a bar graph and detailed compression statistics per block. .TP .B \-l @@ -100,7 +99,7 @@ Upgrade DACT. This option will fetch the latest binary from the internet and place it in $HOME/.dact/ as dact.bin. If you have `binary_check on' in your dact.conf file, DACT will check for this file and use it. If you have Debian and run -`dact -N' as root the Debian upgrade procedure will upgrade +`dact \-N' as root the Debian upgrade procedure will upgrade your entire system. .TP .B \-a @@ -113,7 +112,7 @@ size parameters is in bytes. .B \-e\ num Exclude an algorithm from being used. This option is useful if you know your target will not be able to decompress a -certain algorithm (you can get their numbers from the `-l' +certain algorithm (you can get their numbers from the `\-l' option.) .TP .B \-m\ file @@ -145,7 +144,7 @@ URLs in DACT can have variables in them that will be expanded when network acces @@USER@@ Prompt for Username @@ATSN@@ Put an `@' example: - dact -p http://www.rkeene.org/devel/dact/precompiled/dact-@@OSNM@@-@@OSVS@@-@@ARCH@@.bin + dact \-p http://www.rkeene.org/devel/dact/precompiled/dact-@@OSNM@@-@@OSVS@@-@@ARCH@@.bin dact: http://www.rkeene.org/devel/dact/precompiled/dact-linux-2.4-i586.bin .TP .B \-M\ command @@ -162,7 +161,7 @@ if you want to limit yourself to a certain type of compression. .B \-U\ file Encode the specified file into the header of the compressed file. This file will be searched (line-by-line) for a working -URL to download compressed content from. See also `-u.' +URL to download compressed content from. See also `\-u.' .TP .B \-E\ cipher Enable encryption using the specified algorithm, different @@ -171,12 +170,11 @@ algorithms use different authentication methods. .SH FILES $HOME/.dact/ $HOME/.dact/dact.conf - /usr/etc/dact.conf + /etc/dact.conf .SH "SEE ALSO" gzip(1), bzip2(1), mcrypt(3) .SH AUTHOR -.Sp Roy Keene .I -- 1.7.0 debian/patches/02-lzo2.patch0000644000000000000000000000177211715427337012764 0ustar From daf49df7ee877427d0a3d78f78bfc146108e87bd Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Mon, 24 May 2010 17:11:52 +0300 Subject: [PATCH] configure.in: odified configure to check for lzo2 by Riku Voipio Organization: Private Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Jari Aalto --- configure.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.in b/configure.in index c750c67..15f742c 100644 --- a/configure.in +++ b/configure.in @@ -28,7 +28,7 @@ DC_CHK_DLOPEN DC_CHK_MODULE(z, comp_zlib.c comp_mzlib.c comp_mzlib2.c, HAVE_LIBZ) DC_CHK_MODULE(bz2, comp_bzlib.c, HAVE_LIBBZ2) DC_CHK_MODULE(mcrypt, cipher_serpent.c, HAVE_LIBMCRYPT) -DC_CHK_MODULE_VAR(lzo, comp_lzoox.c comp_lzooy.c comp_lzota.c, HAVE_LIBLZO, MODLIBSCOND) +DC_CHK_MODULE_VAR(lzo2, comp_lzoox.c comp_lzooy.c comp_lzota.c, HAVE_LIBLZO, MODLIBSCOND) DC_ASK_CHKVERS DC_ASK_NETWORK -- 1.7.0 debian/patches/series0000644000000000000000000000007111732702031012024 0ustar 02-lzo2.patch 10-Docs--dact.1.patch 20-Makefile.in.patch debian/compat0000644000000000000000000000000211740546555010400 0ustar 9 debian/control0000644000000000000000000000161211740546555010605 0ustar Source: dact Section: utils Priority: optional Maintainer: Jari Aalto Build-Depends: debhelper (>= 9), zlib1g-dev, libbz2-dev, libmcrypt-dev, liblzo2-dev, autoconf, autotools-dev Standards-Version: 3.9.3.1 Vcs-Browser: http://git.debian.org/?p=collab-maint/dact.git Vcs-Git: git://git.debian.org/git/collab-maint/dact.git Homepage: http://www.rkeene.org/oss/dact Package: dact Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: multi-algorithm compression DACT compresses each block within the file with all its known algorithms and uses the block with the best compression ratio. . DACT can encrypt the compressed data with one of two algorithms. . Compression time for DACT is slow as each block is compressed multiple times. . Current supported compression algorithms include RLE, Delta, Text, Zlib, Modified Zlib, Bzip2 and Seminibble Encoding. debian/dirs0000644000000000000000000000005411715427337010063 0ustar usr/bin etc usr/share/man/man1 usr/lib/dact debian/changelog0000644000000000000000000002266311740546551011061 0ustar dact (0.8.42-4) unstable; urgency=low * debian/control - (Build-Depends): Rm dpkg-dev; not needed with debhelper 9. - (Standards-Version): Update to 3.9.3.1. * debian/copyright - Update to format 1.0. * debian/rules - Use DEB_*_MAINT_* variables and CPPFLAGS (Closes: #665211). Patch thanks to Simon Ruderich . - Link against lzo2 library, not lzo (fixes compiling). * debian/*.mk - Minor updates. -- Jari Aalto Mon, 09 Apr 2012 14:52:09 +0300 dact (0.8.42-3) unstable; urgency=low * debian/compat - Update to 9 * debian/control - (Build-Depends): update to debhelper 9, dpkg-dev 1.16.1. * debian/rules - Use hardened CFLAGS. http://wiki.debian.org/ReleaseGoals/SecurityHardeningBuildFlags -- Jari Aalto Sat, 11 Feb 2012 03:59:04 -0500 dact (0.8.42-2) unstable; urgency=low * debian/control - (Description): Lowercase first line. - (Standards-Version): Update to 3.9.2. - (Uploaders): Remove unused field. * debian/copyright - Update to DEP5. * debian/rules - (FILE_LIST_PRESERVE): New variable, - (override_dh_auto_clean): New. Save files. - (override_dh_builddeb). Restore files. * debian/debian-save-restore.mk - New. -- Jari Aalto Sun, 04 Dec 2011 20:55:03 +0200 dact (0.8.42-1) unstable; urgency=low * New upstream release (Closes: #593002). * debian/compat - Update to 8. * debian/control - (Build-Depends): update to debhelper 8. - (Standards-Version): Update to 3.9.1. -- Jari Aalto Mon, 07 Nov 2011 07:53:52 +0200 dact (0.8.41-5) unstable; urgency=low * New maintainer (Closes: #581369). - Update to packaging format "3.0 (quilt)". * debin/control - (Build-Depends): remove dpatch. Add autotools-dev. - (Description): Fix typo (Closes: #548592). - (Vcs-*): New. * debian/copyright - Point to GPL-2. - Update layout. * debian/patches - (Number 01): Remove; integrated to 20. - (Number 10): New. Fix manual page. - (Number 20): New. Makefile.in ignore install not relevant to Debian. Disable "/etc/magic" file install. This belong to libmagic1 where a wishlist bug #582945 was opened to add dact types. * debian/rules - Move to dh(1). - (override_dh_auto_configure): Use latest config.* (FTBFS; Closes: #534812). -- Jari Aalto Mon, 24 May 2010 22:11:38 +0300 dact (0.8.41-4.1) unstable; urgency=low * Non maintainer upload to fix RC bug * Fixes are mostly from Michael Casadevall. + debian/control: - Changed build-dep liblzo -> liblzo2, Closes: #466373 - Add autoconf build-dep - Fix lintian warning missing-comma-after-substvar + debian/rules: - call autoconf - Added CPPFLAGS=-I/usr/include/lzo so that liblzo2's headers could be found. + debian/patches/02_lzo2.dpatch - Modified configure.in to look for lzo in lzo2 which appears to a to be a debian specific modification -- Riku Voipio Sun, 01 Mar 2009 21:57:24 +0200 dact (0.8.41-4) unstable; urgency=low * Bump Standards-Version: 3.7.3. * Updated Homepage header. * Added description in 01_makefile_no_modules.dpatch file. -- Jose Carlos Medeiros Wed, 30 Jan 2008 23:25:52 -0200 dact (0.8.41-3) unstable; urgency=low * New mantainer. (Closes: #439529) * Bump DH_COMPAT 5. * Added Homepage in control file. * Added debian/watch file. * Build modules compress and encrypt data. This bug was solved (probably) since 0.8.39-2 version. (Closes: #258019) -- Jose Carlos Medeiros Thu, 06 Sep 2007 14:09:58 -0300 dact (0.8.41-2) unstable; urgency=low * Disabled dact modules generation and removed module_dir line in dact.conf (via a dpatch). Closes: #378754 -- Tommaso Moroni Sun, 23 Jul 2006 15:38:00 +0200 dact (0.8.41-1) unstable; urgency=low * New upstream release * Do not apply 01_manpage_typos.dpatch, since those typos are corrected in the new upstream release * debian/control: Standards-Version bumped to 3.7.2 (no changes required) -- Tommaso Moroni Tue, 23 May 2006 16:18:46 +0200 dact (0.8.39-4) unstable; urgency=low * debian/control: fixed long description. Closes: #360070 -- Tommaso Moroni Fri, 7 Apr 2006 20:58:43 +0200 dact (0.8.39-3) unstable; urgency=low * Correction of some typos in the upstream manpage via dpatch. Thanks to A. Costa. Closes: #355834 * debian/control: Standards-Version bumped to 3.6.2 (no changes required) -- Tommaso Moroni Sat, 18 Mar 2006 07:04:36 +0100 dact (0.8.39-2) unstable; urgency=low * Program libraries are now installed under /usr/lib/dact. Closes: #252786 * debian/rules cleanup -- Tommaso Moroni Wed, 7 Jul 2004 10:51:29 +0200 dact (0.8.39-1) unstable; urgency=low * New upstream release -- Tommaso Moroni Tue, 18 May 2004 13:23:40 +0200 dact (0.8.36-1) unstable; urgency=low * New upstream release * Added liblzo-dev to the Build-Depends -- Tommaso Moroni Thu, 19 Feb 2004 21:03:00 +0100 dact (0.8.35-1) unstable; urgency=low * New upstream release -- Tommaso Moroni Sat, 3 Jan 2004 18:40:41 +0100 dact (0.8.11-9) unstable; urgency=low * debian/watch file removed: no links with package version to check upon. -- Tommaso Moroni Sat, 15 Nov 2003 17:19:41 +0100 dact (0.8.11-8) unstable; urgency=low * No need to install "patch-magic-file" script anymore, as dact magic headers are now in the "file" package. * Package now follows Debian-Policy version 3.6.1 (no changes needed) -- Tommaso Moroni Fri, 17 Oct 2003 20:09:54 +0200 dact (0.8.11-7) unstable; urgency=low * In comp_bzlib.c the correct block size is passed to the bzip2 compression verification function, as suggested by the upstream author. Closes: #158075 * Using debian/compat instead of DH_COMPAT line in debian/rules * Package now follows Debian-Policy version 3.6.0 (no changes needed) * Cleaned up debian/rules -- Tommaso Moroni Sun, 13 Jul 2003 17:01:15 +0200 dact (0.8.11-6) unstable; urgency=low * Package now follows Debian-Policy version 3.5.10 (no changes needed) * DH_COMPAT set to 4 and added ${misc:Depends} in debian/control * patch-magic-file script is now treated as an example * corrected error in README.Debian -- Tommaso Moroni Sun, 8 Jun 2003 13:39:02 +0200 dact (0.8.11-5) unstable; urgency=low * Package moved to main section * Package now follows Debian-Policy version 3.5.9 -- Tommaso Moroni Fri, 18 Apr 2003 06:49:43 +0200 dact (0.8.11-4) unstable; urgency=low * Bump the revision number as previous upload got lost in the queue. -- Tommaso Maroni Sun, 19 Jan 2003 18:42:04 +1100 dact (0.8.11-3) unstable; urgency=low * Package now follows Debian-Policy version 3.5.8 * Removed debian/conffiles: /etc/dact.conf is already flagged as conffile by dh_installdeb -- Tommaso Moroni Sun, 22 Dec 2002 11:45:14 +0000 dact (0.8.11-2) unstable; urgency=low * Man page now refers to /etc/dact.conf instead of /usr/etc/dact.conf * Package now follows Debian-Policy version 3.5.7 -- Tommaso Moroni Wed, 16 Oct 2002 18:51:22 +0200 dact (0.8.11-1) unstable; urgency=low * New upstream release * Package adopted by Tommaso Moroni. Closes: #158705 -- Tommaso Moroni Tue, 24 Sep 2002 16:10:33 +0200 dact (0.8.10-1) unstable; urgency=low * New upstream release -- Glenn McGrath Sat, 9 Mar 2002 00:07:12 +1100 dact (0.8.3-1) unstable; urgency=low * New upstream release * Dact supports crypto, move package to non-US. * Core doesnt dump on missing file in this release. Closes: #111393 -- Glenn McGrath Sun, 9 Sep 2001 09:47:07 +1000 dact (0.8.1-1) unstable; urgency=low * New upstream version * Dont patch /etc/magic, i will file a bug against the file package to get the magic registered there. Closes: #109747 * Install man page using debhelper rather than the Makefile -- Glenn McGrath Sat, 25 Aug 2001 21:24:54 +1000 dact (0.8.0-1) unstable; urgency=low * New upstream version * Implement the watch script to enable uscan to detect upstream releases -- Glenn McGrath Wed, 22 Aug 2001 22:41:58 +1000 dact (0.7.1-2) unstable; urgency=low * Declare build dependency on automake * Compile under gcc3.0, printf is a macro, Closes: 99368 -- Glenn McGrath Tue, 5 Jun 2001 11:58:22 +1000 dact (0.7.1-1) unstable; urgency=low * New upstream release * Semi verbose mode Closes: 92264 -- Glenn McGrath Tue, 15 May 2001 10:53:23 +1000 dact (0.6.7-2) unstable; urgency=low * Declare build dependencies. -- Glenn McGrath Thu, 26 Apr 2001 20:45:46 +1000 dact (0.6.7-1) unstable; urgency=low * New upstream release -- Glenn McGrath Mon, 26 Mar 2001 14:56:18 +1000 dact (0.6.5-1) unstable; urgency=low * Initial Release. * Fix compile error on bzip2 function calls. * Allow bzip2 to use block sizes over 100kB -- Glenn McGrath Sun, 25 Mar 2001 14:13:28 +1000 debian/watch0000644000000000000000000000011211715427337010223 0ustar version=3 http://www.rkeene.org/files/oss/dact/release/dact-(.+)\.tar\.gz debian/debian-save-restore.mk0000644000000000000000000000464211732701747013375 0ustar # debian-save-restore.mk -- Save and restore original files # # Copyright # # Copyright (C) 2008-2012 Jari Aalto # # License # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # # Description # # This is GNU makefile part, that defines common variables, # targets and macros to be used from debian/rules. # # Usage (format 3.0) # # PACKAGE = foo # FILE_LIST_PRESERVE = # # override_dh_clean: # $(file-state-save) # dh_clean # $(file-state-restore-copy) # # Alternative usage, in case more file updates happens during configure etc. # # override_dh_auto_configure: # $(file-state-save) # # # override_dh_install: # dh_install # $(config-restore) # $(file-state-restore) # # binary-arch: # $(file-state-restore) # ... ifdef PACKAGE prefix := $(PACKAGE). endif define file-state-save # save files suffix=.original; \ for file in $(FILE_LIST_PRESERVE); \ do \ backup=/tmp/$(prefix)$$(echo $$file | sed 's,/,%,g')$$suffix; \ cp --archive --verbose "$$file" "$$backup"; \ done endef define file-state-restore-copy # restore files suffix=.original; \ for file in $(FILE_LIST_PRESERVE); \ do \ backup=/tmp/$(prefix)$$(echo $$file | sed 's,/,%,g')$$suffix; \ if [ -f "$$backup" ]; then \ dir=$$(dirname "$$file"); \ if [ "$$dir" != "." ]; then \ mkdir -p "$$dir"; \ fi; \ cp --archive --verbose "$$backup" "$$file"; \ fi; \ done endef define file-state-restore # restore files suffix=.original; \ for file in $(FILE_LIST_PRESERVE); \ do \ backup=/tmp/$(prefix)$$(echo $$file | sed 's,/,%,g')$$suffix; \ if [ -f "$$backup" ]; then \ dir=$$(dirname "$$file"); \ if [ "$$dir" != "." ]; then \ mkdir -p "$$dir"; \ fi; \ cp --archive --verbose "$$backup" "$$file"; \ rm "$$backup"; \ fi; \ done endef # End of file debian/rules0000755000000000000000000000221411740546555010261 0ustar #!/usr/bin/make -f PACKAGE = dact # Build process modifies these files. FILE_LIST_PRESERVE = \ Makefile.dep \ Makefile.in \ config.h.in \ config.guess \ config.sub \ configure.in \ configure \ dact.conf \ Docs/dact.1 \ comp_lzo*.lnk include debian/debian-save-restore.mk # Won't compile with all flags on #export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed override_dh_auto_clean: $(file-state-restore-copy) $(file-state-save) dh_auto_clean # Undo Makefile.dep change *now* $(file-state-restore-copy) override_dh_builddeb: $(file-state-restore-copy) dh_builddeb override_dh_auto_configure: cp -vf /usr/share/misc/config.sub . cp -vf /usr/share/misc/config.guess . autoreconf -fi dh_auto_configure -- \ --disable-modules \ --enable-debianupgrade \ --prefix=\$${DESTDIR} \ --mandir=\$${prefix}/usr/share/man \ --sysconfdir=\$${prefix}/etc \ --exec-prefix=\$${prefix}/usr \ --datadir=\$${prefix}/usr/lib \ --libdir=\$${prefix}/usr/lib/dact # Update to latest library sed -i 's/llzo$$/llzo2/' *.lnk %: dh $@ # End of file debian/docs0000644000000000000000000000004011715427337010045 0ustar README TODO TODO.ideas rget.txt debian/copyright0000644000000000000000000000244311740546555011140 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: dact Upstream-Contact: Roy Keene Source: http://www.rkeene.org/oss/dact/download Files: * Copyright: 2001-2003 Roy Keene License: GPL-2+ Files: debian/* Copyright: 2010-2012 Jari Aalto 2009 Riku Voipio 2007-2008 Jose Carlos Medeiros 2002-2006 Tommaso Moroni 2001-2002 Glenn McGrath License: GPL-2+ License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License can be found in "/usr/share/common-licenses/GPL-2". debian/source/0000755000000000000000000000000011715427337010500 5ustar debian/source/format0000644000000000000000000000001411715427337011706 0ustar 3.0 (quilt)