[Reproducible-commits] [debhelper] 06/10: Run dh_strip_nondeterminism before dh_compress

Jérémy Bobbio lunar at moszumanska.debian.org
Sun Jul 12 14:59:12 UTC 2015


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

lunar pushed a commit to branch pu/reproducible_builds
in repository debhelper.

commit cb27ff633c19deb7e027045e219771668e598fb0
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.
    
    Closes: #759895
---
 debian/control | 2 +-
 dh             | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 8fa120e..5374ec1 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Homepage: http://joeyh.name/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), libdpkg-perl (>= 1.17.14)
+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), libdpkg-perl (>= 1.17.14), dh-strip-nondeterminism
 Suggests: dh-make
 Multi-Arch: foreign
 Description: helper programs for debian/rules
diff --git a/dh b/dh
index 07facd0..dd68465 100755
--- a/dh
+++ b/dh
@@ -394,6 +394,7 @@ my @i = qw{
 	dh_link
 	dh_installwm
 	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