Source: at
Version: 3.1.16-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: umask
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

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

The attached patch updates use of chmod to use absolute umask instead of
relying on the one of the source directory. Once applied, at can be
built reproducibly in our current experimental framework.

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

Regards,
Valentin
--- at-3.1.16/debian/rules	2015-07-29 18:43:07.000000000 +0200
+++ at-3.1.16/debian/rules	2015-07-29 18:42:05.223124658 +0200
@@ -58,7 +58,8 @@
 	dh_install rc etc/init.d
 	mv debian/at/etc/init.d/rc \
 		debian/at/etc/init.d/atd
-	chmod a+x debian/at/etc/init.d/atd
+	chmod 755 debian/at/etc/init.d/atd
+	chmod 644 debian/at/etc/pam.d/atd
 	dh_systemd_enable
 	dh_installinit --name=atd --onlyscripts -- defaults 89 11
 	dh_systemd_start
_______________________________________________
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