summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2022-03-29 02:54:50 +0200
committerAndreas Kling <kling@serenityos.org>2022-04-03 19:15:14 +0200
commitde7aa806690e2b610041a7641b84db2b16a8944a (patch)
tree2d8a2cf15f8e4643ec3732f39dfb7cdc7bf36f8c /Ports
parent4ba39c8d6386989c4b7b51bbda409092fad4cd63 (diff)
downloadserenity-de7aa806690e2b610041a7641b84db2b16a8944a.zip
Ports: Add GNU core utilities
Diffstat (limited to 'Ports')
-rw-r--r--Ports/AvailablePorts.md1
-rwxr-xr-xPorts/coreutils/package.sh11
2 files changed, 12 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index 2cff0cacd9..22d8a6afb3 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -25,6 +25,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`cmake`](cmake/) | CMake | 3.23.0 | https://cmake.org/ |
| [`cmatrix`](cmatrix/) | cmatrix | 3112b12 | https://github.com/abishekvashok/cmatrix |
| [`composer`](composer/) | Composer | 2.1.3 | https://getcomposer.org/ |
+| [`coreutils`](coreutils/) | GNU core utilities | 9.0 | https://www.gnu.org/software/coreutils/ |
| [`cfunge`](cfunge/) | cfunge | 2bc4fb2 | https://github.com/VorpalBlade/cfunge/ |
| [`curl`](curl/) | curl | 7.82.0 | https://curl.se/ |
| [`dash`](dash/) | DASH | 0.5.10.2 | http://gondor.apana.org.au/~herbert/dash |
diff --git a/Ports/coreutils/package.sh b/Ports/coreutils/package.sh
new file mode 100755
index 0000000000..c486695dd1
--- /dev/null
+++ b/Ports/coreutils/package.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+port=coreutils
+version=9.0
+useconfigure="true"
+use_fresh_config_sub="true"
+config_sub_path=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")