Source: ldapvi
Version: 1.7-9
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 ldapvi could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, ldapvi 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 ldapvi.orig/ldapvi-1.7/debian/rules ldapvi/ldapvi-1.7/debian/rules
--- ldapvi.orig/ldapvi-1.7/debian/rules 2015-02-08 19:51:52.591348072 +0000
+++ ldapvi/ldapvi-1.7/debian/rules      2015-02-08 19:55:25.260697205 +0000
@@ -80,7 +80,7 @@
        $(INSTALL_FILE) manual/manual.css manual/manual.html manual/bg.png \
                $(TMP)/usr/share/doc/ldapvi
        $(INSTALL_FILE) NEWS $(TMP)/usr/share/doc/$(PKG)/changelog
-       cd $(TMP)/usr && gzip -9 share/doc/$(PKG)/changelog \
+       cd $(TMP)/usr && gzip -9n share/doc/$(PKG)/changelog \
                share/man/man1/ldapvi.1
        touch install-stamp
 
@@ -99,7 +99,7 @@
                $(TMP)/usr/share/doc/$(PKG)
        $(INSTALL_FILE) debian/changelog \
                $(TMP)/usr/share/doc/$(PKG)/changelog.Debian
-       gzip -9 $(TMP)/usr/share/doc/$(PKG)/changelog.Debian
+       gzip -9n $(TMP)/usr/share/doc/$(PKG)/changelog.Debian
        $(INSTALL_FILE) debian/doc-base/ldapvi-user-manual \
                $(TMP)/usr/share/doc-base/
        $(INSTALL_FILE) debian/conffiles \
_______________________________________________
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