Source: designate
Version: 1:5.0.0-4
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

Hi,

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

A patch is attached; please merge it with the existing patch
"make-designate.conf-build-reproducibly.patch").

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible-build.patch   1970-01-01 01:00:00.000000000 
+0100
--- b/debian/patches/reproducible-build.patch   2018-02-03 14:44:08.403044117 
+0000
@@ -0,0 +1,14 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2018-02-03
+
+--- designate-5.0.0.orig/designate/__init__.py
++++ designate-5.0.0/designate/__init__.py
+@@ -33,6 +33,7 @@ designate_opts = [
+                help='Name of this node'),
+     cfg.StrOpt(
+         'pybasedir',
++        sample_default='<Path>',
+         default=os.path.abspath(os.path.join(os.path.dirname(__file__),
+                                              '../')),
+         help='Directory where the designate python module is installed'
--- a/debian/patches/series     2018-02-03 14:37:41.556432788 +0000
--- b/debian/patches/series     2018-02-03 14:44:07.483039304 +0000
@@ -1,2 +1,3 @@
 install-missing-files.patch
 make-designate.conf-build-reproducibly.patch
+reproducible-build.patch

Reply via email to