summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-12-12 07:39:39 +1300
committerKent Fredric <kentnl@gentoo.org>2017-12-12 08:27:40 +1300
commitc7194203b93b03ea74801ba95ebd4fac1b5addd7 (patch)
treefb52fcddfc2840a9ce01bcb9e7857300a3be2363 /dev-perl/Net-SSH2
parentdev-perl/Net-SSH-Perl: Bump to version 2.140.0 (diff)
downloadgentoo-c7194203b93b03ea74801ba95ebd4fac1b5addd7.tar.gz
gentoo-c7194203b93b03ea74801ba95ebd4fac1b5addd7.tar.bz2
gentoo-c7194203b93b03ea74801ba95ebd4fac1b5addd7.zip
dev-perl/Net-SSH2: Bump to version 0.670.0
- Replace sed expr with patch Upstream: - Support for libssh2 1.7 features - Lots and lots of refactoring Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'dev-perl/Net-SSH2')
-rw-r--r--dev-perl/Net-SSH2/Manifest1
-rw-r--r--dev-perl/Net-SSH2/Net-SSH2-0.670.0.ebuild39
-rw-r--r--dev-perl/Net-SSH2/files/Net-SSH2-0.67-perl-5.26.patch23
-rw-r--r--dev-perl/Net-SSH2/metadata.xml1
4 files changed, 64 insertions, 0 deletions
diff --git a/dev-perl/Net-SSH2/Manifest b/dev-perl/Net-SSH2/Manifest
index a702d3146c08..e646bd048fce 100644
--- a/dev-perl/Net-SSH2/Manifest
+++ b/dev-perl/Net-SSH2/Manifest
@@ -1 +1,2 @@
DIST Net-SSH2-0.58.tar.gz 124853 BLAKE2B be4732906154977f08d66689d75f9edf565706047be693354548bf8402223ea06522cc477f8d815f33ee1ba638def40fcc3222362796f8183076928403c29fec SHA512 753e5037d08405f9c401631cd77f1df57e7ee14db44033df8ce0b82f02377bdf7fdecd32bb6f9e1cd80f3fed88adb37e3abdb0b1dbfa50d115ee9e31fd735380
+DIST Net-SSH2-0.67.tar.gz 140610 BLAKE2B dfc43e31f3ededcbdd51e87e91e223614212b3247925a16fcc708695b9b1957950e7609c8463d02db229ff3e3ac3fdfe99da6154f7216b2618a9298073babe20 SHA512 3d6dde36e9e763da024b6d03184d6e41675576914cb8ceffe7e98e64ad83a1418c499ac6afebbde8f871aebab7a78e2aa355905efcaec766d5146ef9e6fd7f5f
diff --git a/dev-perl/Net-SSH2/Net-SSH2-0.670.0.ebuild b/dev-perl/Net-SSH2/Net-SSH2-0.670.0.ebuild
new file mode 100644
index 000000000000..e4ebc8b94087
--- /dev/null
+++ b/dev-perl/Net-SSH2/Net-SSH2-0.670.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=SALVA
+DIST_VERSION=0.67
+DIST_EXAMPLES=( "example/*" )
+inherit perl-module
+
+DESCRIPTION="Support for the SSH 2 protocol via libssh2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gcrypt libressl"
+
+RDEPEND="
+ sys-libs/zlib
+ net-libs/libssh2
+ !gcrypt? (
+ !libressl? ( dev-libs/openssl:0 )
+ libressl? ( dev-libs/libressl )
+ )
+ gcrypt? (
+ dev-libs/libgcrypt:0
+ )
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-Constant
+ >=virtual/perl-ExtUtils-MakeMaker-6.50
+"
+PATCHES=(
+ "${FILESDIR}/${PN}-0.67-perl-5.26.patch"
+)
+
+src_configure() {
+ use gcrypt && myconf=gcrypt
+ perl-module_src_configure
+}
diff --git a/dev-perl/Net-SSH2/files/Net-SSH2-0.67-perl-5.26.patch b/dev-perl/Net-SSH2/files/Net-SSH2-0.67-perl-5.26.patch
new file mode 100644
index 000000000000..49e575835db2
--- /dev/null
+++ b/dev-perl/Net-SSH2/files/Net-SSH2-0.67-perl-5.26.patch
@@ -0,0 +1,23 @@
+From 11b70a6e74a8705d40ffb7b277c96c5e2d896cf9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= <dilfridge@gentoo.org>
+Date: Thu, 6 Jul 2017 04:58:22 +1200
+Subject: Add build fix for Perl 5.26, bug 623008
+
+Bug: https://bugs.gentoo.org/623008
+Bug: https://github.com/rkitover/net-ssh2/pull/42
+---
+ Makefile.PL | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 6b9d6d5..7bd8094 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -1,3 +1,4 @@
++use lib q[.];
+ use inc::Module::Install 0.91;
+ use Cwd;
+ use Config;
+--
+2.14.3
+
diff --git a/dev-perl/Net-SSH2/metadata.xml b/dev-perl/Net-SSH2/metadata.xml
index cade61a47899..3240d6b9ca0e 100644
--- a/dev-perl/Net-SSH2/metadata.xml
+++ b/dev-perl/Net-SSH2/metadata.xml
@@ -14,6 +14,7 @@
<remote-id type="cpan-module">Net::SSH2::Channel</remote-id>
<remote-id type="cpan-module">Net::SSH2::Dir</remote-id>
<remote-id type="cpan-module">Net::SSH2::File</remote-id>
+ <remote-id type="cpan-module">Net::SSH2::KnownHosts</remote-id>
<remote-id type="cpan-module">Net::SSH2::Listener</remote-id>
<remote-id type="cpan-module">Net::SSH2::PublicKey</remote-id>
<remote-id type="cpan-module">Net::SSH2::SFTP</remote-id>