debian/0000755000000000000000000000000012521660565007176 5ustar debian/patches/0000755000000000000000000000000012521660445010622 5ustar debian/patches/bashism_in_examples0000644000000000000000000000252112521656404014557 0ustar Description: fix bashisms in dump_disk example script Three conditionals in the examples/dump_on_cd_3/dump_disk are fixed to avoid bash-specific syntax. Author: Chris Lamb Reviewed-by: Bdale Garbee Bug-Debian: http://bugs.debian.org/489570 --- a/examples/dump_on_cd_3/dump_disk +++ b/examples/dump_on_cd_3/dump_disk @@ -38,13 +38,8 @@ cleanup() { rm -f $FIFO } -error_exit() { - retcode=$? - echo >&2 "Error $retcode: exiting" - exit $retcode -} - -trap error_exit ERR +# exit on errors +set -e write_output() { # supplied info from "dump -F": @@ -55,14 +50,14 @@ write_output() { while [ "$ANSWER" != "y" ] ; do echo -n "Is the disk ready? (y/n) " read Date: Mon Sep 29 11:37:04 2014 +0100 . Changelog for 0.4b44-5 . commit 7da8aa42b8905f2f2c8644dfc148e07570a14a56 Author: Matthew Vernon Date: Mon Sep 29 11:33:54 2014 +0100 . Patch from Ben Harris to skip directories already scheduled for deletion . The patch assumes that if an entry has e_ino == 0, that means it's already been passed to deletino() and added to removelist. I think this is true. It's certainly the case that all additions to removelist have e_ino == 0, so this should stop the hangs and the panics from removino(). At worst, it will leave spurious directories around after a restore. . commit 870ae1e4acd826d692cf2c547c27ee44f9ca2eab Author: Mattia Rizzolo Date: Thu Sep 19 14:51:33 2013 +0100 . dump (0.4b44-4) unstable; urgency=low . * QA upload. * debian/postinst: drop --verbose flag from update-alternatives invocation. * debian/*rm: add set -e to fix lintian warning. * debian/control: + add Homepage field. + Update VCS fields to canonical values. + Bump Standards-Version to 3.9.4. No changes required. * Update to debhelper 9: + debian/rules: update accordingly. + debian/compat: bump compatibility level to 9. + debian/control: bump debhelper versioned build-dep to >= 9. + debian/docs: include docs previously manually installed. + debian/examples: include previously-included examples. * debian/copyright: update to DEP-5. . # imported from the archive Author: Matthew Vernon --- --- dump-0.4b44.orig/restore/restore.c +++ dump-0.4b44/restore/restore.c @@ -593,7 +593,7 @@ findunreflinks(void) if (np->e_type == LEAF) { removeleaf(np); freeentry(np); - } else { + } else if (np->e_ino != 0){ np->e_flags |= TMPNAME; deleteino(np->e_ino); np->e_next = removelist; debian/patches/fix-manpage0000644000000000000000000000255612521024257012744 0ustar Description: fix some hyphens used as minus sign. Author: Joao Eriberto Mota Filho Last-Update: 2015-02-20 Index: dump-0.4b44/dump/dump.8.in =================================================================== --- dump-0.4b44.orig/dump/dump.8.in +++ dump-0.4b44/dump/dump.8.in @@ -287,7 +287,7 @@ either every dump in an incremental dump If you use this option, be aware that many programs that unpack files from archives (e.g. tar, rpm, unzip, dpkg) may set files' mtimes to dates in the past. Files installed in this way may not be -dumped correctly using "dump -m" if the modified mtime is earlier +dumped correctly using "dump \-m" if the modified mtime is earlier than the previous level dump. .IP Tapes written using such 'metadata only' inodes will not be compatible with the @@ -385,7 +385,7 @@ is the same as that of .BR ctime (3) followed by an rfc822 timezone specification: either a plus or minus sign followed by two digits for the number of hours and two digits for the minutes. -For example, -0800 for eight hours west of Greenwich or +0230 for two hours +For example, \-0800 for eight hours west of Greenwich or +0230 for two hours and a half east of Greenwich. This timezone offset takes into account daylight savings time (if applicable to the timezone): UTC offsets when daylight savings time is in effect will be different than offsets debian/patches/sparc-clone-lockup0000644000000000000000000000114512521660445014247 0ustar --- a/dump/tape.c +++ b/dump/tape.c @@ -804,7 +804,20 @@ rollforward(void) pid_t fork_clone_io(void) { - return syscall(SYS_clone, CLONE_ARGS); + pid_t res,parent; + parent=getppid(); /* az hackety hack... */ + + res=syscall(SYS_clone, CLONE_ARGS); + getppid(); + /* as per clone call manpage: caching! */ + getpid(); + syscall(SYS_getpid); + + /* az: clone manpage doesn't say jack about what the + child receives, but it's NOT ZERO on sparc. however, it seems the + ppid is updated and trustworthy - so let's use that... */ + return parent==getppid()?res:0; + } #endif #endif debian/changelog0000644000000000000000000005026112521657502011051 0ustar dump (0.4b44-7) unstable; urgency=low * new maintainer (closes: #722731) * removed remaining bashisms in example script (closes: #772259) * applied patch for lockup on sparcs (closes: #623422) -- Alexander Zangerl Mon, 04 May 2015 22:00:02 +1000 dump (0.4b44-6) experimental; urgency=medium * QA upload. * debian/control: - Bumped Standards-Version to 3.9.6. - Updated the Vcs-Browser to new pattern. * debian/copyright: - dump uses BSD-3-clause now. - Added the GPL-2+ for some files. - Updated copyright years and names for maintainers and upstream. * debian/dump.lintian-overrides: - Added a line to override the package-contains-timestamped-gzip message. - Renamed to lintian-overrides. * debian/rules: added the DEB_CFLAGS_MAINT_APPEND and DEB_LDFLAGS_MAINT_APPEND flags to fix some compilation warnings shown by dpkg-shlibdeps and blhc command. * debian/patches/: renamed auto-0.4b44-5-8544ff70a0b617566795d1e0c611e5e9d... patch to skip-directories-scheduled-for-deletion. * debian/watch: added. -- Joao Eriberto Mota Filho Fri, 20 Feb 2015 17:29:49 -0200 dump (0.4b44-5) unstable; urgency=high * Patch from Ben Harris to skip directories already scheduled for deletion in findunreflinks() (Closes: #714234) -- Matthew Vernon Mon, 29 Sep 2014 11:36:37 +0100 dump (0.4b44-4) unstable; urgency=low * QA upload. * debian/postinst: drop --verbose flag from update-alternatives invocation. * debian/*rm: add set -e to fix lintian warning. * debian/control: + add Homepage field. + Update VCS fields to canonical values. + Bump Standards-Version to 3.9.4. No changes required. * Update to debhelper 9: + debian/rules: update accordingly. + debian/compat: bump compatibility level to 9. + debian/control: bump debhelper versioned build-dep to >= 9. + debian/docs: include docs previously manually installed. + debian/examples: include previously-included examples. * debian/copyright: update to DEP-5. -- Mattia Rizzolo Thu, 19 Sep 2013 15:51:33 +0200 dump (0.4b44-3) unstable; urgency=low * move canonical repository to collab-maint -- Bdale Garbee Thu, 12 Sep 2013 17:44:58 -0600 dump (0.4b44-2) unstable; urgency=low * orphan the package -- Bdale Garbee Thu, 12 Sep 2013 17:30:26 -0600 dump (0.4b44-1) unstable; urgency=low * new upstream version, closes: #583093, #614068, #622350, #629831 * add pkg-config as a build dependency * update to newer source package format * work around com_err not showing up in EXT2FS_LIBS with pass to configure * update lintian overrides related to static linking of compression libs * add Vcs entries to the control file -- Bdale Garbee Fri, 10 Jun 2011 11:06:30 -0600 dump (0.4b43-1) unstable; urgency=low * new upstream version, closes: #574667 * let the dump man page admit that ext4 works now, too -- Bdale Garbee Fri, 11 Jun 2010 09:51:57 -0600 dump (0.4b42-2) unstable; urgency=low * build-dep on libreadline-dev so we track new versions, closes: #553747 -- Bdale Garbee Sun, 01 Nov 2009 20:03:02 -0700 dump (0.4b42-1) unstable; urgency=low * new upstream version, closes: #378349, #511651 * add build dependencies on libdevmapper-dev, libselinux1-dev * add lintian override since we intentionally statically link against zlib so that restore can work without /usr being present as per #117496 -- Bdale Garbee Thu, 18 Jun 2009 14:02:13 -0600 dump (0.4b41-6) unstable; urgency=high * increase urgency since this minor fix would be good for lenny * fix bashisms in example shell script, closes: #489570 -- Bdale Garbee Fri, 29 Aug 2008 08:51:32 -0600 dump (0.4b41-5) unstable; urgency=low * eliminate debian/po in the source tree since it is no longer relevant, closes: #407218 -- Bdale Garbee Wed, 21 Feb 2007 17:48:47 +0900 dump (0.4b41-4) unstable; urgency=low * small addition to the man page to help clarify how level numbers should be expressed on the dump command line, closes: #378349 * eliminate handling of obsolete /etc/dumpdates with associated use of debconf notes, since that change was over 8 years, and no harm will is done in any case, closes: #388888 * add autotools-dev support to keep config.sub/config.guess fresh -- Bdale Garbee Fri, 8 Dec 2006 18:28:06 -0600 dump (0.4b41-3) unstable; urgency=low * accept updated Russian translation, closes: #360929 -- Bdale Garbee Sat, 15 Apr 2006 01:09:49 -0600 dump (0.4b41-2) unstable; urgency=low * fix postrm to only remove dumpdates file on purge, closes: #346142 -- Bdale Garbee Thu, 5 Jan 2006 20:13:45 -0700 dump (0.4b41-1) unstable; urgency=low * new upstream version -- Bdale Garbee Mon, 2 Jan 2006 16:18:56 -0700 dump (0.4b40-1) unstable; urgency=low * new upstream version, closes: #289210, #291644, #307423 * add debconf-2.0 as an alternate dependency * updated Swedish translation from Daniel Nylander, closes: #330316 * remove /var/lib/dumpdates on purge, since we created it on install, closes: #330363 * update dependencies in light of libreadline5-dev, closes: #326374 * rebuild ensures fresh version of zlib in case we've been vulnerable to CAN-2005-2096, closes: #317966 * merge Vietnamese translation, closes: #311599 * merge Czech translation, closes: #315825 * update debhelper compatibility level, plus a few tweaks to pacify lintian -- Bdale Garbee Wed, 28 Sep 2005 00:50:29 -0600 dump (0.4b37-2) unstable; urgency=low * merge updated de.po, closes: #281076 -- Bdale Garbee Sun, 29 May 2005 16:48:06 +0200 dump (0.4b37-1) unstable; urgency=low * new upstream version * add --enable-staticz to configure call in rules file, replacing prior hack * add build deps on libblkid-dev and uuid-dev to avoid using local copy * updated es.po, closes: #265499 -- Bdale Garbee Tue, 7 Sep 2004 10:21:35 -0600 dump (0.4b36-2) unstable; urgency=low * patch to allow compilation on amd64, closes: #251615 -- Bdale Garbee Sun, 30 May 2004 00:04:41 -0300 dump (0.4b36-1) unstable; urgency=low * new upstream version, clean up diff.gz to remove spurious changes upstream points out are no longer needed. -- Bdale Garbee Sun, 23 May 2004 21:41:50 -0600 dump (0.4b35-2) unstable; urgency=low * reinstate configure hack to link z and bz2 libs statically but leave the rest dynamic... originally reported in #117496 and closed by 0.4b25-1. Apparently the hack got lost during an upstream merge, closes: #249700 * merge updated ja.po, closes: #234255 * merge da.po, closes: #233753 -- Bdale Garbee Sat, 22 May 2004 23:02:46 -0600 dump (0.4b35-1) unstable; urgency=low * new upstream version, closes: #225573 * updated fr.po, closes: #207773 * updated pt_BR.po, closes: #207965 * updated nl.po, closes: #216050 * incorporate ja.po, closes: #229291 * implement alternatives for rmt, so our version can supercede tar's when dump is installed, closes: #183901 -- Bdale Garbee Sun, 15 Feb 2004 16:46:18 -0700 dump (0.4b34-1) unstable; urgency=low * new upstream version, closes: #192019, #180476, #160304, #147086, #160305 * switch to gettext-based debconf templates, closes: #200125 * update templates text to make symlink issue less vague, closes: #154242 -- Bdale Garbee Tue, 19 Aug 2003 16:19:28 -0600 dump (0.4b32-1) unstable; urgency=low * new upstream version, closes: #169269 -- Bdale Garbee Fri, 22 Nov 2002 21:01:43 -0700 dump (0.4b31-1) unstable; urgency=low * new upstream version, closes: #154875, #154372, #149415, #142559 -- Bdale Garbee Sat, 17 Aug 2002 22:20:14 -0600 dump (0.4b27-4) unstable; urgency=low * add --enable-qfa to build, closes: #138976 * switch to unmerged translations in the source package -- Bdale Garbee Wed, 20 Mar 2002 01:23:11 -0700 dump (0.4b27-3) unstable; urgency=low * merge russian and french templates translations, closes: #137639, #138067 -- Bdale Garbee Tue, 12 Mar 2002 21:15:07 -0700 dump (0.4b27-2) unstable; urgency=medium * lose the inclusions of since they aren't needed and are resulting in conflicting declarations on arm, closes: #137354 -- Bdale Garbee Sat, 9 Mar 2002 22:43:05 -0700 dump (0.4b27-1) unstable; urgency=low * new upstream version, closes: #128139 -- Bdale Garbee Fri, 15 Feb 2002 16:08:50 -0700 dump (0.4b25-1) unstable; urgency=medium * new upstream release, closes: #120029 * fix from upstream for (-C -f -) error reported in 118199, does not fix the other problem reported in that bug, so leaving the bug open for now * hack configure to link z and bz2 libs statically, leave the rest dynamic for now, closes: #117496 * update build dependencies to ensure compression support, closes: #115769 * lose the debconf note about dump frequencies in fstab, it's annoying and not of much real value, closes: #118525, #87174, #88505 * fix formatting problem in dump/dump.8.in, closes: #118155 * set priority to medium as we really want this in woody -- Bdale Garbee Fri, 23 Nov 2001 16:31:15 -0700 dump (0.4b24-1) unstable; urgency=low * new upstream version, closes: #112074 * fold in -pt_BR translations to templates file, closes: #108522 * cosmetic cleanups to make lintian happy -- Bdale Garbee Tue, 25 Sep 2001 22:15:16 -0600 dump (0.4b23-3) unstable; urgency=low * mege patch for Polish text in templates file, closes: #108135 * merge uncorrupted version of patch for German text, closes: #86214 -- Bdale Garbee Thu, 9 Aug 2001 11:47:32 -0600 dump (0.4b23-2) unstable; urgency=low * add build dependency on autoconf, since it can be called in some build circumstances, closes: #106113 -- Bdale Garbee Sun, 22 Jul 2001 16:11:39 -0600 dump (0.4b23-1) unstable; urgency=low * new upstream version, closes: #100564 * merge patch for German text in templates file, closes: #86214 * merge patch for Spanish text in templates file, closes: #102812 * eliminate use of isdefault in debconf config script -- Bdale Garbee Fri, 20 Jul 2001 10:07:18 -0600 dump (0.4b22-1) unstable; urgency=low * new upstream version, closes: #97270 * try adding --enable-largefile again, closes: #85912 * new version includes socket descriptor leak fix, closes: #93596 * e2fs breakage seems fixed, closes: #98145 * update rules file for BINDIR -> SBINDIR change in Makefile -- Bdale Garbee Wed, 30 May 2001 01:53:50 -0600 dump (0.4b21-4) unstable; urgency=low * patches for gcc-3.0 compliance, hppa/ia64 support -- Bdale Garbee Sun, 22 Apr 2001 01:30:03 -0600 dump (0.4b21-3) unstable; urgency=medium * turn large file support back off, since it's causing segfaults, reopens 85912, closes: #87567 -- Bdale Garbee Tue, 27 Feb 2001 12:07:05 -0700 dump (0.4b21-2) unstable; urgency=low * apply patch for build problems on alpha and with glibc 2.2.2 from Paul Slootman, closes: #86665 * enable large file support, closes: #85912 -- Bdale Garbee Wed, 21 Feb 2001 20:57:05 -0700 dump (0.4b21-1) unstable; urgency=low * new upstream version, closes: #82536 * merge patch for Swedish text in templates file, closes: #83744 * merge patch for Dutch text in templates file, closes: #85552 * update config.sub/config.guess to versions that grok ia64 & hppa -- Bdale Garbee Mon, 12 Feb 2001 22:20:09 -0700 dump (0.4b20-1) unstable; urgency=low * new upstream version * add debconf support (thanks shaleh!) * add build dependency on readline so restore can take advantage of it -- Bdale Garbee Fri, 24 Nov 2000 22:39:33 -0700 dump (0.4b19-1) unstable; urgency=low * new upstream version, closes: #69622 -- Bdale Garbee Tue, 29 Aug 2000 02:04:09 -0600 dump (0.4b18-1) unstable; urgency=low * new upstream version, closes: #65090, #66563 * minor updates to copyright and README.Debian files -- Bdale Garbee Wed, 19 Jul 2000 09:49:39 -0600 dump (0.4b16-1) frozen unstable; urgency=low * target frozen since the segfault is release critical, and this version has enough good bug fixes to seem like a better choice for potato. * new upstream with many bug fixes, closes: #56005, #57781, #59624, #60194 * segfault apparently fixed, closes: #59935 * make postinst less chatty, only pause if necessary, closes: #54672 * fix /usr/doc symlink, closes: #54673 * use of dotted quads for remote dumps fixed upstream, closes: #55110 * remove no-longer-relevant warning about large filesystems from the long description in the control file, closes: #59060 * README.Debian adequately documents the setuid issue, closes: #59808 * include the upstream changelog and other useful documents -- Bdale Garbee Sun, 12 Mar 2000 20:24:54 -0700 dump (0.4b12-1) unstable; urgency=low * new upstream version, closes: #53302 * WARNING to Alpha users: This version fixes a bug that made Alpha dumps incompatible with dumps on other platforms. An unfortunate side-effect is that it is *not* compatible with dumps made on Alpha with previous versions of the package. * the dump executable must be made setuid root so that it can gain a priveledged port when backing up to a remote tape device using a non-root user. Since I do *not* intend to ship dump setuid root, document this in README.Debian for those who need to know. Closes: #54118 -- Bdale Garbee Sat, 8 Jan 2000 10:35:30 -0700 dump (0.4b11-1) unstable; urgency=low * new upstream version, closes: #52448 * minor postinst hack to aid non-interactive install, closes: #52430 * upstream believes the "problems dumping large filesystems" that result in segfaults are really mis-diagnosed cases of the filetype problem that was fixed in 0.4b10, closes: #49981 -- Bdale Garbee Sun, 12 Dec 1999 18:34:53 -0700 dump (0.4b10-2) unstable; urgency=low * add another build dependency * add a pause in the postinst after displaying warnings, closes: #51971 * upstream says time estimates have been fixed, closes: #15817 -- Bdale Garbee Sun, 5 Dec 1999 20:33:18 -0700 dump (0.4b10-1) unstable; urgency=low * new upstream source * update to current policy -- Bdale Garbee Wed, 1 Dec 1999 23:44:57 -0700 dump (0.4b9-2) unstable; urgency=medium * fix dumpdates path, got broken when upstream maintainer merged some of my patches, closes: #49192 -- Bdale Garbee Fri, 5 Nov 1999 23:41:22 -0700 dump (0.4b9-1) unstable; urgency=high * new upstream version, includes security fix for symlink restoration -- Bdale Garbee Fri, 5 Nov 1999 19:22:06 -0700 dump (0.4b8-1) unstable; urgency=low * new upstream version, closes: #38365, #47684, #47963, #26982, #38390 -- Bdale Garbee Wed, 3 Nov 1999 17:42:09 -0700 dump (0.4b7-1) unstable; urgency=low * new upstream version, closes: #29775, #11904, #38136, #33818 -- Bdale Garbee Sat, 30 Oct 1999 20:24:09 -0600 dump (0.4b6-1) unstable; urgency=low * new upstream maintainer, new upstream version, closes: #44061 * tweak rules file to achieve FHS compliance, lintian cleanliness * apply patch from Eirik Fuller to allow dumping filesystems not listed in /etc/fstab, closes: #11904 * apply patch from Abhijit Dasgupta that prevents access to device nodes during restore, closes: #29775 * apply patch from Eirik Fuller relating to dumpdates. In 0.4b4-13, I patched dump to only read dumpdates if the 'u' flag was specified. The goal was to avoid failing if dumpdates wasn't yet present during a level 0 dump. The problem is that incrementals *must* read the dumpdates file regardless of the state of the 'u' flag, or they end up all looking like full dumps. This new patch ignores the 'u' flag. Instead, it always skips reading dumpdates for a level 0 dump, and requires a valid dumpdates be read for an incremental. Closes: #38136, #33818 * hard-code the --enable-dumpdates-patch stuff since the upstream configure gets it wrong, and we want the functionality. -- Bdale Garbee Sat, 2 Oct 1999 22:30:05 -0600 dump (0.4b4-13) frozen unstable; urgency=medium * tweak dump/itime.c to not try to read dumpdates if the 'u' option isn't specified. Closes 30208. -- Bdale Garbee Sat, 5 Dec 1998 21:01:45 -0700 dump (0.4b4-12) frozen unstable; urgency=medium * apply patch from jk@ciss.de that fixes long-standing bug when trying to specify single files to restore. Closes 22955, 23144, 28051. * update documentation to reflect the fact that this version of dump can't handle filesystems larger than 4G. I'm pretty sure the fix will involve a change in dump format. -- Bdale Garbee Sun, 1 Nov 1998 22:32:29 -0700 dump (0.4b4-11) unstable; urgency=medium * update dump.8 to be explicit about the fact that this version of dump only works with ext2 filesystems, closes 24976. * update dump.8 to be document the text output on read errors, in the BUGS section which already meantions that less than 32 read errors will be ignored during a dump, closes 22669. -- Bdale Garbee Sat, 1 Aug 1998 23:08:38 -0600 dump (0.4b4-10) frozen unstable; urgency=medium * rebuild again to cope with the messy change of names in the e2fs library that I thought I'd fixed with the -8 version. -- Bdale Garbee Sat, 25 Apr 1998 22:10:26 -0600 dump (0.4b4-9) frozen unstable; urgency=medium * remove ambiguity in the message displayed by postinst when there are no users in group disk, closes 20618 -- Bdale Garbee Sat, 18 Apr 1998 01:43:43 -0600 dump (0.4b4-8) frozen unstable; urgency=medium * rebuild to link against latest e2fs libraries -- Bdale Garbee Fri, 10 Apr 1998 03:06:10 -0600 dump (0.4b4-7) frozen unstable; urgency=low * oops... when I moved to debhelper, I forgot to exclude the rmt.8 manpage, so -6 reinstated the overlap with cpio. This fixes 20595, 20607. -- Bdale Garbee Fri, 3 Apr 1998 23:16:47 -0700 dump (0.4b4-6) frozen unstable; urgency=low * reconfigure package to use debhelper, closes 19293 * improve behaviour of postinst if /etc/dumpdates is a symlink, closes 19990 -- Bdale Garbee Sat, 21 Mar 1998 23:59:33 -0700 dump (0.4b4-5) unstable; urgency=low * change configure invocation to actually capture CFLAGS correctly * clean up some of the warnings exposed by actually using -Wall now -- Bdale Garbee Sat, 31 Jan 1998 17:13:08 -0700 dump (0.4b4-4) unstable; urgency=low * cosmetic tweaks to postinst * patch from Mark Eichin that helps the problems with large filesystems, closes 15773 and 13045. -- Bdale Garbee Wed, 10 Dec 1997 12:29:12 -0700 dump (0.4b4-3) unstable; urgency=low * Update man page to reflect location of dumpdates file. Closes 15580. * Add missing 'break' in T clause of main.c arg parsing. Closes 15576. * Tweak postinst to be more forceful about dumpdates group. Closes 15661. -- Bdale Garbee Sun, 7 Dec 1997 11:37:20 -0700 dump (0.4b4-2) unstable; urgency=medium * Rebuilt to depend on new, officially released, packages of e2fs libs. This should close all the recent bug reports against dump that resulted from my accidental release of 0.4b4-1 that depended on unreleased libraries. -- Bdale Garbee Sun, 23 Nov 1997 19:48:12 -0700 dump (0.4b4-1) unstable; urgency=low * New upstream version (officially still in beta test). * New maintainer, package reconstructed. -- Bdale Garbee Fri, 24 Oct 1997 23:56:53 -0600 debian/control0000644000000000000000000000232512521660560010576 0ustar Source: dump Section: utils Priority: optional Maintainer: Alexander Zangerl Build-Depends: debhelper (>= 9), autoconf, autotools-dev, comerr-dev, e2fslibs-dev, libblkid-dev, libbz2-dev, libdevmapper-dev, libreadline-dev, libselinux1-dev, pkg-config, uuid-dev, zlib1g-dev Standards-Version: 3.9.6 Homepage: http://dump.sourceforge.net Vcs-Git: git://anonscm.debian.org/collab-maint/dump.git Vcs-Browser: http://anonscm.debian.org/cgit/collab-maint/dump.git Package: dump Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, tar (>= 1.13.92-3) Description: 4.4bsd dump and restore for ext2 filesystems Dump examines files on a filesystem and determines which files need to be backed up. These files are copied to the given disk, tape or other storage medium for safe keeping. . The restore command performs the inverse function of dump. A full backup of a filesystem may be restored and subsequent incremental backups layered on top of it. Single files and directory subtrees may be restored from full or partial backups. debian/prerm0000644000000000000000000000012412521024257010233 0ustar #!/bin/sh set -e update-alternatives --remove rmt /usr/sbin/rmt-dump #DEBHELPER# debian/examples0000644000000000000000000000001312521024257010721 0ustar examples/* debian/copyright0000644000000000000000000001010512521024257011116 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: dump Source: http://dump.sf.net Files: * Copyright: 1980-1993 The Regents of the University of California 1994-1997 Remy Card 1999-2004 Stelian Pop 2001 Eugenio Diaz ? Guido van Rossum License: BSD-3-clause Files: compat/include/lzoconf.h compat/lib/minilzo.c compat/include/minilzo.h Copyright: 1996-2002 Markus Franz Xaver Johannes Oberhumer License: GPL-2+ Files: debian/* Copyright: 1997-2013 Bdale Garbee 2013 Mattia Rizzolo 2014 Matthew Vernon 2015 Joao Eriberto Mota Filho License: Expat License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 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 version 2 can be found in "/usr/share/common-licenses/GPL-2". License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/postinst0000644000000000000000000000066312521024257011001 0ustar #!/bin/sh set -e # make sure it exists... if [ ! -f /var/lib/dumpdates ]; then touch /var/lib/dumpdates fi # Ensure /var/lib/dumpdates is writeable by group disk chown root /var/lib/dumpdates chgrp disk /var/lib/dumpdates chmod 664 /var/lib/dumpdates update-alternatives --install /usr/sbin/rmt rmt /usr/sbin/rmt-dump \ 100 --slave /usr/share/man/man8/rmt.8.gz rmt.8.gz \ /usr/share/man/man8/rmt-dump.8.gz #DEBHELPER# exit 0 debian/compat0000644000000000000000000000000212521024257010364 0ustar 9 debian/watch0000644000000000000000000000007612521024257010222 0ustar version=3 http://sf.net/dump/dump-(\d\S+)\.tar\.(?:bz2|gz|xz) debian/lintian-overrides0000644000000000000000000000062512521024257012552 0ustar dump: embedded-library sbin/dump: zlib dump: embedded-library sbin/dump: bzip2 dump: embedded-library sbin/restore: zlib dump: embedded-library sbin/restore: bzip2 # This package was privided by upstream in .tar.gz format (not compressed # in build time). So, in this case, this is a false positive. dump: package-contains-timestamped-gzip usr/share/doc/dump/examples/cron_dump_to_disk/backupskel.tar.gz debian/README.debian0000644000000000000000000000147512521024257011276 0ustar Historically, dump was *always* used on unmounted filesystems. Tools like AMANDA break that expectation. Backing up a live filesystem sometimes causes problems for tools like dump, depending on what is changing while the backup runs. If you see errors during a dump of a mounted filesystem, try again with the filesystem unmounted, and see if that fixes the problem. In theory, the page cache changes in the 2.4 Linux kernel can cause problems to happen more frequently than in prior versions. Caveat emptor. -- If you want to dump on remote tapes as a non-root user, you will need to make the dump executable setuid root, so that it can allocate a priveledged port for the outgoing network connection. This is not the default, since it is not commonly needed, and setuid executables are targets for security attacks. debian/docs0000644000000000000000000000005112521024257010035 0ustar KNOWNBUGS MAINTAINERS README THANKS TODO debian/gbp.conf0000644000000000000000000000231612521024257010607 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] # the default build command: #builder = debuild -i\.git/ -I.git # the default clean command: #cleaner = debuild clean # the default branch for upstream sources: upstream-branch = upstream # the default branch for the debian patch: debian-branch = master # the default tag formats used: #upstream-tag = upstream/%(version)s #debian-tag = debian/%(version)s # use pristine-tar: pristine-tar = True # Options only affecting git-buildpackage [git-buildpackage] #upstream-branch = dfsgclean # uncomment this to automatically GPG sign tags #sign-tags = True # keyid to GPG sign tags with #keyid = 0xdeadbeef # push to a remote repository after a successful tag: #posttag = git-push git.example.com # use this for more svn-buildpackage like behaviour: export-dir = ../build-area/dump/ #tarball-dir = ../tarballs/ # Options only affecting git-import-orig [git-import-orig] #upstream-branch = newupstream #debian-branch = dfsgclean #filter = .svn # Options only affecting git-import-dsc [git-import-dsc] #upstream-branch = svn-upstream #filter = [ 'CVS', '.cvsignore' ] # Options only affecting git-dch [git-dch] #git-log = --no-merges #snapshot-number = snapshot + 1 debian/rules0000755000000000000000000000162212521024257010247 0ustar #!/usr/bin/make -f #export DH_VERBOSE = 1 export DEB_CFLAGS_MAINT_APPEND = -fPIE export DEB_LDFLAGS_MAINT_APPEND = -fPIE -Wl,-z,now -Wl,--as-needed override_dh_auto_configure: dh_testdir EXT2FS_LIBS="-lext2fs -lcom_err" dh_auto_configure -- \ --prefix=/usr \ --with-ccopts="-O2 -g -Wall" \ --with-dumpdatespath=/var/lib/dumpdates \ --enable-largefile \ --enable-qfa \ --enable-staticz override_dh_auto_install: dh_auto_install -- \ SBINDIR=`pwd`/debian/dump/sbin \ MANDIR=`pwd`/debian/dump/usr/share/man/man8 mv debian/dump/usr/share/man/man8/rmt.8 \ debian/dump/usr/share/man/man8/rmt-dump.8 mv debian/dump/sbin/rmt debian/dump/usr/sbin/rmt-dump (cd debian/dump/sbin ; rm -f rdump rrestore ; \ ln -s dump rdump ; ln -s restore rrestore ) (cd debian/dump/usr/share/man/man8 ; rm -f rdump* rrestore* ; \ ln -s dump.8.gz rdump.8.gz ; ln -s restore.8.gz rrestore.8.gz ) %: dh $@ debian/postrm0000644000000000000000000000035112521024257010434 0ustar #!/bin/sh set -e case "$1" in purge) rm -f /var/lib/dumpdates ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 esac #DEBHELPER# debian/dirs0000644000000000000000000000004112521024257010045 0ustar sbin usr/sbin usr/share/man/man8 debian/source/0000755000000000000000000000000012521024257010466 5ustar debian/source/format0000644000000000000000000000001412521024257011674 0ustar 3.0 (quilt)