[Reproducible-builds] [strip-nondeterminism] 01/01: Add initial debian packaging
Andrew Ayer
agwa at andrewayer.name
Fri Sep 19 04:43:23 UTC 2014
This is an automated email from the git hooks/post-receive script.
agwa-guest pushed a commit to branch debian
in repository strip-nondeterminism.
commit 38e251905c8ee0446b38433198a2e9c0cec2d028
Author: Andrew Ayer <agwa at andrewayer.name>
Date: Thu Sep 18 21:19:20 2014 -0700
Add initial debian packaging
---
debian/changelog | 6 +++
debian/compat | 1 +
debian/control | 49 +++++++++++++++++++++++++
debian/copyright | 29 +++++++++++++++
debian/dh-strip-nondeterminism.install | 2 +
debian/gbp.conf | 5 +++
debian/libfile-stripnondeterminism-perl.install | 1 +
debian/rules | 4 ++
debian/source/format | 1 +
debian/source/options | 1 +
debian/source/patch-header | 17 +++++++++
debian/strip-nondeterminism.install | 2 +
12 files changed, 118 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0213628
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+strip-nondeterminism (0.002-1) unstable; urgency=low
+
+ * Initial release. (Closes: #760803)
+
+ -- Andrew Ayer <agwa at andrewayer.name> Thu, 18 Sep 2014 21:19:02 -0700
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..dada0e7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,49 @@
+Source: strip-nondeterminism
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 9)
+Build-Depends-Indep: perl
+Maintainer: Andrew Ayer <agwa at andrewayer.name>
+Standards-Version: 3.9.5
+Vcs-Git: https://anonscm.debian.org/git/reproducible/strip-nondeterminism.git
+Vcs-Browser: https://anonscm.debian.org/cgit/reproducible/strip-nondeterminism.git
+
+Package: libfile-stripnondeterminism-perl
+Architecture: all
+Depends: ${misc:Depends}, ${perl:Depends}, libarchive-zip-perl
+Description: Perl module for stripping non-determinism from files
+ File::StripNondeterminism is a Perl module for stripping bits of
+ non-deterministic information, such as timestamps and file system
+ order, from files such as gzipped files, ZIP archives, and Jar files.
+ It can be used as a post-processing step to make a build reproducible,
+ when the build process itself cannot be made deterministic. It is used
+ as part of the Reproducible Builds project.
+ .
+ This package contains the perl module.
+
+Package: strip-nondeterminism
+Architecture: all
+Depends: libfile-stripnondeterminism-perl (= ${binary:Version}), ${misc:Depends}, ${perl:Depends}
+Description: tool for stripping non-determinism from files
+ File::StripNondeterminism is a Perl module for stripping bits of
+ non-deterministic information, such as timestamps and file system
+ order, from files such as gzipped files, ZIP archives, and Jar files.
+ It can be used as a post-processing step to make a build reproducible,
+ when the build process itself cannot be made deterministic. It is used
+ as part of the Reproducible Builds project.
+ .
+ This package contains the strip-nondeterminism command.
+
+Package: dh-strip-nondeterminism
+Architecture: all
+Depends: libfile-stripnondeterminism-perl (= ${binary:Version}), ${misc:Depends}, ${perl:Depends}, debhelper
+Description: debhelper add-on to strip non-determinism from files
+ File::StripNondeterminism is a Perl module for stripping bits of
+ non-deterministic information, such as timestamps and file system
+ order, from files such as gzipped files, ZIP archives, and Jar files.
+ It can be used as a post-processing step to make a build reproducible,
+ when the build process itself cannot be made deterministic. It is used
+ as part of the Reproducible Builds project.
+ .
+ This package contains the dh_strip_nondeterminism command that strips
+ nondeterminism as part of a package build process.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d66691f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: strip-nondeterminism
+Source: https://anonscm.debian.org/cgit/reproducible/strip-nondeterminism.git
+
+Files: *
+Copyright: Copyright (C) 2014 Andrew Ayer
+License: GPL-3+
+
+Files: lib/File/StripNondeterminism/handlers/ar.pm
+Copyright: Copyright (C) 2014 Jérémy Bobbio <lunar at debian.org>
+ Copyright (C) 2014 Niko Tyni <ntyni at debian.org>
+License: GPL-3+
+
+License: GPL-3+
+ strip-nondeterminism 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, or
+ (at your option) any later version.
+ .
+ strip-nondeterminism 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 strip-nondeterminism. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the full text of the GNU General Public License
+ version 3 can be found in the file `/usr/share/common-licenses/GPL-3'.
diff --git a/debian/dh-strip-nondeterminism.install b/debian/dh-strip-nondeterminism.install
new file mode 100644
index 0000000..94f3c60
--- /dev/null
+++ b/debian/dh-strip-nondeterminism.install
@@ -0,0 +1,2 @@
+usr/bin/dh_strip_nondeterminism
+usr/share/man/man*/dh_strip_nondeterminism.*
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..f880220
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,5 @@
+[DEFAULT]
+pristine-tar = True
+pristine-tar-commit = True
+debian-branch = debian
+upstream-tag = %(version)s
diff --git a/debian/libfile-stripnondeterminism-perl.install b/debian/libfile-stripnondeterminism-perl.install
new file mode 100644
index 0000000..f5c30c8
--- /dev/null
+++ b/debian/libfile-stripnondeterminism-perl.install
@@ -0,0 +1 @@
+usr/share/perl5/*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2d33f6a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
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/source/patch-header b/debian/source/patch-header
new file mode 100644
index 0000000..01e3a07
--- /dev/null
+++ b/debian/source/patch-header
@@ -0,0 +1,17 @@
+Subject: Collected Debian patches for strip-nondeterminism
+Author: Andrew Ayer <agwa at andrewayer.name>
+
+Since I am also upstream for this package, there will normally not be
+any patches to apply to the upstream source. However, occasionally
+I'll pull up specific upstream commits prior to making an upstream
+release. When this happens, this patch will collect all of those
+modifications.
+
+I use Git to maintain both the upstream source and the Debian
+packages, and generating individual patches rather than using git
+cherry-pick takes extra work for no gain. Since I'm also upstream,
+there's no need to separate the patches for later upstream submission.
+Hence, I take this approach with a unified patch when it's necessary.
+
+For full commit history and separated commits, see the upstream Git
+repository.
diff --git a/debian/strip-nondeterminism.install b/debian/strip-nondeterminism.install
new file mode 100644
index 0000000..0f140eb
--- /dev/null
+++ b/debian/strip-nondeterminism.install
@@ -0,0 +1,2 @@
+usr/bin/strip-nondeterminism
+usr/share/man/man*/strip-nondeterminism.*
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/strip-nondeterminism.git
More information about the Reproducible-builds
mailing list