Ports: Migrate remaining signature-based ports to sha256

This commit is contained in:
Tim Schumacher 2023-07-10 11:49:01 +02:00 committed by Linus Groh
parent e0b2757f95
commit f7ccdc268d
25 changed files with 49 additions and 129 deletions

View file

@ -1,9 +1,6 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=byacc
version=20220128
files="https://invisible-mirror.net/archives/byacc/byacc-${version}.tgz byacc-${version}.tgz
https://invisible-mirror.net/archives/byacc/byacc-${version}.tgz.asc byacc-${version}.tgz.asc"
files="https://invisible-mirror.net/archives/byacc/byacc-${version}.tgz byacc-${version}.tgz 42c1805cc529314e6a76326fe1b33e80c70862a44b01474da362e2f7db2d749c"
useconfigure=true
auth_type="sig"
auth_import_key="19882D92DDA4C400C22C0D56CC2AF4472167BE03"
auth_opts=("byacc-${version}.tgz.asc" "byacc-${version}.tgz")
auth_type='sha256'

View file

@ -4,11 +4,8 @@ version=9.1
useconfigure="true"
use_fresh_config_sub="true"
config_sub_paths=("build-aux/config.sub")
files="https://ftpmirror.gnu.org/gnu/coreutils/coreutils-${version}.tar.gz coreutils-${version}.tar.gz
https://ftpmirror.gnu.org/gnu/coreutils/coreutils-${version}.tar.gz.sig coreutils-${version}.tar.gz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type="sig"
auth_opts=("--keyring" "./gnu-keyring.gpg" "coreutils-${version}.tar.gz.sig")
files="https://ftpmirror.gnu.org/gnu/coreutils/coreutils-${version}.tar.gz coreutils-${version}.tar.gz 6055df9268603e8239a5c9c1d64cb25b9a992530df66e33b8d78a660edb37b35"
auth_type='sha256'
# Exclude some non-working utilities:
# - arch, coreutils, and hostname are already excluded in the default configuration

View file

@ -2,9 +2,6 @@
port=dos2unix
version=7.5.0
workdir="${port}-${version}"
files="https://waterlan.home.xs4all.nl/dos2unix/dos2unix-${version}.tar.gz ${port}-${version}.tar.gz
https://waterlan.home.xs4all.nl/dos2unix/dos2unix-${version}.tar.gz.asc ${port}-${version}.tar.gz.asc"
files="https://waterlan.home.xs4all.nl/dos2unix/dos2unix-${version}.tar.gz ${port}-${version}.tar.gz 7a3b01d01e214d62c2b3e04c3a92e0ddc728a385566e4c0356efa66fd6eb95af"
depends=("gettext")
auth_type=sig
auth_import_key="f8f1bea490496a09cca328cc38c1f572b12725be"
auth_opts=("${port}-${version}.tar.gz.asc" "${port}-${version}.tar.gz")
auth_type='sha256'

View file

@ -1,11 +1,8 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=ed
version=1.18
files="https://ftpmirror.gnu.org/gnu/ed/ed-${version}.tar.lz ed-${version}.tar.lz
https://ftpmirror.gnu.org/gnu/ed/ed-${version}.tar.lz.sig ed-${version}.tar.lz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type="sig"
auth_opts=("--keyring" "./gnu-keyring.gpg" "ed-${version}.tar.lz.sig")
files="https://ftpmirror.gnu.org/gnu/ed/ed-${version}.tar.lz ed-${version}.tar.lz aca8efad9800c587724a20b97aa8fc47e6b5a47df81606feaba831b074462b4f"
auth_type='sha256'
useconfigure=true
depends=("pcre2")

View file

@ -1,13 +1,10 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=flex
version=2.6.4
files="https://github.com/westes/flex/releases/download/v${version}/flex-${version}.tar.gz flex-${version}.tar.gz
https://github.com/westes/flex/releases/download/v${version}/flex-${version}.tar.gz.sig flex-${version}.tar.gz.sig"
files="https://github.com/westes/flex/releases/download/v${version}/flex-${version}.tar.gz flex-${version}.tar.gz e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995"
useconfigure=true
use_fresh_config_sub=true
config_sub_paths=("build-aux/config.sub")
configopts=("--disable-bootstrap")
depends=("m4" "pcre2")
auth_type="sig"
auth_import_key="E4B29C8D64885307"
auth_opts=("flex-${version}.tar.gz.sig")
auth_type='sha256'

View file

