Your message dated Sun, 20 Nov 2022 22:51:06 +0000
with message-id <e1owt9w-00bmvq...@fasolo.debian.org>
and subject line Bug#829713: fixed in tsdecrypt 10.0-2.1
has caused the Debian Bug report #829713,
regarding tsdecrypt: 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 ow...@bugs.debian.org
immediately.)


-- 
829713: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829713
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: tsdecrypt
Version: 10.0-2
Severity: wishlist
Tags: patch upstream
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that tsdecrypt could not be built reproducibly.
It embeds the current build date/time into the binary.

The attached patch strips this to enable reproducible building.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/reproducible-build.patch b/debian/patches/reproducible-build.patch
new file mode 100644
index 0000000..173c962
--- /dev/null
+++ b/debian/patches/reproducible-build.patch
@@ -0,0 +1,26 @@
+Author: Reiner Herrmann <rei...@reiner-h.de>
+Description: strip build date to enable reproducible building
+
+--- a/Makefile
++++ b/Makefile
+@@ -19,8 +19,7 @@
+  -W -Wall -Wextra \
+  -Wshadow -Wformat-security -Wstrict-prototypes
+ 
+-DEFS = -DBUILD_ID=\"$(BUILD_ID)\" \
+- -DVERSION=\"$(VERSION)\" -DGIT_VER=\"$(GIT_VER)\"
++DEFS = -DVERSION=\"$(VERSION)\" -DGIT_VER=\"$(GIT_VER)\"
+ DEFS += -D_FILE_OFFSET_BITS=64
+ 
+ PREFIX ?= /usr/local
+--- a/tsdecrypt.c
++++ b/tsdecrypt.c
+@@ -40,7 +40,7 @@
+ #define FIRST_REPORT_SEC 3
+ 
+ #define PROGRAM_NAME "tsdecrypt"
+-static const char *program_id = PROGRAM_NAME " v" VERSION " (" GIT_VER ", build " BUILD_ID " " DLIB ")";
++static const char *program_id = PROGRAM_NAME " v" VERSION " (" GIT_VER ", " DLIB ")";
+ 
+ int keep_running = 1;
+ static FILE *log_file = NULL;
diff --git a/debian/patches/series b/debian/patches/series
index 4ef81ac..7e6562d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 avoid-inappropriate-compiler-flags
+reproducible-build.patch

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: tsdecrypt
Source-Version: 10.0-2.1
Done: Vagrant Cascadian <vagr...@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
tsdecrypt, 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 829...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagr...@reproducible-builds.org> (supplier of updated 
tsdecrypt 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 10 Nov 2022 13:54:44 -0800
Source: tsdecrypt
Architecture: source
Version: 10.0-2.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers 
<pkg-multimedia-maintain...@lists.alioth.debian.org>
Changed-By: Vagrant Cascadian <vagr...@reproducible-builds.org>
Closes: 829713 1022130
Changes:
 tsdecrypt (10.0-2.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Reiner Herrmann ]
   * strip build date to enable reproducible building (Closes: #829713)
 .
   [ Vagrant Cascadian ]
   * debian/rules: Pass default CFLAGS. (Closes: #1022130)
Checksums-Sha1:
 c8f19eddbdc499ec1a5fc0119c66520c210a2df6 1558 tsdecrypt_10.0-2.1.dsc
 b2e08ad640a91472e18d8cf15f5ecac21d6d26bf 5332 tsdecrypt_10.0-2.1.debian.tar.xz
Checksums-Sha256:
 aee46ab8029687a845187d0104d43bf674d82aa5a9ab276e5078db1799a2399b 1558 
tsdecrypt_10.0-2.1.dsc
 dba0edad2921c27605413feb79355563f0accfb2d18955d7e4d8d50509e179d1 5332 
tsdecrypt_10.0-2.1.debian.tar.xz
Files:
 39fa38019ad788a63c6ae05fdaa223bb 1558 video optional tsdecrypt_10.0-2.1.dsc
 90943127c742290c172a27f5ad003a73 5332 video optional 
tsdecrypt_10.0-2.1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCY210/CAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqsbCAQD8447lMqI0bFdT
Cpy/VWmlKWltGbsN/QPaHOAQ4aKAmgEAqus4BiNBmsTSgraY1PPtHhih5XjtXMT8
mzMbIEqj1gg=
=GLI3
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to