Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libssh: ChangeLog libssh-0.6.0_rc2.ebuild
Date: Fri, 06 Dec 2013 12:26:35
Message-Id: 20131206122630.EB87A2004B@flycatcher.gentoo.org
1 polynomial-c 13/12/06 12:26:30
2
3 Modified: ChangeLog
4 Added: libssh-0.6.0_rc2.ebuild
5 Log:
6 Version bump with kind permission from johu
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
9
10 Revision Changes Path
11 1.91 net-libs/libssh/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh/ChangeLog?rev=1.91&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh/ChangeLog?rev=1.91&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh/ChangeLog?r1=1.90&r2=1.91
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/libssh/ChangeLog,v
20 retrieving revision 1.90
21 retrieving revision 1.91
22 diff -u -r1.90 -r1.91
23 --- ChangeLog 22 Oct 2013 14:29:02 -0000 1.90
24 +++ ChangeLog 6 Dec 2013 12:26:30 -0000 1.91
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-libs/libssh
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/ChangeLog,v 1.90 2013/10/22 14:29:02 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/ChangeLog,v 1.91 2013/12/06 12:26:30 polynomial-c Exp $
30 +
31 +*libssh-0.6.0_rc2 (06 Dec 2013)
32 +
33 + 06 Dec 2013; Lars Wendler <polynomial-c@g.o> +libssh-0.6.0_rc2.ebuild:
34 + Version bump with kind permission from johu.
35
36 22 Oct 2013; Jeroen Roovers <jer@g.o> libssh-0.6.0_rc1.ebuild:
37 Marked ~hppa (bug #488696).
38
39
40
41 1.1 net-libs/libssh/libssh-0.6.0_rc2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh/libssh-0.6.0_rc2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh/libssh-0.6.0_rc2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libssh-0.6.0_rc2.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/libssh-0.6.0_rc2.ebuild,v 1.1 2013/12/06 12:26:30 polynomial-c Exp $
51
52 EAPI=5
53
54 MY_P=${PN}-${PV/_rc/rc}
55 inherit eutils cmake-utils multilib
56
57 DESCRIPTION="Access a working SSH implementation by means of a library"
58 HOMEPAGE="http://www.libssh.org/"
59 SRC_URI="https://red.libssh.org/attachments/download/65/${MY_P}.tar.gz -> ${P}.tar.gz"
60
61 LICENSE="LGPL-2.1"
62 KEYWORDS="~amd64 ~arm ~hppa ~x86 ~amd64-linux ~x86-linux"
63 SLOT="0/4" # subslot = soname major version
64 IUSE="debug doc examples gcrypt pcap +sftp ssh1 server static-libs test zlib"
65 # Maintainer: check IUSE-defaults at DefineOptions.cmake
66
67 RDEPEND="
68 zlib? ( >=sys-libs/zlib-1.2 )
69 !gcrypt? ( >=dev-libs/openssl-0.9.8 )
70 gcrypt? ( >=dev-libs/libgcrypt-1.4 )
71 "
72 DEPEND="${RDEPEND}
73 doc? ( app-doc/doxygen )
74 test? ( dev-util/cmocka )
75 "
76
77 DOCS=( AUTHORS README ChangeLog )
78
79 S=${WORKDIR}/${MY_P}
80
81 PATCHES=( "${FILESDIR}/${PN}-0.5.0-tests.patch" )
82
83 src_prepare() {
84 # just install the examples do not compile them
85 sed -i \
86 -e '/add_subdirectory(examples)/s/^/#DONOTWANT/' \
87 CMakeLists.txt || die
88
89 cmake-utils_src_prepare
90 }
91
92 src_configure() {
93 local mycmakeargs=(
94 $(cmake-utils_use_with debug DEBUG_CALLTRACE)
95 $(cmake-utils_use_with debug DEBUG_CRYPTO)
96 $(cmake-utils_use_with gcrypt)
97 $(cmake-utils_use_with pcap)
98 $(cmake-utils_use_with server)
99 $(cmake-utils_use_with sftp)
100 $(cmake-utils_use_with ssh1)
101 $(cmake-utils_use_with static-libs STATIC_LIB)
102 $(cmake-utils_use_with test STATIC_LIB)
103 $(cmake-utils_use_with test TESTING)
104 $(cmake-utils_use_with zlib)
105 )
106
107 cmake-utils_src_configure
108 }
109
110 src_compile() {
111 cmake-utils_src_compile
112 use doc && cmake-utils_src_compile doc
113 }
114
115 src_install() {
116 cmake-utils_src_install
117
118 use doc && dohtml -r "${CMAKE_BUILD_DIR}"/doc/html/*
119
120 use static-libs || rm -f "${D}"/usr/$(get_libdir)/libssh{,_threads}.a
121
122 if use examples; then
123 docinto examples
124 dodoc examples/*.{c,h,cpp}
125 fi
126 }