Source: lxc Version: 1:1.0.8-1 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 lxc could not be built reproducibly. Timestamps are embedded into the manpages. The attached patch uses the date from the latest changelog entry instead. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/0017-reproducible-build.patch b/debian/patches/0017-reproducible-build.patch new file mode 100644 index 0000000..57724fb --- /dev/null +++ b/debian/patches/0017-reproducible-build.patch @@ -0,0 +1,11 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -502,7 +502,7 @@ + AS_AC_EXPAND(DATADIR, "$datadir") + AS_AC_EXPAND(LOCALSTATEDIR, "$localstatedir") + AS_AC_EXPAND(DOCDIR, "$docdir") +-AS_AC_EXPAND(LXC_GENERATE_DATE, "$(date)") ++AS_AC_EXPAND(LXC_GENERATE_DATE, "$(dpkg-parsechangelog -S Date | LC_ALL=C date -u -f - '+%B %d, %Y')") + AS_AC_EXPAND(LXCPATH, "$with_config_path") + AS_AC_EXPAND(LXC_GLOBAL_CONF, "$with_global_conf") + AS_AC_EXPAND(LXC_USERNIC_CONF, "$with_usernic_conf") diff --git a/debian/patches/series b/debian/patches/series index b87ab51..4ef429d 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -14,3 +14,4 @@ 0014-systemd-getty.patch 0015-Centos7-systemd.patch 0016-lxc-debian-allow-not-including-contrib-non-free.patch +0017-reproducible-build.patch
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds