Add sync service and fix tarball detection for taler-exchange/merchant

This commit is contained in:
nocci 2025-12-12 12:38:53 +00:00
parent 9543a56982
commit 2121a7763a
5 changed files with 97 additions and 5 deletions

View file

@ -23,12 +23,14 @@ GNUNET_VERSION="${GNUNET_VERSION:-0.21.2}"
EXCHANGE_VERSION="${EXCHANGE_VERSION:-1.0.0}"
MERCHANT_VERSION="${MERCHANT_VERSION:-1.1.3}"
LIBEUFIN_VERSION="${LIBEUFIN_VERSION:-1.2.0}"
SYNC_VERSION="${SYNC_VERSION:-1.1.0}"
# GNUnet tarball is hosted under the GNUnet mirror, Taler components under the Taler mirror.
GNUNET_URL="${GNUNET_TARBALL_URL:-https://ftp.gnu.org/gnu/gnunet/gnunet-${GNUNET_VERSION}.tar.gz}"
EXCHANGE_URL="${EXCHANGE_TARBALL_URL:-https://ftp.fau.de/gnu/taler/taler-exchange-${EXCHANGE_VERSION}.tar.gz}"
MERCHANT_URL="${MERCHANT_TARBALL_URL:-https://ftp.fau.de/gnu/taler/taler-merchant-${MERCHANT_VERSION}.tar.gz}"
LIBEUFIN_URL="${LIBEUFIN_TARBALL_URL:-https://ftp.fau.de/gnu/taler/libeufin-${LIBEUFIN_VERSION}.tar.gz}"
SYNC_URL="${SYNC_TARBALL_URL:-https://ftp.fau.de/gnu/taler/sync-${SYNC_VERSION}.tar.gz}"
fetch() {
local url="$1"
@ -49,5 +51,6 @@ fetch "$GNUNET_URL"
fetch "$EXCHANGE_URL"
fetch "$MERCHANT_URL"
fetch "$LIBEUFIN_URL"
fetch "$SYNC_URL"
echo "Done. Tarballs are in ${VENDOR_DIR}"