diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index ab438ca624..67f75c9c4d 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -17,6 +17,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^ | [`cmatrix`](cmatrix/) | cmatrix | | https://github.com/abishekvashok/cmatrix | | [`curl`](curl/) | curl | 7.65.3 | https://curl.se/ | | [`dash`](dash/) | DASH | 0.5.10.2 | http://gondor.apana.org.au/~herbert/dash | +| [`dialog`](dialog/) | Dialog | 1.3-20210324 | https://invisible-island.net/dialog/ | | [`diffutils`](diffutils/) | GNU Diffutils | 3.5 | https://www.gnu.org/software/diffutils/ | | [`dmidecode`](dmidecode/) | dmidecode | 3.3 | https://github.com/mirror/dmidecode | | [`doom`](doom/) | DOOM | | https://github.com/SerenityOS/SerenityDOOM | diff --git a/Ports/dialog/package.sh b/Ports/dialog/package.sh new file mode 100755 index 0000000000..c4e921ffed --- /dev/null +++ b/Ports/dialog/package.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env -S bash ../.port_include.sh +port=dialog +version=1.3-20210324 +depends="ncurses" +files="https://invisible-mirror.net/archives/dialog/dialog-${version}.tgz dialog-${version}.tgz +https://invisible-mirror.net/archives/dialog/dialog-${version}.tgz.asc dialog-${version}.tgz.asc" +auth_type="sig" +auth_import_key="C52048C0C0748FEE227D47A2702353E0F7E48EDB" +auth_opts="dialog-${version}.tgz.asc dialog-${version}.tgz" +useconfigure=true +configopts="--prefix=/usr/local --with-ncurses --with-curses-dir=${SERENITY_ROOT}/Build/i686/Root/usr/local/include/ncurses" diff --git a/Ports/dialog/patches/config.sub.patch b/Ports/dialog/patches/config.sub.patch new file mode 100644 index 0000000000..88de27901f --- /dev/null +++ b/Ports/dialog/patches/config.sub.patch @@ -0,0 +1,10 @@ +--- dialog-1.3-20210324/config.sub 2020-08-16 20:36:41.000000000 -0700 ++++ dialog-1.3-20210324/config.sub 2021-04-11 20:15:18.580516177 -0700 +@@ -1693,6 +1693,7 @@ + # The portable systems comes first. + # Each alternative MUST end in a * to match a version number. + gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* \ ++ | serenity* \ + | *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \ + | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \ + | sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \