fetch.sh (3362B)
- #!/bin/sh
- URLS="
- https://hacktivis.me/releases/utils-std/utils-std-0.0.1.tar.gz
- https://hacktivis.me/releases/utils-std/utils-std-0.0.1.tar.gz.sign
- https://frippery.org/make/pdpmake-2.0.1.tgz
- https://gitlab.com/bzip2/bzip2/-/archive/bzip2-1.0.8/bzip2-bzip2-1.0.8.tar.gz
- https://zlib.net/zlib-1.3.1.tar.gz
- https://www.zlib.net/pigz/pigz-2.8.tar.gz
- https://ftp.gnu.org/gnu/make/make-4.4.1.tar.gz
- https://downloads.sourceforge.net/heirloom/heirloom/070715/heirloom-070715.tar.bz2
- https://downloads.sourceforge.net/project/heirloom/heirloom-devtools/070527/heirloom-devtools-070527.tar.bz2
- https://tukaani.org/xz/xz-5.6.3.tar.gz
- https://www.lua.org/ftp/lua-5.4.6.tar.gz
- https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-6.6.0.tar.gz
- https://www.skarnet.org/software/skalibs/skalibs-2.14.2.0.tar.gz
- https://skarnet.org/software/mdevd/mdevd-0.1.6.4.tar.gz
- https://bearssl.org/bearssl-0.6.tar.gz
- https://curl.se/tiny/tiny-curl-8.4.0.tar.gz
- https://curl.haxx.se/ca/cacert-2024-11-26.pem
- https://www.kernel.org/pub/software/scm/git/git-2.45.2.tar.gz
- https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.47.1/e2fsprogs-1.47.1.tar.gz
- "
- WORKDIR="$(dirname "$0")"
- . "${WORKDIR}/common.sh"
- set -ex
- mkdir -p "${WORKDIR}/distfiles"
- cd "${WORKDIR}/distfiles"
- CURL_OPTS="-L --fail"
- for url in $URLS
- do
- file="$(basename "$url")"
- test -e "$file" || curl ${CURL_OPTS} -o "$file" "$url"
- done
- for arch in ${ALPINE_ARCHES}
- do
- for apk in $APKS_main
- do
- test -e "$apk.$arch" || curl ${CURL_OPTS} -o "$apk.${arch}" "${ALPINE_MIRROR}/${ALPINE_BRANCH}/main/${arch}/${apk}"
- done
- for apk in $APKS_testing
- do
- test -e "$apk.$arch" || curl ${CURL_OPTS} -o "$apk.${arch}" "${ALPINE_MIRROR}/${ALPINE_BRANCH}/testing/${arch}/${apk}"
- done
- done
- test -e lanodan-2024.pub || curl ${CURL_OPTS} -o lanodan-2024.pub https://hacktivis.me/releases/signify/2024.pub
- # Only has ./CVS and .travis-ci.yml removed compared to Github autogenerated tarball
- #test -e om4-6.7.tar.gz || curl ${CURL_OPTS} -o om4-6.7.tar.gz https://github.com/ibara/m4/releases/download/om4-6.7/om4-6.7.tar.gz
- test -e nawk-20240728.tar.gz || curl ${CURL_OPTS} -o nawk-20240728.tar.gz https://github.com/onetrueawk/awk/archive/20240728.tar.gz
- test -e loksh-7.6.tar.gz || curl ${CURL_OPTS} -o loksh-7.6.tar.gz https://github.com/dimkr/loksh/archive/refs/tags/7.6.tar.gz
- test -e lolibc-96b2b7e.tar.gz || curl ${CURL_OPTS} -o lolibc-96b2b7e.tar.gz https://github.com/dimkr/lolibc/archive/96b2b7e.tar.gz
- test -e yacc-oyacc-6.6.tar.gz || curl ${CURL_OPTS} -o yacc-oyacc-6.6.tar.gz https://github.com/ibara/yacc/archive/refs/tags/oyacc-6.6.tar.gz
- test -e gettext-tiny-0.3.2.tar.gz || curl ${CURL_OPTS} -o gettext-tiny-0.3.2.tar.gz https://github.com/sabotage-linux/gettext-tiny/archive/refs/tags/v0.3.2.tar.gz
- test -e pkgconf-pkgconf-2.3.0.tar.gz || curl ${CURL_OPTS} -o pkgconf-pkgconf-2.3.0.tar.gz https://github.com/pkgconf/pkgconf/archive/refs/tags/pkgconf-2.3.0.tar.gz
- # suckless.org doesn't provides snapshots of sbase (yet?)
- test -e sbase-b30fb568.tar.gz || curl ${CURL_OPTS} -o sbase-b30fb568.tar.gz https://git.sr.ht/~mcf/sbase/archive/b30fb56804bfed69b45ef0e944d2e029e4d26258.tar.gz
- if command -v signify >/dev/null; then
- signify -V -p lanodan-2024.pub -x utils-std-0.0.1.tar.gz.sign -m utils-std-0.0.1.tar.gz
- fi
- cd -
- sha512sum -c distfiles.SHA512SUM