From e26d0a9c9f3bb8c84b55bfa63caabab315833c8c Mon Sep 17 00:00:00 2001 From: EWouters <6179932+EWouters@users.noreply.github.com> Date: Fri, 3 Jun 2022 20:25:41 +0200 Subject: Ports/pcre2: Use sha256 to check the downloaded file --- Ports/pcre2/package.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Ports/pcre2/package.sh b/Ports/pcre2/package.sh index 505d75bc14..202ed09b97 100755 --- a/Ports/pcre2/package.sh +++ b/Ports/pcre2/package.sh @@ -1,10 +1,6 @@ #!/usr/bin/env -S bash ../.port_include.sh port='pcre2' version='10.40' -useconfigure=true -files="https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${version}/pcre2-${version}.tar.gz pcre2-${version}.tar.gz -https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${version}/pcre2-${version}.tar.gz.sig pcre2-${version}.tar.gz.sig" - -auth_type="sig" -auth_import_key="45F68D54BBE23FB3039B46E59766E084FB0F43D8" -auth_opts=("pcre2-${version}.tar.gz.sig") +files="https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${version}/pcre2-${version}.tar.gz pcre2-${version}.tar.gz ded42661cab30ada2e72ebff9e725e745b4b16ce831993635136f2ef86177724" +auth_type='sha256' +useconfigure='true' -- cgit v1.2.3