diff options
author | Fabian Dellwing <fabian.dellwing@gmail.com> | 2023-05-12 11:11:05 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-05-13 07:53:58 +0200 |
commit | 4093952a6ef7b8aedea4bca2abe8d009356cae66 (patch) | |
tree | ad0f25b91bf12d4a4fc4d82f9d70bedc40acbba1 | |
parent | 960822ef7447eda9810ffa75b72d02a000ea5a4a (diff) | |
download | serenity-4093952a6ef7b8aedea4bca2abe8d009356cae66.zip |
Ports: Update and fix nethack
This update fixes the broken build on newer (Ubuntu) systems.
It also contains a security fix.
-rw-r--r-- | Ports/AvailablePorts.md | 2 | ||||
-rwxr-xr-x | Ports/nethack/package.sh | 15 |
2 files changed, 10 insertions, 7 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index aa3d9d0ea2..efde20933e 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -188,7 +188,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n | [`ncurses`](ncurses/) | ncurses | 6.3 | https://invisible-island.net/ncurses/announce.html | | [`neofetch`](neofetch/) | neofetch | 7.1.0 | https://github.com/dylanaraps/neofetch | | [`nesalizer`](nesalizer/) | Nesalizer | 5bb0458 | https://github.com/ulfalizer/nesalizer | -| [`nethack`](nethack/) | nethack | 3.6.6 | https://www.nethack.org/ | +| [`nethack`](nethack/) | nethack | 3.6.7 | https://www.nethack.org/ | | [`ninja`](ninja/) | Ninja | 1.11.0 | https://ninja-build.org/ | | [`nippon`](nippon/) | Nippon Safes Inc. | 1.0 | https://www.scummvm.org/games/#games-nippon | | [`nlohmann-json`](nlohmann-json/) | JSON for Modern C++ | 3.11.2 | https://json.nlohmann.me/ | diff --git a/Ports/nethack/package.sh b/Ports/nethack/package.sh index 4dd844a7e7..16fc2cc5e6 100755 --- a/Ports/nethack/package.sh +++ b/Ports/nethack/package.sh @@ -1,10 +1,13 @@ #!/usr/bin/env -S bash ../.port_include.sh -port=nethack -version=3.6.6 -workdir=NetHack-NetHack-${version}_Released -files="https://www.nethack.org/download/${version}/nethack-${version//.}-src.tgz nethack-${version//.}-src.tgz cfde0c3ab6dd7c22ae82e1e5a59ab80152304eb23fb06e3129439271e5643ed2" -auth_type=sha256 -depends=("ncurses" "bash") +port='nethack' +version='3.6.7' +workdir="NetHack-${version}" +files="https://www.nethack.org/download/${version}/nethack-${version//.}-src.tgz nethack-${version//.}-src.tgz 98cf67df6debf9668a61745aa84c09bcab362e5d33f5b944ec5155d44d2aacb2" +auth_type='sha256' +depends=( + 'ncurses' + 'bash' +) build() { run sys/unix/setup.sh sys/unix/hints/serenity |