@ -6,12 +6,9 @@ use_fresh_config_sub="true"
config_sub_paths=("autotools/config.sub")
depends=("SDL2" "SDL2_image" "SDL2_mixer" "SDL2_ttf" "SDL2_gfx" "gettext" "fontconfig" "glm")
freedink_data="freedink-data-1.08.20190120"
files="https://ftpmirror.gnu.org/gnu/freedink/freedink-${version}.tar.gz freedink-${version}.tar.gz
https://ftpmirror.gnu.org/gnu/freedink/freedink-${version}.tar.gz.sig freedink-${version}.tar.gz.sig
https://ftpmirror.gnu.org/gnu/freedink/${freedink_data}.tar.gz ${freedink_data}.tar.gz 715f44773b05b73a9ec9b62b0e152f3f281be1a1512fbaaa386176da94cffb9d
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type="sig"
auth_opts=("--keyring" "./gnu-keyring.gpg" "freedink-${version}.tar.gz.sig")
files="https://ftpmirror.gnu.org/gnu/freedink/freedink-${version}.tar.gz freedink-${version}.tar.gz 5e0b35ac8f46d7bb87e656efd5f9c7c2ac1a6c519a908fc5b581e52657981002
https://ftpmirror.gnu.org/gnu/freedink/${freedink_data}.tar.gz ${freedink_data}.tar.gz 715f44773b05b73a9ec9b62b0e152f3f281be1a1512fbaaa386176da94cffb9d"
auth_type='sha256'
configopts=("--prefix=/usr/local" "--disable-rpath" "--disable-tests" "LDFLAGS=-ldl -lfontconfig -lxml2")
resource_path="/usr/local/share/games/dink"

View file

@ -2,8 +2,5 @@
port=gawk
version=5.2.1
useconfigure="true"
files="https://ftpmirror.gnu.org/gnu/gawk/gawk-${version}.tar.gz gawk-${version}.tar.gz
https://ftpmirror.gnu.org/gnu/gawk/gawk-${version}.tar.gz.sig gawk-${version}.tar.gz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type="sig"
auth_opts=("--keyring" "./gnu-keyring.gpg" "gawk-${version}.tar.gz.sig")
files="https://ftpmirror.gnu.org/gnu/gawk/gawk-${version}.tar.gz gawk-${version}.tar.gz 529e7c8c6acf21ff3a6183f4d763c632810908989c24675c77995d51ac37b79c"
auth_type='sha256'

View file

@ -2,8 +2,4 @@
port=gmp
version=6.2.1
useconfigure="true"
files="https://ftpmirror.gnu.org/gnu/gmp/gmp-${version}.tar.bz2 gmp-${version}.tar.bz2
https://ftpmirror.gnu.org/gnu/gmp/gmp-${version}.tar.bz2.sig gmp-${version}.tar.bz2.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type="sig"
auth_opts=("--keyring" "./gnu-keyring.gpg" "gmp-${version}.tar.bz2.sig")
files="https://ftpmirror.gnu.org/gnu/gmp/gmp-${version}.tar.bz2 gmp-${version}.tar.bz2 eae9326beb4158c386e39a356818031bd28f3124cf915f8c5b1dc4c7a36b4d7c"

View file

