summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-08-30 23:20:55 +0100
committerSam James <sam@gentoo.org>2022-08-30 23:21:19 +0100
commit68be73afc06c27eeeef724acbaa6ff5b20dacc3f (patch)
tree09ebb894beeb76c991c1e8b386664b9543c9d0fc /net-libs/libssh/libssh-9999.ebuild
parentdev-util/ninja: add 1.11.1 (diff)
downloadgentoo-68be73afc06c27eeeef724acbaa6ff5b20dacc3f.tar.gz
gentoo-68be73afc06c27eeeef724acbaa6ff5b20dacc3f.tar.bz2
gentoo-68be73afc06c27eeeef724acbaa6ff5b20dacc3f.zip
net-libs/libssh: add 0.10.1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs/libssh/libssh-9999.ebuild')
-rw-r--r--net-libs/libssh/libssh-9999.ebuild31
1 files changed, 18 insertions, 13 deletions
diff --git a/net-libs/libssh/libssh-9999.ebuild b/net-libs/libssh/libssh-9999.ebuild
index 9b897cf8885e..25b41a81f804 100644
--- a/net-libs/libssh/libssh-9999.ebuild
+++ b/net-libs/libssh/libssh-9999.ebuild
@@ -45,7 +45,9 @@ BDEPEND="doc? ( app-doc/doxygen[dot] )"
DOCS=( AUTHORS CHANGELOG README )
-PATCHES=( "${FILESDIR}/${PN}-0.8.0-tests.patch" )
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.10.1-disable-broken-test.patch
+)
src_prepare() {
cmake_src_prepare
@@ -53,22 +55,24 @@ src_prepare() {
# just install the examples, do not compile them
cmake_comment_add_subdirectory examples
- # keyfile torture test is currently broken
- sed -e "/torture_keyfiles/d" \
- -i tests/unittests/CMakeLists.txt || die
+ sed -e "/^check_include_file.*HAVE_VALGRIND_VALGRIND_H/s/^/#DONT /" \
+ -i ConfigureChecks.cmake || die
- # disable tests that take too long (bug #677006)
- if use sparc; then
- sed -e "/torture_threads_pki_rsa/d" -e "/torture_pki_dsa/d" \
+ if use test; then
+ # keyfile torture test is currently broken
+ sed -e "/torture_keyfiles/d" \
-i tests/unittests/CMakeLists.txt || die
- fi
- sed -e "/^check_include_file.*HAVE_VALGRIND_VALGRIND_H/s/^/#DONT /" \
- -i ConfigureChecks.cmake || die
+ # disable tests that take too long (bug #677006)
+ if use sparc; then
+ sed -e "/torture_threads_pki_rsa/d" -e "/torture_pki_dsa/d" \
+ -i tests/unittests/CMakeLists.txt || die
+ fi
- if use test && use elibc_musl; then
- sed -e "/SOLARIS/d" \
- -i tests/CMakeLists.txt || die
+ if use elibc_musl; then
+ sed -e "/SOLARIS/d" \
+ -i tests/CMakeLists.txt || die
+ fi
fi
}
@@ -86,6 +90,7 @@ multilib_src_configure() {
-DWITH_SERVER=$(usex server)
-DWITH_SFTP=$(usex sftp)
-DBUILD_STATIC_LIB=$(usex static-libs)
+ # TODO: try enabling {CLIENT,SERVER}_TESTING
-DUNIT_TESTING=$(usex test)
-DWITH_ZLIB=$(usex zlib)
)