Source: openchange
Version: 1:2.2-7
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 openchange could not be built reproducibly.

The attached patch removes timezone-varying timestamps from the build
system. Once applied, openchange can be built reproducibly in our
reproducible toolchain.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/debian/rules b/debian/rules
index 2197d44..8f94b9c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -50,7 +50,7 @@ override_dh_auto_build:
        # a possibility to turn that off (AFAICT). So replacing the date with 
something
        # more reasonable: the timestamp of the last Debian changelog entry.
        sed --in-place -e \
-             "s/\(.TH.* 3 \"\).*\(\" \"Version .*\)/\1$$(LC_ALL=C date 
--date='$(CL_DATE)' +'%a %b %d %Y')\2/" \
+             "s/\(.TH.* 3 \"\).*\(\" \"Version .*\)/\1$$(LC_ALL=C date --utc 
--date='$(CL_DATE)' +'%a %b %d %Y')\2/" \
                  apidocs/man/man3/*.3
 
 override_dh_auto_clean:
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to