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
This commit is contained in:
Kent Fredric
2017-12-12 07:39:39 +13:00
parent 7e41cd913f
commit c7194203b9
4 changed files with 64 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}

View File

@@ -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

View File

@@ -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>