tags #778215 confirmed pending thanks On Thu, Feb 12, 2015 at 12:38:39PM +0000, Chris Lamb wrote: > diff -urNad apg.orig/apg-2.2.3.dfsg.1/debian/rules > apg/apg-2.2.3.dfsg.1/debian/rules > --- apg.orig/apg-2.2.3.dfsg.1/debian/rules 2015-02-12 12:32:18.016360160 > +0000 > +++ apg/apg-2.2.3.dfsg.1/debian/rules 2015-02-12 12:36:20.134966457 +0000 > @@ -8,6 +8,7 @@ > DEB_MAKE_CLEAN_TARGET := clean > DEB_MAKE_BUILD_TARGET := standalone > DEB_MAKE_INSTALL_TARGET := install INSTALL_PREFIX=$(CURDIR)/debian/apg/usr > +BUILD_DATE := $(shell dpkg-parsechangelog --show-field Date) > > include /usr/share/cdbs/1/rules/debhelper.mk > include /usr/share/cdbs/1/rules/dpatch.mk > @@ -18,7 +19,7 @@
I have converted the package to use debhelper 9 and hope that this fixes any reproducibility issues the package might have. Please feel free to open a new bug if I botched up. > install/apg:: > mv $(CURDIR)/debian/apg/usr/bin/apg $(CURDIR)/debian/apg/usr/lib/apg/apg > - tar --create --gzip --file php.tar.gz --directory > $(CURDIR)/php/apgonline/ . > + GZIP="-9n" tar --create --gzip --file php.tar.gz --directory > $(CURDIR)/php/apgonline/ --mtime="$(BUILD_DATE)" . > install -D --mode=0644 php.tar.gz > $(CURDIR)/debian/apg/usr/share/doc/apg/php.tar.gz > rm php.tar.gz > install -D --mode=0755 $(CURDIR)/debian/apg.wrapper > $(CURDIR)/debian/apg/usr/bin/apg I have done it differently, but yes. The package is lintian clean regarding reproducibility now. Greetings Marc