summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-10-04 11:59:57 +0000
committerJeroen Roovers <jer@gentoo.org>2010-10-04 11:59:57 +0000
commit9d27127cf6cf195dace57d8c9ed1673f98e3be2d (patch)
treef2b827acfbf7ca43b37c21c9da7e650a05015bce /net-libs
parentUpdate the sqlite dependency to also require icu and threadsafe flags to be o... (diff)
downloadgentoo-2-9d27127cf6cf195dace57d8c9ed1673f98e3be2d.tar.gz
gentoo-2-9d27127cf6cf195dace57d8c9ed1673f98e3be2d.tar.bz2
gentoo-2-9d27127cf6cf195dace57d8c9ed1673f98e3be2d.zip
Version bump (bug #339683).
(Portage version: 2.2_rc88/cvs/Linux i686)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libssh2/ChangeLog7
-rw-r--r--net-libs/libssh2/libssh2-1.2.7.ebuild47
2 files changed, 53 insertions, 1 deletions
diff --git a/net-libs/libssh2/ChangeLog b/net-libs/libssh2/ChangeLog
index 60a1a7ecf9b9..f9db480e3ce9 100644
--- a/net-libs/libssh2/ChangeLog
+++ b/net-libs/libssh2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/libssh2
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh2/ChangeLog,v 1.34 2010/10/02 20:39:29 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh2/ChangeLog,v 1.35 2010/10/04 11:59:57 jer Exp $
+
+*libssh2-1.2.7 (04 Oct 2010)
+
+ 04 Oct 2010; Jeroen Roovers <jer@gentoo.org> +libssh2-1.2.7.ebuild:
+ Version bump (bug #339683).
02 Oct 2010; Fabian Groffen <grobian@gentoo.org> libssh2-1.2.6.ebuild:
Marked ~x64-macos, bug #333981
diff --git a/net-libs/libssh2/libssh2-1.2.7.ebuild b/net-libs/libssh2/libssh2-1.2.7.ebuild
new file mode 100644
index 000000000000..e6b5b6e5fd23
--- /dev/null
+++ b/net-libs/libssh2/libssh2-1.2.7.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh2/libssh2-1.2.7.ebuild,v 1.1 2010/10/04 11:59:57 jer Exp $
+
+EAPI="2"
+
+DESCRIPTION="Library implementing the SSH2 protocol"
+HOMEPAGE="http://www.libssh2.org/"
+SRC_URI="http://www.${PN}.org/download/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x64-macos ~x86-solaris"
+IUSE="gcrypt zlib"
+
+DEPEND="!gcrypt? ( dev-libs/openssl )
+ gcrypt? ( dev-libs/libgcrypt )
+ zlib? ( sys-libs/zlib )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local myconf
+
+ if use gcrypt; then
+ myconf="--with-libgcrypt"
+ else
+ myconf="--with-openssl"
+ fi
+
+ econf \
+ $(use_with zlib libz) \
+ ${myconf}
+}
+
+src_test() {
+ if [[ ${EUID} -ne 0 ]]; then #286741
+ ewarn "Some tests require real user that is allowed to login."
+ ewarn "ssh2.sh test disabled."
+ sed -e 's:ssh2.sh::' -i tests/Makefile
+ fi
+ emake check || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README
+}