summaryrefslogtreecommitdiff
path: root/dev-perl/Test-TCP
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-11 09:12:41 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-11 09:12:41 +0000
commit343a7272d559a21a0e0ed13cb743fabb2bfcc479 (patch)
treedb03f20672a6244296ccc2aa27e70757937eb9f7 /dev-perl/Test-TCP
parent456dbeaab3e2f71f527eae542ab44d1e372b0655 (diff)
gentoo resync : 11.01.2018
Diffstat (limited to 'dev-perl/Test-TCP')
-rw-r--r--dev-perl/Test-TCP/Manifest2
-rw-r--r--dev-perl/Test-TCP/Test-TCP-2.190.0-r1.ebuild32
-rw-r--r--dev-perl/Test-TCP/files/Test-TCP-2.19-no-dot-inc.patch160
3 files changed, 194 insertions, 0 deletions
diff --git a/dev-perl/Test-TCP/Manifest b/dev-perl/Test-TCP/Manifest
index 8b48ef56277a..652d192d10ac 100644
--- a/dev-perl/Test-TCP/Manifest
+++ b/dev-perl/Test-TCP/Manifest
@@ -1,7 +1,9 @@
+AUX Test-TCP-2.19-no-dot-inc.patch 4077 BLAKE2B 630fe7bc78859df26c2fbcb0d6fc1d6e753080e402cf0fbe0764789fdeff2a34db219747cf896eb802f2962661a9f2690265cbf4c0660e8cf09d28b97bce5d96 SHA512 9df9a1f2a7e126360f6a6d212c871046df7d236c513c8debb74c9503b29245c48d003151b850b2701ebf0d41b50b98d25275902ba3e033659e52c04ec750ebe4
DIST Test-TCP-2.06.tar.gz 21848 BLAKE2B dc963b26cbe2ed77eb067c3fe01aff6c76d1761731ead8fcb211018402de3f465655a722422ea5aaf143e36820b1ea67db0165cb40ee720c353a3fb366203085 SHA512 e4fcc79f8d62a8ce669a975e89c4bbf3fd56396c83a8c3b750fec002b3e9bd8dd829faf30bfa47f0db31bc0b5daedfa1e6edc3e2e9f628b0d0c7c25fef1081ab
DIST Test-TCP-2.17.tar.gz 25061 BLAKE2B 9bf6e4f0d8ed3287290f4806f9d21b9976c304226eaef120c7da9cd77d28a305cfc8dcf50eed2ab83b7730916a91c6d57f582bede8b8bfbee274eacced1bcb08 SHA512 41795ae4287d43b28f8892ef9e545d155cb61bb7daf35a937a5c9bfd5f480b8714b7c07f393e540ff6bc3711eebb8fc8380833e6163bf66d09e9c1d28b5a30c9
DIST Test-TCP-2.19.tar.gz 26003 BLAKE2B 796720b45b4ba2dab7d336072c12775942a20d9935f6e862fc2ac2d5273b62485a283a7cacd31823110b7006f5b0de64b46892130c5e16781fc9559e6bb321d7 SHA512 1de76f5dc456697d8ea0799bb60d858b0e1c0089f066d1a446c46708e6cb3441849e264526082a066c31519ded4731cde9310b8a493f571ed670c2fbb60a3e85
EBUILD Test-TCP-2.170.0.ebuild 626 BLAKE2B e40fb6b4c7285c08ffde7d1a56d100afa962799491701a09b36fa904af89bf592a88ad1a1baa42e4a75271f5f99cde06f7328faadafbbd21bc1bc3aeb789b698 SHA512 5765247f4d83e93f0a48d1d2dd23cf331d5a3e3198359e6cffe3c725f1ccd6c655e1bb6df76c966d7f8513ac3dfe2a51ecdb8e9b63195ce6a2ae305aa6d9ea44
+EBUILD Test-TCP-2.190.0-r1.ebuild 684 BLAKE2B 987e057b68d1984bad03b5dc20040d81f1505c5baefae09d055025d7a5bd831c0807353101ea71d101597e5a0c21129a3783e9153188d5c6e9a34392eb67748e SHA512 173c5b519083ec374c70683a51c2a414aa23e6ca646b6cb0361c9432bd5c7434ab33485d8cf9840a533d2742634d729f7f1131f80a65a3d5c6dc0e2f9b30b5ce
EBUILD Test-TCP-2.190.0.ebuild 630 BLAKE2B e2212072bae7c6b980e922ef6154f469a918a4839c46b86670d3c8ae0d9f6af273a2bcd2c13b184097f7093b6e74913c0bd07f197f95206f6010df074df688b7 SHA512 415b4c07044ea5e7f4f45e79c086bb21fdcc5ca8e0b93ba3c774e7b810b3a7f38b38768d13768063e2619afe476b3cbeaa3c588b201125dfbefed1142ce67d68
EBUILD Test-TCP-2.60.0.ebuild 429 BLAKE2B b53e9a82896be5ac7cb378cab6e596661e46ad4f6658d72c02195a4455da9962d996f6eafa6677b192da7527dab43a894582dcb5bdae94bc6d4db6dd05c3f05e SHA512 053bf1e1f964eca3671bd7dbd641f02b16970cf62f553071f3273586ae45590c6fb1d4e04c6adec93843b3c073049053cd86910c15895bf50acfee85a1e00a90
MISC metadata.xml 516 BLAKE2B 7e7112059ed6f6790d7d4416049a7f28e2bb264f1100c271b6d6b2c7513d5f554646127bc6bde0fb2b9bb0d7556644bf78b309b316635b2214e591a0bae8cf5e SHA512 d16eb22478b6414a03c014e909e1b1282a45fa79e26bba3c139b056f0ef49df36b5bc2a75584f28c0430ee170823b06067a0ae8e2b684f98c3eddf8fa1e26d94
diff --git a/dev-perl/Test-TCP/Test-TCP-2.190.0-r1.ebuild b/dev-perl/Test-TCP/Test-TCP-2.190.0-r1.ebuild
new file mode 100644
index 000000000000..b258a071cfe4
--- /dev/null
+++ b/dev-perl/Test-TCP/Test-TCP-2.190.0-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=TOKUHIROM
+DIST_VERSION=2.19
+inherit perl-module
+
+DESCRIPTION="Testing TCP program"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+
+RDEPEND="
+ virtual/perl-IO
+ virtual/perl-IO-Socket-IP
+ >=dev-perl/Test-SharedFork-0.290.0
+ virtual/perl-Test-Simple
+ >=virtual/perl-IO-1.230.0
+ virtual/perl-Time-HiRes
+"
+DEPEND="${RDEPEND}
+ >=virtual/perl-ExtUtils-MakeMaker-6.640.0
+ test? (
+ >=virtual/perl-Test-Simple-0.980.0
+ virtual/perl-File-Temp
+ virtual/perl-Socket
+ )
+"
+PATCHES=( "${FILESDIR}/${PN}-2.19-no-dot-inc.patch" )
diff --git a/dev-perl/Test-TCP/files/Test-TCP-2.19-no-dot-inc.patch b/dev-perl/Test-TCP/files/Test-TCP-2.19-no-dot-inc.patch
new file mode 100644
index 000000000000..151aad9d708d
--- /dev/null
+++ b/dev-perl/Test-TCP/files/Test-TCP-2.19-no-dot-inc.patch
@@ -0,0 +1,160 @@
+From d197da690b5140f2276d6f577ad6e87a90ae8d47 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentnl@gentoo.org>
+Date: Thu, 11 Jan 2018 10:44:57 +1300
+Subject: Fix tests for '.' in @INC
+
+This is the smallest change that can be made that preserves original
+semantics
+
+Bug: https://bugs.gentoo.org/614342
+Bug: https://github.com/tokuhirom/Test-TCP/issues/58
+Bug: https://github.com/tokuhirom/Test-TCP/pull/62
+---
+ t/01_simple.t | 2 +-
+ t/02_abrt.t | 2 +-
+ t/03_return_when_sigterm.t | 5 ++++-
+ t/04_die.t | 2 +-
+ t/06_nest.t | 2 +-
+ t/08_exit.t | 2 +-
+ t/09_fork.t | 2 +-
+ t/10_oo.t | 2 +-
+ t/12_pass_wait_port_options.t | 2 +-
+ t/13_undef_port.t | 2 +-
+ 10 files changed, 13 insertions(+), 10 deletions(-)
+
+diff --git a/t/01_simple.t b/t/01_simple.t
+index ff29244..dd8f801 100644
+--- a/t/01_simple.t
++++ b/t/01_simple.t
+@@ -4,7 +4,7 @@ use Test::More;
+ use Test::TCP;
+ use Net::EmptyPort qw(can_bind);
+ use IO::Socket::IP;
+-use t::Server;
++BEGIN { require './t/Server.pm' }
+
+ sub doit {
+ my $host = shift;
+diff --git a/t/02_abrt.t b/t/02_abrt.t
+index 10d0996..94e21c2 100644
+--- a/t/02_abrt.t
++++ b/t/02_abrt.t
+@@ -4,7 +4,7 @@ use Test::TCP;
+ use Test::More;
+ use Socket;
+ use IO::Socket::INET;
+-use t::Server;
++BEGIN { require './t/Server.pm' }
+
+ plan skip_all => "win32 doesn't support embedded function named dump()" if $^O eq 'MSWin32';
+ plan tests => 2;
+diff --git a/t/03_return_when_sigterm.t b/t/03_return_when_sigterm.t
+index 228fd2a..6751492 100644
+--- a/t/03_return_when_sigterm.t
++++ b/t/03_return_when_sigterm.t
+@@ -2,7 +2,10 @@ use warnings;
+ use strict;
+ use Test::More tests => 2;
+ use Test::TCP;
+-use t::Server;
++BEGIN {
++ require './t/Server.pm';
++ t::Server->import();
++}
+
+ # ABOUT: some tcp server related software returns control when received SIGTERM instead of exit.
+ # This test emulate it's situation.
+diff --git a/t/04_die.t b/t/04_die.t
+index f393d51..e745e2e 100644
+--- a/t/04_die.t
++++ b/t/04_die.t
+@@ -3,7 +3,7 @@ use strict;
+ use Test::More tests => 9;
+ use Test::TCP;
+ use IO::Socket::INET;
+-use t::Server;
++BEGIN { require './t/Server.pm' }
+
+ my $child_pid;
+ eval {
+diff --git a/t/06_nest.t b/t/06_nest.t
+index 18edfab..8240a98 100644
+--- a/t/06_nest.t
++++ b/t/06_nest.t
+@@ -2,7 +2,7 @@ use strict;
+ use warnings;
+ use Test::TCP;
+ use Test::More tests => 1;
+-use t::Server;
++BEGIN { require './t/Server.pm' }
+
+ test_tcp(
+ client => sub {
+diff --git a/t/08_exit.t b/t/08_exit.t
+index 5aaeac4..2f05126 100644
+--- a/t/08_exit.t
++++ b/t/08_exit.t
+@@ -4,7 +4,7 @@ use Test::More tests => 5;
+ use Test::TCP;
+ use File::Temp ();
+ use Fcntl qw/:seek/;
+-use t::Server;
++BEGIN { require './t/Server.pm' }
+ use POSIX;
+
+ my $tmp = File::Temp->new();
+diff --git a/t/09_fork.t b/t/09_fork.t
+index 82f8a4c..eea84b2 100644
+--- a/t/09_fork.t
++++ b/t/09_fork.t
+@@ -1,7 +1,7 @@
+ use strict;
+ use Test::More tests => 6;
+ use Test::TCP;
+-use t::Server;
++BEGIN { require './t/Server.pm' }
+
+ test_tcp
+ client => sub {
+diff --git a/t/10_oo.t b/t/10_oo.t
+index 237e430..29149a6 100644
+--- a/t/10_oo.t
++++ b/t/10_oo.t
+@@ -3,7 +3,7 @@ use strict;
+ use Test::More tests => 24;
+ use Test::TCP;
+ use IO::Socket::INET;
+-use t::Server;
++BEGIN { require './t/Server.pm' }
+
+ my $server = Test::TCP->new(
+ code => sub {
+diff --git a/t/12_pass_wait_port_options.t b/t/12_pass_wait_port_options.t
+index 24891f6..fe2927b 100644
+--- a/t/12_pass_wait_port_options.t
++++ b/t/12_pass_wait_port_options.t
+@@ -4,7 +4,7 @@ use utf8;
+ use Test::More;
+ use Test::TCP;
+ use IO::Socket::INET;
+-use t::Server;
++BEGIN { require './t/Server.pm' }
+
+ my %wait_port_args;
+ my $old = \&Net::EmptyPort::wait_port;
+diff --git a/t/13_undef_port.t b/t/13_undef_port.t
+index 5a7cce3..7e9f21b 100644
+--- a/t/13_undef_port.t
++++ b/t/13_undef_port.t
+@@ -3,7 +3,7 @@ use strict;
+ use Test::More tests => 22;
+ use Test::TCP;
+ use IO::Socket::INET;
+-use t::Server;
++BEGIN { require './t/Server.pm' }
+
+ test_tcp(
+ client => sub {
+--
+2.15.1
+