diff options
author | Sam James <sam@gentoo.org> | 2022-09-03 04:48:35 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-09-03 04:48:35 +0100 |
commit | 44207f33399f9bb406432c3d3689a4362bfb1b23 (patch) | |
tree | 95a60c05f69986aff7e22dbc4940e2319d47969f /net-libs/libssh/libssh-9999.ebuild | |
parent | net-analyzer/nmap: add 7.93 (diff) | |
download | gentoo-44207f33399f9bb406432c3d3689a4362bfb1b23.tar.gz gentoo-44207f33399f9bb406432c3d3689a4362bfb1b23.tar.bz2 gentoo-44207f33399f9bb406432c3d3689a4362bfb1b23.zip |
net-libs/libssh: add 0.10.2
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.ebuild | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/net-libs/libssh/libssh-9999.ebuild b/net-libs/libssh/libssh-9999.ebuild index 25b41a81f804..c8592e03bb83 100644 --- a/net-libs/libssh/libssh-9999.ebuild +++ b/net-libs/libssh/libssh-9999.ebuild @@ -45,10 +45,6 @@ BDEPEND="doc? ( app-doc/doxygen[dot] )" DOCS=( AUTHORS CHANGELOG README ) -PATCHES=( - "${FILESDIR}"/${PN}-0.10.1-disable-broken-test.patch -) - src_prepare() { cmake_src_prepare @@ -59,14 +55,26 @@ src_prepare() { -i ConfigureChecks.cmake || die if use test; then - # keyfile torture test is currently broken - sed -e "/torture_keyfiles/d" \ - -i tests/unittests/CMakeLists.txt || die + local skip_tests=( + # keyfile torture test is currently broken + -e "/torture_keyfiles/d" + + # Tries to expand ~ which fails w/ portage homedir + # (torture_path_expand_tilde_unix and torture_config_make_absolute_no_sshdir) + -e "/torture_misc/d" + -e "/torture_config/d" + ) - # disable tests that take too long (bug #677006) + # 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 + skip_tests+=( + -e "/torture_threads_pki_rsa/d" + -e "/torture_pki_dsa/d" + ) + fi + + if (( ${#skip_tests[@]} )) ; then + sed -i "${skip_tests[@]}" tests/unittests/CMakeLists.txt || die fi if use elibc_musl; then |