summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-05-20 06:47:42 +0000
committerTim Harder <radhermit@gentoo.org>2012-05-20 06:47:42 +0000
commitcfd75c9897df579e25b956c4bf36bb49e581dc1f (patch)
tree5514ea19c4cd1f12ed4abfd8164b451b520708ce /net-libs/libssh2
parentversion bump (diff)
downloadgentoo-2-cfd75c9897df579e25b956c4bf36bb49e581dc1f.tar.gz
gentoo-2-cfd75c9897df579e25b956c4bf36bb49e581dc1f.tar.bz2
gentoo-2-cfd75c9897df579e25b956c4bf36bb49e581dc1f.zip
Version bump.
(Portage version: 2.2.0_alpha105/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/libssh2')
-rw-r--r--net-libs/libssh2/ChangeLog8
-rw-r--r--net-libs/libssh2/files/libssh2-1.4.2-pkgconfig.patch10
-rw-r--r--net-libs/libssh2/libssh2-1.4.2.ebuild43
3 files changed, 60 insertions, 1 deletions
diff --git a/net-libs/libssh2/ChangeLog b/net-libs/libssh2/ChangeLog
index 16b274088452..f1d815edc4e3 100644
--- a/net-libs/libssh2/ChangeLog
+++ b/net-libs/libssh2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/libssh2
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh2/ChangeLog,v 1.62 2012/05/10 21:46:56 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh2/ChangeLog,v 1.63 2012/05/20 06:47:42 radhermit Exp $
+
+*libssh2-1.4.2 (20 May 2012)
+
+ 20 May 2012; Tim Harder <radhermit@gentoo.org> +libssh2-1.4.2.ebuild,
+ +files/libssh2-1.4.2-pkgconfig.patch:
+ Version bump.
10 May 2012; Tim Harder <radhermit@gentoo.org> -libssh2-1.3.0.ebuild:
Remove old.
diff --git a/net-libs/libssh2/files/libssh2-1.4.2-pkgconfig.patch b/net-libs/libssh2/files/libssh2-1.4.2-pkgconfig.patch
new file mode 100644
index 000000000000..813e045da625
--- /dev/null
+++ b/net-libs/libssh2/files/libssh2-1.4.2-pkgconfig.patch
@@ -0,0 +1,10 @@
+--- libssh2-1.4.2/libssh2.pc.in
++++ libssh2-1.4.2/libssh2.pc.in
+@@ -12,6 +12,6 @@
+ Description: Library for SSH-based communication
+ Version: @LIBSSH2VER@
+ Requires.private: @LIBSREQUIRED@
+-Libs: -L${libdir} -lssh2 @LDFLAGS@ @LIBS@
++Libs: -L${libdir} -lssh2 @LIBS@
+ Libs.private: @LIBS@
+ Cflags: -I${includedir}
diff --git a/net-libs/libssh2/libssh2-1.4.2.ebuild b/net-libs/libssh2/libssh2-1.4.2.ebuild
new file mode 100644
index 000000000000..d263f1388340
--- /dev/null
+++ b/net-libs/libssh2/libssh2-1.4.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libssh2/libssh2-1.4.2.ebuild,v 1.1 2012/05/20 06:47:42 radhermit Exp $
+
+EAPI="4"
+
+inherit autotools-utils
+
+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 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-solaris"
+IUSE="gcrypt static-libs test zlib"
+
+DEPEND="!gcrypt? ( dev-libs/openssl )
+ gcrypt? ( dev-libs/libgcrypt )
+ zlib? ( sys-libs/zlib )"
+RDEPEND="${DEPEND}"
+
+DOCS=( README )
+
+PATCHES=( "${FILESDIR}"/${P}-pkgconfig.patch )
+
+src_configure() {
+ local myeconfargs
+
+ if use gcrypt; then
+ myeconfargs+=" --with-libgcrypt"
+ else
+ myeconfargs+=" --with-openssl"
+ fi
+
+ # Disable tests that require extra permissions (bug #333319)
+ use test && export ac_cv_path_SSHD=
+
+ myeconfargs+=(
+ $(use_with zlib libz)
+ )
+ autotools-utils_src_configure
+}