Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libssh2/
Date: Sun, 30 Oct 2016 08:30:50
Message-Id: 1477816232.6665edacf30f81690c1fe2a2928590ca48995f20.jer@gentoo
1 commit: 6665edacf30f81690c1fe2a2928590ca48995f20
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 30 08:30:32 2016 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 30 08:30:32 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6665edac
7
8 net-libs/libssh2: Version bump.
9
10 Package-Manager: portage-2.3.2
11
12 net-libs/libssh2/Manifest | 1 +
13 net-libs/libssh2/libssh2-1.8.0.ebuild | 49 +++++++++++++++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/net-libs/libssh2/Manifest b/net-libs/libssh2/Manifest
17 index 5061067..a8d08b3 100644
18 --- a/net-libs/libssh2/Manifest
19 +++ b/net-libs/libssh2/Manifest
20 @@ -1 +1,2 @@
21 DIST libssh2-1.7.0.tar.gz 811714 SHA256 e4561fd43a50539a8c2ceb37841691baf03ecb7daf043766da1b112e4280d584 SHA512 0f9dfd83196129568c00383e2e4fea29b3d8c4f3b1690f550a6748d1db68cc437b4ed083f5d3d4646365fdc839819619aea96eeaef5ab072c7023d13f08b5153 WHIRLPOOL dceefdc11b6b88f4320bfdd01044dc9c81e4d1e3e54a9e2ec8f6869ba091668e5957a3e2a56934196c87f1877d61ebe0b45f450ca12bf1802da9812db8a4ffb6
22 +DIST libssh2-1.8.0.tar.gz 854916 SHA256 39f34e2f6835f4b992cafe8625073a88e5a28ba78f83e8099610a7b3af4676d4 SHA512 289aa45c4f99653bebf5f99565fe9c519abc204feb2084b47b7cc3badc8bf4ecdedd49ea6acdce8eb902b3c00995d5f92a3ca77b2508b92f04ae0e7de7287558 WHIRLPOOL 2f9523214b6aa48842e4bc23a8e8edb62ddbe438a18db2269bcb802c1e9234c02fece51e0530f949adad1aedef3062c0a8d959734b54cbf8ae372766a5f91c4d
23
24 diff --git a/net-libs/libssh2/libssh2-1.8.0.ebuild b/net-libs/libssh2/libssh2-1.8.0.ebuild
25 new file mode 100644
26 index 00000000..023e8a3
27 --- /dev/null
28 +++ b/net-libs/libssh2/libssh2-1.8.0.ebuild
29 @@ -0,0 +1,49 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +
36 +AUTOTOOLS_AUTORECONF=true
37 +inherit autotools-multilib
38 +
39 +DESCRIPTION="Library implementing the SSH2 protocol"
40 +HOMEPAGE="http://www.libssh2.org/"
41 +SRC_URI="http://www.${PN}.org/download/${P}.tar.gz"
42 +
43 +LICENSE="BSD"
44 +SLOT="0"
45 +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"
46 +IUSE="gcrypt libressl static-libs test zlib"
47 +
48 +DEPEND="
49 + !gcrypt? (
50 + !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
51 + libressl? ( dev-libs/libressl[${MULTILIB_USEDEP}] )
52 + )
53 + gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0[${MULTILIB_USEDEP}] )
54 + zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
55 +"
56 +RDEPEND="
57 + ${DEPEND}
58 +"
59 +
60 +DOCS=(
61 + README
62 +)
63 +
64 +src_prepare() {
65 + sed -i -e 's|mansyntax.sh||g' tests/Makefile.am || die
66 + autotools-multilib_src_prepare
67 +}
68 +
69 +multilib_src_configure() {
70 + # Disable tests that require extra permissions (bug #333319)
71 + use test && local -x ac_cv_path_SSHD=
72 +
73 + local myeconfargs=(
74 + $(use_with zlib libz)
75 + $(usex gcrypt --with-libgcrypt --with-openssl)
76 + )
77 + autotools-utils_src_configure
78 +}