diff options
author | Tim Schumacher <timschumi@gmx.de> | 2021-06-02 21:19:41 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-16 16:42:40 +0200 |
commit | dda216c3340ece9f01606c20c92e9aa454f387d0 (patch) | |
tree | 2d6bba28e13cf6134ebe05c156031306d753738c /Ports/gawk | |
parent | a1617faf44b97141c93626eddae8c690bcb7dca9 (diff) | |
download | serenity-dda216c3340ece9f01606c20c92e9aa454f387d0.zip |
Ports: Add a gawk port
Diffstat (limited to 'Ports/gawk')
-rwxr-xr-x | Ports/gawk/package.sh | 9 | ||||
-rw-r--r-- | Ports/gawk/patches/configure.patch | 24 |
2 files changed, 33 insertions, 0 deletions
diff --git a/Ports/gawk/package.sh b/Ports/gawk/package.sh new file mode 100755 index 0000000000..0f69de02de --- /dev/null +++ b/Ports/gawk/package.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env -S bash ../.port_include.sh +port=gawk +version=5.1.0 +useconfigure="true" +files="https://ftpmirror.gnu.org/gnu/gawk/gawk-${version}.tar.gz gawk-${version}.tar.gz +https://ftpmirror.gnu.org/gnu/gawk/gawk-${version}.tar.gz.sig gawk-${version}.tar.gz.sig +https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg" +auth_type="sig" +auth_opts="--keyring ./gnu-keyring.gpg gawk-${version}.tar.gz.sig" diff --git a/Ports/gawk/patches/configure.patch b/Ports/gawk/patches/configure.patch new file mode 100644 index 0000000000..63d0612b17 --- /dev/null +++ b/Ports/gawk/patches/configure.patch @@ -0,0 +1,24 @@ +diff -ur a/config.sub b/config.sub +--- a/config.sub 2020-04-13 08:44:50.000000000 +0200 ++++ b/config.sub 2021-06-02 14:46:39.331046420 +0200 +@@ -1338,7 +1338,7 @@ + # The portable systems comes first. + # Each alternative MUST end in a * to match a version number. + # sysv* is not here because it comes later, after sysvr4. +- gnu* | bsd* | mach* | minix* | genix* | ultrix* | irix* \ ++ gnu* | bsd* | mach* | minix* | genix* | ultrix* | serenity* | irix* \ + | *vms* | esix* | aix* | cnk* | sunos | sunos[34]*\ + | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \ + | sym* | kopensolaris* | plan9* \ +diff -ur a/extension/build-aux/config.sub b/extension/build-aux/config.sub +--- a/extension/build-aux/config.sub 2020-04-13 08:44:50.000000000 +0200 ++++ b/extension/build-aux/config.sub 2021-06-02 14:46:39.331046420 +0200 +@@ -1338,7 +1338,7 @@ + # The portable systems comes first. + # Each alternative MUST end in a * to match a version number. + # sysv* is not here because it comes later, after sysvr4. +- gnu* | bsd* | mach* | minix* | genix* | ultrix* | irix* \ ++ gnu* | bsd* | mach* | minix* | genix* | ultrix* | serenity* | irix* \ + | *vms* | esix* | aix* | cnk* | sunos | sunos[34]*\ + | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \ + | sym* | kopensolaris* | plan9* \ |