in order to make builds reproducible. See https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable.
Signed-off-by: Bernhard M. Wiedemann <[email protected]> --- While working on the reproducible builds effort, I found that when building the shorewall package for openSUSE Linux, there were slight differences between each build: --- old//usr/share/shorewall/shorewallrc 2017-06-29 12:00:00.000000000 +0000 +++ new//usr/share/shorewall/shorewallrc 2017-06-29 12:00:00.000000000 +0000 @@ -1,5 +1,5 @@ # -# Created by Shorewall Core version 5.1.4.3 configure - Wed Jul 5 22:07:49 UTC 2017 +# Created by Shorewall Core version 5.1.4.3 configure - Sat Aug 11 11:24:24 UTC 2018 for some reason this code also appears in other Shorewall-*/configure scripts but it took only the change in Core to fix it for us. --- Shorewall-core/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-core/configure b/Shorewall-core/configure index e5d9b9a..6af9121 100755 --- a/Shorewall-core/configure +++ b/Shorewall-core/configure @@ -190,7 +190,7 @@ for p in ${!params[@]}; do done echo '#' > shorewallrc -echo "# Created by Shorewall Core version $VERSION configure - " `date` >> shorewallrc +echo "# Created by Shorewall Core version $VERSION configure - " `date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}"` >> shorewallrc echo "# rc file: $rcfile" >> shorewallrc echo '#' >> shorewallrc -- 2.12.3 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Shorewall-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-devel
