Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libssh/
Date: Sun, 01 Jan 2017 14:11:01
Message-Id: 1483279847.a36500b60e1a62b4db5551aa8de60663ec3a394d.kensington@gentoo
1 commit: a36500b60e1a62b4db5551aa8de60663ec3a394d
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 1 14:05:48 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 1 14:10:47 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a36500b6
7
8 net-libs/libssh: remove old
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 net-libs/libssh/libssh-0.7.3.ebuild | 93 -------------------------------------
13 1 file changed, 93 deletions(-)
14
15 diff --git a/net-libs/libssh/libssh-0.7.3.ebuild b/net-libs/libssh/libssh-0.7.3.ebuild
16 deleted file mode 100644
17 index c1843e6..00000000
18 --- a/net-libs/libssh/libssh-0.7.3.ebuild
19 +++ /dev/null
20 @@ -1,93 +0,0 @@
21 -# Copyright 1999-2016 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI=6
26 -
27 -MY_P=${PN}-${PV/_rc/rc}
28 -inherit eutils cmake-multilib multilib
29 -
30 -DESCRIPTION="Access a working SSH implementation by means of a library"
31 -HOMEPAGE="http://www.libssh.org/"
32 -SRC_URI="https://red.libssh.org/attachments/download/195/${MY_P}.tar.xz -> ${P}.tar.xz"
33 -
34 -LICENSE="LGPL-2.1"
35 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
36 -SLOT="0/4" # subslot = soname major version
37 -IUSE="debug doc examples gcrypt gssapi libressl pcap +sftp ssh1 server static-libs test zlib"
38 -# Maintainer: check IUSE-defaults at DefineOptions.cmake
39 -
40 -RDEPEND="
41 - zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
42 - !gcrypt? (
43 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
44 - libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
45 - )
46 - gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0[${MULTILIB_USEDEP}] )
47 - gssapi? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] )
48 -"
49 -DEPEND="${RDEPEND}
50 - doc? ( app-doc/doxygen )
51 - test? ( >=dev-util/cmocka-0.3.1[${MULTILIB_USEDEP}] )
52 -"
53 -
54 -DOCS=( AUTHORS README ChangeLog )
55 -
56 -S=${WORKDIR}/${MY_P}
57 -
58 -PATCHES=(
59 - "${FILESDIR}"/${PN}-0.5.0-tests.patch
60 -)
61 -
62 -src_prepare() {
63 - # just install the examples do not compile them
64 - sed -i \
65 - -e '/add_subdirectory(examples)/s/^/#DONOTWANT/' \
66 - CMakeLists.txt || die
67 -
68 - cmake-utils_src_prepare
69 -}
70 -
71 -multilib_src_configure() {
72 - local mycmakeargs=(
73 - -DWITH_DEBUG_CALLTRACE="$(usex debug)"
74 - -DWITH_DEBUG_CRYPTO="$(usex debug)"
75 - -DWITH_gcrypt="$(usex gcrypt)"
76 - -DWITH_gssapi="$(usex gssapi)"
77 - -DWITH_pcap="$(usex pcap)"
78 - -DWITH_server="$(usex server)"
79 - -DWITH_sftp="$(usex sftp)"
80 - -DWITH_ssh1="$(usex ssh1)"
81 - -DWITH_STATIC_LIB="$(usex static-libs)"
82 - -DWITH_STATIC_LIB="$(usex test)"
83 - -DWITH_TESTING="$(usex test)"
84 - -DWITH_zlib="$(usex zlib)"
85 - )
86 -
87 - cmake-utils_src_configure
88 -}
89 -
90 -multilib_src_compile() {
91 - cmake-utils_src_compile
92 - multilib_is_native_abi && use doc && cmake-utils_src_compile doc
93 -}
94 -
95 -multilib_src_install() {
96 - cmake-utils_src_install
97 -
98 - if multilib_is_native_abi && use doc ; then
99 - docinto html
100 - dodoc -r doc/html/.
101 - fi
102 -
103 - use static-libs || rm -f "${D}"/usr/$(get_libdir)/libssh{,_threads}.a
104 -}
105 -
106 -multilib_src_install_all() {
107 - einstalldocs
108 -
109 - if use examples; then
110 - docinto examples
111 - dodoc examples/*.{c,h,cpp}
112 - fi
113 -}