Your message dated Mon, 02 Nov 2015 07:33:56 +0000
with message-id <[email protected]>
and subject line Bug#803603: fixed in usb-modeswitch-data 20151101-1
has caused the Debian Bug report #803603,
regarding usb-modeswitch-data: 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.)


-- 
803603: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803603
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: usb-modeswitch-data
Version: 20150627-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: umask
X-Debbugs-Cc: [email protected]

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that usb-modeswitch-data could not be built reproducibly.
The permissions inside a tarball vary because of different umasks.

The attached patch tells tar to normalize the permissions.

Regards,
 Reiner

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

diff --git a/debian/patches/02_reproducible_build.patch b/debian/patches/02_reproducible_build.patch
new file mode 100644
index 0000000..67e05c0
--- /dev/null
+++ b/debian/patches/02_reproducible_build.patch
@@ -0,0 +1,13 @@
+Index: usb-modeswitch-data-20150627/Makefile
+===================================================================
+--- usb-modeswitch-data-20150627.orig/Makefile
++++ usb-modeswitch-data-20150627/Makefile
+@@ -31,7 +31,7 @@ db-install: files-install
+ db-install-packed:
+ 	@# Create a compressed tar without gzip timestamp, so tar.gz
+ 	@# differs only if content is different
+-	cd ./usb_modeswitch.d; tar -cf ../configPack.tar *
++	cd ./usb_modeswitch.d; tar --mode=go=rX,u+rw,a-s -cf ../configPack.tar *
+ 	gzip -f9n ./configPack.tar
+ 	install --mode=644 -t $(PREFIX)/share/usb_modeswitch ./configPack.tar.gz
+ 	rm -f ./configPack.tar.gz
diff --git a/debian/patches/series b/debian/patches/series
index ae04af5..6f33bf9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01_no_udev_reload.patch
+02_reproducible_build.patch

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: usb-modeswitch-data
Source-Version: 20151101-1

We believe that the bug you reported is fixed in the latest version of
usb-modeswitch-data, 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.
Didier Raboud <[email protected]> (supplier of updated usb-modeswitch-data 
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: SHA512

Format: 1.8
Date: Mon, 02 Nov 2015 08:10:55 +0100
Source: usb-modeswitch-data
Binary: usb-modeswitch-data
Architecture: source
Version: 20151101-1
Distribution: unstable
Urgency: medium
Maintainer: Didier Raboud <[email protected]>
Changed-By: Didier Raboud <[email protected]>
Description:
 usb-modeswitch-data - mode switching data for usb-modeswitch
Closes: 803603
Changes:
 usb-modeswitch-data (20151101-1) unstable; urgency=medium
 .
   * New upstream release
     + New devices
      [12d1:1573] Huawei ME909u-521
      [1410:9020] Novatel U620L
      [1410:9022] Novatel U620L
      [19d2:0198] ZTE MF820s, MF832s
      [19d2:1580] ZTE MF195E
      [12d1:1597] Huawei E327s-150 (Variant)
      [12d1:15ce] Huawei E3531s-2, E3131 (Variant)
      [12d1:15d0] Huawei E3131 (Variant)
      [12d1:15d2] Huawei E3531 (Variant)
     - Small correction of Makefile for reproducibility (Closes: #803603)
Checksums-Sha1:
 be61fd2f41ab2c03ec0df1f7f616cd0de5d2285d 1804 
usb-modeswitch-data_20151101-1.dsc
 2c67db0e0ffb78e10cffe6e85ea0eacb0cca5d10 30350 
usb-modeswitch-data_20151101.orig.tar.bz2
 8e887cad1683a50a1a58dd40af7486147934717b 11988 
usb-modeswitch-data_20151101-1.debian.tar.xz
Checksums-Sha256:
 a7e3ee0ec51bfb71554750cd8424d4e558eec4a9cebfea8063f2294a41214099 1804 
usb-modeswitch-data_20151101-1.dsc
 584d362bc0060c02016edaac7b05ebd6558d5dcbdf14f1ae6d0ec9630265a982 30350 
usb-modeswitch-data_20151101.orig.tar.bz2
 e0ab0fb8c9f540f04b4af290448e3f17fa380a9319f5cfcc990807ce07b50eff 11988 
usb-modeswitch-data_20151101-1.debian.tar.xz
Files:
 feeb897f91186434107276b26918ffe9 1804 comm extra 
usb-modeswitch-data_20151101-1.dsc
 21af977bfc4e7a705d318e88d7a63494 30350 comm extra 
usb-modeswitch-data_20151101.orig.tar.bz2
 8a841842c2e439b7bc63c17e7583761d 11988 comm extra 
usb-modeswitch-data_20151101-1.debian.tar.xz

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

iQGcBAEBCgAGBQJWNw+RAAoJEIvPpx7KFjRVWHML/0iXjlWNMCRVIlRShkjCSTEU
j81v/PZTLnGFtNSqmNjue/N57mP3c5XyyslpGqB23J5kypzqnlwPCu6FLcZKvLoT
b9u6u/A6P9xc5TVO7ZamIM6UupfHVqmqw3ng3SEnfy3GXDOU1rSHPmjQ51X+HhZ2
gkukwHMaVAAjTZ2BNB5WaZe2Q4oQdGvoHe9MjcfMTjAjYFvToBuxhUj5rnI5lthz
YYc1MEvs6F7OJE/L99KJ8flveSwc+DRal4Psrim/bWNZWNaxQZiIUTN05HgVyfL3
7hPkTIdFrr4RNGKKchOF05kagT+cXd0cp81QQLXqEZDvJlnTzkj/YogjCx2xMyIB
xZwbzSSwAeZc3hP4HRVPo7omARnScKFOcgOCwJqMFXimhgvh+I3esuCPFIAiNdyL
VgjzJM/TapUOzLzZwrTbhFCWuK2Dp8dcfpOJx+JQDgjC6vZ4xjQj9oTy4U1+dytr
yp1tN3jMuqLiXzJ0lQwXQaEG66+P0bcObSpC70s/bg==
=6fFN
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to