diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-03-06 16:56:55 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2023-03-31 05:35:55 +0000 |
commit | 3ba13955058b530a9088fb83ea436ea62677d5be (patch) | |
tree | d4a9da73d4aa8f015217c3bd5e95a2bc10b020c1 /system/ncurses/maintain | |
parent | 9a0774c0c6b32ac95e3d5ce10164c0025db41872 (diff) | |
download | packages-3ba13955058b530a9088fb83ea436ea62677d5be.tar.gz packages-3ba13955058b530a9088fb83ea436ea62677d5be.tar.bz2 packages-3ba13955058b530a9088fb83ea436ea62677d5be.tar.xz packages-3ba13955058b530a9088fb83ea436ea62677d5be.zip |
system/ncurses: upgrade to 6.4 [CVE]
Diffstat (limited to 'system/ncurses/maintain')
-rwxr-xr-x | system/ncurses/maintain | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/system/ncurses/maintain b/system/ncurses/maintain deleted file mode 100755 index 3112cf87a..000000000 --- a/system/ncurses/maintain +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/sh -e - -## -# This script downloads the "base" ncurses tarball and all patches (if any) -# up to and including the version specified in '_ver', to a temporary dir. -# -# It prints a first pass at 'sources=' and the corresponding checksums. You -# need to copy/paste these into the APKBUILD yourself. Ensure tabs!!! -# - -## -# Only run from this directory. -# -test -f APKBUILD || exit 1; -. ./APKBUILD - -## -# Mirror (note: not invisible-island, related). -# -m=https://invisible-mirror.net/archives/ncurses - -## -# Parse the HTML from directory index to determine available patches. -# -p=$(curl -s ${m}/${pkgver}/ \ - | grep -oE '[0-9]{8}\.patch' `# 8-digit date` \ - | sort \ - | uniq \ - | awk "\$1 <= ${_ver} + 1" `# exclude newly-available patches` \ - | awk "{print \"${m}/${pkgver}/${pkgname}-${pkgver}-\"\$1\".gz\"}" -); - -d=$(mktemp -d); -cd ${d}; - -## -# Download "base" tarball. -# -s=${m}/${pkgname}-${pkgver}.tar.gz; -curl -sq -O ${s}; - -## -# Generate 'source=', extracting patches along the way. -# -printf "source=\"%s\n" "${s}"; -for k in ${p}; do - curl -sq -O ${k}; - gzip -d ${k##*/}; - _k=${k##*/}; - printf "\t%s\n" "${_k%.*}"; -done -printf "\t\"\n"; - -## -# Checksums. -# -sha512sum $(find . -type f -print | cut -d/ -f2- | sort); -rm "${s##*/}"; - -## -# Cleanup. -# -printf "\n"; -printf "YOU MUST COPY THE PATCHES FROM '%s' (and delete that dir after)!\n" "${d}"; |