Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libssh/, net-libs/libssh/files/
Date: Sun, 01 Sep 2019 20:43:24
Message-Id: 1567370589.5d77e9543c460f403fdae1832cd47b5505b02aa3.asturm@gentoo
1 commit: 5d77e9543c460f403fdae1832cd47b5505b02aa3
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 1 20:05:17 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 1 20:43:09 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d77e954
7
8 net-libs/libssh: Drop 0.8.6 and 0.8.7
9
10 Package-Manager: Portage-2.3.74, Repoman-2.3.17
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 net-libs/libssh/Manifest | 2 -
14 .../files/libssh-0.8.3-strict-overflow.patch | 21 ----
15 net-libs/libssh/libssh-0.8.6.ebuild | 110 -------------------
16 net-libs/libssh/libssh-0.8.7.ebuild | 117 ---------------------
17 4 files changed, 250 deletions(-)
18
19 diff --git a/net-libs/libssh/Manifest b/net-libs/libssh/Manifest
20 index 5364d75e205..9d1285b15bf 100644
21 --- a/net-libs/libssh/Manifest
22 +++ b/net-libs/libssh/Manifest
23 @@ -1,3 +1 @@
24 -DIST libssh-0.8.6.tar.xz 433680 BLAKE2B f222e67676a90a2d2431463dc71859ad336a23a519b54e08fe368efe6322d0b9c8e393ec92d5246cb4721cd57bb955856fa6a2d92ffe71b6c35e2c94cde28762 SHA512 e91d1f4c1343aa232ade0fe4b5e9a92ca65e3716f4ebe2ec25b04def4fae5a3774349f05a6919836551f66fb0288ed6a3e19e0ab786c081616218be973356522
25 -DIST libssh-0.8.7.tar.xz 430104 BLAKE2B 8ad9455d81120726434a418abb74bfee53279040541cda50117909d43088ea992b9dbc7164b079dbe970b4348b967ed0d3f6352df98f60d1e6d9f14a086b5a40 SHA512 13c3dccad81d521edf29c8a5e2c5f7fdd90507a0eda652b2b040a0a17bab88860873e089a46e181907ea3f449ca1847b1c84453b1960f456e391eefe5be983c5
26 DIST libssh-0.9.0.tar.xz 487628 BLAKE2B 43c9c889160089f8ab4ce9d486e1892ef9fb7941d7473baf2c27e3fe05da0299bd8a7fa5c4392f24411ec0970f61fc302fbe18b8c807efe07d65f6fc326467e3 SHA512 8c91b31e49652d93c295ca62c2ff1ae30f26c263195a8bc2390e44f6e688959507f609125d342ee8180fc03cec2d73258ac72f864696281b53ba9ad244060865
27
28 diff --git a/net-libs/libssh/files/libssh-0.8.3-strict-overflow.patch b/net-libs/libssh/files/libssh-0.8.3-strict-overflow.patch
29 deleted file mode 100644
30 index 93b15ec061b..00000000000
31 --- a/net-libs/libssh/files/libssh-0.8.3-strict-overflow.patch
32 +++ /dev/null
33 @@ -1,21 +0,0 @@
34 -Neither i nor j are ever counted downward for the array pointers, so assume
35 -they were intended to be signed integers.
36 -
37 -Fixes a compiler warning on HPPA triggering an error because of
38 --Werror=strict-overflow -Wstrict-overflow=2:
39 -
40 -src/connect.c:509:7: error: assuming signed overflow does not occur when
41 -simplifying conditional to constant [-Werror=strict-overflow]
42 - if(j != 0)
43 - ^
44 ---- a/src/connect.c
45 -+++ b/src/connect.c
46 -@@ -471,7 +471,7 @@
47 - fd_set *readfds, struct timeval *timeout) {
48 - fd_set origfds;
49 - socket_t fd;
50 -- int i,j;
51 -+ unsigned int i,j;
52 - int rc;
53 - int base_tm, tm;
54 - struct ssh_timestamp ts;
55
56 diff --git a/net-libs/libssh/libssh-0.8.6.ebuild b/net-libs/libssh/libssh-0.8.6.ebuild
57 deleted file mode 100644
58 index 65d029e138f..00000000000
59 --- a/net-libs/libssh/libssh-0.8.6.ebuild
60 +++ /dev/null
61 @@ -1,110 +0,0 @@
62 -# Copyright 1999-2019 Gentoo Authors
63 -# Distributed under the terms of the GNU General Public License v2
64 -
65 -EAPI=7
66 -
67 -MY_P="${PN}-${PV/_rc/rc}"
68 -inherit cmake-multilib
69 -
70 -DESCRIPTION="Access a working SSH implementation by means of a library"
71 -HOMEPAGE="https://www.libssh.org/"
72 -
73 -if [[ "${PV}" == *9999 ]] ; then
74 - inherit git-r3
75 - EGIT_REPO_URI="https://git.libssh.org/projects/libssh.git"
76 -else
77 - SRC_URI="https://www.libssh.org/files/$(ver_cut 1-2)/${MY_P}.tar.xz"
78 - KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
79 -fi
80 -
81 -LICENSE="LGPL-2.1"
82 -SLOT="0/4" # subslot = soname major version
83 -IUSE="debug doc examples gcrypt gssapi libressl mbedtls pcap server +sftp static-libs test zlib"
84 -# Maintainer: check IUSE-defaults at DefineOptions.cmake
85 -
86 -REQUIRED_USE="?? ( gcrypt mbedtls ) test? ( static-libs )"
87 -
88 -RDEPEND="
89 - !gcrypt? (
90 - !mbedtls? (
91 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] )
92 - libressl? ( dev-libs/libressl:=[${MULTILIB_USEDEP}] )
93 - )
94 - )
95 - gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0[${MULTILIB_USEDEP}] )
96 - gssapi? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] )
97 - mbedtls? ( net-libs/mbedtls[${MULTILIB_USEDEP}] )
98 - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
99 -"
100 -DEPEND="${RDEPEND}
101 - doc? ( app-doc/doxygen[dot] )
102 - test? ( >=dev-util/cmocka-0.3.1[${MULTILIB_USEDEP}] )
103 -"
104 -
105 -DOCS=( AUTHORS README ChangeLog )
106 -
107 -S="${WORKDIR}/${MY_P}"
108 -
109 -PATCHES=(
110 - "${FILESDIR}/${PN}-0.8.0-tests.patch"
111 - "${FILESDIR}/${PN}-0.8.3-strict-overflow.patch"
112 -)
113 -
114 -src_prepare() {
115 - cmake-utils_src_prepare
116 -
117 - # just install the examples, do not compile them
118 - cmake_comment_add_subdirectory examples
119 -
120 - # keyfile torture test is currently broken
121 - sed -i \
122 - -e '/torture_keyfiles/d' \
123 - tests/unittests/CMakeLists.txt || die
124 -}
125 -
126 -multilib_src_configure() {
127 - local mycmakeargs=(
128 - -DUNIT_TESTING="$(usex test)"
129 - -DWITH_DEBUG_CALLTRACE="$(usex debug)"
130 - -DWITH_DEBUG_CRYPTO="$(usex debug)"
131 - -DWITH_GCRYPT="$(usex gcrypt)"
132 - -DWITH_GSSAPI="$(usex gssapi)"
133 - -DWITH_MBEDTLS="$(usex mbedtls)"
134 - -DWITH_NACL=no
135 - -DWITH_PCAP="$(usex pcap)"
136 - -DWITH_SERVER="$(usex server)"
137 - -DWITH_SFTP="$(usex sftp)"
138 - -DWITH_STACK_PROTECTOR=OFF
139 - -DWITH_STACK_PROTECTOR_STRONG=OFF
140 - -DWITH_STATIC_LIB="$(usex static-libs)"
141 - -DWITH_ZLIB="$(usex zlib)"
142 - )
143 -
144 - multilib_is_native_abi || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON )
145 -
146 - cmake-utils_src_configure
147 -}
148 -
149 -multilib_src_compile() {
150 - cmake-utils_src_compile
151 - multilib_is_native_abi && use doc && cmake-utils_src_compile docs
152 -}
153 -
154 -multilib_src_install() {
155 - cmake-utils_src_install
156 - use doc && HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
157 -
158 - # compatibility symlink until all consumers have been updated
159 - # to no longer use libssh_threads.so
160 - dosym libssh.so /usr/$(get_libdir)/libssh_threads.so
161 -}
162 -
163 -multilib_src_install_all() {
164 - use mbedtls && DOCS+=( README.mbedtls )
165 - einstalldocs
166 -
167 - if use examples; then
168 - docinto examples
169 - dodoc examples/*.{c,h,cpp}
170 - fi
171 -}
172
173 diff --git a/net-libs/libssh/libssh-0.8.7.ebuild b/net-libs/libssh/libssh-0.8.7.ebuild
174 deleted file mode 100644
175 index a2353f90c6b..00000000000
176 --- a/net-libs/libssh/libssh-0.8.7.ebuild
177 +++ /dev/null
178 @@ -1,117 +0,0 @@
179 -# Copyright 1999-2019 Gentoo Authors
180 -# Distributed under the terms of the GNU General Public License v2
181 -
182 -EAPI=7
183 -
184 -MY_P="${PN}-${PV/_rc/rc}"
185 -inherit cmake-multilib
186 -
187 -DESCRIPTION="Access a working SSH implementation by means of a library"
188 -HOMEPAGE="https://www.libssh.org/"
189 -
190 -if [[ "${PV}" == *9999 ]] ; then
191 - inherit git-r3
192 - EGIT_REPO_URI="https://git.libssh.org/projects/libssh.git"
193 -else
194 - SRC_URI="https://www.libssh.org/files/$(ver_cut 1-2)/${MY_P}.tar.xz"
195 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
196 -fi
197 -
198 -LICENSE="LGPL-2.1"
199 -SLOT="0/4" # subslot = soname major version
200 -IUSE="debug doc examples gcrypt gssapi libressl mbedtls pcap server +sftp static-libs test zlib"
201 -# Maintainer: check IUSE-defaults at DefineOptions.cmake
202 -
203 -REQUIRED_USE="?? ( gcrypt mbedtls ) test? ( static-libs )"
204 -
205 -RDEPEND="
206 - !gcrypt? (
207 - !mbedtls? (
208 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] )
209 - libressl? ( dev-libs/libressl:=[${MULTILIB_USEDEP}] )
210 - )
211 - )
212 - gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0[${MULTILIB_USEDEP}] )
213 - gssapi? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] )
214 - mbedtls? ( net-libs/mbedtls[${MULTILIB_USEDEP}] )
215 - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
216 -"
217 -DEPEND="${RDEPEND}
218 - doc? ( app-doc/doxygen[dot] )
219 - test? ( >=dev-util/cmocka-0.3.1[${MULTILIB_USEDEP}] )
220 -"
221 -
222 -DOCS=( AUTHORS README ChangeLog )
223 -
224 -S="${WORKDIR}/${MY_P}"
225 -
226 -PATCHES=(
227 - "${FILESDIR}/${PN}-0.8.0-tests.patch"
228 -)
229 -
230 -src_prepare() {
231 - cmake-utils_src_prepare
232 -
233 - # just install the examples, do not compile them
234 - cmake_comment_add_subdirectory examples
235 -
236 - # keyfile torture test is currently broken
237 - sed -i \
238 - -e '/torture_keyfiles/d' \
239 - tests/unittests/CMakeLists.txt || die
240 -
241 - # disable tests that take too long (bug #677006)
242 - if use sparc; then
243 - sed -i \
244 - -e '/torture_threads_pki_rsa/d' \
245 - -e '/torture_pki_dsa/d' \
246 - tests/unittests/CMakeLists.txt || die
247 - fi
248 -}
249 -
250 -multilib_src_configure() {
251 - local mycmakeargs=(
252 - -DUNIT_TESTING="$(usex test)"
253 - -DWITH_DEBUG_CALLTRACE="$(usex debug)"
254 - -DWITH_DEBUG_CRYPTO="$(usex debug)"
255 - -DWITH_GCRYPT="$(usex gcrypt)"
256 - -DWITH_GSSAPI="$(usex gssapi)"
257 - -DWITH_MBEDTLS="$(usex mbedtls)"
258 - -DWITH_NACL=no
259 - -DWITH_PCAP="$(usex pcap)"
260 - -DWITH_SERVER="$(usex server)"
261 - -DWITH_SFTP="$(usex sftp)"
262 - -DWITH_STACK_PROTECTOR=OFF
263 - -DWITH_STACK_PROTECTOR_STRONG=OFF
264 - -DWITH_STATIC_LIB="$(usex static-libs)"
265 - -DWITH_ZLIB="$(usex zlib)"
266 - )
267 -
268 - multilib_is_native_abi || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON )
269 -
270 - cmake-utils_src_configure
271 -}
272 -
273 -multilib_src_compile() {
274 - cmake-utils_src_compile
275 - multilib_is_native_abi && use doc && cmake-utils_src_compile docs
276 -}
277 -
278 -multilib_src_install() {
279 - cmake-utils_src_install
280 - use doc && HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
281 -
282 - # compatibility symlink until all consumers have been updated
283 - # to no longer use libssh_threads.so
284 - dosym libssh.so /usr/$(get_libdir)/libssh_threads.so
285 -}
286 -
287 -multilib_src_install_all() {
288 - use mbedtls && DOCS+=( README.mbedtls )
289 - einstalldocs
290 -
291 - if use examples; then
292 - docinto examples
293 - dodoc examples/*.{c,h,cpp}
294 - fi
295 -}