aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2022-12-06 11:33:25 +0000
committerWerner Koch <[email protected]>2022-12-06 11:33:25 +0000
commit8346ebf168edf2015e441745e7f085a622e64375 (patch)
tree1955b172cd39936bbb1eaee212a49aaf341dba49
parentdoc: Prepare NEWS (diff)
downloadgnupg-8346ebf168edf2015e441745e7f085a622e64375.tar.gz
gnupg-8346ebf168edf2015e441745e7f085a622e64375.zip
speedo: Introduce the OVERRIDE_TARBALLS feature
--
-rw-r--r--build-aux/speedo.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/build-aux/speedo.mk b/build-aux/speedo.mk
index a274fefff..433dc9973 100644
--- a/build-aux/speedo.mk
+++ b/build-aux/speedo.mk
@@ -80,6 +80,9 @@
# AUTHENTICODE_KEY=/home/foo/.gnupg/my-authenticode-key.p12
# AUTHENTICODE_CERTS=/home/foo/.gnupg/my-authenticode-certs.pem
#
+# If a tarball has not been published while building a release it
+# may be stored in a directory specified by:
+# OVERRIDE_TARBALLS=/home/foo/override-tarballs
#--8<---------------cut here---------------end--------------->8---
@@ -246,6 +249,7 @@ $(eval $(call READ_AUTOGEN_template,AUTHENTICODE_CERTS))
$(eval $(call READ_AUTOGEN_template,OSSLSIGNCODE))
$(eval $(call READ_AUTOGEN_template,OSSLPKCS11ENGINE))
$(eval $(call READ_AUTOGEN_template,SCUTEMODULE))
+$(eval $(call READ_AUTOGEN_template,OVERRIDE_TARBALLS))
# All files given in AUTHENTICODE_FILES are signed before
# they are put into the installer.
@@ -999,6 +1003,13 @@ $(stampdir)/stamp-$(1)-00-unpack: $(stampdir)/stamp-directories
cd "$$$${pkg}"; \
AUTOGEN_SH_SILENT=1 ./autogen.sh; \
elif [ -n "$$$${tar}" ]; then \
+ tar2="$(OVERRIDE_TARBALLS)/$$$$(basename $$$${tar})";\
+ if [ -f "$$$${tar2}" ]; then \
+ tar="$$$$tar2"; \
+ echo "speedo: /*"; \
+ echo "speedo: * Note: using an override"; \
+ echo "speedo: */"; \
+ fi; \
echo "speedo: unpacking $(1) from $$$${tar}"; \
case "$$$${tar}" in \
*.gz) pretar=zcat ;; \