[debhelper-devel] [debhelper] 01/01: dh_strip: Sort build-ids

Niels Thykier nthykier at moszumanska.debian.org
Sun Oct 4 18:51:59 UTC 2015


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

nthykier pushed a commit to branch master
in repository debhelper.

commit e6bb143b8ff611dc29658a1c3e6a1ce413d75e83
Author: Niels Thykier <niels at thykier.net>
Date:   Sun Oct 4 20:51:50 2015 +0200

    dh_strip: Sort build-ids
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 debian/changelog | 7 +++++++
 dh_strip         | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index f01b2ca..5ea99c2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+debhelper (9.20151004+unreleased) UNRELEASED; urgency=medium
+
+  * dh_strip: Sort build-ids to make the Build-Ids header
+    reproducible.
+
+ -- Niels Thykier <niels at thykier.net>  Sun, 04 Oct 2015 20:50:41 +0200
+
 debhelper (9.20151004) unstable; urgency=medium
 
   [ Niels Thykier ]
diff --git a/dh_strip b/dh_strip
index c6577dd..c8fab7f 100755
--- a/dh_strip
+++ b/dh_strip
@@ -373,7 +373,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 		$path = "${dir}/ddeb-build-ids";
 		install_dir($dir) if ! -d $dir;
 		open(my $fd, '>>', $path) or error("open $path failed: $!");
-		print {$fd} join(q{ }, @build_ids) . "\n";
+		print {$fd} join(q{ }, sort(@build_ids)) . "\n";
 		close($fd) or error("close $path failed: $!");
 	}
 }

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




More information about the debhelper-devel mailing list