Your message dated Mon, 13 Jul 2015 17:34:37 +0000
with message-id <[email protected]>
and subject line Bug#776879: fixed in xtables-addons 2.7-1
has caused the Debian Bug report #776879,
regarding xtables-addons: 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.)


-- 
776879: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776879
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: xtables-addons
Version: 2.6-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps fileordering

Hi!

While working on Debian's “reproducible builds” effort [1], we have
noticed that xtables-addons doesn't build reproducibly.
The file xtables-addons.tar.bz2 contains timestamps and an unstable
file order.

The attached patch creates a tarball with a sorted file list and with timestamps
set to the date of the last changelog entry.
Once applied, xtables-addons can be built reproducibly in our current
experimental framework.

Regards,
 Reiner

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


diff --git a/debian/changelog b/debian/changelog
index f506cd3..475a2a1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+xtables-addons (2.6-1.0~reproducible1) UNRELEASED; urgency=low
+
+  * Use last changelog date for timestamps in tar file and
+    also sort files to get a reproducible order.
+
+ -- Reiner Herrmann <[email protected]>  Mon, 02 Feb 2015 20:56:52 +0100
+
 xtables-addons (2.6-1) unstable; urgency=medium
 
   * New upstream version [September 2014].
diff --git a/debian/rules b/debian/rules
index 005af1d..af1de4a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,7 @@
 PKD  = $(abspath $(dir $(MAKEFILE_LIST)))
 # Package version
 pver := $(shell dpkg-parsechangelog -l$(PKD)/changelog | sed -ne 's,^Version: *\([0-9.]*\).*,\1,p')
+BUILD_DATE := $(shell dpkg-parsechangelog --show-field=Date)
 
 DCFG := debian/xtables-addons-dkms.dkms
 TMPSRC := debian/temp.src
@@ -45,7 +46,7 @@ override_dh_auto_install: $(DCFG)
 	mkdir -p $(SRC_MOD) \
 	&& mv $(TMPSRC) $(SRC_MOD)/xtables-addons \
 	&& cd debian/xtables-addons-source/usr/src \
-	&& tar cjf xtables-addons.tar.bz2 modules \
+	&& find modules -print0 | LC_ALL=C sort -z | tar cjf xtables-addons.tar.bz2 --mtime="$(BUILD_DATE)" --no-recursion --null -T - \
 	&& $(RM) -r modules/xtables-addons/debian
 	## prepare DKMS sources
 	mkdir -p $(SRC_DKMS) \

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: xtables-addons
Source-Version: 2.7-1

