Your message dated Sat, 23 Apr 2016 11:19:31 +0000
with message-id <[email protected]>
and subject line Bug#820152: fixed in anope 2.0.3-2
has caused the Debian Bug report #820152,
regarding anope: please make the build reproducible (timestamps)
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.)
--
820152: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820152
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: anope
Version: 2.0.3-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Dear Maintainer,
While working on the “reproducible builds” effort [1], we have noticed
that 'anope' could not be built reproducibly.
The attached patch removes build date from the version string. Once
applied, anope can be built reproducibly in our current experimental
framework.
Regards,
Alexis Bienvenüe.
[1]: https://wiki.debian.org/ReproducibleBuilds
diff -Nru anope-2.0.3/debian/patches/series anope-2.0.3/debian/patches/series
--- anope-2.0.3/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ anope-2.0.3/debian/patches/series 2016-04-05 22:53:41.000000000 +0200
@@ -0,0 +1 @@
+strip_build_date.patch
diff -Nru anope-2.0.3/debian/patches/strip_build_date.patch anope-2.0.3/debian/patches/strip_build_date.patch
--- anope-2.0.3/debian/patches/strip_build_date.patch 1970-01-01 01:00:00.000000000 +0100
+++ anope-2.0.3/debian/patches/strip_build_date.patch 2016-04-05 22:54:46.000000000 +0200
@@ -0,0 +1,26 @@
+Description: Strip build date
+ Strip build date from version string, to get reproducible build.
+Author: Alexis Bienvenüe <[email protected]>
+
+--- anope-2.0.3.orig/include/anope.h
++++ anope-2.0.3/include/anope.h
+@@ -336,8 +336,6 @@ namespace Anope
+ template<typename T> class multimap : public std::multimap<string, T, ci::less> { };
+ template<typename T> class hash_map : public TR1NS::unordered_map<string, T, hash_ci, compare> { };
+
+- static const char *const compiled = __TIME__ " " __DATE__;
+-
+ /** The time Anope started.
+ */
+ extern CoreExport time_t StartTime;
+--- anope-2.0.3.orig/src/misc.cpp
++++ anope-2.0.3/src/misc.cpp
+@@ -632,7 +632,7 @@ Anope::string Anope::VersionShort()
+
+ Anope::string Anope::VersionBuildString()
+ {
+- Anope::string s = "build #" + stringify(BUILD) + ", compiled " + Anope::compiled;
++ Anope::string s = "build #" + stringify(BUILD);
+ Anope::string flags;
+
+ #ifdef DEBUG_BUILD
--- End Message ---
--- Begin Message ---
Source: anope
Source-Version: 2.0.3-2
We believe that the bug you reported is fixed in the latest version of
anope, 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.
Dominic Hargreaves <[email protected]> (supplier of updated anope 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, 23 Apr 2016 11:53:20 +0100
Source: anope
Binary: anope
Architecture: source
Version: 2.0.3-2
Distribution: unstable
Urgency: medium
Maintainer: Dominic Hargreaves <[email protected]>
Changed-By: Dominic Hargreaves <[email protected]>
Description:
anope - IRC Services designed for flexibility and ease of use
Closes: 820152
Changes:
anope (2.0.3-2) unstable; urgency=medium
.
* Don't include build date/time in compiled binary, fixing build
reproducibility (Closes: #820152)
Checksums-Sha1:
7200eae08ef5391a80ac5ec8e2d71c06d5bb101b 1863 anope_2.0.3-2.dsc
94f64a32bd676bd52c3dbdeccddd564a3881deed 42104 anope_2.0.3-2.debian.tar.xz
Checksums-Sha256:
956950be6109219d2fb5b2c38824f98568c38721025066c826313ae0c7859a0b 1863
anope_2.0.3-2.dsc
03b53ab0b1e6caddcb83dee867e6a2a01683fb13c0d08295509b68a2f6f9de3b 42104
anope_2.0.3-2.debian.tar.xz
Files:
c69528a4393b04018ee8e9db30eb73b6 1863 net optional anope_2.0.3-2.dsc
4592de10c54f03ee2c7a5a6adcac8e85 42104 net optional anope_2.0.3-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJXG1YTAAoJEMAFfnFNaU+yG9YP/jXBjbFxLWq7dgYgIb7C1Zrb
LENVFf/JWb5D3aYg2Pg2tzpUwHsMIoHy5vZ14wK2H6tYuFw5T/j/vnBWJAVU3Jrz
JSY5ESIrE4qGgZyLr/Az2+MVsjBIS9GraQ2NYIkRIYlC5pWWxI/v6qJtrcmohwHN
qZu27MlJbEGJpKtkcqT7ekTijAdtaNGOZB78wY1BYNdoN9k/laFd7JKbGS3aI1Pq
Ud33pWe0JYScXFtNfUVrnhU1dpcZiIgl+47HAqG04qBNG95jnPfOYHkZ/wtIPLJ1
HWR8S8QxABEzUhQB6y7xY6dyroN9EGi55IPH04NyQnSKKsbA+HtkWmCcGTiFKDCm
uGrrBU3qki8T+9DQYsHKSrf9H5l3OB/CBpWo9OKeqoDy/IyqXetvepuOVdSs9cWD
dNSRRxT0BJS6qftVCzi2EwLskcRC5zC27b850/ZXBCc+hdAU9rKT1EOXgPz7XHRa
9OFqR/6jxUYug4c5oMBaM3Qk0ikVHZ8PwuripHzERMm6rBLW9QCzDIsgZDyDUe2J
ksue2i5dP9eec4tBBgdDcUJLCv0EZAz1+ymT976fzqqABB5jBu6tqUAkewTMuDIP
ts+FZ0b+qD9mo2ycL8QV5K+mRcKSDlhhalOk7V0+m8xP8aOR3KgxW2pDHb+CE8Nt
HodBo5ECakHnPBIoB3EH
=AcZK
-----END PGP SIGNATURE-----
--- End Message ---