diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index 19d957f5e6f..ad507c00a40 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -161,7 +161,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n | [`npth`](npth/) | New GNU Portable Threads Library | 1.6 | https://gnupg.org/software/npth/index.html | | [`ntbtls`](ntbtls/) | The Not Too Bad TLS Library | 0.2.0 | https://gnupg.org/software/ntbtls/index.html | | [`nyancat`](nyancat/) | Nyancat | | https://github.com/klange/nyancat | -| [`oksh`](oksh/) | oksh | 7.0 | https://github.com/ibara/oksh | +| [`oksh`](oksh/) | oksh | 7.1 | https://github.com/ibara/oksh | | [`openssh`](openssh/) | OpenSSH | 9.0-94eb685 | https://github.com/openssh/openssh-portable | | [`openssl`](openssl/) | OpenSSL | 1.1.1o | https://www.openssl.org/ | | [`openttd`](openttd/) | OpenTTD | 12.2 | https://www.openttd.org/ | diff --git a/Ports/oksh/package.sh b/Ports/oksh/package.sh index 8cf138ab426..e094797d441 100755 --- a/Ports/oksh/package.sh +++ b/Ports/oksh/package.sh @@ -1,20 +1,18 @@ #!/usr/bin/env -S bash ../.port_include.sh -port=oksh -useconfigure=true -version=7.0 +port='oksh' +version='7.1' +files="https://github.com/ibara/oksh/releases/download/oksh-${version}/oksh-${version}.tar.gz oksh-${version}.tar.gz 9dc0b0578d9d64d10c834f9757ca11f526b562bc5454da64b2cb270122f52064" +auth_type='sha256' +useconfigure='true' depends=("ncurses") -workdir=oksh-${version} -files="https://github.com/ibara/oksh/releases/download/oksh-${version}/oksh-${version}.tar.gz oksh-${version}.tar.gz 21d5891f38ffea3a5d1aa8c494f0a5579c93778535e0a92275b102dec3221da1" -auth_type=sha256 -export CPPFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/ncurses" +export LDFLAGS='-lncurses' configure() { - export CFLAGS="" - export LDFLAGS="-lncurses" run ./configure --no-thanks } install() { - run cp oksh "${SERENITY_INSTALL_ROOT}/bin" + run mkdir -p "${SERENITY_INSTALL_ROOT}/usr/local/bin" + run cp oksh "${SERENITY_INSTALL_ROOT}/usr/local/bin" }