Your message dated Sun, 20 Dec 2015 17:50:02 +0000
with message-id <[email protected]>
and subject line Bug#783152: fixed in kmod 22-1
has caused the Debian Bug report #783152,
regarding kmod: 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.)


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

Hi!

While working on the “reproducible builds” effort [1], we have noticed
that kmod could not be built reproducibly.

The attached patch sets a revision date for each manpage to avoid the
current date to be captured. Once applied, kmod can be built
reproducibly in our current experimental framework.

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

-- 
Lunar                                .''`. 
[email protected]                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
From b99468b0ed53641128430843b036870ce59eae8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= <[email protected]>
Date: Wed, 22 Apr 2015 22:07:40 +0000
Subject: [PATCH] Make the package build reproducibly

Add revision date extracted from Git to manpages in order to make them stable
one build to another.
---
 debian/changelog                      |   8 +++
 debian/patches/manpages_revision_date | 127 ++++++++++++++++++++++++++++++++++
 debian/patches/series                 |   1 +
 3 files changed, 136 insertions(+)
 create mode 100644 debian/patches/manpages_revision_date

diff --git a/debian/changelog b/debian/changelog
index 085d6bd..4686cbc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+kmod (20-1.0~reproducible1) UNRELEASED; urgency=low
+
+  * Make the package build reproducibly:
+    - Add revision date extracted from Git to manpages in order
+      to make them stable one build to another.
+
+ -- Jérémy Bobbio <[email protected]>  Wed, 22 Apr 2015 22:06:45 +0000
+
 kmod (20-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/patches/manpages_revision_date b/debian/patches/manpages_revision_date
new file mode 100644
index 0000000..601d9d2
--- /dev/null
+++ b/debian/patches/manpages_revision_date
@@ -0,0 +1,127 @@
+Magic command to add revision date:
+
+    for i in $(git grep -L '<date>' -- 'man/*.xml'); do
+        revdate=$(git log -1 --date=short --pretty='%cd' $i);
+        sed -e "s,^  </refentryinfo>,    <date>$revdate</date>\n\0," -i $i;
+    done
+
+diff --git a/man/depmod.d.xml b/man/depmod.d.xml
+index c30c06c..9844be2 100644
+--- a/man/depmod.d.xml
++++ b/man/depmod.d.xml
+@@ -26,6 +26,7 @@
+         <email>[email protected]</email>
+       </author>
+     </authorgroup>
++    <date>2014-01-02</date>
+   </refentryinfo>
+ 
+   <refmeta>
+diff --git a/man/depmod.xml b/man/depmod.xml
+index 0668aea..76b29c8 100644
+--- a/man/depmod.xml
++++ b/man/depmod.xml
+@@ -27,6 +27,7 @@
+         <email>[email protected]</email>
+       </author>
+     </authorgroup>
++    <date>2014-09-20</date>
+   </refentryinfo>
+ 
+   <refmeta>
+diff --git a/man/insmod.xml b/man/insmod.xml
+index 8ff4e20..e3fada2 100644
+--- a/man/insmod.xml
++++ b/man/insmod.xml
+@@ -21,6 +21,7 @@
+         <email>[email protected]</email>
+       </author>
+     </authorgroup>
++    <date>2014-01-24</date>
+   </refentryinfo>
+ 
+   <refmeta>
+diff --git a/man/kmod.xml b/man/kmod.xml
+index 0706ad5..1089078 100644
+--- a/man/kmod.xml
++++ b/man/kmod.xml
+@@ -15,6 +15,7 @@
+         <email>[email protected]</email>
+       </author>
+     </authorgroup>
++    <date>2014-09-22</date>
+   </refentryinfo>
+ 
+   <refmeta>
+diff --git a/man/lsmod.xml b/man/lsmod.xml
+index 8815a7e..c6037c8 100644
+--- a/man/lsmod.xml
++++ b/man/lsmod.xml
+@@ -21,6 +21,7 @@
+         <email>[email protected]</email>
+       </author>
+     </authorgroup>
++    <date>2014-01-02</date>
+   </refentryinfo>
+ 
+   <refmeta>
+diff --git a/man/modinfo.xml b/man/modinfo.xml
+index 9fe0324..23b47d4 100644
+--- a/man/modinfo.xml
++++ b/man/modinfo.xml
+@@ -21,6 +21,7 @@
+         <email>[email protected]</email>
+       </author>
+     </authorgroup>
++    <date>2014-01-02</date>
+   </refentryinfo>
+ 
+   <refmeta>
+diff --git a/man/modprobe.d.xml b/man/modprobe.d.xml
+index 47878e2..0686d83 100644
+--- a/man/modprobe.d.xml
++++ b/man/modprobe.d.xml
+@@ -26,6 +26,7 @@
+         <email>[email protected]</email>
+       </author>
+     </authorgroup>
++    <date>2014-05-13</date>
+   </refentryinfo>
+ 
+ 
+diff --git a/man/modprobe.xml b/man/modprobe.xml
+index 9cb4476..ce77ebe 100644
+--- a/man/modprobe.xml
++++ b/man/modprobe.xml
+@@ -27,6 +27,7 @@
+         <email>[email protected]</email>
+       </author>
+     </authorgroup>
++    <date>2014-03-06</date>
+   </refentryinfo>
+ 
+   <refmeta>
+diff --git a/man/modules.dep.xml b/man/modules.dep.xml
+index e53293a..327abef 100644
+--- a/man/modules.dep.xml
++++ b/man/modules.dep.xml
+@@ -20,6 +20,7 @@
+         <email>[email protected]</email>
+       </author>
+     </authorgroup>
++    <date>2014-03-06</date>
+   </refentryinfo>
+ 
+   <refmeta>
+diff --git a/man/rmmod.xml b/man/rmmod.xml
+index 14c94dd..532bd2e 100644
+--- a/man/rmmod.xml
++++ b/man/rmmod.xml
+@@ -21,6 +21,7 @@
+         <email>[email protected]</email>
+       </author>
+     </authorgroup>
++    <date>2014-01-26</date>
+   </refentryinfo>
+ 
+   <refmeta>
diff --git a/debian/patches/series b/debian/patches/series
index a136e4a..283f6f2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,6 +1,7 @@
 # fixes to be pushed upstream
 verbose_missing_bin
 check_builtin_kver
+manpages_revision_date
 
 # features to be pushed upstream
 
-- 
2.1.4

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: kmod
Source-Version: 22-1

We believe that the bug you reported is fixed in the latest version of
kmod, 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.
Marco d'Itri <[email protected]> (supplier of updated kmod 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: SHA1

Format: 1.8
Date: Sun, 20 Dec 2015 17:04:10 +0100
Source: kmod
Binary: kmod libkmod2 libkmod-dev libkmod2-udeb
Architecture: source i386
Version: 22-1
Distribution: unstable
Urgency: medium
Maintainer: Marco d'Itri <[email protected]>
Changed-By: Marco d'Itri <[email protected]>
Description:
 kmod       - tools for managing Linux kernel modules
 libkmod-dev - libkmod development files
 libkmod2   - libkmod shared library
 libkmod2-udeb - libkmod shared library (udeb)
Closes: 783152
Changes:
 kmod (22-1) unstable; urgency=medium
 .
   * New upstream release.
   * Set $SOURCE_DATE_EPOCH in debian/rules for reproducibility.
     (Closes: #783152)
   * Remove the module-init-tools transitional package.
Checksums-Sha1:
 e0a34f82599af73fa99ae750c160c406d1a6d319 1788 kmod_22-1.dsc
 29b9ff376c1d2c3df07217446a83c705b3e26c43 160576 kmod_22.orig.tar.xz
 5a292f110591c305772ea8ce78666ed33a6103aa 8704 kmod_22-1.debian.tar.xz
 46450063f3982e07b83ef6fa694372c5ab8196d8 167350 kmod-dbgsym_22-1_i386.deb
 ddd1c4910b1134e78ade473687431827716aabb4 94682 kmod_22-1_i386.deb
 726babb1a1c3f509ff78e516649a38e3a576e237 22738 libkmod-dev_22-1_i386.deb
 b8ff2f7b44bda3385977f0ff324960f121d1b57a 103358 libkmod2-dbgsym_22-1_i386.deb
 98aa21a102594cf9348c9cbb8b84f7ef600281f9 54332 libkmod2-udeb_22-1_i386.udeb
 040ed68ac921aa9c9d074799aa9a873b07ca72de 54042 libkmod2_22-1_i386.deb
Checksums-Sha256:
 1a2d252eff4445935323887de62235a8d1dea920d76b22f9a3d7430c8a6feacb 1788 
kmod_22-1.dsc
 158cbbca15c570eb2f4ce29a64cae785cb377a200cf62d6f70ca52e3d33325f3 160576 
kmod_22.orig.tar.xz
 572b54fa108aaa931bd834b253578b9080863cab5bcd34f74597892198bf4267 8704 
kmod_22-1.debian.tar.xz
 bad3c05491fe92c0db1969db6927f6088ce224f093c71681a10e8b471852c2a3 167350 
kmod-dbgsym_22-1_i386.deb
 ca5832b1ddfdd9d847db0783e3921ce45c6897d3e75290009e8430799c94bea6 94682 
kmod_22-1_i386.deb
 6ab1e294382b7f8be491b2227a95af3c0712a75b5045bc96ba880f9e12e1ef44 22738 
libkmod-dev_22-1_i386.deb
 f7d572b8eff94f5a6ca6a4db5cafdc82c62dced4830251621880cd6565ea1ed0 103358 
libkmod2-dbgsym_22-1_i386.deb
 77f9ea806d8e557730bcccda4f7814fe1088dc8e075dd046646bd8f6ff69203f 54332 
libkmod2-udeb_22-1_i386.udeb
 ac0f3c013aac69248a33506af2c644481aa78935711424e826621295faea75a7 54042 
libkmod2_22-1_i386.deb
Files:
 24633c04e466a85a998833f16291988b 1788 admin important kmod_22-1.dsc
 0e674dbadc71155dd8aad62f10cf55c8 160576 admin important kmod_22.orig.tar.xz
 f4f48ff6b541dd7a3aa7d117be282dda 8704 admin important kmod_22-1.debian.tar.xz
 d68df7c7e463807b83b388d86476fa73 167350 debug extra kmod-dbgsym_22-1_i386.deb
 c783ad4cb30c55f74ac8ac25e8074d3c 94682 admin important kmod_22-1_i386.deb
 f33813975ef7a0cae1d6f1dcef0e001c 22738 libdevel optional 
libkmod-dev_22-1_i386.deb
 7e658da87f6f9737b1c74c21a0a0ea8d 103358 debug extra 
libkmod2-dbgsym_22-1_i386.deb
 9c32b204bb84f6a9fb61113a68566ba9 54332 debian-installer important 
libkmod2-udeb_22-1_i386.udeb
 95eaccee96323c0f4b014285b252646c 54042 libs important libkmod2_22-1_i386.deb

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

iQGcBAEBAgAGBQJWdtjaAAoJECv1pcEixPek4pIL/1YYniXbT9j/sV1ANw+zg/qH
mkT09t/u6t43E5m+EU1zwi4LtNZcrShOaucN/JbMOuswflOd1GFpHU3UbUz5Y80j
nXplt3rdYzmHCo30nPLZiyRBR/vTktBs1UJtJ1rTLIuPJH+rMdkYJv8h+lAOKDQH
0WkIwHWUZFuJduiASg/VX6y7uDhX5OdlJUKflmHyxvmI4STmcaW2n6RDrn1k/pzL
W0K5rxxp84LCCrB1S/7L2eusoEr1hQTGKENSSnNyelZZjORWslUsAcnHSSqK7Bzr
lKS+w9EUJTExYdHft1JV57aMrDM8JrDw9EpBt6kvjRJ8UKg+8ubjIsnpGZUz6Clo
4gw3uzoTk+RXUxEGz5rMA4KX0xm1C141KFgaVbYTcdXHpX1RHFG4sffGqQnHyLBR
C7ud/FTioVvipEsIMTPRbIJ+TuCl+BiIkYWKxUpRlbeDb3gZsU6Treh7asMGePXu
RD3vW6OVkg7LzRL8aNqJuUZCMusKlLenu4l7jK3lbQ==
=ldqW
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to