debian/0000755000000000000000000000000012157675246007205 5ustar debian/patches/0000755000000000000000000000000012157675243010631 5ustar debian/patches/0001-Delete-set-but-unused-variables.patch0000644000000000000000000000141611664133660020256 0ustar From: Jose Carlos Garcia Sogo Date: Sat, 26 Nov 2011 02:13:36 +0000 Subject: Delete set but unused variables --- rdup.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rdup.c b/rdup.c index 3e69fb4..10a14c2 100644 --- a/rdup.c +++ b/rdup.c @@ -59,7 +59,7 @@ g_tree_subtract(GTree *a, GTree *b) static GTree * g_tree_read_file(FILE *fp) { - gchar *buf, *n, *p, *q; + gchar *buf, *p, *q; gchar delim, linktype; mode_t modus; GTree *tree; @@ -94,7 +94,7 @@ g_tree_read_file(FILE *fp) if (s < LIST_MINSIZE) CORRUPT("Corrupt entry at line: %zd, line to short"); - n = strrchr(buf, '\n'); +// gchar *n = strrchr(buf, '\n'); /* get modus */ if (buf[LIST_SPACEPOS] != ' ') -- debian/patches/0002-Move-it.patch0000644000000000000000000000072711664133660013551 0ustar From: Jose Carlos Garcia Sogo Date: Sat, 26 Nov 2011 09:18:12 +0000 Subject: Move it --- rdup.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/rdup.c b/rdup.c index 4c43b46..adbd2c6 100644 --- a/rdup.c +++ b/rdup.c @@ -82,6 +82,8 @@ g_tree_read_file(FILE *fp) delim= '\n'; while ((rdup_getdelim(&buf, &s, delim, fp)) != -1) { + gchar *n; + if (sig != 0) { fclose(fp); signal_abort(sig); -- debian/patches/series0000644000000000000000000000010112157675243012036 0ustar 0001-Delete-set-but-unused-variables.patch 0004-libarchive.patch debian/patches/0002-Patch-to-version-1.1.11.patch0000644000000000000000000000267511664133660016114 0ustar From: Jose Carlos Garcia Sogo Date: Sat, 26 Nov 2011 02:27:03 +0000 Subject: Patch to version 1.1.11 --- .../0001-Delete-set-but-unused-variables.patch | 22 ++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 23 insertions(+), 0 deletions(-) create mode 100644 debian/patches/0001-Delete-set-but-unused-variables.patch create mode 100644 debian/patches/series diff --git a/debian/patches/0001-Delete-set-but-unused-variables.patch b/debian/patches/0001-Delete-set-but-unused-variables.patch new file mode 100644 index 0000000..1680d89 --- /dev/null +++ b/debian/patches/0001-Delete-set-but-unused-variables.patch @@ -0,0 +1,22 @@ +From: Jose Carlos Garcia Sogo +Date: Sat, 26 Nov 2011 02:13:36 +0000 +Subject: Delete set but unused variables + +--- + rdup.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/rdup.c b/rdup.c +index 3e69fb4..4c43b46 100644 +--- a/rdup.c ++++ b/rdup.c +@@ -59,7 +59,7 @@ g_tree_subtract(GTree *a, GTree *b) + static GTree * + g_tree_read_file(FILE *fp) + { +- gchar *buf, *n, *p, *q; ++ gchar *buf, *p, *q; + gchar delim, linktype; + mode_t modus; + GTree *tree; +-- diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..4cbf3d8 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-Delete-set-but-unused-variables.patch -- debian/patches/0003-Move-it.patch0000644000000000000000000000072711664133660013552 0ustar From: Jose Carlos Garcia Sogo Date: Sat, 26 Nov 2011 09:18:12 +0000 Subject: Move it --- rdup.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/rdup.c b/rdup.c index 4c43b46..adbd2c6 100644 --- a/rdup.c +++ b/rdup.c @@ -82,6 +82,8 @@ g_tree_read_file(FILE *fp) delim= '\n'; while ((rdup_getdelim(&buf, &s, delim, fp)) != -1) { + gchar *n; + if (sig != 0) { fclose(fp); signal_abort(sig); -- debian/patches/0004-libarchive.patch0000644000000000000000000000077612157674633014357 0ustar Description: Port to new libarchive API, drop deprecated calls Author: Adam Conrad Forwarded: no Applied-Upstream: https://github.com/miekg/rdup/commit/6e2131c9 Bug-Debian: http://bugs.debian.org/701606 Last-Update: 2013-06-17 --- rdup-1.1.11.orig/rdup-tr.c +++ rdup-1.1.11/rdup-tr.c @@ -294,7 +294,7 @@ not_s_isreg: if (opt_output != O_RDUP) { archive_write_close(archive); - archive_write_finish(archive); + archive_write_free(archive); } g_free(readbuf); g_free(buf); debian/copyright0000644000000000000000000000201511664133660011125 0ustar This package was debianized by Miek Gieben on Sun, 1 Oct 2006 13:57:21 +0200. It was downloaded from http://www.miek.nl/projects/rdup Copyright: (C) 2005-20011 Miek Gieben Upstream Author: Miek Gieben License: rdup is licensed under the GPLv3 only. 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 3 of the License. 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 . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3'. debian/dirs0000644000000000000000000000001011664133660010047 0ustar usr/bin debian/rules0000755000000000000000000000440511664133660010257 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif configure: config.status: configure dh_testdir CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --sysconfdir=/etc build: build-arch build-indep build-arch: build-arch-stamp build-arch-stamp: config.status $(MAKE) touch build-arch-stamp build-indep: build-indep-stamp build-indep-stamp: config.status touch build-indep-stamp clean: dh_testdir dh_testroot rm -f build-arch-stamp build-indep-stamp CONFIGURE-STAMP [ ! -f Makefile ] || $(MAKE) distclean #clean up remaining cruft manually rm -f *.o rm -f rdup rm -f rdup-up rm -f doc/*.1 rm -f GNUmakefile rm -f po/GNUmakefile rm -f rdup.h rm -f rdup-tr rm -f config.h rm -f config.log rm -f config.status rm -f rdup-tr.h rm -f rdup-up.h rm -f sh/rdup-simple dh_clean install: install-indep install-arch install-indep: dh_testdir dh_testroot dh_clean -k -i dh_installdirs -i dh_install -i install-arch: dh_testdir dh_testroot dh_clean -k -s dh_installdirs -s $(MAKE) install prefix=$(CURDIR)/debian/rdup/usr dh_install -s binary-common: dh_testdir dh_testroot dh_installchangelogs ChangeLog dh_installdocs dh_installexamples dh_installman 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-indep: build-indep install-indep $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common binary-arch: build-arch install-arch $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common binary: binary-arch binary-indep .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch debian/source/0000755000000000000000000000000011664133660010474 5ustar debian/source/format0000644000000000000000000000001411664133660011702 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001137612157675246011067 0ustar rdup (1.1.11-1.1) unstable; urgency=low * Non-maintainer upload. * debian/patches/0004-libarchive.patch: Apply path from Adam Conrad to fix FTBFS with newer libarchive. (Closes: #701606) -- Sebastian Ramacher Mon, 17 Jun 2013 23:07:49 +0200 rdup (1.1.11-1) unstable; urgency=low * New upstream version + Compiles with gcc 4.6 (Closes: #625407) + Will work with 'ld --as-needed' (Closes: #627617) * Switch to dpkg-source 3.0 (quilt) format -- Jose Carlos Garcia Sogo Sat, 26 Nov 2011 02:01:28 +0000 rdup (1.0.5-1) unstable; urgency=low * New upstream release (Closes: #566523) * Bump Standards-Version to 3.8.3. No changes needed. * Add nettle build dependency * Push debhelper compat level to 7 -- Jose Carlos Garcia Sogo Sun, 24 Jan 2010 20:17:29 +0100 rdup (0.7.0-1) unstable; urgency=low * New Upstream Version: + rdup-simple is also back as /usr/lib/rdup/rdup-simple.sh using now rdup-tr and rdup-up. -- Jose Carlos Garcia Sogo Tue, 03 Feb 2009 21:41:36 +0100 rdup (0.6.4-1) unstable; urgency=low * Happy 2009 release. * New Upstream Version: + rdup-gzip, rdup-gpg and rdup-crypt are merged back, as they're rewritten in C and replaced by rdup-tr. + rdup-snap has also been rewritten in C an called rdup-up. * debian/control: + Remove any dependency on perl. Utils in other languages different than C were split to rdup-utils in version 0.6.2 + rdup-tr needs libarchive-dev for building. -- Jose Carlos Garcia Sogo Thu, 01 Jan 2009 12:07:56 +0100 rdup (0.6.3-2) unstable; urgency=low * Add missing Build-Dependecy on libpcre3-dev (Closes: #508246) -- Jose Carlos Garcia Sogo Sat, 13 Dec 2008 17:05:56 +0100 rdup (0.6.3-1) unstable; urgency=low * New Upstream Version * Standard-Version bumped to 3.8.0. No changes needed. * Upstream removed rdup.cron; do not install as example -- Jose Carlos Garcia Sogo Mon, 08 Dec 2008 22:44:24 +0100 rdup (0.6.1-1) unstable; urgency=low * New Upstream Version -- Jose Carlos Garcia Sogo Tue, 19 Aug 2008 22:12:59 +0200 rdup (0.6.0-1) unstable; urgency=low * New upstream release. * First version uploaded to Debian archive. (Closes: #484204) * debian/control: + No need to build rdup-doc package + Standards-Version bumped to 3.7.3 + use ${misc:Perl} variable + Set myself as maintainer * debian/rules: + General clean of debian/rules + Use dh_perl to set dependency on perl + Do not regenerate automatically configure script and friends * Update debian/copyright file, and point to GPLv3 license file in Debian systems -- Jose Carlos Garcia Sogo Mon, 02 Jun 2008 23:56:19 +0200 rdup (0.6.0~rc1-1) unstable; urgency=low * New upstream release * i18n support added * hardlink support added * lots of updates and tweaks -- Miek Gieben Mon, 21 Apr 2008 23:03:13 +0200 rdup (0.5.8-1) unstable; urgency=low * New upstream release -- Miek Gieben Wed, 10 Mar 2008 23:03:13 +0200 rdup (0.5.5-1) unstable; urgency=low * New upstream release * License change to GPL3 -- Miek Gieben Wed, 10 Feb 2008 23:03:13 +0200 rdup (0.5.3-1) unstable; urgency=low * New upstream release -- Miek Gieben Wed, 28 May 2007 23:03:13 +0200 rdup (0.5.0-1) unstable; urgency=low * New upstream release * All paths have changed from sbin to usr/bin * A lot of utilities are removed from the archive * Completely new algorithm for detecting what to print -- Miek Gieben Wed, 9 May 2007 23:03:13 +0200 rdup (0.3.10-1) unstable; urgency=low * New upstream release -- Miek Gieben Wed, 9 May 2007 23:03:13 +0200 rdup (0.3.7-1) unstable; urgency=low * New upstream release -- Miek Gieben Tue, 10 Feb 2007 23:03:13 +0200 rdup (0.3.5-1) unstable; urgency=low * New upstream release -- Miek Gieben Tue, 26 Dec 2006 16:07:18 +0200 rdup (0.3.4-1) unstable; urgency=low * New upstream release -- Miek Gieben Mon, 10 Dec 2006 16:07:18 +0200 rdup (0.3.3-1) unstable; urgency=low * New upstream release -- Miek Gieben Mon, 3 Dec 2006 16:07:18 +0200 rdup (0.3.2-1) unstable; urgency=low * New upstream release -- Miek Gieben Mon, 2 Dec 2006 16:07:18 +0200 rdup (0.3.2-1) unstable; urgency=low * New upstream release -- Miek Gieben Mon, 2 Dec 2006 16:07:18 +0200 rdup (0.3.0-1) unstable; urgency=low * Initial release. -- Miek Gieben Mon, 2 Oct 2006 17:17:18 +0200 debian/control0000644000000000000000000000153311664133660010601 0ustar Source: rdup Section: utils Priority: optional Maintainer: Jose Carlos Garcia Sogo Build-Depends: debhelper (>= 4.0.0), autotools-dev, libglib2.0-dev, autoconf, automake, libpcre3-dev, libarchive-dev, nettle-dev Standards-Version: 3.9.2 Vcs-Git: git://git.debian.org/git/users/jsogo/rdup.git Vcs-Browser: http://git.debian.org/git/users/jsogo/rdup.git Homepage: http://miek.nl/projects/rdup/ Package: rdup Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, bash (>= 3.0.0) Description: utility to create a file list suitable for making backups rdup is a utility inspired by rsync and the plan9 way of doing things. rdup itself does not backup anything. It only prints a list of files that are changed, or all files in case of a null dump. It also handles files that are removed, allowing for correct incremental backups. debian/compat0000644000000000000000000000000211664133660010372 0ustar 7 debian/docs0000644000000000000000000000001411664133660010042 0ustar README todo