commit:     8490e4f1366bc3952aec241f61d72aeb07100a8b
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 27 07:06:40 2016 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 07:27:00 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8490e4f1

net-libs/libssh2: Version bump (bug #575474).

Package-Manager: portage-2.2.27

 net-libs/libssh2/Manifest             |  1 +
 net-libs/libssh2/libssh2-1.7.0.ebuild | 44 +++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/net-libs/libssh2/Manifest b/net-libs/libssh2/Manifest
index 774146d..5018976 100644
--- a/net-libs/libssh2/Manifest
+++ b/net-libs/libssh2/Manifest
@@ -1,2 +1,3 @@
 DIST libssh2-1.5.0.tar.gz 728222 SHA256 
83196badd6868f5b926bdac8017a6f90fb8a90b16652d3bf02df0330d573d0fc SHA512 
9dada6d86e962ce35d6d30625d3a8743b5f269b325d4f1e072206e73c4ef87f216fe54c0c5bfc06eb969a07e221c21ce6f7b9e5524afdb3f957a25f714c62f73
 WHIRLPOOL 
94e897f59a02ca7ab4b3006cc9c84228a202f16a8e898f202e89015275e95324cb7a71c722324134f1b7f5a85a45718a2c7d25de1d806e0534c1d61683da5487
 DIST libssh2-1.6.0.tar.gz 734110 SHA256 
5a202943a34a1d82a1c31f74094f2453c207bf9936093867f41414968c8e8215 SHA512 
aa28bf782b5de1f09d1b85aa8b480069bf08494ed3505e59ed522799dd710905b8d3464b3447e35393764632d5e43d21990ceab9584a8df17abda4f85dfc2ec7
 WHIRLPOOL 
0702eb089483b5047e517e89eca0c23719528b3672e24bf3f3a3ff3c0ca5335e1d00ff328f0c6458ae1cdd25d73d222cb3dfb5d95445df80a6bd9d8c4f17b9ff
+DIST libssh2-1.7.0.tar.gz 811714 SHA256 
e4561fd43a50539a8c2ceb37841691baf03ecb7daf043766da1b112e4280d584 SHA512 
0f9dfd83196129568c00383e2e4fea29b3d8c4f3b1690f550a6748d1db68cc437b4ed083f5d3d4646365fdc839819619aea96eeaef5ab072c7023d13f08b5153
 WHIRLPOOL 
dceefdc11b6b88f4320bfdd01044dc9c81e4d1e3e54a9e2ec8f6869ba091668e5957a3e2a56934196c87f1877d61ebe0b45f450ca12bf1802da9812db8a4ffb6

diff --git a/net-libs/libssh2/libssh2-1.7.0.ebuild 
b/net-libs/libssh2/libssh2-1.7.0.ebuild
new file mode 100644
index 0000000..27e18ac
--- /dev/null
+++ b/net-libs/libssh2/libssh2-1.7.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=true
+inherit autotools-multilib
+
+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 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x86-solaris"
+IUSE="gcrypt libressl static-libs test zlib"
+
+DEPEND="
+       !gcrypt? (
+               !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] 
)
+               libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
+       )
+       gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0[${MULTILIB_USEDEP}] )
+       zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}"
+
+DOCS=( README )
+
+src_prepare() {
+       sed -i -e 's|mansyntax.sh||g' tests/Makefile.am || die
+       autotools-multilib_src_prepare
+}
+
+multilib_src_configure() {
+       # Disable tests that require extra permissions (bug #333319)
+       use test && local -x ac_cv_path_SSHD=
+
+       local myeconfargs=(
+               $(use_with zlib libz)
+               $(usex gcrypt --with-libgcrypt --with-openssl)
+       )
+       autotools-utils_src_configure
+}

Reply via email to