Ports/oksh: Update oksh to version 7.1

This commit is contained in:
EWouters 2022-06-03 18:52:21 +02:00 committed by Linus Groh
parent efa9b7d9a1
commit a25ab52ee7
Notes: sideshowbarker 2024-07-17 21:11:12 +09:00
2 changed files with 9 additions and 11 deletions

View file

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

View file

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