Source: circlator
Version: 1.5.6-3
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
circlator could not be built reproducibly.

This is because it generates a tarball without sorting its contents or
ensuring that the files do not inherit the user and group (etc.) of
the build environment.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2020-12-05 10:17:30.948475921 +0000
--- b/debian/rules      2020-12-05 10:39:35.863084147 +0000
@@ -15,4 +15,4 @@
 
 override_dh_installexamples:
        dh_installexamples
-       cd debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/examples && tar caf 
data.tar.xz data && rm -rf data
+       cd debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/examples && tar caf 
data.tar.xz data --owner=0 --group=0 --numeric-owner --sort=name && rm -rf data

Reply via email to