Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libssh2: ChangeLog libssh2-1.2.7.ebuild
Date: Mon, 04 Oct 2010 12:00:02
Message-Id: 20101004115957.7EDFC2004C@flycatcher.gentoo.org
1 jer 10/10/04 11:59:57
2
3 Modified: ChangeLog
4 Added: libssh2-1.2.7.ebuild
5 Log:
6 Version bump (bug #339683).
7
8 (Portage version: 2.2_rc88/cvs/Linux i686)
9
10 Revision Changes Path
11 1.35 net-libs/libssh2/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh2/ChangeLog?rev=1.35&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh2/ChangeLog?rev=1.35&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh2/ChangeLog?r1=1.34&r2=1.35
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/libssh2/ChangeLog,v
20 retrieving revision 1.34
21 retrieving revision 1.35
22 diff -u -r1.34 -r1.35
23 --- ChangeLog 2 Oct 2010 20:39:29 -0000 1.34
24 +++ ChangeLog 4 Oct 2010 11:59:57 -0000 1.35
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-libs/libssh2
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh2/ChangeLog,v 1.34 2010/10/02 20:39:29 grobian Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh2/ChangeLog,v 1.35 2010/10/04 11:59:57 jer Exp $
30 +
31 +*libssh2-1.2.7 (04 Oct 2010)
32 +
33 + 04 Oct 2010; Jeroen Roovers <jer@g.o> +libssh2-1.2.7.ebuild:
34 + Version bump (bug #339683).
35
36 02 Oct 2010; Fabian Groffen <grobian@g.o> libssh2-1.2.6.ebuild:
37 Marked ~x64-macos, bug #333981
38
39
40
41 1.1 net-libs/libssh2/libssh2-1.2.7.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh2/libssh2-1.2.7.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libssh2/libssh2-1.2.7.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libssh2-1.2.7.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-libs/libssh2/libssh2-1.2.7.ebuild,v 1.1 2010/10/04 11:59:57 jer Exp $
51
52 EAPI="2"
53
54 DESCRIPTION="Library implementing the SSH2 protocol"
55 HOMEPAGE="http://www.libssh2.org/"
56 SRC_URI="http://www.${PN}.org/download/${P}.tar.gz"
57
58 LICENSE="BSD"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x64-macos ~x86-solaris"
61 IUSE="gcrypt zlib"
62
63 DEPEND="!gcrypt? ( dev-libs/openssl )
64 gcrypt? ( dev-libs/libgcrypt )
65 zlib? ( sys-libs/zlib )"
66 RDEPEND="${DEPEND}"
67
68 src_configure() {
69 local myconf
70
71 if use gcrypt; then
72 myconf="--with-libgcrypt"
73 else
74 myconf="--with-openssl"
75 fi
76
77 econf \
78 $(use_with zlib libz) \
79 ${myconf}
80 }
81
82 src_test() {
83 if [[ ${EUID} -ne 0 ]]; then #286741
84 ewarn "Some tests require real user that is allowed to login."
85 ewarn "ssh2.sh test disabled."
86 sed -e 's:ssh2.sh::' -i tests/Makefile
87 fi
88 emake check || die
89 }
90
91 src_install() {
92 emake DESTDIR="${D}" install || die "emake install failed"
93 dodoc README
94 }