summaryrefslogtreecommitdiff
path: root/Ports/nano
diff options
context:
space:
mode:
authorEWouters <6179932+EWouters@users.noreply.github.com>2022-06-07 14:04:08 +0200
committerLinus Groh <mail@linusgroh.de>2022-06-08 11:40:31 +0100
commit6d1ec983a45643117d17ef4667cc993ed8fc915b (patch)
tree22ebf77f84d77c68b0b26e6ed880e6d9773ad009 /Ports/nano
parent2714e58b520c22ed834a825bf024be8f92b3da97 (diff)
downloadserenity-6d1ec983a45643117d17ef4667cc993ed8fc915b.zip
Ports/nano: Use sha256 to check the downloaded file
Diffstat (limited to 'Ports/nano')
-rwxr-xr-xPorts/nano/package.sh11
1 files changed, 4 insertions, 7 deletions
diff --git a/Ports/nano/package.sh b/Ports/nano/package.sh
index 1f71762ca7..def1d9e63a 100755
--- a/Ports/nano/package.sh
+++ b/Ports/nano/package.sh
@@ -1,14 +1,11 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='nano'
version='6.3'
-useconfigure="true"
-use_fresh_config_sub=true
-files="https://www.nano-editor.org/dist/v6/nano-${version}.tar.xz nano-${version}.tar.xz
-https://www.nano-editor.org/dist/v6/nano-${version}.tar.xz.asc nano-${version}.tar.xz.asc"
+files="https://www.nano-editor.org/dist/v6/nano-${version}.tar.xz nano-${version}.tar.xz eb532da4985672730b500f685dbaab885a466d08fbbf7415832b95805e6f8687"
+auth_type='sha256'
+useconfigure='true'
+use_fresh_config_sub='true'
configopts=("--target=${SERENITY_ARCH}-pc-serenity" "--disable-browser" "--disable-utf8")
depends=("ncurses")
-auth_type="sig"
-auth_import_key="BFD009061E535052AD0DF2150D28D4D2A0ACE884"
-auth_opts=("nano-${version}.tar.xz.asc" "nano-${version}.tar.xz")
export PKG_CONFIG_PATH="${SERENITY_INSTALL_ROOT}/usr/local/lib/pkgconfig"