Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libssh: ChangeLog libssh-0.4.1.ebuild
Date: Thu, 18 Feb 2010 18:26:50
Message-Id: E1NiB5K-0006Mi-QO@stork.gentoo.org
1 pva 10/02/18 18:26:46
2
3 Modified: ChangeLog
4 Added: libssh-0.4.1.ebuild
5 Log:
6 Version bump. Fixed build issue with USE=debug, bug #304301, thank Arttu Valo for this patch.
7 (Portage version: 2.1.7.17/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.27 net-libs/libssh/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libssh/ChangeLog?rev=1.27&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libssh/ChangeLog?rev=1.27&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libssh/ChangeLog?r1=1.26&r2=1.27
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-libs/libssh/ChangeLog,v
19 retrieving revision 1.26
20 retrieving revision 1.27
21 diff -u -r1.26 -r1.27
22 --- ChangeLog 16 Feb 2010 16:51:30 -0000 1.26
23 +++ ChangeLog 18 Feb 2010 18:26:46 -0000 1.27
24 @@ -1,6 +1,13 @@
25 # ChangeLog for net-libs/libssh
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/ChangeLog,v 1.26 2010/02/16 16:51:30 josejx Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/ChangeLog,v 1.27 2010/02/18 18:26:46 pva Exp $
29 +
30 +*libssh-0.4.1 (18 Feb 2010)
31 +
32 + 18 Feb 2010; Peter Volkov <pva@g.o> +libssh-0.4.1.ebuild,
33 + +files/libssh-0.4.1-debug-build.patch:
34 + Version bump. Fixed build issue with USE=debug, bug #304301, thank Arttu
35 + Valo for this patch.
36
37 16 Feb 2010; Joseph Jezak <josejx@g.o> libssh-0.4.0.ebuild:
38 Marked ~ppc64 for bug #304365.
39
40
41
42 1.1 net-libs/libssh/libssh-0.4.1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libssh/libssh-0.4.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/libssh/libssh-0.4.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libssh-0.4.1.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-libs/libssh/libssh-0.4.1.ebuild,v 1.1 2010/02/18 18:26:46 pva Exp $
52
53 # Maintainer: check IUSE-defaults at DefineOptions.cmake
54
55 EAPI="2"
56
57 inherit eutils cmake-utils
58
59 DESCRIPTION="Access a working SSH implementation by means of a library"
60 HOMEPAGE="http://www.libssh.org/"
61 SRC_URI="http://www.${PN}.org/files/${P}.tar.gz"
62
63 LICENSE="LGPL-2.1"
64 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
65 SLOT="0"
66 IUSE="debug gcrypt examples +sftp ssh1 server static-libs zlib"
67
68 DEPEND="
69 zlib? ( >=sys-libs/zlib-1.2 )
70 !gcrypt? ( >=dev-libs/openssl-0.9.8 )
71 gcrypt? ( >=dev-libs/libgcrypt-1.4 )
72 "
73 RDEPEND="${DEPEND}"
74
75 DOCS="AUTHORS README ChangeLog"
76
77 src_prepare() {
78 sed -i '/add_subdirectory(examples)/s/^/#DONOTWANT/' CMakeLists.txt
79 epatch "${FILESDIR}/${P}-debug-build.patch"
80 }
81
82 src_configure() {
83 mycmakeargs=(
84 $(cmake-utils_use_with debug DEBUG_CALLTRACE)
85 $(cmake-utils_use_with debug DEBUG_CRYPTO)
86 $(cmake-utils_use_with gcrypt)
87 $(cmake-utils_use_with zlib LIBZ)
88 $(cmake-utils_use_with sftp)
89 $(cmake-utils_use_with ssh1)
90 $(cmake-utils_use_with server)
91 $(cmake-utils_use_with static-libs STATIC_LIB)
92 )
93
94 cmake-utils_src_configure
95 }
96
97 src_install() {
98 cmake-utils_src_install
99
100 if use examples; then
101 insinto /usr/share/doc/${PF}/examples
102 doins examples/*.c
103 fi
104 }