Source: gitolite3
Version: 3.6.1-2
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

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

The attached patch removes timestamps from the build system. Once
applied, gitolite3 can be built reproducibly in our current experimental
framework.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff -urNad gitolite3.orig/gitolite3-3.6.1/debian/rules 
gitolite3/gitolite3-3.6.1/debian/rules
--- gitolite3.orig/gitolite3-3.6.1/debian/rules 2015-02-04 16:00:33.634098211 
+0000
+++ gitolite3/gitolite3-3.6.1/debian/rules      2015-02-04 16:01:57.353781456 
+0000
@@ -51,7 +51,7 @@
        $(INSTALL_SCRIPT) convert-gitosis-conf $(TMP)/usr/share/$(PKG)
 
        $(INSTALL_FILE) debian/gitolite.1 $(TMP)/usr/share/man/man1
-       gzip -9 $(TMP)/usr/share/man/man1/gitolite.1
+       gzip -9n $(TMP)/usr/share/man/man1/gitolite.1
 
        printf "%s\n" "$(GL_VERSION)" > $(TMP)/usr/share/$(PKG)/VERSION
 
@@ -68,7 +68,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
_______________________________________________
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