Source: harden-doc
Version: 3.17
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

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

The attached patch removes timestamps from the build system. Once
applied, harden-doc can be built reproducibly in our reproducible
toolchain.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/howto-source/Makefile b/howto-source/Makefile
index 7199114..44b0c05 100644
--- a/howto-source/Makefile
+++ b/howto-source/Makefile
@@ -107,7 +107,7 @@ publish: publish-html publish-txt publish-ps publish-pdf
 $(MANUAL).%.ent:
        echo "<!ENTITY language \"$*\">"                 > $@
        echo "<!ENTITY % lang-$* \"INCLUDE\">"          >> $@
-       echo "<!ENTITY docdate \"`LC_ALL=C date -R`\">" >> $@
+       echo "<!ENTITY docdate \"`dpkg-parsechangelog -l../debian/changelog 
-SDate`\">" >> $@
        echo "<!ENTITY docversion \"CVS\">"             >> $@
 
 

Reply via email to