[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#777301: cvs-buildpackage: please make the build reproducible



Source: cvs-buildpackage
Version: 5.23
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 cvs-buildpackage could not be built reproducibly.

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

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
diff -urNad cvs-buildpackage.orig/cvs-buildpackage-5.23/debian/local.mk cvs-buildpackage/cvs-buildpackage-5.23/debian/local.mk
--- cvs-buildpackage.orig/cvs-buildpackage-5.23/debian/local.mk	2015-02-07 11:26:35.221221937 +0000
+++ cvs-buildpackage/cvs-buildpackage-5.23/debian/local.mk	2015-02-07 11:28:31.362333525 +0000
@@ -43,7 +43,7 @@
 	$(make_directory)  $(LINTIANDIR)
 	echo  '$(package): description-synopsis-might-not-be-phrased-properly' \
                            >> $(LINTIANDIR)/$(package)
-	$(MAKE)            prefix=$(TMPTOP) install
+	$(MAKE)            prefix=$(TMPTOP) GZIP=-9n install
 
 binary/cvs-buildpackage: testroot
 	$(REASON)

Reply to: