Source: ucspi-unix
Version: 0.36-4
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 ucspi-unix could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, ucspi-unix 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 ucspi-unix.orig/ucspi-unix-0.36/debian/implicit 
ucspi-unix/ucspi-unix-0.36/debian/implicit
--- ucspi-unix.orig/ucspi-unix-0.36/debian/implicit     2015-02-04 
00:42:44.425540314 +0000
+++ ucspi-unix/ucspi-unix-0.36/debian/implicit  2015-02-04 00:44:17.589687829 
+0000
@@ -35,7 +35,7 @@
            debian/$*/usr/share/doc/$*/changelog'
        @test -s debian/$*/usr/share/doc/$*/changelog || \
          sh -cx 'rm -f debian/$*/usr/share/doc/$*/changelog'
-       @gzip -9 debian/$*/usr/share/doc/$*/changelog*
+       @gzip -9n debian/$*/usr/share/doc/$*/changelog*
 %.deb-docs-docs:
        @for i in `cat debian/$*.docs 2>/dev/null || :`; do \
          sh -cx "install -m0644 $$i debian/$*/usr/share/doc/$*/" || exit 1; \
@@ -46,7 +46,7 @@
        @if test -r debian/$*.NEWS.Debian; then \
          sh -cx 'install -m0644 debian/$*.NEWS.Debian \
            debian/$*/usr/share/doc/$*/NEWS.Debian && \
-             gzip -9 debian/$*/usr/share/doc/$*/NEWS.Debian'; \
+             gzip -9n debian/$*/usr/share/doc/$*/NEWS.Debian'; \
        fi
 %.deb-docs-examples:
        @rm -rf debian/$*/usr/share/doc/$*/examples
diff -urNad ucspi-unix.orig/ucspi-unix-0.36/debian/rules 
ucspi-unix/ucspi-unix-0.36/debian/rules
--- ucspi-unix.orig/ucspi-unix-0.36/debian/rules        2015-02-04 
00:42:44.425540314 +0000
+++ ucspi-unix/ucspi-unix-0.36/debian/rules     2015-02-04 00:44:22.985929073 
+0000
@@ -53,7 +53,7 @@
        $(STRIP) -R .comment -R .note \
          '$(DIR)'/usr/bin/unixserver '$(DIR)'/usr/bin/unixclient
        install -m0644 debian/unixcat.1 '$(DIR)'/usr/share/man/man1/
-       gzip -9 '$(DIR)'/usr/share/man/man?/*.?
+       gzip -9n '$(DIR)'/usr/share/man/man?/*.?
        rm -f changelog && ln -s NEWS changelog
 
 binary-indep:
_______________________________________________
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