Bug#776622: dahdi-linux: please make the build reproducible

2016-09-20 Thread Tzafrir Cohen
On Fri, Sep 16, 2016 at 09:50:54AM +0100, Chris Lamb wrote:
> Dear Maintainer,
> 
> > Source: dahdi-linux
> > Version: 1:2.3.0.1+dfsg-2
> > Tags: patch
> 
> There hasn't seem to be any update on this bug in 32 days, in which
> time the Reproducible Builds effort has come on a long way. :)
> 
> Would you consider applying this patch and uploading?

Thanks for the reminder. Half of this has already been fixed upstream. I
have applied the other half. I'm waiting for a followup on another issue
and this should be uploaded this week.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
tzaf...@debian.org|| friend



Bug#776622: dahdi-linux: please make the build reproducible

2016-09-16 Thread Chris Lamb
Dear Maintainer,

> Source: dahdi-linux
> Version: 1:2.3.0.1+dfsg-2
> Tags: patch

There hasn't seem to be any update on this bug in 32 days, in which
time the Reproducible Builds effort has come on a long way. :)

Would you consider applying this patch and uploading?


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#776622: dahdi-linux: please make the build reproducible

2016-08-14 Thread Chris Lamb
Hi,

> Updated patch attached.

There hasn't seem to be any update on this bug in 554 days, in which
time the Reproducible Builds effort has come on a long way. :)

Would you consider applying this patch and uploading?


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#776622: dahdi-linux: please make the build reproducible

2015-02-07 Thread Chris Lamb
> The attached patch removes timestamps from the build system.

Updated patch attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff -urNad 
dahdi-linux.orig/dahdi-linux-2.10.0.1~dfsg/debian/patches/no-last-updated 
dahdi-linux/dahdi-linux-2.10.0.1~dfsg/debian/patches/no-last-updated
--- dahdi-linux.orig/dahdi-linux-2.10.0.1~dfsg/debian/patches/no-last-updated   
1970-01-01 01:00:00.0 +0100
+++ dahdi-linux/dahdi-linux-2.10.0.1~dfsg/debian/patches/no-last-updated
2015-02-07 16:09:40.060107392 +
@@ -0,0 +1,11 @@
+--- dahdi-linux-2.10.0.1~dfsg.orig/Makefile
 dahdi-linux-2.10.0.1~dfsg/Makefile
+@@ -58,7 +58,7 @@ KMAKE=+$(MAKE) -C $(KSRC) SUBDIRS=$(PWD)
+ ROOT_PREFIX:=
+ 
+ ASCIIDOC:=asciidoc
+-ASCIIDOC_CMD:=$(ASCIIDOC) -n -a toc -a toclevels=4
++ASCIIDOC_CMD:=$(ASCIIDOC) -n -a toc -a toclevels=4 -a footer-style=none
+ 
+ GENERATED_DOCS:=README.html
+ 
diff -urNad dahdi-linux.orig/dahdi-linux-2.10.0.1~dfsg/debian/patches/series 
dahdi-linux/dahdi-linux-2.10.0.1~dfsg/debian/patches/series
--- dahdi-linux.orig/dahdi-linux-2.10.0.1~dfsg/debian/patches/series
2015-02-07 15:51:42.312247635 +
+++ dahdi-linux/dahdi-linux-2.10.0.1~dfsg/debian/patches/series 2015-02-07 
16:09:33.503817443 +
@@ -6,3 +6,4 @@
 tor2-request_firmware
 pciradio-request_firmware
 hotplug_mod_params
+no-last-updated
diff -urNad dahdi-linux.orig/dahdi-linux-2.10.0.1~dfsg/debian/rules 
dahdi-linux/dahdi-linux-2.10.0.1~dfsg/debian/rules
--- dahdi-linux.orig/dahdi-linux-2.10.0.1~dfsg/debian/rules 2015-02-07 
15:51:42.312247635 +
+++ dahdi-linux/dahdi-linux-2.10.0.1~dfsg/debian/rules  2015-02-07 
15:58:43.751019974 +
@@ -26,6 +26,7 @@
| sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
 DEB_BASE_VERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 
's/-[0-9~.a-z]*$$//')
 UPVERSION:=$(shell echo $(DEB_BASE_VERSION) | sed -e 
's/[~+]dfsg[0-9]*\(~\|$$\)/\1/' -e 's/~\(rc\|beta\)/-\1/')
+BUILD_DATE:=$(shell dpkg-parsechangelog --show-field Date)
 
 UPFILENAME := $(PACKAGE_SRC)_$(UPVERSION).orig.tar.gz
 FILENAME := $(PACKAGE_SRC)_$(DEB_BASE_VERSION).orig.tar.gz
@@ -105,7 +106,7 @@
  $(TARDIR)/debian/

tar cjf debian/$(SKPG)/usr/src/$(PREFIX).tar.bz2 \
- -C $(TARPARDIR) modules
+ -C $(TARPARDIR) modules --mtime="$(BUILD_DATE)"
 
 print-version:
@@echo "Debian version:  $(DEBVERSION)"
diff -urNad dahdi-linux.orig/dahdi-linux-2.10.0.1~dfsg/Makefile 
dahdi-linux/dahdi-linux-2.10.0.1~dfsg/Makefile
--- dahdi-linux.orig/dahdi-linux-2.10.0.1~dfsg/Makefile 2015-02-07 
15:51:42.340248879 +
+++ dahdi-linux/dahdi-linux-2.10.0.1~dfsg/Makefile  2015-02-07 
16:09:33.0 +
@@ -58,7 +58,7 @@
 ROOT_PREFIX:=
 
 ASCIIDOC:=asciidoc
-ASCIIDOC_CMD:=$(ASCIIDOC) -n -a toc -a toclevels=4
+ASCIIDOC_CMD:=$(ASCIIDOC) -n -a toc -a toclevels=4 -a footer-style=none
 
 GENERATED_DOCS:=README.html
 


Bug#776622: dahdi-linux: please make the build reproducible

2015-01-29 Thread Chris Lamb
Source: dahdi-linux
Version: 1:2.10.0.1~dfsg-1
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 dahdi-linux could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, dahdi-linux 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 dahdi-linux.orig/dahdi-linux-2.10.0.1~dfsg/debian/rules 
dahdi-linux/dahdi-linux-2.10.0.1~dfsg/debian/rules
--- dahdi-linux.orig/dahdi-linux-2.10.0.1~dfsg/debian/rules 2015-01-30 
04:52:01.053349770 +
+++ dahdi-linux/dahdi-linux-2.10.0.1~dfsg/debian/rules  2015-01-30 
05:02:58.426022751 +
@@ -26,6 +26,7 @@
| sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
 DEB_BASE_VERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 
's/-[0-9~.a-z]*$$//')
 UPVERSION:=$(shell echo $(DEB_BASE_VERSION) | sed -e 
's/[~+]dfsg[0-9]*\(~\|$$\)/\1/' -e 's/~\(rc\|beta\)/-\1/')
+BUILD_DATE:=$(shell dpkg-parsechangelog --show-field Date)
 
 UPFILENAME := $(PACKAGE_SRC)_$(UPVERSION).orig.tar.gz
 FILENAME := $(PACKAGE_SRC)_$(DEB_BASE_VERSION).orig.tar.gz
@@ -104,6 +105,7 @@
  debian/control.modules.in \
  $(TARDIR)/debian/

+   find $(TARPARDIR) -print0 | xargs -0r touch --date="$(BUILD_DATE)"
tar cjf debian/$(SKPG)/usr/src/$(PREFIX).tar.bz2 \
  -C $(TARPARDIR) modules