Source: readline6
Version: 6.3-8
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: umask

Hi!

While working on the “reproducible builds” effort [1], we have noticed
that readline6 could not be built reproducibly.

The attached patch adds an extra dh_fixperms to avoid difference with
different umasks. Once applied, readline6 can be built reproducibly in
our current experimental framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds

-- 
Lunar                                .''`. 
lu...@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
diff -Nru readline6-6.3/debian/changelog readline6-6.3/debian/changelog
--- readline6-6.3/debian/changelog	2014-08-03 17:33:18.000000000 +0000
+++ readline6-6.3/debian/changelog	2015-04-22 19:14:25.000000000 +0000
@@ -1,3 +1,11 @@
+readline6 (6.3-8.0~reproducible1) UNRELEASED; urgency=low
+
+  * Make the package build reproducibly:
+    - Call dh_fixperms for arch-indep packages to avoid variations due to
+      umask.
+
+ -- Jérémy Bobbio <lu...@debian.org>  Wed, 22 Apr 2015 19:13:35 +0000
+
 readline6 (6.3-8) unstable; urgency=medium
 
   * Split out a readline-doc package for documentation and examples.
diff -Nru readline6-6.3/debian/rules readline6-6.3/debian/rules
--- readline6-6.3/debian/rules	2014-08-03 17:34:34.000000000 +0000
+++ readline6-6.3/debian/rules	2015-04-22 19:13:34.000000000 +0000
@@ -390,6 +390,7 @@
 	dh_installdocs -i
 	dh_installchangelogs -i
 	dh_compress -i
+	dh_fixperms -i
 	dh_installdeb -i
 	dh_gencontrol -i
 	dh_md5sums -i

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to