[arch-commits] Commit in perl/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Mon Jan 13 20:45:32 UTC 2020


    Date: Monday, January 13, 2020 @ 20:45:30
  Author: jelle
Revision: 373451

Make perl rebuild more reproducible

Hardcode the hostname, uname and determine the configuration time using
SOURCE_DATE_EPOCH to make the build more reproducible.

Modified:
  perl/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-13 19:34:21 UTC (rev 373450)
+++ PKGBUILD	2020-01-13 20:45:30 UTC (rev 373451)
@@ -172,7 +172,10 @@
     -Dvendorscript=/usr/bin/vendor_perl \
     -Dinc_version_list=none \
     -Dman1ext=1perl -Dman3ext=3perl ${arch_opts} \
-    -Dlddlflags="-shared ${LDFLAGS}" -Dldflags="${LDFLAGS}"
+    -Dlddlflags="-shared ${LDFLAGS}" -Dldflags="${LDFLAGS}" \
+    -Dmyuname="archlinux" \
+    -Dmyhostname="archlinux" \
+    -Dcf_time="`LC_ALL=C LANGUAGE=C $date -u -d@$SOURCE_DATE_EPOCH`"
   make
 }
 



More information about the arch-commits mailing list