summaryrefslogtreecommitdiff
path: root/Ports/dos2unix/package.sh
diff options
context:
space:
mode:
authorNathan Ell <nathanjamesell@gmail.com>2021-12-08 19:26:05 -0700
committerAndreas Kling <kling@serenityos.org>2021-12-09 09:48:43 +0100
commita1580a1d008753df3bf83bf6ac8b58ddba46d0a5 (patch)
tree15b8a44b48af66deeca5881429cfe29ff9583a4c /Ports/dos2unix/package.sh
parentaa5f130c849cb3f96246417c3f37597ffad47707 (diff)
downloadserenity-a1580a1d008753df3bf83bf6ac8b58ddba46d0a5.zip
dos2unix: Swap to official signature validation
In the initial port of dos2unix, there was a miss in the validation of the files. Let's switch to the original author's official signed verification of the source :^)
Diffstat (limited to 'Ports/dos2unix/package.sh')
-rwxr-xr-xPorts/dos2unix/package.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/Ports/dos2unix/package.sh b/Ports/dos2unix/package.sh
index 9eb377e9a3..ee284affeb 100755
--- a/Ports/dos2unix/package.sh
+++ b/Ports/dos2unix/package.sh
@@ -2,6 +2,9 @@
port=dos2unix
version=7.4.2
workdir="${port}-${version}"
-files="https://waterlan.home.xs4all.nl/dos2unix/dos2unix-${version}.tar.gz ${port}-${version}.tar.gz 6035c58df6ea2832e868b599dfa0d60ad41ca3ecc8aa27822c4b7a9789d3ae01"
+files="https://waterlan.home.xs4all.nl/dos2unix/dos2unix-${version}.tar.gz ${port}-${version}.tar.gz
+https://waterlan.home.xs4all.nl/dos2unix/dos2unix-7.4.2.tar.gz.asc ${port}-${version}.tar.gz.asc"
depends=("gettext")
-auth_type=sha256
+auth_type=sig
+auth_import_key="f8f1bea490496a09cca328cc38c1f572b12725be"
+auth_opts=("${port}-${version}.tar.gz.asc" "${port}-${version}.tar.gz")