commit:     58f64b0fc79695209b50ae2415cf679ba2215892
Author:     Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Fri Mar  4 20:42:49 2016 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Mar  5 20:32:32 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58f64b0f

dev-perl/Net-SFTP-Foreign: Bump to version 1.810.0

- EAPI6
- Dep fixup for ssh
- Tests patched to test against an sftp server
- Examples now installable

Package-Manager: portage-2.2.27

 dev-perl/Net-SFTP-Foreign/Manifest                 |  1 +
 .../Net-SFTP-Foreign-1.810.0.ebuild                | 40 ++++++++++++++++++++++
 .../files/1.81-test-server-path.patch              | 11 ++++++
 3 files changed, 52 insertions(+)

diff --git a/dev-perl/Net-SFTP-Foreign/Manifest 
b/dev-perl/Net-SFTP-Foreign/Manifest
index e43ab60..a5aabfe 100644
--- a/dev-perl/Net-SFTP-Foreign/Manifest
+++ b/dev-perl/Net-SFTP-Foreign/Manifest
@@ -1 +1,2 @@
 DIST Net-SFTP-Foreign-1.75.tar.gz 157458 SHA256 
db962a0ac2f8dce469c99f8d4251f29e3ce05767c948541bde51ba109d39b0c2 SHA512 
655d263e4c8cac422b2322459286145c641a0baa90b893f306c85c804bee4c2e14f97b492edf1af0221ad98cb053a9d1d18d7ef6fb629af92f9bf9f029121b0d
 WHIRLPOOL 
2f3e0d00ff94a31a5ac87c417d59fb8a1eb383cd1f6195a647ca6388fce092f528982e4c9e27d68c598e137b3c6de6337c45dc95b1fa2e12a0aeae8121231d5e
+DIST Net-SFTP-Foreign-1.81.tar.gz 162752 SHA256 
d1918f272f2d5b5d3f4d81bb9027788fddaa0e6507ebaf82938a0466accc1ed4 SHA512 
b8d62ac3558f2ad1c53d2e0018f57e7fbc9b729eaad668a61d4a6d1bbc51be3648685bcd242980eff97c537b29d10925523b2e23e48130354cf516edee935a07
 WHIRLPOOL 
4023f765e51e07d0e8e57b6c3fb3aba8cf67bc0c2e124a4ca0a330687cee3fbcca67a4ead1db82c8f61cc62361b9fde96bbfee1a44c699d164cae688c76665cf

diff --git a/dev-perl/Net-SFTP-Foreign/Net-SFTP-Foreign-1.810.0.ebuild 
b/dev-perl/Net-SFTP-Foreign/Net-SFTP-Foreign-1.810.0.ebuild
new file mode 100644
index 0000000..a68857c
--- /dev/null
+++ b/dev-perl/Net-SFTP-Foreign/Net-SFTP-Foreign-1.810.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DIST_AUTHOR=SALVA
+DIST_VERSION=1.81
+inherit perl-module
+
+DESCRIPTION="SSH File Transfer Protocol client"
+
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~sparc ~x86"
+IUSE="test examples"
+
+PATCHES=(
+       # https://rt.cpan.org/Ticket/Display.html?id=112709
+       "${FILESDIR}/${DIST_VERSION}-test-server-path.patch"
+)
+RDEPEND="
+       virtual/perl-Scalar-List-Utils
+       virtual/perl-Time-HiRes
+       virtual/ssh
+"
+DEPEND="
+       virtual/perl-ExtUtils-MakeMaker
+       test? (
+               virtual/perl-Test-Simple
+       )
+"
+
+src_install() {
+       perl-module_src_install
+       if use examples; then
+               docompress -x /usr/share/doc/${PF}/examples
+               insinto usr/share/doc/${PF}/examples
+               doins -r samples/*
+       fi
+}

diff --git a/dev-perl/Net-SFTP-Foreign/files/1.81-test-server-path.patch 
b/dev-perl/Net-SFTP-Foreign/files/1.81-test-server-path.patch
new file mode 100644
index 0000000..243fd25
--- /dev/null
+++ b/dev-perl/Net-SFTP-Foreign/files/1.81-test-server-path.patch
@@ -0,0 +1,11 @@
+diff -Naur Net-SFTP-Foreign-1.81/t/common.pm Net-SFTP-Foreign-1.81b/t/common.pm
+--- Net-SFTP-Foreign-1.81/t/common.pm  2015-10-06 11:27:30.000000000 +0000
++++ Net-SFTP-Foreign-1.81b/t/common.pm 2016-03-04 20:32:09.551563940 +0000
+@@ -62,6 +62,7 @@
+             File::Spec->catfile($up, 'sbin', $ssname),
+             File::Spec->catfile($up, 'lib', 'openssh', $ssname),
+             File::Spec->catfile($up, 'usr', 'lib', $ssname),
++            File::Spec->catfile($up, 'usr', 'lib64','misc', $ssname),
+             File::Spec->catfile($up, 'usr', 'libexec', $ssname),
+             File::Spec->catfile($up, 'usr', 'sbin', $ssname) ) {
+ 

Reply via email to