1 |
commit: 06f2d87af6e41e33a345f1bf494444173f682ff8 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 30 11:51:03 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 30 13:33:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06f2d87a |
7 |
|
8 |
net-libs/libssh: drop 0.9.6 |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
|
12 |
net-libs/libssh/Manifest | 1 - |
13 |
net-libs/libssh/files/libssh-0.8.0-tests.patch | 11 --- |
14 |
net-libs/libssh/libssh-0.9.6.ebuild | 124 ------------------------- |
15 |
3 files changed, 136 deletions(-) |
16 |
|
17 |
diff --git a/net-libs/libssh/Manifest b/net-libs/libssh/Manifest |
18 |
index 5ba4cc28088f..a4166a8ad16b 100644 |
19 |
--- a/net-libs/libssh/Manifest |
20 |
+++ b/net-libs/libssh/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
DIST libssh-0.10.4.tar.xz 554920 BLAKE2B 9349a688bdbd7c0d3bc93d6d0d6d55122ae9f918b922baeae8a7c6d4ae3ec340e6607afdd8a47055176f31531aefa94b6cc2bda25d59625fe1a7f83823dd75f9 SHA512 01ee52d480201d9886c15e81137c185334b404d1c8e8b743ddf58e95fe8619c8c013616a49807bd1111fde72fa177cd35f3c22b66cbf5d720b5abfacdf7601ed |
23 |
-DIST libssh-0.9.6.tar.xz 1053056 BLAKE2B e8565279a430786b8877386a26700a39386e908546a209815b135a2bf4ef42c37b9890dc29cda9ce6c8bfe3f3bae4942097dc794302aec767d106a45c44b811d SHA512 4040ec4af937e95be2e41313ef6d4db60b46b8d4dea10c09402398127c1d1ca8843392d207088aeee3c7ef631c6ae7b66861327dcebf78ed3af0723777619fd1 |
24 |
|
25 |
diff --git a/net-libs/libssh/files/libssh-0.8.0-tests.patch b/net-libs/libssh/files/libssh-0.8.0-tests.patch |
26 |
deleted file mode 100644 |
27 |
index 7ce84f89983b..000000000000 |
28 |
--- a/net-libs/libssh/files/libssh-0.8.0-tests.patch |
29 |
+++ /dev/null |
30 |
@@ -1,11 +0,0 @@ |
31 |
---- libssh-0.8.0/tests/unittests/torture_misc.c |
32 |
-+++ libssh-0.8.0/tests/unittests/torture_misc.c |
33 |
-@@ -361,7 +361,7 @@ |
34 |
- #ifdef _WIN32 |
35 |
- cmocka_unit_test(torture_path_expand_tilde_win), |
36 |
- #else |
37 |
-- cmocka_unit_test(torture_path_expand_tilde_unix), |
38 |
-+ //cmocka_unit_test(torture_path_expand_tilde_unix), |
39 |
- #endif |
40 |
- cmocka_unit_test_setup_teardown(torture_path_expand_escape, setup, teardown), |
41 |
- cmocka_unit_test_setup_teardown(torture_path_expand_known_hosts, setup, teardown), |
42 |
|
43 |
diff --git a/net-libs/libssh/libssh-0.9.6.ebuild b/net-libs/libssh/libssh-0.9.6.ebuild |
44 |
deleted file mode 100644 |
45 |
index e90e4d2cfed3..000000000000 |
46 |
--- a/net-libs/libssh/libssh-0.9.6.ebuild |
47 |
+++ /dev/null |
48 |
@@ -1,124 +0,0 @@ |
49 |
-# Copyright 1999-2022 Gentoo Authors |
50 |
-# Distributed under the terms of the GNU General Public License v2 |
51 |
- |
52 |
-EAPI=7 |
53 |
- |
54 |
-inherit cmake-multilib |
55 |
- |
56 |
-DESCRIPTION="Access a working SSH implementation by means of a library" |
57 |
-HOMEPAGE="https://www.libssh.org/" |
58 |
- |
59 |
-if [[ "${PV}" == *9999 ]] ; then |
60 |
- inherit git-r3 |
61 |
- EGIT_REPO_URI="https://git.libssh.org/projects/libssh.git" |
62 |
-else |
63 |
- SRC_URI="https://www.libssh.org/files/$(ver_cut 1-2)/${P}.tar.xz" |
64 |
- KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" |
65 |
-fi |
66 |
- |
67 |
-LICENSE="LGPL-2.1" |
68 |
-SLOT="0/4" # subslot = soname major version |
69 |
-IUSE="debug doc examples gcrypt gssapi mbedtls pcap server +sftp static-libs test zlib" |
70 |
-# Maintainer: check IUSE-defaults at DefineOptions.cmake |
71 |
- |
72 |
-REQUIRED_USE="?? ( gcrypt mbedtls )" |
73 |
- |
74 |
-BDEPEND=" |
75 |
- doc? ( app-doc/doxygen[dot] ) |
76 |
-" |
77 |
-RDEPEND=" |
78 |
- !gcrypt? ( |
79 |
- !mbedtls? ( |
80 |
- >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] |
81 |
- ) |
82 |
- ) |
83 |
- gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0[${MULTILIB_USEDEP}] ) |
84 |
- gssapi? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] ) |
85 |
- mbedtls? ( net-libs/mbedtls:=[${MULTILIB_USEDEP}] ) |
86 |
- zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] ) |
87 |
-" |
88 |
-DEPEND="${RDEPEND} |
89 |
- test? ( |
90 |
- >=dev-util/cmocka-0.3.1[${MULTILIB_USEDEP}] |
91 |
- elibc_musl? ( sys-libs/argp-standalone ) ) |
92 |
-" |
93 |
- |
94 |
-DOCS=( AUTHORS README ChangeLog ) |
95 |
- |
96 |
-PATCHES=( "${FILESDIR}/${PN}-0.8.0-tests.patch" ) |
97 |
- |
98 |
-RESTRICT+=" !test? ( test )" |
99 |
- |
100 |
-src_prepare() { |
101 |
- cmake_src_prepare |
102 |
- |
103 |
- # just install the examples, do not compile them |
104 |
- cmake_comment_add_subdirectory examples |
105 |
- |
106 |
- # keyfile torture test is currently broken |
107 |
- sed -e "/torture_keyfiles/d" \ |
108 |
- -i tests/unittests/CMakeLists.txt || die |
109 |
- |
110 |
- # disable tests that take too long (bug #677006) |
111 |
- if use sparc; then |
112 |
- sed -e "/torture_threads_pki_rsa/d" -e "/torture_pki_dsa/d" \ |
113 |
- -i tests/unittests/CMakeLists.txt || die |
114 |
- fi |
115 |
- |
116 |
- sed -e "/^check_include_file.*HAVE_VALGRIND_VALGRIND_H/s/^/#DONT /" \ |
117 |
- -i ConfigureChecks.cmake || die |
118 |
- |
119 |
- if use test && use elibc_musl; then |
120 |
- sed -e "/SOLARIS/d" \ |
121 |
- -i tests/CMakeLists.txt || die |
122 |
- fi |
123 |
-} |
124 |
- |
125 |
-multilib_src_configure() { |
126 |
- local mycmakeargs=( |
127 |
- -DWITH_NACL=OFF |
128 |
- -DWITH_STACK_PROTECTOR=OFF |
129 |
- -DWITH_STACK_PROTECTOR_STRONG=OFF |
130 |
- -DWITH_DEBUG_CALLTRACE="$(usex debug)" |
131 |
- -DWITH_DEBUG_CRYPTO="$(usex debug)" |
132 |
- -DWITH_GCRYPT="$(usex gcrypt)" |
133 |
- -DWITH_GSSAPI="$(usex gssapi)" |
134 |
- -DWITH_MBEDTLS="$(usex mbedtls)" |
135 |
- -DWITH_PCAP="$(usex pcap)" |
136 |
- -DWITH_SERVER="$(usex server)" |
137 |
- -DWITH_SFTP="$(usex sftp)" |
138 |
- -DBUILD_STATIC_LIB="$(usex static-libs)" |
139 |
- -DUNIT_TESTING="$(usex test)" |
140 |
- -DWITH_ZLIB="$(usex zlib)" |
141 |
- ) |
142 |
- |
143 |
- multilib_is_native_abi || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON ) |
144 |
- |
145 |
- cmake_src_configure |
146 |
-} |
147 |
- |
148 |
-multilib_src_compile() { |
149 |
- cmake_src_compile |
150 |
- multilib_is_native_abi && use doc && cmake_src_compile docs |
151 |
-} |
152 |
- |
153 |
-multilib_src_install() { |
154 |
- cmake_src_install |
155 |
- multilib_is_native_abi && use doc && HTML_DOCS=( "${BUILD_DIR}"/doc/html/. ) |
156 |
- |
157 |
- use static-libs && dolib.a src/libssh.a |
158 |
- |
159 |
- # compatibility symlink until all consumers have been updated |
160 |
- # to no longer use libssh_threads.so |
161 |
- dosym libssh.so /usr/$(get_libdir)/libssh_threads.so |
162 |
-} |
163 |
- |
164 |
-multilib_src_install_all() { |
165 |
- use mbedtls && DOCS+=( README.mbedtls ) |
166 |
- einstalldocs |
167 |
- |
168 |
- if use examples; then |
169 |
- docinto examples |
170 |
- dodoc examples/*.{c,h,cpp} |
171 |
- fi |
172 |
-} |