Source: gitolite
Version: 2.3-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 gitolite could not be built reproducibly.
The attached patch removes timestamps from the build system. Once
applied, gitolite 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 gitolite.orig/gitolite-2.3/debian/rules
gitolite/gitolite-2.3/debian/rules
--- gitolite.orig/gitolite-2.3/debian/rules 2015-02-07 23:50:17.419855420
+0000
+++ gitolite/gitolite-2.3/debian/rules 2015-02-07 23:50:53.481450825 +0000
@@ -57,7 +57,7 @@
chmod -x $(TMP)/usr/share/$(PKG)/gitolite.pm
cp -a contrib/* $(TMP)/usr/share/doc/$(PKG)/examples
$(INSTALL_SCRIPT) debian/gl-setup $(TMP)/usr/bin
- gzip -9 $(TMP)/usr/share/doc/$(PKG)/changelog \
+ gzip -9n $(TMP)/usr/share/doc/$(PKG)/changelog \
$(TMP)/usr/share/doc/$(PKG)/*.mkd
@@ -71,7 +71,7 @@
$(TMP)/usr/share/doc/$(PKG)
$(INSTALL_FILE) debian/changelog \
$(TMP)/usr/share/doc/$(PKG)/changelog.Debian
- cd $(TMP)/usr/share/doc/$(PKG) && gzip -9 \
+ cd $(TMP)/usr/share/doc/$(PKG) && gzip -9n \
changelog.Debian
$(INSTALL_SCRIPT) debian/postinst debian/postrm debian/config \
debian/preinst $(TMP)/DEBIAN