Source: designate Version: 1:9.0.0-2 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 designate could not be built reproducibly. This is because it embeds the absolute build path in the sample configuration. Patch attached that uses oslo-config's sample_default instead. Patch attached. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/patches/reproducible-build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/reproducible-build.patch 2019-10-22 10:58:04.411419043 +0100 @@ -0,0 +1,14 @@ +Description: Make the build reproducible +Author: Chris Lamb <la...@debian.org> +Last-Update: 2019-10-22 + +--- designate-9.0.0.orig/designate/conf/akamai.py ++++ designate-9.0.0/designate/conf/akamai.py +@@ -31,6 +31,7 @@ AKAMAI_GROUP = cfg.OptGroup( + AKAMAI_OPTS = [ + cfg.StrOpt('enhanceddns_wsdl', + default='file://%s' % WSDL_PATH, ++ sample_default=os.path.join('/path', 'to', 'EnhancedDNS.xml'), + help='Akamai EnhancedDNS WSDL URL'), + ] + --- a/debian/patches/series 2019-10-22 10:41:19.849078312 +0100 --- b/debian/patches/series 2019-10-22 10:58:03.503410718 +0100 @@ -1,2 +1,3 @@ install-missing-files.patch Experimental_wsgi_support.patch +reproducible-build.patch