[neon/backports-focal/bup/Neon/unstable] debian: copy packaging from debian
Jonathan Riddell
null at kde.org
Fri May 21 11:05:50 BST 2021
Git commit fb2c05f7c563611cee05ba5fa666ed9e43e2b0a2 by Jonathan Riddell.
Committed on 21/05/2021 at 10:05.
Pushed by jriddell into branch 'Neon/unstable'.
copy packaging from debian
A +18 -0 debian/README.source
A +2 -0 debian/bup-doc.install
A +2 -0 debian/bup.install
A +431 -0 debian/changelog
A +52 -0 debian/control
A +35 -0 debian/copyright
A +2 -0 debian/docs
A +10 -0 debian/gbp.conf
A +8 -0 debian/gen_checkout_info.sh
A +80 -0 debian/patches/debian-changes
A +1 -0 debian/patches/series
A +21 -0 debian/rules
A +1 -0 debian/source/format
A +1 -0 debian/source/options
A +3 -0 debian/watch
https://invent.kde.org/neon/backports-focal/bup/commit/fb2c05f7c563611cee05ba5fa666ed9e43e2b0a2
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..c6841c7
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,18 @@
+bup for Debian
+--------------
+
+The bup source is obtained via git from <git://github.com/bup/bup.git>.
+
+The bup package source is collaboratively maintained by the Debian collab-maint
+project. You can obtain a copy of the source (including the upstream source)
+from <git://git.debian.org/git/collab-maint/bup>.
+
+ * The 'master' branch is used to track upstream's master
+ * you may wish to add it as a remote to any clone:
+ git remote add upstream git://github.com/bup/bup.git
+ * we fast-forward merge from upstream's master
+ * The 'debian' branch is used to track the debian packaging effort
+ * This usually tracks the most recent upstream tag
+ * we non-fast-forward merge when moving between upstream tags
+ * we carry upstream's tags, which are of the form x.xx, e.g. 0.26
+ * we prefix our tags with 'debian/' e.g. debian/0.26-1
diff --git a/debian/bup-doc.install b/debian/bup-doc.install
new file mode 100644
index 0000000..a2bd6eb
--- /dev/null
+++ b/debian/bup-doc.install
@@ -0,0 +1,2 @@
+usr/share/doc/bup
+usr/share/man
diff --git a/debian/bup.install b/debian/bup.install
new file mode 100644
index 0000000..260c103
--- /dev/null
+++ b/debian/bup.install
@@ -0,0 +1,2 @@
+usr/bin/*
+usr/lib/bup/*
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c7f10be
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,431 @@
+bup (0.32-3build1) hirsute; urgency=medium
+
+ * No change rebuild with fixed ownership.
+
+ -- Dimitri John Ledkov <xnox at ubuntu.com> Thu, 18 Feb 2021 00:01:44 +0000
+
+bup (0.32-3) unstable; urgency=medium
+
+ * debian/watch: Add watch file
+ * debian/control: Drop python3-pytest-xdist build dependency (don't run
+ tests in parallel)
+
+ -- Robert Edmonds <edmonds at debian.org> Sat, 06 Feb 2021 15:18:16 -0500
+
+bup (0.32-2) unstable; urgency=medium
+
+ * Upload to unstable.
+
+ -- Robert Edmonds <edmonds at debian.org> Sun, 31 Jan 2021 16:04:39 -0500
+
+bup (0.32-1) experimental; urgency=medium
+
+ * New upstream version 0.32
+
+ -- Robert Edmonds <edmonds at debian.org> Sat, 30 Jan 2021 21:50:17 -0500
+
+bup (0.32~git20201223-1) experimental; urgency=medium
+
+ * New upstream git snapshot of commit
+ b8e90ee2882c7b93d6c8c8fb1ef4cc6ed00aa2b3 due to call for testing
+ * debian/control: Add new build dependencies python3-pytest,
+ python3-pytest-xdist
+
+ -- Robert Edmonds <edmonds at debian.org> Mon, 28 Dec 2020 21:10:27 -0500
+
+bup (0.31-2) unstable; urgency=medium
+
+ * lib/bup/_helpers.c: Disable the code that calls Py_GetArgcArgv()
+ (Closes: #972763)
+
+ -- Robert Edmonds <edmonds at debian.org> Sat, 31 Oct 2020 15:26:24 -0400
+
+bup (0.31-1) unstable; urgency=medium
+
+ * New upstream version 0.31 (Closes: #961447)
+
+ -- Robert Edmonds <edmonds at debian.org> Sun, 23 Aug 2020 19:51:37 -0400
+
+bup (0.31~git20200814-1) experimental; urgency=medium
+
+ * New upstream git snapshot of commit
+ 3d243e3af895031e4a51113df9b7c51e09792347
+
+ -- Robert Edmonds <edmonds at debian.org> Fri, 14 Aug 2020 23:10:19 -0400
+
+bup (0.31~git20200809-1) experimental; urgency=medium
+
+ * New upstream git snapshot of commit
+ 07f74364b1854810f814e81e73822f35b7677318
+ * debian/control: Update bup package's Recommends: python3-fuse,
+ python3-tornado
+
+ -- Robert Edmonds <edmonds at debian.org> Sun, 09 Aug 2020 15:23:24 -0400
+
+bup (0.31~git20200808-1) experimental; urgency=medium
+
+ * New upstream git snapshot of commit
+ ba836360f66ed046be1af98904a36a4ce862ca62
+ * debian/rules: Exclude py2raise.py from byte-compilation; it is not
+ syntactically valid Python 3
+ * debian/control: Bump Standards-Version to 4.5.0 (no changes)
+ * debian/: Bump debhelper compat level to 13
+
+ -- Robert Edmonds <edmonds at debian.org> Sat, 08 Aug 2020 21:28:59 -0400
+
+bup (0.31~git20200728-1) experimental; urgency=medium
+
+ * New upstream git snapshot due to call for testing
+ * debian/: Remove debian/gen_version_py.sh due to upstream changes
+ * debian/: Update dependencies and build rules for python3
+ (Closes: #936251, #966723)
+ * debian/control: Add additional build dependencies acl, libacl1-dev,
+ libreadline-dev
+ * debian/: Generate lib/bup/source_info.py
+ * dev/install-python-script: Use Python 3
+
+ -- Robert Edmonds <edmonds at debian.org> Wed, 05 Aug 2020 02:39:00 -0400
+
+bup (0.29.3-2) unstable; urgency=medium
+
+ * Upload to unstable.
+
+ -- Robert Edmonds <edmonds at debian.org> Mon, 26 Aug 2019 11:24:25 -0400
+
+bup (0.29.3-1) experimental; urgency=medium
+
+ * New upstream version 0.29.3
+
+ -- Robert Edmonds <edmonds at debian.org> Sun, 25 Aug 2019 23:37:44 -0400
+
+bup (0.29.2-1) experimental; urgency=medium
+
+ * New upstream version 0.29.2
+ - Contains test suite fix for newer versions of git. (Closes: #879213)
+ * debian/control: Remove Vcs-Browser, Vcs-Git fields pointing to
+ anonscm.debian.org
+ * debian/control: Change package priority from extra to optional
+ * debian/control: Mark bup-doc as "Multi-Arch: foreign"
+
+ -- Robert Edmonds <edmonds at debian.org> Sat, 17 Aug 2019 17:34:47 -0400
+
+bup (0.29-3) unstable; urgency=medium
+
+ [ Tim Riemenschneider ]
+ * Safeguard against deleting new pack-file (f.e. with threshold=0)
+ (Closes: #859295)
+
+ -- Robert Edmonds <edmonds at debian.org> Sat, 01 Apr 2017 14:38:19 -0400
+
+bup (0.29-2) unstable; urgency=medium
+
+ [ James Cowgill ]
+ * Build-Depend on tzdata to fix FTBFS. (Closes: #839498)
+
+ [ Robert Edmonds ]
+ * debian/changelog: Acknowledge 0.28.1-1.1 NMU
+
+ -- Robert Edmonds <edmonds at debian.org> Sun, 01 Jan 2017 14:42:37 -0500
+
+bup (0.29-1) unstable; urgency=medium
+
+ * New upstream version 0.29
+ * debian/control: Upgrade Vcs-Git URL from git:// to https://
+ * debian/control: Bump Standards-Version to 3.9.8 (no changes)
+
+ -- Robert Edmonds <edmonds at debian.org> Thu, 29 Dec 2016 16:08:15 -0500
+
+bup (0.29~rc1-1) experimental; urgency=medium
+
+ [ Rob Browning ]
+ * test-prune-older: set test git author/committer
+
+ [ Robert Edmonds ]
+ * New upstream version 0.29-rc1
+
+ -- Robert Edmonds <edmonds at debian.org> Sat, 24 Dec 2016 14:13:27 -0500
+
+bup (0.28.1-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Build-Depend on tzdata to fix FTBFS. (Closes: #839498)
+
+ -- James Cowgill <jcowgill at debian.org> Thu, 27 Oct 2016 15:22:29 +0100
+
+bup (0.28.1-1) unstable; urgency=medium
+
+ * New upstream version 0.28.1
+ * debian/rules: Generate our own /usr/lib/bup/bup/_release.py
+ * cmd/version-cmd.py: Disable regex test for tag names
+
+ -- Robert Edmonds <edmonds at debian.org> Sun, 02 Oct 2016 17:22:52 -0400
+
+bup (0.28~rc3-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Robert Edmonds <edmonds at debian.org> Sat, 21 May 2016 23:49:48 -0400
+
+bup (0.27.1-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Upload to unstable.
+
+ -- Robert Edmonds <edmonds at debian.org> Wed, 18 May 2016 23:00:17 -0400
+
+bup (0.27.1~rc2-2) experimental; urgency=medium
+
+ * Cherry pick 'test_server_split_with_indexes: close packwriter' from
+ upstream master.
+
+ -- Robert Edmonds <edmonds at debian.org> Sun, 15 May 2016 13:39:26 -0400
+
+bup (0.27.1~rc2-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Robert Edmonds <edmonds at debian.org> Sat, 14 May 2016 18:48:46 -0400
+
+bup (0.27-2) unstable; urgency=medium
+
+ [ Chris Lamb ]
+ * debian/gen_version_py.sh: Make the build reproducible (Closes: #792673)
+
+ [ Robert Edmonds ]
+ * debian/gbp.conf: Add [dch] section
+ * debian/gbp.conf: Move 'debian-branch' setting into [DEFAULT] section
+ * debian/: Run "wrap-and-sort -sbt"
+ * debian/control: Update Vcs-Browser
+ * debian/control: Add dh-python to Build-Depends
+
+ -- Robert Edmonds <edmonds at debian.org> Sat, 19 Dec 2015 15:16:57 -0500
+
+bup (0.27-1) unstable; urgency=medium
+
+ * New upstream release. (Closes: #787098)
+ * Cherry-pick upstream commit cd09571851cd2c1e6e9c7b8195c0bc72ac31ae6a
+ ("Update definition lists for pandoc 1.13").
+ * Upload to unstable.
+
+ -- Robert Edmonds <edmonds at debian.org> Sat, 13 Jun 2015 17:11:02 -0400
+
+bup (0.27~rc4-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Robert Edmonds <edmonds at debian.org> Sun, 29 Mar 2015 21:12:30 -0400
+
+bup (0.27~rc3-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Robert Edmonds <edmonds at debian.org> Sat, 14 Mar 2015 15:41:36 -0400
+
+bup (0.26-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Robert S. Edmonds <edmonds at debian.org> Sat, 23 Aug 2014 08:26:03 -0700
+
+bup (0.26~rc1-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Robert S. Edmonds <edmonds at debian.org> Wed, 28 May 2014 18:57:12 -0400
+
+bup (0.25-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Robert S. Edmonds <edmonds at debian.org> Mon, 16 Dec 2013 11:55:58 -0500
+
+bup (0.25~rc5-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Robert S. Edmonds <edmonds at debian.org> Tue, 10 Dec 2013 14:42:47 -0500
+
+bup (0.25~rc4-1) unstable; urgency=low
+
+ * New upstream release.
+ * Increase debhelper compat level to 9.
+ * Re-enable python-pylibacl on non-Linux architectures;
+ tentatively closes: #726727.
+
+ -- Robert S. Edmonds <edmonds at debian.org> Fri, 15 Nov 2013 14:31:34 -0500
+
+bup (0.25~rc3-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Robert S. Edmonds <edmonds at debian.org> Tue, 24 Sep 2013 19:08:12 -0400
+
+bup (0.25~rc2-3) unstable; urgency=low
+
+ * Build-Depend and Depend on python-pylibacl and python-pyxattr only on
+ linux-any.
+ * Build-Depend and Depend on par2 only on !hurd-i386.
+ * Add Build-Depends-Indep on pandoc-data due to pandoc/pandoc-data binary
+ package split.
+
+ -- Robert S. Edmonds <edmonds at debian.org> Sun, 01 Sep 2013 14:40:26 -0400
+
+bup (0.25~rc2-2) unstable; urgency=low
+
+ * Fold bup-fuse and bup-web back into the main 'bup' package at the
+ suggestion of the Debian FTP Masters.
+ * Demote the Depends on python-fuse (for 'bup fuse') and python-tornado
+ (for 'bup web') to Recommends, since these scripts have import guards
+ and will print a proper error message if these packages aren't installed.
+
+ -- Robert S. Edmonds <edmonds at debian.org> Sat, 10 Aug 2013 17:13:36 -0400
+
+bup (0.25~rc2-1) unstable; urgency=low
+
+ * New upstream release.
+ * New binary packages:
+ - bup-doc
+ - bup-fuse
+ - bup-web
+ * Add dependency on python-pylibacl, python-pyxattr, in order to backup
+ file metadata.
+ * Promote dependency on par2 from Recommends to Depends.
+
+ -- Robert S. Edmonds <edmonds at debian.org> Thu, 08 Aug 2013 22:00:57 -0400
+
+bup (0.25~git20130505-1) unstable; urgency=low
+
+ * Upload to unstable.
+ * Merge upstream commit 6cf3688.
+ * Push Debian source package changes to git.debian.org; closes: #704908.
+ * Don't build docs on mips; closes: #704910.
+
+ -- Robert S. Edmonds <edmonds at debian.org> Mon, 06 May 2013 15:35:00 -0400
+
+bup (0.25~git20130303-1) experimental; urgency=low
+
+ * New maintainer; closes: #699163.
+ * Merge upstream commit 7e9005e.
+ * Convert from python-support to dh_python2.
+
+ -- Robert S. Edmonds <edmonds at debian.org> Sun, 03 Mar 2013 19:43:36 -0500
+
+bup (0.25~git2011.11.04-6) experimental; urgency=low
+
+ * Add --parallel to dh* calls to support parallel building.
+ * Depend upon python-pyxattr and python-pylibacl so that "bup
+ meta" works. Thanks Sascha Silbe. Closes: #692009.
+
+ -- Jon Dowland <jmtd at debian.org> Tue, 06 Nov 2012 22:50:59 +0000
+
+bup (0.25~git2011.11.04-5) unstable; urgency=low
+
+ * Add 0.22a-1 changelog entry to this file. Remove changelog
+ entry for 0.21-1 which was never uploaded. Closes: #665650.
+ * The experimental upload appears to have worked!
+ Closes: #664185, #668997.
+
+ -- Jon Dowland <jmtd at debian.org> Fri, 25 May 2012 11:55:14 +0100
+
+bup (0.25~git2011.11.04-4) experimental; urgency=low
+
+ * Bump standards version.
+ * Skip 'make test' on s390 to avoid FTBFS. This might
+ resolve #664185.
+ * Adjust two 'asserts' to be side-effect free, so that
+ users could run with PYTHONOPTIMIZE adjusted. This might
+ resolve #668997.
+
+ -- Jon Dowland <jmtd at debian.org> Thu, 24 May 2012 09:43:28 +0100
+
+bup (0.25~git2011.11.04-3) unstable; urgency=low
+
+ * Add two patches from Gonéri Le Bouder to fix building
+ on KFreeBSD. Boy, we have a lot of build failures.
+ Thanks Gonéri! Closes: #651104.
+
+ -- Jon Dowland <jmtd at debian.org> Wed, 11 Jan 2012 21:34:48 +0000
+
+bup (0.25~git2011.11.04-2) unstable; urgency=low
+
+ * Add bloom-unaligned-bufs to the series file. Oops!
+ Thanks Jakub Wilk. Closes: #641488.
+
+ -- Jon Dowland <jmtd at debian.org> Tue, 03 Jan 2012 20:48:36 +0000
+
+bup (0.25~git2011.11.04-1) unstable; urgency=low
+
+ [ Teemu Ikonen ]
+ * New upstream version.
+ * Add a proper patch 'no-werror' for the previous NMU, fixing FTBFS
+ (closes: #643060).
+ * Refresh patches 'mangle-version' and 'excise-tornado' to work
+ with the new upstream version.
+ * rules:
+ - override dh_auto_configure: Call ./configure without arguments.
+ - override dh_auto_clean: Remove files generated by configure.
+
+ [ Jon Dowland ]
+ * We've merged upstream commit 8953dc8 (a couple ahead of bup-0.25-rc1)
+ * Acknowledge NMU. Thanks Julien Cristau!
+ * Don't use pandoc on architectures where it's missing.
+ Thanks Julien Cristau. Closes: #641637.
+ * New package should fix python dependency. Closes: #649351.
+ * Fix an unaligned-access problem which caused FTBFS on SPARC.
+ Thanks once again Julien Cristau. Closes: #641488.
+
+ -- Jon Dowland <jmtd at debian.org> Mon, 05 Dec 2011 15:44:38 +0000
+
+bup (0.24b-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Don't build with -Werror, to fix build failure (closes: #633145)
+
+ -- Julien Cristau <jcristau at debian.org> Sat, 20 Aug 2011 19:31:19 +0200
+
+bup (0.24b-1) unstable; urgency=low
+
+ * New upstream version.
+ * bump standards version.
+
+ -- Jon Dowland <jmtd at debian.org> Fri, 08 Jul 2011 09:55:48 +0100
+
+bup (0.22a-1) unstable; urgency=low
+
+ * New upstream version. Closes: #610690.
+
+ -- Jon Dowland <jmtd at debian.org> Mon, 07 Feb 2011 22:40:44 +0000
+
+bup (0.20-2) unstable; urgency=low
+
+ * use python-support to tightly version python dependency,
+ needed due to the binary extensions. Thanks Jakub Wilk.
+ Closes: #608568.
+
+ -- Jon Dowland <jmtd at debian.org> Sun, 02 Jan 2011 20:17:40 +0000
+
+bup (0.20-1) unstable; urgency=low
+
+ * new upstream version.
+
+ -- Jon Dowland <jmtd at debian.org> Fri, 17 Dec 2010 23:52:43 +0000
+
+bup (0.17b-2) unstable; urgency=low
+
+ * add git as a build dependency. Closes: #595949
+ * bump standards version.
+
+ -- Jon Dowland <jmtd at debian.org> Tue, 07 Sep 2010 22:08:48 +0100
+
+bup (0.17b-1) unstable; urgency=low
+
+ * New upstream version.
+ * document package VCS in control file
+
+ -- Jon Dowland <jmtd at debian.org> Tue, 07 Sep 2010 17:03:28 +0100
+
+bup (0.14a-1) unstable; urgency=low
+
+ * Initial release. Closes: #564600
+
+ -- Jon Dowland <jmtd at debian.org> Thu, 01 Apr 2010 10:05:55 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..5ac3f50
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,52 @@
+Source: bup
+Section: admin
+Priority: optional
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
+XSBC-Original-Maintainer: Robert Edmonds <edmonds at debian.org>
+Build-Depends:
+ acl,
+ dctrl-tools,
+ debhelper-compat (= 13),
+ dh-python,
+ git,
+ libacl1-dev,
+ libreadline-dev,
+ par2 [!hurd-i386],
+ python3-dev,
+ python3-pylibacl,
+ python3-pytest,
+ python3-pyxattr [linux-any],
+ rsync,
+ tzdata,
+Build-Depends-Indep: pandoc (>= 1.11.1-4~), pandoc-data (>= 1.11.1-4~)
+Standards-Version: 4.5.0
+Homepage: https://github.com/bup/bup
+
+Package: bup
+Architecture: any
+Depends:
+ git,
+ par2 [!hurd-i386],
+ python3,
+ python3-pylibacl,
+ python3-pyxattr [linux-any],
+ ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends},
+Recommends: bup-doc, python3-fuse, python3-tornado
+Description: highly efficient file backup system based on git
+ bup is a backup tool which stores the backups in a system based around
+ the packfile format from git.
+
+Package: bup-doc
+Section: doc
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}
+Breaks: bup (<< 0.25~rc2-2~)
+Replaces: bup (<< 0.25~rc2-2~)
+Description: highly efficient file backup system based on git (documentation)
+ bup is a backup tool which stores the backups in a system based around
+ the packfile format from git.
+ .
+ This package contains the documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8b8ffd7
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+This work was packaged for Debian by:
+
+ Jon Dowland <jmtd at debian.org> on Thu, 01 Apr 2010 10:05:55 +0100
+
+It was downloaded from:
+
+ <http://github.com/apenwarr/bup>
+
+Upstream Authors:
+
+ Rob Browning
+ Avery Pennarun 'apenwarr'
+
+Copyright:
+
+ Copyright © 2010 Rob Browning
+ Copyright © 2010 Avery Pennarun
+
+Additional copyright holders:
+
+./wvtestrun:
+ Copyright © 2007-2009 Versabanq Innovations Inc. and contributors.
+
+License:
+
+ GNU LGPL version 2
+ See "/usr/share/common-licenses/LGPL-2".
+
+The Debian packaging is:
+
+ Copyright © 2010-2012 Jon Dowland <jmtd at debian.org>
+ Copyright © 2013 Robert S. Edmonds <edmonds at debian.org>
+
+and is similarly licensed under the LGPL version 2,
+see "/usr/share/common-licenses/LGPL-2".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..5a01470
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+README
+README.md
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..e97b2a1
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,10 @@
+[DEFAULT]
+debian-branch = debian
+
+[buildpackage]
+pristine-tar = False
+upstream-tree = tag
+upstream-tag = %(version)s
+
+[dch]
+commit-msg = debian/changelog: %(version)s
diff --git a/debian/gen_checkout_info.sh b/debian/gen_checkout_info.sh
new file mode 100755
index 0000000..6eb9aa5
--- /dev/null
+++ b/debian/gen_checkout_info.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+VERSION="$(dpkg-parsechangelog | grep-dctrl -ensVersion -FSource .)"
+DATE="$(date --utc --date="`dpkg-parsechangelog -SDate`" '+%Y-%m-%d %H:%M:%S %z')"
+
+echo "commit=''"
+echo "date='$DATE'"
+echo "modified=False"
diff --git a/debian/patches/debian-changes b/debian/patches/debian-changes
new file mode 100644
index 0000000..cf08602
--- /dev/null
+++ b/debian/patches/debian-changes
@@ -0,0 +1,80 @@
+This is an autogenerated patch header for a single-debian-patch file. The
+delta against upstream is either kept as a single patch, or maintained
+in some VCS, and exported as a single patch instead of more manageable
+atomic patches.
+
+--- bup-0.32.orig/Makefile
++++ bup-0.32/Makefile
+@@ -28,7 +28,7 @@ current_sampledata := test/sampledata/va
+ os := $(shell ($(pf); uname | sed 's/[-_].*//') $(isok))
+ os := $(call shout,$(os),Unable to determine OS)
+
+-CFLAGS := -O2 -Wall -Werror -Wformat=2 $(CFLAGS)
++CFLAGS := -O2 -Wall -Wformat=2 $(CFLAGS)
+ CFLAGS := -Wno-unknown-pragmas -Wsign-compare $(CFLAGS)
+ CFLAGS := -D_FILE_OFFSET_BITS=64 $(PYINCLUDE) $(CFLAGS)
+ SOEXT:=.so
+@@ -43,7 +43,7 @@ else
+ test_tmp := $(CURDIR)/test/tmp
+ endif
+
+-initial_setup := $(shell dev/update-checkout-info lib/bup/checkout_info.py $(isok))
++#initial_setup := $(shell dev/update-checkout-info lib/bup/checkout_info.py $(isok))
+ initial_setup := $(call shout,$(initial_setup),update-checkout-info failed))
+
+ config/config.vars: \
+@@ -79,7 +79,7 @@ bup_cmds := \
+
+ bup_deps := lib/bup/_helpers$(SOEXT) $(bup_cmds)
+
+-all: $(bup_deps) Documentation/all $(current_sampledata)
++all: $(bup_deps) $(current_sampledata)
+
+ $(current_sampledata):
+ dev/configure-sampledata --setup
+--- /dev/null
++++ bup-0.32/config/config.h.tmp
+@@ -0,0 +1,35 @@
++/*
++ * configuration for bup, generated Sat Feb 6 20:22:48 UTC 2021
++ * by pbuilder at chase
++ */
++#ifndef __AC_BUP_D
++#define __AC_BUP_D 1
++
++
++#define OS_LINUX 1
++#define HAVE_SYS_STAT_H 1
++#define HAVE_SYS_TYPES_H 1
++#define HAVE_UNISTD_H 1
++#define HAVE_SYS_MMAN_H 1
++#define HAVE_LINUX_FS_H 1
++#define HAVE_SYS_IOCTL_H 1
++#define BUP_USE_PYTHON_UTIME 1
++#define BUP_HAVE_BUILTIN_MUL_OVERFLOW 1
++#define HAVE_MINCORE 1
++#define BUP_MINCORE_BUF_TYPE unsigned char
++#define BUP_HAVE_READLINE 1
++#define BUP_READLINE_INCLUDES_IN_SUBDIR 1
++#define HAVE_STAT_ST_ATIM 1
++#define HAVE_STAT_ST_MTIM 1
++#define HAVE_STAT_ST_CTIM 1
++#define HAVE_TM_TM_GMTOFF 1
++#define HAVE_SYS_ACL_H 1
++#define HAVE_ACL_LIBACL_H 1
++#define HAVE_ACL_GET_FILE 1
++#define HAVE_ACL_FROM_TEXT 1
++#define HAVE_ACL_SET_FILE 1
++#define HAVE_ACL_EXTENDED_FILE 1
++#define HAVE_ACL_TO_ANY_TEXT 1
++#define PATH_SED "/bin/sed"
++
++#endif/* __AC_BUP_D */
+--- bup-0.32.orig/lib/bup/source_info.py
++++ bup-0.32/lib/bup/source_info.py
+@@ -1,3 +1,3 @@
+-commit='3b052c63c93a95193447945296e7ec5db97f6b6e'
+-date='2021-01-09 16:11:10 -0600'
++commit='d8592841d5712148199fd74861f42a79158b2b0d'
++date='2021-02-06 15:18:35 -0500'
+ modified=False
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7bb8252
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+debian-changes
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fab3ba7
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@ --with python3
+
+override_dh_auto_configure:
+ PYTHON="python3" ./configure
+
+override_dh_auto_build-indep:
+ $(MAKE) Documentation/all
+
+override_dh_auto_clean:
+ -rm config/config.cmd config/config.h config/config.log config/config.mak config/config.md config/config.sub config/config.vars
+ dh_auto_clean -- PYTHON="python3"
+
+override_dh_auto_install:
+ $(CURDIR)/debian/gen_checkout_info.sh > $(CURDIR)/lib/bup/checkout_info.py
+ $(MAKE) PYTHON="python3" PREFIX="/usr" DESTDIR="$(CURDIR)/debian/tmp" install
+
+override_dh_python3:
+ dh_python3 -X /usr/lib/bup/bup/py2raise.py
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..7423a2d
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+single-debian-patch
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..6aba87b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/bup-$1\.tar\.gz/ \
+ https://github.com/bup/bup/releases .*/v?(\d\S+)\.tar\.gz
More information about the Neon-commits
mailing list