Source: zssh Version: 1.5c.debian.1-3.2 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi! While working on the "reproducible builds" effort [1], we have noticed that zssh could not be built reproducibly. It embeds the current date/time into the version string. The attached patch strips it to make the build reproducible. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/reproducible-build.patch b/debian/patches/reproducible-build.patch new file mode 100644 index 0000000..5041306 --- /dev/null +++ b/debian/patches/reproducible-build.patch @@ -0,0 +1,14 @@ +Author: Reiner Herrmann <rei...@reiner-h.de> +Description: Strip build date from version string to enable reproducible building + +--- a/Makefile.in ++++ b/Makefile.in +@@ -110,7 +110,7 @@ + + + version.h : force +- echo '#define ZSSH_VERSION "' `cat VERSION` ', built' `date` '"' > version.h ++ echo '#define ZSSH_VERSION "' `cat VERSION` '"' > version.h + + fun.h : $(SRC) + protos -o fun.h $(SRC) diff --git a/debian/patches/series b/debian/patches/series index 87e9a37..d64c299 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,3 +4,4 @@ 04_GNU_openpty.patch 05_strip.patch fix_CPPFunction.diff +reproducible-build.patch
signature.asc
Description: Digital signature