Source: smartlist Version: 3.15-25 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 smartlist could not be built reproducibly. This is because the choplist binary contains the current user via the LISTID define. Given that has been the build user's username for many years (?), I suspect it makes no difference what value this actually has, but patch attached that sets it to "list" (ie. to match the name of uid 38). [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/patches/reproducible-build 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/reproducible-build 2020-09-14 10:51:03.215780208 +0100 @@ -0,0 +1,15 @@ +Description: Make the build reproducible +Author: Chris Lamb <la...@debian.org> +Last-Update: 2020-09-14 + +--- smartlist-3.15.orig/SmartList/install.sh2 ++++ smartlist-3.15/SmartList/install.sh2 +@@ -26,7 +26,7 @@ hfile=targetdir.h + + cat >$hfile <<HERE + #define TARGETDIR "$ltarget" +-#define LISTID "$listid" ++#define LISTID "list" + #define PROCMAIL "../$bindir/procmail" + #define INIT_PATH "PATH=../$bindir" + HERE --- a/debian/patches/series 2020-09-14 10:40:33.562733323 +0100 --- b/debian/patches/series 2020-09-14 10:51:02.215766362 +0100 @@ -31,3 +31,4 @@ smartlist-20 smartlist-21 smartlist-22 +reproducible-build