debian/0000755000000000000000000000000012313576660007177 5ustar debian/python-deltarpm.install0000644000000000000000000000011212171642445013705 0ustar usr/lib/python2.*/dist-packages/*.py usr/lib/python2.*/dist-packages/*.so debian/deltarpm.install0000644000000000000000000000003712171642445012374 0ustar usr/bin/* usr/share/man/man8/* debian/copyright0000644000000000000000000000764512171642445011143 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: deltarpm Upstream-Contact: Michael Schroeder Source: http://www.novell.com/products/linuxpackages/opensuse/deltarpm.html http://gitorious.org/deltarpm/deltarpm The embedded and patched copy of the zlib compression library in the upstream source has been removed to make the Debian source package. Files: * Copyright: 2003-2010 Michael Schroeder License: BSD-3-clause Files: delta.c Copyright: 2003-2005 Colin Percival 2004-2005 Michael Schroeder License: BSD-2-clause Files: deltarpm.py deltarpmmodule.c Copyright: 2009 Red Hat, Inc License: BSD-3-clause Files: md5.c Copyright: none License: public-domain This code implements the MD5 message-digest algorithm. The algorithm is due to Ron Rivest. This code was written by Colin Plumb in 1993, no copyright is claimed. This code is in the public domain; do with it what you wish. Files: sha256.c sha256.h Copyright: none License: public-domain Implementation of SHA-256, based on Adam Back's sha-1 implementation. This software is in the public domain as per http://archives.neohapsis.com/archives/crypto/2000-q4/0730.html Changes by Jonathan Dieter are also in the public domain Files: debian/* Copyright: 2013 Mike Miller License: BSD-3-clause License: BSD-2-clause Redistribution and use in source and binary forms, with or without modification, are permitted providing 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. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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: 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. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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. debian/changelog0000644000000000000000000000175212313576660011056 0ustar deltarpm (3.6+dfsg-1build2) trusty; urgency=medium * No-change rebuild to drop Python 3.3 support. -- Matthias Klose Sun, 23 Mar 2014 15:28:48 +0000 deltarpm (3.6+dfsg-1build1) trusty; urgency=medium * Rebuild for python3.4 as a supported python version. -- Matthias Klose Sat, 04 Jan 2014 18:31:05 +0000 deltarpm (3.6+dfsg-1) unstable; urgency=low * New upstream version. * debian/rules: Fix get-orig-source to get upstream releases as well as git snapshots. * Drop patches that have been merged upstream: - debian/patches/01_spelling-corrections-in-man-pages.patch - debian/patches/02_allow-overriding-python-versions.patch - debian/patches/03_fix-linking-of-python-extension.patch -- Mike Miller Sun, 04 Aug 2013 00:04:18 -0400 deltarpm (3.5+git20130520.7ededff+dfsg-1) unstable; urgency=low * Initial release. (Closes: #709539) -- Mike Miller Sun, 02 Jun 2013 11:44:52 -0400 debian/compat0000644000000000000000000000000212171642445010372 0ustar 9 debian/patches/0000755000000000000000000000000012171650711010616 5ustar debian/patches/04_omit-rpmdumpheader.patch0000644000000000000000000000206212171642445015752 0ustar Author: Mike Miller Description: Omit building and installing the rpmdumpheader helper utility This patch removes rpmdumpheader from the 'all' and 'install' targets. The only purpose of this utility is to query the system RPM database for an installed package, so it will always fail on a Debian system. Forwarded: not-needed --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ LDLIBS = -lbz2 $(zlibldflags) -llzma LDFLAGS = PYTHONS = python python3 -all: makedeltarpm applydeltarpm rpmdumpheader makedeltaiso applydeltaiso combinedeltarpm fragiso +all: makedeltarpm applydeltarpm makedeltaiso applydeltaiso combinedeltarpm fragiso python: _deltarpmmodule.so @@ -59,7 +59,6 @@ install: install -m 755 makedeltarpm $(DESTDIR)$(bindir) install -m 755 applydeltarpm $(DESTDIR)$(bindir) install -m 755 combinedeltarpm $(DESTDIR)$(bindir) - install -m 755 rpmdumpheader $(DESTDIR)$(rpmdumpheader) install -m 755 makedeltaiso $(DESTDIR)$(bindir) install -m 755 applydeltaiso $(DESTDIR)$(bindir) install -m 755 fragiso $(DESTDIR)$(bindir) debian/patches/series0000644000000000000000000000003412171650672012036 0ustar 04_omit-rpmdumpheader.patch debian/control0000644000000000000000000000331212171642445010576 0ustar Source: deltarpm Section: admin Priority: extra Maintainer: Mike Miller Build-Depends: debhelper (>= 9), libbz2-dev, liblzma-dev, pkg-config, python-all-dev (>= 2.6.6-3~), python3-all-dev (>= 3.2), zlib1g-dev Standards-Version: 3.9.4 X-Python-Version: >= 2.4 X-Python3-Version: >= 3.2 Homepage: http://gitorious.org/deltarpm/deltarpm Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/mtmiller-guest/deltarpm.git Vcs-Git: git://anonscm.debian.org/users/mtmiller-guest/deltarpm.git Package: deltarpm Architecture: any Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends} Description: Tools to create and apply deltarpms A deltarpm contains the differences between an old and a new version of an RPM. This makes it possible to recreate the new RPM from the deltarpm and the old RPM. . On Debian and derived systems these tools may be useful for creating and maintaining repositories of RPM packages. Package: python-deltarpm Section: python Architecture: any Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${python:Provides} Description: Python bindings for deltarpm A deltarpm contains the differences between an old and a new version of an RPM. . This package provides the Python bindings for deltarpm, allowing Python scripts to read the deltarpm file header. Package: python3-deltarpm Section: python Architecture: any Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${python3:Provides} Description: Python3 bindings for deltarpm A deltarpm contains the differences between an old and a new version of an RPM. . This package provides the Python3 bindings for deltarpm, allowing Python scripts to read the deltarpm file header. debian/python3-deltarpm.install0000644000000000000000000000010612171642445013773 0ustar usr/lib/python3/dist-packages/*.py usr/lib/python3/dist-packages/*.so debian/rules0000755000000000000000000000511312171646265010260 0ustar #!/usr/bin/make -f SOURCE := $(shell dpkg-parsechangelog | sed -ne 's,^Source: *\(.*\)$$,\1,p') VERSION := $(shell dpkg-parsechangelog | sed -ne 's,^Version: *\(.*\)$$,\1,p') UVERSION := $(shell echo $(VERSION) | sed -e 's/+dfsg.*//') COMMIT := $(shell echo $(UVERSION) | sed -e 's/.*\.\([0-9abcdef]\+\)/\1/') CFLAGS := $(shell dpkg-buildflags --get CFLAGS) \ $(shell dpkg-buildflags --get CPPFLAGS) -Wall -fPIC LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) LDLIBS := $(shell pkg-config --libs zlib liblzma) -lbz2 PYTHON2 := $(shell pyversions -r) PYTHON3 := $(shell py3versions -r) make_args := prefix=/usr \ mandir=/usr/share/man \ CFLAGS="$(CFLAGS)" \ LDFLAGS="$(LDFLAGS)" \ LDLIBS="$(LDLIBS)" \ PYTHONS="$(PYTHON2) $(PYTHON3)" \ zlibbundled="" \ zlibcppflags="" \ zlibldflags="$(shell pkg-config --libs zlib)" %: dh $@ --with python2,python3 override_dh_auto_build: dh_auto_build -- all python $(make_args) override_dh_auto_install: dh_auto_install -- install $(make_args) # Handle Python 3 extension naming - adapted from dbus-python # 1) Replace ".so" with EXT_SUFFIX # 2) Drop "module" from the filename, no longer works with python >> 3.2 rm -f debian/tmp/usr/lib/python3/dist-packages/*.so set -e && for py in $(PYTHON3); do \ so=`/usr/bin/$$py -c "import sysconfig; print(sysconfig.get_config_var('EXT_SUFFIX') or sysconfig.get_config_var('SO'))"`; \ install $$py/_deltarpmmodule.so \ debian/tmp/usr/lib/python3/dist-packages/_deltarpm$$so; \ done override_dh_auto_clean: mkdir -p zlib-1.2.2.f-rsyncable echo "clean:" > zlib-1.2.2.f-rsyncable/Makefile dh_auto_clean rm -rf python[0-9].[0-9] rm -rf zlib-1.2.2.f-rsyncable override_dh_installdocs: dh_installdocs NEWS README # Archive the upstream source distribution from git, removing the embedded # copy of zlib along the way. Assumes running within a git repository that # contains the upstream git repository. Compression is bzip2 because that's # what official upstream tarballs are. get-orig-source: case "$(UVERSION)" in \ *+git*) git archive --format=tar --prefix=$(SOURCE)-$(UVERSION)/ $(COMMIT) | \ bzip2 > $(SOURCE)_$(UVERSION).orig.tar.bz2 ;; \ *) uscan --force-download --destdir . --rename --upstream-version $(UVERSION) ;; \ esac cd debian \ && rm -rf $(SOURCE)-$(UVERSION) \ && bzip2 -dc ../$(SOURCE)_$(UVERSION).orig.tar.bz2 | tar xf - \ && rm -rf $(SOURCE)-$(UVERSION)/zlib-1.2.2.f-rsyncable \ && tar c --format=posix $(SOURCE)-$(UVERSION) | \ bzip2 > ../$(SOURCE)_$(UVERSION)+dfsg.orig.tar.bz2 \ && rm -rf $(SOURCE)-$(UVERSION) .PHONY: get-orig-source debian/source/0000755000000000000000000000000012171642445010474 5ustar debian/source/format0000644000000000000000000000001412171642445011702 0ustar 3.0 (quilt) debian/gbp.conf0000644000000000000000000000007212171642445010612 0ustar [DEFAULT] pristine-tar = True upstream-branch = dfsg-orig debian/watch0000644000000000000000000000016612171642445010230 0ustar version=3 opts="dversionmangle=s/[+~]dfsg.*//" \ ftp://ftp.suse.com/pub/projects/deltarpm/deltarpm-([\d.]*)\.tar\.bz2