Source: lprng Version: 3.8.B-2 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps
Hi! While working on the “reproducible builds” effort [1], we have noticed that lprng failed to build reproducibly [2]. The problematic bit is the timestamp written in the example lpd.conf file. As this doesn't feel like really crucial information, the attached patch simply removes it. The package then builds reproducibly within our current framework. [1]: https://wiki.debian.org/ReproducibleBuilds [2]: https://reproducible.debian.net/userContent/rb-pkg/lprng.html -- Lunar .''`. lu...@debian.org : :Ⓐ : # apt-get install anarchism `. `'` `-
diff -Nru lprng-3.8.B/debian/changelog lprng-3.8.B/debian/changelog --- lprng-3.8.B/debian/changelog 2012-06-11 08:07:15.000000000 +0000 +++ lprng-3.8.B/debian/changelog 2014-12-26 16:38:18.000000000 +0000 @@ -1,3 +1,10 @@ +lprng (3.8.B-2.0~reproducible1) UNRELEASED; urgency=low + + * Remove build date from example lpd.conf to make the build + process reproducible. + + -- Jérémy Bobbio <lu...@debian.org> Fri, 26 Dec 2014 17:37:38 +0100 + lprng (3.8.B-2) unstable; urgency=low * Compilies on hurd-i386 Closes: #671848 diff -Nru lprng-3.8.B/debian/patches/remove-build-date-from-lpd-conf lprng-3.8.B/debian/patches/remove-build-date-from-lpd-conf --- lprng-3.8.B/debian/patches/remove-build-date-from-lpd-conf 1970-01-01 00:00:00.000000000 +0000 +++ lprng-3.8.B/debian/patches/remove-build-date-from-lpd-conf 2014-12-26 16:37:18.000000000 +0000 @@ -0,0 +1,17 @@ +Description: Remove build date from lpd.conf + In order to make lprng build reproducibly, we remove the build date from + the example lpd.conf. +Author: Jérémy Bobbio <lu...@debian.org> + +--- lprng-3.8.B.orig/UTILS/make_lpd_conf.in ++++ lprng-3.8.B/UTILS/make_lpd_conf.in +@@ -1,8 +1,7 @@ + #!/bin/sh +-date=`LC_ALL=C date`; + AWK=@AWK@ + cat <<EOF +-# lpd.conf generated for version $1 compiled on $date ++# lpd.conf generated for version $1 + # The values in this file are the built-in default values. (Which may depend + # on the build-options used when your LPRng was compiled). + # If you modify the file, set the value to something other than the default diff -Nru lprng-3.8.B/debian/patches/series lprng-3.8.B/debian/patches/series --- lprng-3.8.B/debian/patches/series 2012-06-11 06:49:05.000000000 +0000 +++ lprng-3.8.B/debian/patches/series 2014-12-26 16:37:25.000000000 +0000 @@ -1,3 +1,4 @@ lpd_conf_manwarnings portable_maxpathlen string_literals +remove-build-date-from-lpd-conf
signature.asc
Description: Digital signature