From ae7d0f18ec1c620c7140c22fc43fa78d323fa7cf Mon Sep 17 00:00:00 2001 From: "Mr.UNIX" Date: Mon, 25 Dec 2023 12:39:10 +0100 Subject: [PATCH] Ports: Bump libssh2 to 1.11.0 --- Ports/AvailablePorts.md | 2 +- Ports/libssh2/package.sh | 4 ++-- .../0001-fix-missing-select.h-header.patch | 21 +++++++++++++++++++ Ports/libssh2/patches/ReadMe.md | 7 +++++++ 4 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 Ports/libssh2/patches/0001-fix-missing-select.h-header.patch create mode 100644 Ports/libssh2/patches/ReadMe.md diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index e724412a099..abe3f813367 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -173,7 +173,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n | [`libslirp`](libslirp/) | libslirp | 4.7.0 | https://gitlab.freedesktop.org/slirp/libslirp | | [`libsndfile`](libsndfile/) | libsndfile | 1.2.2 | https://libsndfile.github.io/libsndfile/ | | [`libsodium`](libsodium/) | libsodium | 1.0.18 | https://doc.libsodium.org/ | -| [`libssh2`](libssh2/) | libssh2 | 1.10.0 | https://www.libssh2.org/ | +| [`libssh2`](libssh2/) | libssh2 | 1.11.0 | https://www.libssh2.org/ | | [`libtheora`](libtheora/) | libtheora | 1.1.1 | https://www.theora.org/ | | [`libtiff`](libtiff/) | libtiff | 4.5.1 | http://www.libtiff.org/ | | [`libtool`](libtool/) | libtool | 2.4.7 | https://www.gnu.org/software/libtool/ | diff --git a/Ports/libssh2/package.sh b/Ports/libssh2/package.sh index 09375391890..4fea405db17 100755 --- a/Ports/libssh2/package.sh +++ b/Ports/libssh2/package.sh @@ -1,9 +1,9 @@ #!/usr/bin/env -S bash ../.port_include.sh port='libssh2' -version='1.10.0' +version='1.11.0' useconfigure='true' files=( - "https://www.libssh2.org/download/libssh2-${version}.tar.gz#2d64e90f3ded394b91d3a2e774ca203a4179f69aebee03003e5a6fa621e41d51" + "https://www.libssh2.org/download/libssh2-${version}.tar.gz#3736161e41e2693324deb38c26cfdc3efe6209d634ba4258db1cecff6a5ad461" ) depends=( 'openssl' diff --git a/Ports/libssh2/patches/0001-fix-missing-select.h-header.patch b/Ports/libssh2/patches/0001-fix-missing-select.h-header.patch new file mode 100644 index 00000000000..97026ea02a4 --- /dev/null +++ b/Ports/libssh2/patches/0001-fix-missing-select.h-header.patch @@ -0,0 +1,21 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: "Mr.UNIX" +Date: Mon, 25 Dec 2023 12:17:14 +0100 +Subject: [PATCH] fix-missing-select.h-header + +--- + include/libssh2.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/libssh2.h b/include/libssh2.h +index 97ac5898fa9feed41ef6ecf018854c87a075986f..eb5c40ce7bb19ee70d0b88154ef37f2ebaf6d18d 100644 +--- a/include/libssh2.h ++++ b/include/libssh2.h +@@ -101,6 +101,7 @@ extern "C" { + #include + #include + #include ++#include + + /* Allow alternate API prefix from CFLAGS or calling app */ + #ifndef LIBSSH2_API diff --git a/Ports/libssh2/patches/ReadMe.md b/Ports/libssh2/patches/ReadMe.md new file mode 100644 index 00000000000..4dcaffaf27d --- /dev/null +++ b/Ports/libssh2/patches/ReadMe.md @@ -0,0 +1,7 @@ +# Patches for libssh2 on SerenityOS + +## `0001-fix-missing-select.h-header.patch` + +fix-missing-select.h-header + +