Bug#778222: ndiswrapper: please make the build reproducible

2015-02-12 Thread Jérémy Bobbio
Julian Andres Klode:
  The attached patch removes timestamps from the build system. Once
  applied, ndiswrapper can be built reproducibly in our current
  experimental framework.
 
 Cool.
 
 Will do that soonish in experimental then. Thanks.

As we currently only perform experiments on packages in unstable, you
might just as well wait for Jessie to be out and upload directly there.

Thanks!

-- 
Lunar.''`. 
lu...@debian.org: :Ⓐ  :  # apt-get install anarchism
`. `'` 
  `-   


signature.asc
Description: Digital signature


Bug#778222: ndiswrapper: please make the build reproducible

2015-02-12 Thread Julian Andres Klode
Am 12.02.2015 13:51 schrieb Chris Lamb la...@debian.org:

 Source: ndiswrapper
 Version: 1.59-2
 Severity: wishlist
 Tags: patch
 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 ndiswrapper could not be built reproducibly.

 The attached patch removes timestamps from the build system. Once
 applied, ndiswrapper can be built reproducibly in our current
 experimental
 framework.

Cool.

Will do that soonish in experimental then. Thanks.

/me loves reproducibility.


Bug#778222: ndiswrapper: please make the build reproducible

2015-02-12 Thread Chris Lamb
Source: ndiswrapper
Version: 1.59-2
Severity: wishlist
Tags: patch
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 ndiswrapper could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, ndiswrapper can be built reproducibly in our current
experimental
framework.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff -urNad ndiswrapper.orig/ndiswrapper-1.59/debian/rules 
ndiswrapper/ndiswrapper-1.59/debian/rules
--- ndiswrapper.orig/ndiswrapper-1.59/debian/rules  2015-02-12 
12:33:16.11414 +
+++ ndiswrapper/ndiswrapper-1.59/debian/rules   2015-02-12 12:45:32.643096300 
+
@@ -1,5 +1,6 @@
 #!/usr/bin/make -f
 version := $(shell dpkg-parsechangelog | sed -n 's/^Version: 
*\([^-]\+\)-.\+/\1/p')
+BUILD_DATE := $(shell dpkg-parsechangelog --show-field Date)
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
@@ -50,7 +51,7 @@
 
mkdir -p debian/ndiswrapper-source/usr/src/
tar jcf debian/ndiswrapper-source/usr/src/ndiswrapper.tar.bz2 \
-   -C debian/tmp modules
+   -C debian/tmp --mtime=$(BUILD_DATE) modules
 
# Create the ndiswrapper-dkms package.
dh_install -pndiswrapper-dkms driver/Makefile 
usr/src/ndiswrapper-$(version)