We believe that the bug you reported is fixed in the latest version of
xtables-addons, 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.
Dmitry Smirnov <[email protected]> (supplier of updated xtables-addons 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: Tue, 14 Jul 2015 03:24:26 +1000
Source: xtables-addons
Binary: xtables-addons-common xtables-addons-dkms xtables-addons-source
Architecture: source amd64 all
Version: 2.7-1
Distribution: unstable
Urgency: medium
Maintainer: Pierre Chifflier <[email protected]>
Changed-By: Dmitry Smirnov <[email protected]>
Description:
 xtables-addons-common - Extensions targets and matches for iptables [tools, 
libs]
 xtables-addons-dkms - Extensions targets and matches for iptables
 xtables-addons-source - Extensions targets and matches for iptables [modules 
sources]
Closes: 776879 785561 791702 792154
Changes:
 xtables-addons (2.7-1) unstable; urgency=medium
 .
   * New upstream version [July 2015].
     + compatible with kernels up to 4.1 (Closes: #792154).
   * xtables-addons-source/module-assistant: fixed FTBFS (Closes: #791702).
   * rules: "echo" replaced with "printf" (Closes: #785561).
   * rules: use last changelog date for timestamps in tar file and
     also sort files to get a reproducible order (Closes: #776879).
     Thanks, Reiner Herrmann.
Checksums-Sha1:
 2c0726fdc172a8caec087ee66f71b97354266080 2144 xtables-addons_2.7-1.dsc
 82c13237ef2a62e57832b160832f4b9c4fb8c7c5 320804 xtables-addons_2.7.orig.tar.xz
 eeaf4556894ce06b98a251fa461d8934bce75661 10212 
xtables-addons_2.7-1.debian.tar.xz
 c39f4011a5fab8e4e29092b38f19d8742c1d6129 58202 
xtables-addons-common_2.7-1_amd64.deb
 75c902618bf421b293cc6b0665e5ce6d6f7416be 270890 
xtables-addons-dkms_2.7-1_all.deb
 c130cce88958400b14c7bc5d16ea79da7fec732c 303384 
xtables-addons-source_2.7-1_all.deb
Checksums-Sha256:
 7f80515940f6b2ea45ec5e4a8944d26877dad5a0b5c3adbb059d9f9ffdef3485 2144 
xtables-addons_2.7-1.dsc
 ce64b607967e576ac4d1f4fd522d0c4d34feada9fd45a54113967a6a2b56a519 320804 
xtables-addons_2.7.orig.tar.xz
 868774bf15dccc65f537a3cedf8299fcda3d71a1e026a1be405be680c85dcc9a 10212 
xtables-addons_2.7-1.debian.tar.xz
 cf69cd72705d0f1f607952bf9506cf67d53d4db80f9e51ac26448c45a548f96d 58202 
xtables-addons-common_2.7-1_amd64.deb
 b627d1fc87d3183bf4db8ee2954411a174a5f0bd0def0e8e2672cddfb8c84c09 270890 
xtables-addons-dkms_2.7-1_all.deb
 609b997baff9a57858c95fd4bf3527891c692f8a2e4a7d08b59b7ed2c47060ca 303384 
xtables-addons-source_2.7-1_all.deb
Files:
 5bc651a0c730d2183ed9787fd6729220 2144 admin extra xtables-addons_2.7-1.dsc
 81bd7ba82e5f7bfd1458fc97ddf72e1d 320804 admin extra 
xtables-addons_2.7.orig.tar.xz
 366d4540a4fc6a7e716d5a79bc1fd5d7 10212 admin extra 
xtables-addons_2.7-1.debian.tar.xz
 dd083f97301f75175051102fc58d5828 58202 admin extra 
xtables-addons-common_2.7-1_amd64.deb
 acc83c0c14140f572fbbb99203193372 270890 admin extra 
xtables-addons-dkms_2.7-1_all.deb
 76ee4f831276914869aa3076438abbb5 303384 admin extra 
xtables-addons-source_2.7-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVo/UUAAoJEFK2u9lTlo0bwoUQAKgxN0N8SYuogZ1V5s8mJJYh
hfLfbaMCUbVuTVFZZRQCzULE6n8wn2gZnNM3nYRrk4Pdgpd5JeRkSfPNJEjc1fY4
R3NcTNKSWTltFtf2GbI/h+ev2lm56ueMeEdbm3U9Rcax6SsU4s39S15OAFyXNwb9
scdPUHyBJDy5A3ao1VPZqKUOSnjaVoB1nc/5dxRANZEVUjijt2CpQ7tJ2AGxHwp0
/iu+LMcrRlW5BOTsR0YZBYHEArPR+oI3C5y3vwMDbP/bu/dvKVqNCSVsz2CGveG8
yrMQyGe5w4U7p26tFr7H21U/wjIgZRGn6GJSQjB2yKvhsdQudrrTPZL7yltZx8i3
At/eTZ4SDgzhsh7Tq6ngUb0zGqISeWdSa3R7OJy6QG3U+2Fv9QldLovnOuslx59d
AQxYueHSvay1Ng/dPK8RMXPLVvQV3o8nWL2BZGrko6ZU7wryHyj2ZU1+7bRkv94/
tZPFkbyD45VfCZkb0SmBrB9PTx/Ytjd4Vg5tyoSI5pAdxI8veRTJUPicPGLMA9Jp
rgBSWXEV1UaXhiHtv5fgXOS3mgcCmfedsp3GdGNH3OSNwzam+xGDHWpwXmpGmdgx
E5l8OxCiZo+Vw1ABlK/KPS/Xr8pLVm4iPJLgMVFYpBpHBS/fjyLr+UqpBIB9s5gG
JpkyL2jm4cqaDy/m+2IZ
=8xo7
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to