From 7189a5d4959876464c2a2020ba42251304c9355c Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Sun, 1 Sep 2024 17:17:51 +0200 Subject: [PATCH] libssh, revbump for openssl3 (#11027) --- net-libs/libssh/libssh-0.10.5.recipe | 8 ++-- .../libssh/patches/libssh-0.10.5.patchset | 39 +++++++++++++++---- 2 files changed, 36 insertions(+), 11 deletions(-) diff --git a/net-libs/libssh/libssh-0.10.5.recipe b/net-libs/libssh/libssh-0.10.5.recipe index af1e1fa24..00b3022ba 100644 --- a/net-libs/libssh/libssh-0.10.5.recipe +++ b/net-libs/libssh/libssh-0.10.5.recipe @@ -18,7 +18,7 @@ COPYRIGHT="1995 Tatu Ylonen 2019 Simo Sorce" LICENSE="GNU LGPL v2.1 BSD (2-clause)" -REVISION="1" +REVISION="2" SOURCE_URI="https://www.libssh.org/files/${portVersion%.*}/libssh-$portVersion.tar.xz" CHECKSUM_SHA256="b60e2ff7f367b9eee2b5634d3a63303ddfede0e6a18dfca88c44a8770e7e4234" PATCHES="libssh-$portVersion.patchset" @@ -51,8 +51,9 @@ REQUIRES_devel=" BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libcmocka$secondaryArchSuffix - devel:libcrypto$secondaryArchSuffix - devel:libssl$secondaryArchSuffix + devel:libcrypto$secondaryArchSuffix >= 3 + devel:libssl$secondaryArchSuffix >= 3 + devel:libssp_nonshared$secondaryArchSuffix devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" @@ -140,5 +141,6 @@ INSTALL() TEST() { + # 96% tests passed, 1 tests failed out of 27 make -C build test } diff --git a/net-libs/libssh/patches/libssh-0.10.5.patchset b/net-libs/libssh/patches/libssh-0.10.5.patchset index 3bc1e4071..eaf811eeb 100644 --- a/net-libs/libssh/patches/libssh-0.10.5.patchset +++ b/net-libs/libssh/patches/libssh-0.10.5.patchset @@ -1,4 +1,4 @@ -From 9e381e6b4af287418707e296a556a6acd44cf720 Mon Sep 17 00:00:00 2001 +From 764ce1740ddb3df2fea1206fcc2fd507531d2642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= Date: Sat, 22 Sep 2018 16:20:25 +0200 Subject: Haiku networking functions lives in lnetwork @@ -39,16 +39,14 @@ index d6245c0..e596c93 100644 set(LIBSSH_PRIVATE_INCLUDE_DIRS ${LIBSSH_PRIVATE_INCLUDE_DIRS} -- -2.37.3 +2.45.2 -From 873d12efaad41821dd01fbb59b2c5ed0a1a11bd9 Mon Sep 17 00:00:00 2001 + +From 4ba126b58167eaa7ad64f52d960ec47cbe5c6cbe Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sat, 6 May 2023 18:37:22 +0200 -Subject: [PATCH] disable x11 example +Subject: disable x11 example ---- - examples/CMakeLists.txt | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 72ceed2..22dbe51 100644 @@ -70,5 +68,30 @@ index 72ceed2..22dbe51 100644 if (WITH_SERVER AND (ARGP_LIBRARIES OR HAVE_ARGP_H)) if (HAVE_LIBUTIL) -- -2.37.3 +2.45.2 + + +From ea844cc8bc871197ee4c4ac2c8a8cde901f7afee Mon Sep 17 00:00:00 2001 +From: Schrijvers Luc +Date: Sun, 1 Sep 2024 17:09:27 +0200 +Subject: Silence some deprecated warnings + + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index c3565f0..850bcc1 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -35,6 +35,10 @@ include(GNUInstallDirs) + + include(CompilerChecks.cmake) + ++if (HAIKU) ++ add_definitions(-Wno-deprecated-declarations) # TODO too much spam for now ++endif() ++ + # disallow in-source build + include(MacroEnsureOutOfSourceBuild) + macro_ensure_out_of_source_build("${PROJECT_NAME} requires an out of source build. Please create a separate build directory and run 'cmake /path/to/${PROJECT_NAME} [options]' there.") +-- +2.45.2