Source: dhcp-helper
Version: 1.1-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi,
While working on the "reproducible builds" effort [1], we have noticed
that dhcp-helper could not be built reproducibly.
The attached patch removes timestamps from the build system. Once
applied, dhcp-helper can be built reproducibly in our current
experimental
framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff -urNad dhcp-helper.orig/dhcp-helper-1.1/debian/rules
dhcp-helper/dhcp-helper-1.1/debian/rules
--- dhcp-helper.orig/dhcp-helper-1.1/debian/rules 2015-02-07
11:32:07.015825879 +0000
+++ dhcp-helper/dhcp-helper-1.1/debian/rules 2015-02-07 11:34:56.387281950
+0000
@@ -53,15 +53,15 @@
install -m 644 debian/default debian/tmp/etc/default/dhcp-helper
ifeq (,$(findstring nodocs,$(DEB_BUILD_OPTIONS)))
cp CHANGELOG debian/tmp/usr/share/doc/$(package)/changelog
- gzip -9 debian/tmp/usr/share/doc/$(package)/changelog
+ gzip -9n debian/tmp/usr/share/doc/$(package)/changelog
cp README debian/tmp/usr/share/doc/$(package)/README
- gzip -9 debian/tmp/usr/share/doc/$(package)/README
+ gzip -9n debian/tmp/usr/share/doc/$(package)/README
endif
cp debian/changelog debian/tmp/usr/share/doc/$(package)/changelog.Debian
- gzip -9 debian/tmp/usr/share/doc/$(package)/changelog.Debian
+ gzip -9n debian/tmp/usr/share/doc/$(package)/changelog.Debian
cp debian/copyright debian/tmp/usr/share/doc/$(package)/copyright
cp dhcp-helper.8 debian/tmp/usr/share/man/man8
- gzip -9 debian/tmp/usr/share/man/man8/dhcp-helper.8
+ gzip -9n debian/tmp/usr/share/man/man8/dhcp-helper.8
cd debian/tmp && find . -type f ! -regex '.*DEBIAN/.*' -printf '%P\0' |
xargs -r0 md5sum > DEBIAN/md5sums
dpkg-shlibdeps debian/tmp/usr/sbin/dhcp-helper
dpkg-gencontrol -isp