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

Jelle van der Waa jelle at archlinux.org
Wed Jul 3 20:20:59 UTC 2019


    Date: Wednesday, July 3, 2019 @ 20:20:58
  Author: jelle
Revision: 487371

Pass current-date with SOURCE_DATE_EPOCH

Add support for reproducible builds

Modified:
  getdns/trunk/PKGBUILD

----------+
 PKGBUILD |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-03 19:20:31 UTC (rev 487370)
+++ PKGBUILD	2019-07-03 20:20:58 UTC (rev 487371)
@@ -23,7 +23,8 @@
         --with-libev \
         --with-libevent \
         --with-libuv \
-        --with-trust-anchor=/etc/trusted-key.key
+        --with-trust-anchor=/etc/trusted-key.key \
+        --with-current-date=$(date -u --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" "+%Y-%m-%dT%H:%M:%S")
     make
 }
 


More information about the arch-commits mailing list