Source: ezstream
Version: 0.5.6~dfsg-1.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 ezstream could not be built reproducibly.

Patch attached. It can probably be sent upstream.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/configure.in      2016-07-15 10:07:54.491161698 +0200
--- b/configure.in      2016-07-15 10:10:13.216666017 +0200
@@ -17,7 +17,7 @@
 AC_PROG_FGREP
 AC_CANONICAL_HOST
 
-BUILD_DATE=$(date '+%B %d, %Y')
+BUILD_DATE=$(LC_ALL=C date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" 
'+%B %d, %Y')
 AC_SUBST([BUILD_DATE])
 
 EXAMPLES_DIR="\$(datadir)/examples/${PACKAGE_TARNAME}"
--- a/debian/control    2016-07-15 10:07:54.491161698 +0200
--- b/debian/control    2016-07-15 10:11:34.073542121 +0200
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Icecast team <[email protected]>
 Uploaders: Guillaume Pellerin <[email protected]>, Romain Beauxis 
<[email protected]>, Jonas Smedegaard <[email protected]>
-Build-Depends: cdbs (>= 0.4.39), devscripts (>= 2.10.7), cdbs (>= 0.4.53), 
debhelper (>= 7.0.1), libogg-dev (>> 1.1.0), libshout3-dev (>= 2.0-9), 
libvorbis-dev (>> 1.0.1), libxml2-dev (>= 2.6.11), autotools-dev
+Build-Depends: cdbs (>= 0.4.39), devscripts (>= 2.10.7), cdbs (>= 0.4.53), 
debhelper (>= 7.0.1), libogg-dev (>> 1.1.0), libshout3-dev (>= 2.0-9), 
libvorbis-dev (>> 1.0.1), libxml2-dev (>= 2.6.11), autotools-dev, dh-autoreconf
 Standards-Version: 3.8.3
 Homepage: http://www.icecast.org/ezstream.php
 Vcs-Svn: svn://svn.debian.org/svn/pkg-icecast/ezstream/trunk
--- a/debian/rules      2016-07-15 10:07:54.491161698 +0200
--- b/debian/rules      2016-07-15 10:11:24.773441377 +0200
@@ -14,6 +14,7 @@
 include debian/cdbs/1/rules/copyright-check.mk
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 
 DEB_UPSTREAM_URL = http://downloads.us.xiph.org/releases/ezstream
 DEB_UPSTREAM_TARBALL_MD5 = a07941d52a4705f8d02c9c9ee6e05750

Reply via email to