Source: mp3fs
Version: 0.91-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that mp3fs could not be built reproducibly.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible_build.patch   1970-01-01 01:00:00.000000000 
+0100
--- b/debian/patches/reproducible_build.patch   2017-05-15 19:06:52.661193324 
+0200
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2017-05-15
+
+--- mp3fs-0.91.orig/Makefile.am
++++ mp3fs-0.91/Makefile.am
+@@ -8,7 +8,7 @@ EXTRA_DIST = INSTALL.md README.md mp3fs.
+ 
+ mp3fs.1: mp3fs.1.txt
+       $(AM_V_GEN)a2x -a revnumber="$(VERSION)" \
+-              -a revdate="$(shell date +'%B %Y')" -f manpage $<
++              -a revdate="$(shell LC_ALL=C date 
--date=@$${SOURCE_DATE_EPOCH:-$(shell date +%s)} +'%B %Y')" -f manpage $<
+ 
+ # Remove absolutely every generated file
+ .PHONY: squeaky-clean
--- a/debian/patches/series     1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series     2017-05-15 19:06:51.365189454 +0200
@@ -0,0 +1 @@
+reproducible_build.patch

Reply via email to