Skip to content

Commit

Permalink
Ports/ntbtls: Update ntbtls to version 0.3.1
Browse files Browse the repository at this point in the history
This also sets the sysroot to to allow it to find libgpg-error when
building with Clang.
  • Loading branch information
EWouters authored and gmta committed Oct 12, 2023
1 parent 9ca3ef6 commit 37bf6ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Ports/AvailablePorts.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`nnn`](nnn/) | nnn file manager | 4.8 | https://github.com/jarun/nnn |
| [`npiet`](npiet/) | Piet language interpreter | 1.3f | https://www.bertnase.de/npiet/ |
| [`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 |
| [`ntbtls`](ntbtls/) | The Not Too Bad TLS Library | 0.3.1 | https://gnupg.org/software/ntbtls/index.html |
| [`nyancat`](nyancat/) | Nyancat | | https://github.com/klange/nyancat |
| [`ObjFW`](ObjFW/) | ObjFW | 2903ecd | https://objfw.nil.im/ |
| [`oksh`](oksh/) | oksh | 7.1 | https://github.com/ibara/oksh |
Expand Down
5 changes: 3 additions & 2 deletions Ports/ntbtls/package.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='ntbtls'
version='0.2.0'
version='0.3.1'
useconfigure='true'
use_fresh_config_sub='true'
config_sub_paths=(
Expand All @@ -13,7 +13,7 @@ depends=(
'zlib'
)
files=(
"https://gnupg.org/ftp/gcrypt/ntbtls/ntbtls-${version}.tar.bz2#649fe74a311d13e43b16b26ebaa91665ddb632925b73902592eac3ed30519e17"
"https://gnupg.org/ftp/gcrypt/ntbtls/ntbtls-${version}.tar.bz2#8922181fef523b77b71625e562e4d69532278eabbd18bc74579dbe14135729ba"
)

pre_configure() {
Expand All @@ -26,6 +26,7 @@ configure() {
--build="$("${workdir}/build-aux/config.guess")" \
--with-libgcrypt-prefix="${SERENITY_INSTALL_ROOT}/usr/local" \
--with-libgpg-error-prefix="${SERENITY_INSTALL_ROOT}/usr/local" \
--with-sysroot="${SERENITY_INSTALL_ROOT}" \
--with-ksba-prefix="${SERENITY_INSTALL_ROOT}/usr/local"
# It's documented as "--with-libksba-prefix" (note the "lib"), but if it is set it is
# immediately overwritten by whatever is given through "--with-ksba-prefix",
Expand Down

0 comments on commit 37bf6ad

Please sign in to comment.