[Pkg-postgresql-public] Bug#877381: plr: please make the build reproducible

Chris Lamb lamby at debian.org
Sun Oct 1 08:55:35 UTC 2017


Source: plr
Version: 1:8.3.0.17-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that plr could not be built reproducibly as it encodes the date
in generated HTML.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2017-10-01 09:43:31.433455583 +0100
--- b/debian/rules	2017-10-01 09:52:20.327204302 +0100
@@ -10,6 +10,8 @@
 
 override_dh_installdocs:
 	dh_installdocs --all doc/plr-US.pdf doc/html/*.html
+	find debian/*/usr/share/doc/ -type f -name '*.html' -print0 | \
+		xargs -0r sed -i -e 's at CONTENT="[^"]*"@CONTENT=""@g'
 
 override_dh_auto_install:
 	+pg_buildext loop postgresql-%v-plr


More information about the Pkg-postgresql-public mailing list