Gentoo Archives: gentoo-commits

From: Julian Ospald <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Net-SSH2/
Date: Sun, 20 Sep 2015 16:39:56
Message-Id: 1442767082.1a9060be2bb240ca9c2caba7f8ecc59e47d0a416.hasufell@gentoo
1 commit: 1a9060be2bb240ca9c2caba7f8ecc59e47d0a416
2 Author: Julian Ospald <hasufell <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 20 14:53:06 2015 +0000
4 Commit: Julian Ospald <hasufell <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 20 16:38:02 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a9060be
7
8 dev-perl/Net-SSH2: add libressl support
9
10 dev-perl/Net-SSH2/Net-SSH2-0.530.0-r1.ebuild | 37 ++++++++++++++++++++++++++++
11 1 file changed, 37 insertions(+)
12
13 diff --git a/dev-perl/Net-SSH2/Net-SSH2-0.530.0-r1.ebuild b/dev-perl/Net-SSH2/Net-SSH2-0.530.0-r1.ebuild
14 new file mode 100644
15 index 0000000..ba31c41
16 --- /dev/null
17 +++ b/dev-perl/Net-SSH2/Net-SSH2-0.530.0-r1.ebuild
18 @@ -0,0 +1,37 @@
19 +# Copyright 1999-2015 Gentoo Foundation
20 +# Distributed under the terms of the GNU General Public License v2
21 +# $Id$
22 +
23 +EAPI=5
24 +
25 +MODULE_AUTHOR=RKITOVER
26 +MODULE_VERSION=0.53
27 +inherit perl-module
28 +
29 +DESCRIPTION="Net::SSH2 - Support for the SSH 2 protocol via libssh2"
30 +
31 +SLOT="0"
32 +KEYWORDS="~amd64 ~x86"
33 +IUSE="gcrypt libressl"
34 +
35 +RDEPEND="
36 + sys-libs/zlib
37 + net-libs/libssh2
38 + !gcrypt? (
39 + !libressl? ( dev-libs/openssl:0 )
40 + libressl? ( dev-libs/libressl )
41 + )
42 + gcrypt? (
43 + dev-libs/libgcrypt:0
44 + )
45 +"
46 +DEPEND="${RDEPEND}
47 + >=virtual/perl-ExtUtils-MakeMaker-6.50
48 +"
49 +
50 +SRC_TEST="do"
51 +
52 +src_configure() {
53 + use gcrypt && myconf=gcrypt
54 + perl-module_src_configure
55 +}