Source: ndiswrapper
Version: 1.59-2
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@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.118888414 +0000
+++ ndiswrapper/ndiswrapper-1.59/debian/rules   2015-02-12 12:45:32.643096300 
+0000
@@ -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)
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to