Your message dated Sat, 27 Aug 2016 11:19:40 +0000
with message-id <[email protected]>
and subject line Bug#835495: fixed in broccoli 1.97-4
has caused the Debian Bug report #835495,
regarding broccoli: please make the build reproducible
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
835495: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835495
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: broccoli
Version: 1.97-3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], I noticed
that broccoli could not be built reproducibly.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/patches/0002-Reproducible-build.patch 1970-01-01
01:00:00.000000000 +0100
--- b/debian/patches/0002-Reproducible-build.patch 2016-08-26
11:48:55.007259035 +0100
@@ -0,0 +1,29 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2016-08-26
+
+--- broccoli-1.97.orig/CMakeLists.txt
++++ broccoli-1.97/CMakeLists.txt
+@@ -15,14 +15,18 @@ if (NOT BRO_SYSCONF_FILE)
+ set(BRO_SYSCONF_FILE ${BRO_SYSCONF_DIR}/broccoli.conf)
+ endif ()
+
+-site_name(hostname)
+ if (UNIX)
+- execute_process(COMMAND date OUTPUT_VARIABLE builddate
+- OUTPUT_STRIP_TRAILING_WHITESPACE)
++ if (DEFINED ENV{SOURCE_DATE_EPOCH})
++ execute_process(COMMAND date --utc --date=@$ENV{SOURCE_DATE_EPOCH}
OUTPUT_VARIABLE builddate
++ OUTPUT_STRIP_TRAILING_WHITESPACE)
++ else ()
++ execute_process(COMMAND date OUTPUT_VARIABLE builddate
++ OUTPUT_STRIP_TRAILING_WHITESPACE)
++ endif ()
+ else ()
+ set(builddate "build date not available")
+ endif ()
+-set(BUILDINFO "${hostname}, ${builddate}, Debugging support: ${ENABLE_DEBUG}")
++set(BUILDINFO "${builddate}, Debugging support: ${ENABLE_DEBUG}")
+
+ # if no static/shared library preference is given, default to building both
+ if (NOT DEFINED ENABLE_SHARED)
--- a/debian/patches/series 2016-08-26 11:31:19.612653230 +0100
--- b/debian/patches/series 2016-08-26 11:46:42.833909070 +0100
@@ -1 +1,2 @@
0001-Fix-build-with-SSLv3-less-OpenSSL.patch
+0002-Reproducible-build.patch
--- End Message ---
--- Begin Message ---
Source: broccoli
Source-Version: 1.97-4
We believe that the bug you reported is fixed in the latest version of
broccoli, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Hilko Bengen <[email protected]> (supplier of updated broccoli 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 27 Aug 2016 13:01:33 +0200
Source: broccoli
Binary: libbroccoli-dev libbroccoli5
Architecture: source
Version: 1.97-4
Distribution: unstable
Urgency: medium
Maintainer: Hilko Bengen <[email protected]>
Changed-By: Hilko Bengen <[email protected]>
Description:
libbroccoli-dev - Bro client communications library -- headers and static
libraries
libbroccoli5 - Bro client communications library
Closes: 835495
Changes:
broccoli (1.97-4) unstable; urgency=medium
.
* Added patch by Chris Lamb to make the build reproducible
(Closes: #835495)
* Bump Standards-Version
Checksums-Sha1:
ba840f744b1a80125f5463ae74d6e3da18d4f5c4 1910 broccoli_1.97-4.dsc
31af53497471e97c586c0f3ff8bf8a57cc82e170 15844 broccoli_1.97-4.debian.tar.xz
Checksums-Sha256:
7e258908b07673d1cf9a065a5cd4a634981c8b5472fc814a2d08d39d0e6065b8 1910
broccoli_1.97-4.dsc
2452b86178f89f7365b5d74ad126365af305c5f955b2c520ccc54160a6e9fdca 15844
broccoli_1.97-4.debian.tar.xz
Files:
b41cfed81f88cba411377888093e4fb2 1910 libs optional broccoli_1.97-4.dsc
8b9302e3552983e50737ef36dafa829f 15844 libs optional
broccoli_1.97-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCAAGBQJXwXO7AAoJEHW3EGNcITp+iwcP+gKdencJWSkqqNORch5sQ23a
6yLszV95sc89W6EM9HzF7kuLzXIX6HOm9abZY4i0sDuJW331hBOmSdUjNx1EluZ7
Kk3JfzgTEF19a4vBm9pz4hsxkr8SFyGz8bUYhM0IIrKKa778wIM2WXHHM4/dK9yu
t8RHJoSIiO4y2DcR2AfKbbyJUBUxmShq/Dg0w1WpJhXH5CGHqaH+2XIwAih3kDH3
dXd8lyPK2INUNbhk18AgNwv0R9nepl+RwmgfZFDjU/4gpCKVGRMlr5q6ueMA22C+
S12bTzXJxr4Hlt1eYpgPMF7JaD23cO29jJiDxwq/YWZXCuSEy1J6eLDwZmnTSq6O
dVaJNDydmqg0wtw8kXvs1rbv1A4MTQJ91Qavr4lHkRLM/vT+b5zOmvHgGUYDzb7/
GiuF5HU7MP/y4yoen0YUHSIV4gA5YwDR7mQWW6+YRjrCCcFHNKZ73e1a1A6B9JCE
mRGTG7iEY1K3aCwI0UWp/CMdMLwNi9AEOCwn7M64wFdKpeUMxGVqLh787v5YAkt/
79pwC+gIi2Xv//rDzY58MQX+cEMWqGFfarK/ZvVTFJR+Ii++jPeFL/eHxSoI9RDc
GtFS+BanLLCfOpoBPsHueAUEFOrDx0HljnvAULLwtEJJGS0qZL+AnwoEbhPMDy3c
rkHmXQM08dj68WCnt8Dq
=/16f
-----END PGP SIGNATURE-----
--- End Message ---