Source: ipsvd
Version: 1.0.0-3
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 ipsvd could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, ipsvd 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 ipsvd.orig/ipsvd-1.0.0/debian/implicit 
ipsvd/ipsvd-1.0.0/debian/implicit
--- ipsvd.orig/ipsvd-1.0.0/debian/implicit      2015-02-08 01:32:03.300698225 
+0000
+++ ipsvd/ipsvd-1.0.0/debian/implicit   2015-02-08 01:38:09.733063849 +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: %.deb-docs-base
        @for i in `cat debian/$*.docs 2>/dev/null || :`; do \
          if test -d $$i; then \
@@ -54,7 +54,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: %.deb-docs-docs
        @rm -rf debian/$*/usr/share/doc/$*/examples
diff -urNad ipsvd.orig/ipsvd-1.0.0/debian/rules ipsvd/ipsvd-1.0.0/debian/rules
--- ipsvd.orig/ipsvd-1.0.0/debian/rules 2015-02-08 01:32:03.308698580 +0000
+++ ipsvd/ipsvd-1.0.0/debian/rules      2015-02-08 01:38:02.232728904 +0000
@@ -59,7 +59,7 @@
          done || exit 1; \
        done
        rm -f '$(DIR)'/usr/share/man/man8/ssl*.8
-       gzip -9 '$(DIR)'/usr/share/man/man?/*.?
+       gzip -9n '$(DIR)'/usr/share/man/man?/*.?
        # changelog
        rm -f changelog && ln -s ipsvd/package/CHANGES changelog
 
_______________________________________________
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