Source: beep
Version: 1.3-3
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 beep could not be built reproducibly.
The attached patch removes timestamps from the build system. Once
applied, beep 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 beep.orig/beep-1.3/debian/rules beep/beep-1.3/debian/rules
--- beep.orig/beep-1.3/debian/rules 2015-02-06 23:13:46.435187492 +0000
+++ beep/beep-1.3/debian/rules 2015-02-06 23:14:05.028010360 +0000
@@ -59,7 +59,7 @@
gunzip $(TMP1)/usr/share/man/man1/beep.1.gz
cd $(TMP1)/usr/share/man/man1 && patch beep.1 $(TMP1)/../beep.1.diff
-rm -f $(TMP1)/usr/share/man/man1/beep.1.orig
- gzip --best $(TMP1)/usr/share/man/man1/beep.1
+ gzip --best -9 $(TMP1)/usr/share/man/man1/beep.1
chown root:audio $(TMP1)/usr/bin/beep
$(INSTALL_FILE) CREDITS README $(TMP1)/usr/share/doc/$(PKG1)
$(INSTALL_FILE) CHANGELOG $(TMP1)/usr/share/doc/$(PKG1)/changelog