--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: rc: please make the build reproducible
- From: Chris Lamb <lamby@debian.org>
- Date: Thu, 04 Aug 2016 14:22:56 +0200
- Message-id: <1470313376.43980.685862729.55469235@webmail.messagingengine.com>
Source: rc
Version: 1.7.2-2
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org
Hi,
Whilst working on the "reproducible builds" effort [0], we noticed
that rc could not be built reproducibly.
Patch attached.
[0] https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
--- a/debian/patches/50_reproducible-build.patch 1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/50_reproducible-build.patch 2016-08-04 07:20:39.429150414 +0100
@@ -0,0 +1,19 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby@debian.org>
+Last-Update: 2016-08-04
+
+--- rc-1.7.2.orig/configure.ac
++++ rc-1.7.2/configure.ac
+@@ -2,7 +2,11 @@ dnl Our package name, version, ...
+ AC_INIT([rc], [1.7.2])
+
+ dnl ... and release date
+-RELDATE=`date -I`
++if test -n "$SOURCE_DATE_EPOCH"; then
++ RELDATE=`date --utc -I --date="@$SOURCE_DATE_EPOCH"`
++else
++ RELDATE=`date -I`
++fi
+ AC_DEFINE_UNQUOTED(RELDATE, "$RELDATE", [Release date])
+
+ dnl Get things going...
--- a/debian/patches/series 2016-08-04 07:15:24.122713636 +0100
--- b/debian/patches/series 2016-08-04 07:20:38.005139349 +0100
@@ -2,3 +2,4 @@
20_panic-attribute-noreturn.patch
30_trip-hide-envvars.patch
40_manpage-typography.patch
+50_reproducible-build.patch
--- End Message ---
--- Begin Message ---
Source: rc
Source-Version: 1.7.4-1
We believe that the bug you reported is fixed in the latest version of
rc, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 833441@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Reiner Herrmann <reiner@reiner-h.de> (supplier of updated rc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 27 Sep 2016 01:36:15 +0200
Source: rc
Binary: rc
Architecture: source
Version: 1.7.4-1
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Reiner Herrmann <reiner@reiner-h.de>
Description:
rc - implementation of the AT&T Plan 9 shell
Closes: 833441
Changes:
rc (1.7.4-1) unstable; urgency=low
.
* QA upload.
* New upstream release.
* debian/copyright:
- Upstream license changed to zlib.
* debian/source/options:
- Don't enforce gzip compression.
* debian/rc.menu:
- Drop file, as the menu system is now deprecated.
* debian/rules:
- Convert to dh-style build with compat level 10.
* debian/control:
- Drop unnecessary dependencies to autoconf/automake/dh-buildinfo.
- Add Vcs-* fields; imported history to collab-maint.
* debian/patches:
- Honour SOURCE_DATE_EPOCH for embedded timestamp.
Thanks to Chris Lamb for providing the patch! (Closes: #833441)
- Refresh patches.
Checksums-Sha1:
9f9417aa72663ae9a66e50406a609eb7737bdd0d 1860 rc_1.7.4-1.dsc
366c1d7ba0c71e7a90ac0efe725970ee053689e6 215206 rc_1.7.4.orig.tar.gz
bee192894b78e871e72ccb51c5525108c48d9431 10780 rc_1.7.4-1.debian.tar.xz
Checksums-Sha256:
4ac9b822d017169e6c056d06444d26bb77a4ae5ea5bce21d02b8ccdb8541cd34 1860 rc_1.7.4-1.dsc
5ed26334dd0c1a616248b15ad7c90ca678ae3066fa02c5ddd0e6936f9af9bfd8 215206 rc_1.7.4.orig.tar.gz
94b808bd760e0da29e2d01736c93422bd52c4c1b72fce02d44742d64cacf1c53 10780 rc_1.7.4-1.debian.tar.xz
Files:
a0ae963c77437ae8a0613d24441ca7df 1860 shells optional rc_1.7.4-1.dsc
f99732d7a8be3f15f81e99c3af46dc95 215206 shells optional rc_1.7.4.orig.tar.gz
63950a194586f65f2a05b40dfc9d7721 10780 shells optional rc_1.7.4-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJX6bGOAAoJEEsEP825REVA6OAP/3WWGY+2rqBKW33iM/jrCjtA
2L5C+hVTlBxL+ERgL7ASdPlySK1hd2gs8THkGNwpLZyPXU3tcsuPCK5iYf3WJoMg
JlxMabXPRDmP/GTza5vzoI3fPbvjNyJDsoLxWHqiqCP8y42K4RBKGYIzr99SMJ6X
i6/GgjRER6tZJlxU6RsrV58I29TsC+hUQiOBkHR37iOIvDIok+Del0lOGl4C6Ntg
riTSnxXLxXDrWgUdVtyptj8di975thwH5qBZgfQ9sQhinzSKGQArM3IL1pLsT7ui
pacK+qR3QGGGLfKP4sw3hcsl/7AHm1LdjSiKgz2kd1dPOmvKMVyCMhEWBd3qID8w
Od4ah3+6qkgnZ/2rsMS5YRoQbdFnaB4bmU31Kf0Ph6/oqlsesRkxvfZzLlGBQ1ed
aOE3adM8s0pwpQopBL/moILWQGqMpHeqYPnPuL0ooPCAGVe6cuPMb3D3tDn9/cnc
5lMqMUnPTiJTTKv6AC6dwOjiatxZe2AEXOdqwvjWWBw1JxemeLtdYdONdvXMYflj
rDCtlhtzQlz/FWzdEED/mbrb3Y+tZeyetr4kMWMiyqd9pEfexmq2tDwK0+RxvGuZ
QkJHwMmRjMtC+IFz/FEr0wOs5QwqVKrRt5FtfjsPJMRuo5Jz3bL66MYWL+/tRgoF
wJVJPinH5c/8pmf30vmw
=jBny
-----END PGP SIGNATURE-----
--- End Message ---