Source: libalog
Version: 0.5.0
Severity: normal

Dear Maintainer,

Please, consider the patch for make the build reproducible.
For more information about reproducible builds please see
https://wiki.debian.org/ReproducibleBuilds

Greetings,
Juan Picca

-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru libalog-0.5.0/debian/changelog libalog-0.5.0/debian/changelog
--- libalog-0.5.0/debian/changelog	2014-10-16 10:42:31.000000000 -0200
+++ libalog-0.5.0/debian/changelog	2015-04-08 22:33:35.000000000 -0300
@@ -1,3 +1,9 @@
+libalog (0.5.0-1.0~reproducible1) unstable; urgency=medium
+
+   * Make the build reproducible
+
+ -- Juan Picca <jumap...@gmail.com>  Thu, 09 Apr 2015 01:33:06 +0000
+
 libalog (0.5.0-1) unstable; urgency=medium
 
   * Imported upstream version 0.5.0
diff -Nru libalog-0.5.0/debian/patches/series libalog-0.5.0/debian/patches/series
--- libalog-0.5.0/debian/patches/series	1969-12-31 21:00:00.000000000 -0300
+++ libalog-0.5.0/debian/patches/series	2015-04-08 21:55:26.000000000 -0300
@@ -0,0 +1 @@
+use-tz-with-asciidoc.patch
diff -Nru libalog-0.5.0/debian/patches/use-tz-with-asciidoc.patch libalog-0.5.0/debian/patches/use-tz-with-asciidoc.patch
--- libalog-0.5.0/debian/patches/use-tz-with-asciidoc.patch	1969-12-31 21:00:00.000000000 -0300
+++ libalog-0.5.0/debian/patches/use-tz-with-asciidoc.patch	2015-04-09 01:24:07.000000000 -0300
@@ -0,0 +1,30 @@
+Description: Use TZ with asciidoc for a reproducible build
+ Related to https://wiki.debian.org/ReproducibleBuilds
+ .
+ libalog (0.5.0-1) unstable; urgency=medium
+ .
+Author: Juan Picca <jumap...@gmail.com>
+
+---
+
+Origin: other
+
+--- libalog-0.5.0.orig/doc/Makefile
++++ libalog-0.5.0/doc/Makefile
+@@ -23,13 +23,13 @@ $(DESTDIR)/asciidoc.css: asciidoc.css
+ 	cp $< $@
+
+ $(DESTDIR)/index.html: index page.conf
+-	asciidoc $(ASCIIDOC_OPTS) $< > $@
++	TZ=UTC asciidoc $(ASCIIDOC_OPTS) $< > $@
+
+ $(DESTDIR)/README.html: ../README
+-	asciidoc $(ASCIIDOC_OPTS) $< > $@
++	TZ=UTC asciidoc $(ASCIIDOC_OPTS) $< > $@
+
+ $(DESTDIR)/CHANGELOG.html: ../CHANGELOG
+-	asciidoc $(ASCIIDOC_OPTS) $< > $@
++	TZ=UTC asciidoc $(ASCIIDOC_OPTS) $< > $@
+
+ $(DESTDIR):
+ 	mkdir $@
diff -Nru libalog-0.5.0/debian/rules libalog-0.5.0/debian/rules
--- libalog-0.5.0/debian/rules	2014-10-16 10:35:04.000000000 -0200
+++ libalog-0.5.0/debian/rules	2015-04-08 23:45:23.000000000 -0300
@@ -19,7 +19,7 @@
 	rm -rf debian/tmp-*
 
 override_dh_quilt_patch:
-	guards --config debian/patches/guards > debian/patches/series $(ARCH)
+	guards --config debian/patches/guards >> debian/patches/series $(ARCH)
 	dh_quilt_patch
 
 override_dh_auto_build:

Reply via email to