@ -5,11 +5,8 @@ useconfigure="true"
use_fresh_config_sub="true"
config_sub_paths=("build_aux/config.sub")
depends=("gmp" "gcc" "bash" "ncurses")
files="https://ftpmirror.gnu.org/gnu/gnucobol/gnucobol-${version}.tar.bz2 gnucobol-${version}.tar.bz2
https://ftpmirror.gnu.org/gnu/gnucobol/gnucobol-${version}.tar.bz2.sig gnucobol-${version}.tar.bz2.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type="sig"
auth_opts=("--keyring" "./gnu-keyring.gpg" "gnucobol-${version}.tar.bz2.sig")
files="https://ftpmirror.gnu.org/gnu/gnucobol/gnucobol-${version}.tar.bz2 gnucobol-${version}.tar.bz2 11181da708dbe65c7d047baadafb4bd49d5cde9b603bec0c842576a84e293fd5"
auth_type='sha256'
configopts=(
"--with-sysroot=${SERENITY_INSTALL_ROOT}"
"--prefix=/usr/local"

View file

@ -3,9 +3,6 @@ port=gperf
version=3.1
useconfigure="true"
depends=()
files="https://ftpmirror.gnu.org/gnu/gperf/gperf-${version}.tar.gz gperf-${version}.tar.gz
https://ftpmirror.gnu.org/gnu/gperf/gperf-${version}.tar.gz.sig gperf-${version}.tar.gz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type="sig"
auth_opts=("--keyring" "./gnu-keyring.gpg" "gperf-${version}.tar.gz.sig")
files="https://ftpmirror.gnu.org/gnu/gperf/gperf-${version}.tar.gz gperf-${version}.tar.gz 588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2"
auth_type='sha256'
configopts=("--prefix=/usr/local")

View file

@ -1,11 +1,7 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='grep'
version='3.10'
files="https://ftpmirror.gnu.org/gnu/grep/grep-${version}.tar.gz grep-${version}.tar.gz
https://ftpmirror.gnu.org/gnu/grep/grep-${version}.tar.gz.sig grep-${version}.tar.gz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
files="https://ftpmirror.gnu.org/gnu/grep/grep-${version}.tar.gz grep-${version}.tar.gz de7b21d8e3348ea6569c6fd5734e90a31169ef62429ea3dce48a6fc1dd85d260"
useconfigure='true'
configopts=("--disable-perl-regexp")
auth_type='sig'
auth_opts=("--keyring" "./gnu-keyring.gpg" "grep-${version}.tar.gz.sig")
auth_type='sha256'

View file

@ -3,9 +3,6 @@
port=gsl
version=2.7.1
useconfigure=true
files="https://ftpmirror.gnu.org/gnu/gsl/gsl-${version}.tar.gz gsl-${version}.tar.gz
https://ftpmirror.gnu.org/gnu/gsl/gsl-${version}.tar.gz.sig gsl-${version}.tar.gz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type=sig
auth_opts=("--keyring" "./gnu-keyring.gpg" "gsl-${version}.tar.gz.sig")
files="https://ftpmirror.gnu.org/gnu/gsl/gsl-${version}.tar.gz gsl-${version}.tar.gz dcb0fbd43048832b757ff9942691a8dd70026d5da0ff85601e52687f6deeb34b"
auth_type='sha256'
use_fresh_config_sub=true

View file

@ -1,14 +1,11 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=indent
version=2.2.11
files="https://ftpmirror.gnu.org/gnu/indent/indent-${version}.tar.gz indent-${version}.tar.gz
https://ftpmirror.gnu.org/gnu/indent/indent-${version}.tar.gz.sig indent-${version}.tar.gz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
files="https://ftpmirror.gnu.org/gnu/indent/indent-${version}.tar.gz indent-${version}.tar.gz aaff60ce4d255efb985f0eb78cca4d1ad766c6e051666073050656b6753a0893"
auth_type='sha256'
useconfigure=true
use_fresh_config_sub=true
config_sub_paths=("config/config.sub")
auth_type="sig"
auth_opts=("--keyring" "./gnu-keyring.gpg" "indent-${version}.tar.gz.sig")
post_install() {
man_dir="${SERENITY_INSTALL_ROOT}/usr/local/share/man/man1/"

View file

@ -2,13 +2,9 @@
port=less
version=590
useconfigure="true"
files="https://ftpmirror.gnu.org/gnu/less/less-${version}.tar.gz less-${version}.tar.gz
https://ftpmirror.gnu.org/gnu/less/less-${version}.tar.gz.sig less-${version}.tar.gz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
files="https://ftpmirror.gnu.org/gnu/less/less-${version}.tar.gz less-${version}.tar.gz 6aadf54be8bf57d0e2999a3c5d67b1de63808bb90deb8f77b028eafae3a08e10"
depends=("ncurses")
auth_type="sig"
auth_opts=("--keyring" "./gnu-keyring.gpg" "less-${version}.tar.gz.sig")
auth_type='sha256'
post_configure() {
run_replace_in_file "s/#define HAVE_WCTYPE 1/\/* #undef HAVE_WCTYPE *\//" defines.h

View file

@ -5,11 +5,8 @@ useconfigure=true
use_fresh_config_sub=true
config_sub_paths=("build/autoconf/config.sub")
configopts=("--without-xml2")
files="https://libarchive.org/downloads/libarchive-${version}.tar.gz libarchive-${version}.tar.gz
https://libarchive.org/downloads/libarchive-${version}.tar.gz.asc libarchive-${version}.tar.gz.asc"
files="https://libarchive.org/downloads/libarchive-${version}.tar.gz libarchive-${version}.tar.gz c676146577d989189940f1959d9e3980d28513d74eedfbc6b7f15ea45fe54ee2"
depends=("zlib" "pcre")
auth_type="sig"
auth_import_key="A5A45B12AD92D964B89EEE2DEC560C81CEC2276E"
auth_opts=("libarchive-${version}.tar.gz.asc" "libarchive-${version}.tar.gz")
auth_type='sha256'
export ac_cv_header_regex_h=no

View file

@ -4,9 +4,6 @@ version=2.4.8
useconfigure=true
use_fresh_config_sub=true
config_sub_paths=("conftools/config.sub")
files="https://github.com/libexpat/libexpat/releases/download/R_${version//./_}/expat-${version}.tar.xz expat-${version}.tar.xz
https://github.com/libexpat/libexpat/releases/download/R_${version//./_}/expat-${version}.tar.xz.asc expat-${version}.tar.xz.asc"
files="https://github.com/libexpat/libexpat/releases/download/R_${version//./_}/expat-${version}.tar.xz expat-${version}.tar.xz f79b8f904b749e3e0d20afeadecf8249c55b2e32d4ebb089ae378df479dcaf25"
workdir=expat-${version}
auth_type="sig"
auth_import_key="CB8DE70A90CFBF6C3BF5CC5696262ACFFBD3AEC6"
auth_opts=("expat-${version}.tar.xz.asc" "expat-${version}.tar.xz")
auth_type='sha256'

View file

@ -2,12 +2,9 @@
port=libssh2
version=1.10.0
useconfigure=true
files="https://www.libssh2.org/download/libssh2-${version}.tar.gz libssh2-${version}.tar.gz
https://www.libssh2.org/download/libssh2-${version}.tar.gz.asc libssh2-${version}.tar.gz.asc"
files="https://www.libssh2.org/download/libssh2-${version}.tar.gz libssh2-${version}.tar.gz 2d64e90f3ded394b91d3a2e774ca203a4179f69aebee03003e5a6fa621e41d51"
depends=("libgcrypt")
auth_type="sig"
auth_import_key="27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2"
auth_opts=("libssh2-${version}.tar.gz.asc" "libssh2-${version}.tar.gz")
auth_type='sha256'
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-GNinja")
configure() {

View file

@ -5,11 +5,8 @@ useconfigure=true
use_fresh_config_sub=true
config_sub_paths=("build-aux/config.sub")
depends=("bash" "sed")
files="https://ftpmirror.gnu.org/gnu/libtool/libtool-${version}.tar.xz libtool-${version}.tar.xz
https://ftpmirror.gnu.org/gnu/libtool/libtool-${version}.tar.xz.sig libtool-${version}.tar.xz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type=sig
auth_opts=("--keyring" "./gnu-keyring.gpg" "libtool-${version}.tar.xz.sig")
files="https://ftpmirror.gnu.org/gnu/libtool/libtool-${version}.tar.xz libtool-${version}.tar.xz 4f7f217f057ce655ff22559ad221a0fd8ef84ad1fc5fcb6990cecc333aa1635d"
auth_type='sha256'
configopts=("--prefix=/usr/local")
post_install() {

View file

@ -4,9 +4,5 @@ version='4.4.1'
useconfigure='true'
use_fresh_config_sub='true'
config_sub_paths=("build-aux/config.sub")
files="https://ftpmirror.gnu.org/gnu/make/make-${version}.tar.gz make-${version}.tar.gz
https://ftpmirror.gnu.org/gnu/make/make-${version}.tar.gz.sig make-${version}.tar.gz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type="sig"
auth_opts=("--keyring" "./gnu-keyring.gpg" "make-${version}.tar.gz.sig")
files="https://ftpmirror.gnu.org/gnu/make/make-${version}.tar.gz make-${version}.tar.gz dd16fb1d67bfab79a72f5e8390735c49e3e8e70b4945a15ab1f81ddb78658fb3"
configopts=("--target=${SERENITY_ARCH}-pc-serenity" "--with-sysroot=/" "--without-guile")

View file

@ -1,13 +1,10 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=mawk
version=1.3.4-20200120
files="https://invisible-mirror.net/archives/mawk/mawk-${version}.tgz mawk-${version}.tgz
https://invisible-mirror.net/archives/mawk/mawk-${version}.tgz.asc mawk-${version}.tgz.asc"
files="https://invisible-mirror.net/archives/mawk/mawk-${version}.tgz mawk-${version}.tgz 7fd4cd1e1fae9290fe089171181bbc6291dfd9bca939ca804f0ddb851c8b8237"
useconfigure=true
use_fresh_config_sub=true
auth_type="sig"
auth_import_key="C52048C0C0748FEE227D47A2702353E0F7E48EDB"
auth_opts=("mawk-${version}.tgz.asc" "mawk-${version}.tgz")
auth_type='sha256'
post_install() {
ln -sf mawk "${SERENITY_INSTALL_ROOT}/usr/local/bin/awk"

View file

@ -5,9 +5,6 @@ useconfigure=true
use_fresh_config_sub=true
config_sub_paths=("build-aux/config.sub")
configopts=("--target=${SERENITY_ARCH}-pc-serenity" "--with-sysroot=${SERENITY_INSTALL_ROOT}")
files="https://ftpmirror.gnu.org/gnu/mpc/mpc-${version}.tar.gz mpc-${version}.tar.gz
https://ftpmirror.gnu.org/gnu/mpc/mpc-${version}.tar.gz.sig mpc-${version}.tar.gz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type="sig"
auth_opts=("--keyring" "./gnu-keyring.gpg" "mpc-${version}.tar.gz.sig")
files="https://ftpmirror.gnu.org/gnu/mpc/mpc-${version}.tar.gz mpc-${version}.tar.gz 17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459"
auth_type='sha256'
depends=("gmp" "mpfr")

View file

@ -4,9 +4,6 @@ version=4.1.0
useconfigure=true
use_fresh_config_sub=true
configopts=("--target=${SERENITY_ARCH}-pc-serenity" "--with-sysroot=/")
files="https://ftpmirror.gnu.org/gnu/mpfr/mpfr-${version}.tar.xz mpfr-${version}.tar.xz
https://ftpmirror.gnu.org/gnu/mpfr/mpfr-${version}.tar.xz.sig mpfr-${version}.tar.xz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type="sig"
auth_opts=("--keyring" "./gnu-keyring.gpg" "mpfr-${version}.tar.xz.sig")
files="https://ftpmirror.gnu.org/gnu/mpfr/mpfr-${version}.tar.xz mpfr-${version}.tar.xz 0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f"
auth_type='sha256'
depends=("gmp")

View file

@ -3,9 +3,5 @@ port=pcre
version=8.45
useconfigure=true
use_fresh_config_sub=true
files="https://downloads.sourceforge.net/project/pcre/pcre/${version}/pcre-${version}.tar.gz pcre-${version}.tar.gz
https://downloads.sourceforge.net/project/pcre/pcre/${version}/pcre-${version}.tar.gz.sig pcre-${version}.tar.gz.sig"
auth_type="sig"
auth_import_key="45F68D54BBE23FB3039B46E59766E084FB0F43D8"
auth_opts=("pcre-${version}.tar.gz.sig")
files="https://downloads.sourceforge.net/project/pcre/pcre/${version}/pcre-${version}.tar.gz pcre-${version}.tar.gz 4e6ce03e0336e8b4a3d6c2b70b1c5e18590a5673a98186da90d4f33c23defc09"
auth_type='sha256'

View file

@ -4,8 +4,5 @@ version=4.9
useconfigure="true"
use_fresh_config_sub="true"
config_sub_paths=("build-aux/config.sub")
files="https://ftpmirror.gnu.org/gnu/sed/sed-${version}.tar.gz sed-${version}.tar.gz
https://ftpmirror.gnu.org/gnu/sed/sed-${version}.tar.gz.sig sed-${version}.tar.gz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type="sig"
auth_opts=("--keyring" "./gnu-keyring.gpg" "sed-${version}.tar.gz.sig")
files="https://ftpmirror.gnu.org/gnu/sed/sed-${version}.tar.gz sed-${version}.tar.gz d1478a18f033a73ac16822901f6533d30b6be561bcbce46ffd7abce93602282e"
auth_type='sha256'

View file

@ -5,11 +5,8 @@ useconfigure="true"
use_fresh_config_sub=true
config_sub_paths=("build-aux/config.sub")
depends=("openssl")
files="https://ftpmirror.gnu.org/gnu/wget/wget-${version}.tar.gz wget-${version}.tar.gz
https://ftpmirror.gnu.org/gnu/wget/wget-${version}.tar.gz.sig wget-${version}.tar.gz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type="sig"
auth_opts=("--keyring" "./gnu-keyring.gpg" "wget-${version}.tar.gz.sig")
files="https://ftpmirror.gnu.org/gnu/wget/wget-${version}.tar.gz wget-${version}.tar.gz 5726bb8bc5ca0f6dc7110f6416e4bb7019e2d2ff5bf93d1ca2ffcc6656f220e5"
auth_type='sha256'
configopts=("--with-ssl=openssl" "--disable-ipv6")
export OPENSSL_LIBS="-lssl -lcrypto -ldl"