Ports: Update and fix nethack

This update fixes the broken build on newer (Ubuntu) systems.

It also contains a security fix.
This commit is contained in:
Fabian Dellwing 2023-05-12 11:11:05 +02:00 committed by Andreas Kling
parent 960822ef74
commit 4093952a6e
Notes: sideshowbarker 2024-07-17 02:08:15 +09:00
2 changed files with 10 additions and 7 deletions

View file

@ -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/ |

View file

@ -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