[Reproducible-commits] [debhelper] 02/03: Run dh_strip_nondeterminism before dh_compress

Andrew Ayer agwa at andrewayer.name
Thu Oct 2 03:22:11 UTC 2014


This is an automated email from the git hooks/post-receive script.

agwa-guest pushed a commit to branch pu/reproducible_builds
in repository debhelper.

commit 44bcb04fc7f070bee914c2e8e2b40ae81e3c1755
Author: Andrew Ayer <agwa at andrewayer.name>
Date:   Thu Sep 25 10:22:20 2014 -0700

    Run dh_strip_nondeterminism before dh_compress
    
    dh_strip_nondeterminism is a helper which will normalize files that captures
    aspect of the build environment (e.g. timestamps or file order) and make the
    build process non-deterministic.
    
    It needs to be run after all files are built, but before they get
    compressed, so just before `dh_compress` looks like a good place.
    
    See https://wiki.debian.org/ReproducibleBuilds for more information on
    reproducible builds in Debian.
---
 debian/control | 2 +-
 dh             | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 7da5a46..f9ea49c 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Homepage: http://kitenet.net/~joey/code/debhelper/
 
 Package: debhelper
 Architecture: all
-Depends: ${perl:Depends}, ${misc:Depends}, file (>= 3.23), dpkg (>= 1.16.2), dpkg-dev (>= 1.17.0), binutils, po-debconf, man-db (>= 2.5.1-1), dh-buildinfo
+Depends: ${perl:Depends}, ${misc:Depends}, file (>= 3.23), dpkg (>= 1.16.2), dpkg-dev (>= 1.17.0), binutils, po-debconf, man-db (>= 2.5.1-1), dh-strip-nondeterminism, dh-buildinfo
 Suggests: dh-make
 Conflicts: dpkg-cross (<< 1.18), python-support (<< 0.5.3), python-central (<< 0.5.6), automake (<< 1.11.2)
 Multi-Arch: foreign
diff --git a/dh b/dh
index c4d781e..ecb319e 100755
--- a/dh
+++ b/dh
@@ -393,6 +393,7 @@ my @i = qw{
 
 	dh_link
 	dh_installxfonts
+	dh_strip_nondeterminism
 	dh_compress
 	dh_fixperms
 };

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debhelper.git



More information about the Reproducible-commits mailing list