Bug#785583: s5: [PATCH] please make the build reproducible

2015-05-17 Thread Juan Picca
Package: s5
Version: 1.1.dfsg.2-5
Followup-For: Bug #785583
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps

Sorry, i miss the patch.

-- System Information:
Debian Release: stretch/sid
  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 -rupN s5-1.1.dfsg.2.old/debian/rules s5-1.1.dfsg.2/debian/rules
--- s5-1.1.dfsg.2.old/debian/rules	2010-02-25 11:30:17.0 -0200
+++ s5-1.1.dfsg.2/debian/rules	2015-05-17 21:59:02.383413358 -0300
@@ -19,7 +19,7 @@ get-orig-source:
 override_dh_auto_build:
 	mkdir -p $C $S
 	tar -cf - --exclude=.DS_Store *.html pix primer ui | tar -C $S -xf -
-	cd $S  unzip -x ../../s5-blank.zip
+	cd $S  TZ=UTC unzip -x ../../s5-blank.zip
 	find $S -name __MACOSX -or -name .DS_Store | xargs rm -rf
 	find $S -regextype posix-extended -type f -iregex '.*\.(css|htc|html|js|txt)' -print0 | xargs -0 sed -i.debbuild -e 's/
$$//'
 	find $S -type f -name '*.debbuild' -delete


Bug#785583: s5: [PATCH] please make the build reproducible

2015-05-17 Thread Juan Picca
Package: s5
Version: 1.1.dfsg.2-5
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps

Hi!

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

The attached patch fixes issues with timestamps when unzip files during
the build. Once applied, s5 can be built reproducibly in our current
experimental framework.

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


-- System Information:
Debian Release: stretch/sid
  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)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org