summaryrefslogtreecommitdiff
path: root/Ports/binutils/package.sh
diff options
context:
space:
mode:
authorEmanuel Sprung <emanuel.sprung@gmail.com>2020-02-04 01:11:35 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-06 14:06:23 +0100
commitf46d80ac4fc2d9c4d3da9baf5515d2af9c577596 (patch)
tree2e0ad4da9691ebb725851756ac7f670309f1c17c /Ports/binutils/package.sh
parent991953ab0a957484ca1333de466374952381d1b2 (diff)
downloadserenity-f46d80ac4fc2d9c4d3da9baf5515d2af9c577596.zip
Ports: Added checksums / signature files and other fixes
* Use ${version} instead of explicit version numbers in urls/filenames * Move -L option to port script, as this is always good * Fix some various other stuff
Diffstat (limited to 'Ports/binutils/package.sh')
-rwxr-xr-xPorts/binutils/package.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/Ports/binutils/package.sh b/Ports/binutils/package.sh
index 7bd21d6dd8..27d443198e 100755
--- a/Ports/binutils/package.sh
+++ b/Ports/binutils/package.sh
@@ -3,4 +3,8 @@ port=binutils
version=2.32
useconfigure=true
configopts="--target=i686-pc-serenity --with-sysroot=/ --with-build-sysroot=$SERENITY_ROOT/Root --disable-werror --disable-gdb --disable-nls"
-files="https://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.xz binutils-2.32.tar.xz"
+files="https://ftp.gnu.org/gnu/binutils/binutils-${version}.tar.xz binutils-${version}.tar.xz
+https://ftp.gnu.org/gnu/binutils/binutils-${version}.tar.xz.sig binutils-${version}.tar.xz.sig
+https://ftp.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
+auth_type="sig"
+auth_opts="--keyring ./gnu-keyring.gpg binutils-${version}.tar.xz.sig"