summaryrefslogtreecommitdiff
path: root/dev-perl/Net-HTTP
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/Net-HTTP
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/Net-HTTP')
-rw-r--r--dev-perl/Net-HTTP/Manifest15
-rw-r--r--dev-perl/Net-HTTP/Net-HTTP-6.120.0.ebuild37
-rw-r--r--dev-perl/Net-HTTP/Net-HTTP-6.130.0.ebuild37
-rw-r--r--dev-perl/Net-HTTP/Net-HTTP-6.150.0.ebuild37
-rw-r--r--dev-perl/Net-HTTP/Net-HTTP-6.160.0.ebuild37
-rw-r--r--dev-perl/Net-HTTP/Net-HTTP-6.170.0.ebuild37
-rw-r--r--dev-perl/Net-HTTP/Net-HTTP-6.90.0.ebuild29
-rw-r--r--dev-perl/Net-HTTP/files/6.12-networktest.patch131
-rw-r--r--dev-perl/Net-HTTP/files/networktest.patch48
-rw-r--r--dev-perl/Net-HTTP/metadata.xml15
10 files changed, 423 insertions, 0 deletions
diff --git a/dev-perl/Net-HTTP/Manifest b/dev-perl/Net-HTTP/Manifest
new file mode 100644
index 000000000000..3208b9dab6fe
--- /dev/null
+++ b/dev-perl/Net-HTTP/Manifest
@@ -0,0 +1,15 @@
+AUX 6.12-networktest.patch 3533 BLAKE2B d81d161a2ceb342d689e1e464ff2aa7102d3c49f48cee14cb5c49c2e8c5e1a26c1e30dd7bb7e7ddfce4583c455a069ce48b4576ef9ff63a49d47f8d818bf2d4e SHA512 789a613b42202aabe9bc35a82266096d73843906a193fa4d6b42a1dd3bbd9f84fd7d561dd4a19d28c77df1eaf65b270b8e3dff823cb1e7de07fd5798e0571182
+AUX networktest.patch 1554 BLAKE2B 58cf7033b8e4cb7f632c40f4e0b736d6193f39a727bb3e1de3e684d93a0a4b62d39395f686bad4dc4d11181b8e2b255d99afa060f856527077a47df3d31a1e7e SHA512 97d03089bf155955fd047bbc069d11274faff4f22ea410a80b650f44ea7708708e490b26f9b31037800a140c1b79c0270af3053569efe0776ce6fb272d16797a
+DIST Net-HTTP-6.09.tar.gz 17686 BLAKE2B 25506bd55a9469d73b7fcf469ac9b186c62aa60f682c3456ff7c2079055a8562544dfe8ccab3fa181b6edd16f821e7e906fed3b35b0c69597957c74e377b9a32 SHA512 ae36c8367206f18190237f9c6db417054b78f99cfa79cc651550d3612505faf9d31e415c8b32e7f87f4fd389ccaa0e23f62c3781f6f27485b7296b2fe48d7e45
+DIST Net-HTTP-6.12.tar.gz 29548 BLAKE2B 70bb5f20dcd98918a50466e6ccda1585be4ce9ef479292c86dc0083f8f720f7b35eee553b9b80cea8c6c84f53b1002dd8fcfebd26bf942988ef560b4763ea927 SHA512 5353f1c5914f90338f05342904224ff7998133e025de4389a68e9abf521040a1f9bb4c9b8c13f65bb014947fc3186c1d7e078a699f40a3edf5afed3a0da8746d
+DIST Net-HTTP-6.13.tar.gz 29658 BLAKE2B c361317dd69a0b767eaa0101016db8848e0078582f6a316497146d30a12ba9f7b633e5937c7a34fd66d2c244f18fb0681f2234028c062ac67f96fb542538eb77 SHA512 7c94248d03fc4b0334439a055edcf840b5dadcd2e69f05834c54e4c45908f68c2783da3189e4cd2a5f3caf51f95e483241a7e2f1f58851029c70cffc3bbfac03
+DIST Net-HTTP-6.15.tar.gz 34262 BLAKE2B 58b83edb57938bf654bd95bd423a7694adf2e676a4c20bc96ed3cae94c18c75de56f136ad6896fd101dcafd79cfba2ec2117421a1e7d56f395d65824067cc313 SHA512 10d539a1aaeb2e5850d3a626bd3989824d76f512d5165e934bd0b0d57220ba80aab872e3c36f2d9ef9e1e49e74d2cde31b335ae616b3b299cfd6acea061e3347
+DIST Net-HTTP-6.16.tar.gz 34458 BLAKE2B fceabb6c9b78d8d4c2e2849a6cfa51c474a3efb942b16cc4c713cbf31e892cbbff005783f1d81c070972ba2d47f7c465353d50ea232afd86eb9ab498a89b91dd SHA512 467a536c4ecc5caeeebe2a0523cc311515c39df53d604d8dc9ad78fbe01c8cc5b24bf483884d2aa2a168bc213ddfe964d679474a1be860f10d87283806c0a496
+DIST Net-HTTP-6.17.tar.gz 37943 BLAKE2B 7b32a1bd12803fa5ccabed0e312f97eed9b932f448d2675a01cfa81de2d2d116c41dab1c1a5884a68621cde76bde1c006e6a88c40e88d09b7e60703c6658f14c SHA512 ce4453896fea1194342ed5279173fe3289ae7a2f489145930bd74eb680a347d974675b65d387aa7735d2c5404d7c5a34049b10a1ba87f36df0ad6e3d45d4f2f8
+EBUILD Net-HTTP-6.120.0.ebuild 949 BLAKE2B c6ed98d587359995afb4b18444859796ad5ff344e9a8dcb95cd22552b9fda05c354d8093fe72aae6ddb01be408dc4f81867d403f618db3f717b5e7ee88ddd813 SHA512 c053e14afa685938589653d08683f2e09ddb50181cbc92ac24c856fa65eba3861c70c71428a760d75c112009fcec1b40351d01eb0169c240aa1ed74abd0f4d73
+EBUILD Net-HTTP-6.130.0.ebuild 950 BLAKE2B 95f199bd8115ba53503d6322e1351a7bd7232147c3e39ef4d57b7026afb3f3dd620723cad89dadbb32034ef0f2eb3fbf5ed17259f90ae14710ef47b1bf90ae05 SHA512 c49af5f47571dc5055a4f3c76e3ea0ffc30578e0670c14c88809d40762dc99e0d47408e96dba8f3dff603c2788202f73fe4b99c4d8eb070753f6265a3be17d13
+EBUILD Net-HTTP-6.150.0.ebuild 926 BLAKE2B 182f5e40b463638ac75d66a8faead62528d99eed4a2d23d989fbb788a764900d69ed2cb48aa0efdd7b8fb288ce7798059dc3ad3e7b9d1673dd77054b96332938 SHA512 fdafd78214b436c190e74e3a7703de2a6d6c3bf2625042359c9a20938e44dd5e2651947c758f2bdecf707ed17c4d0776485a5fabd04164760c23142be22607e9
+EBUILD Net-HTTP-6.160.0.ebuild 925 BLAKE2B 480a8f1f8764c49a0d212cbdeae7ce74ff8f55a960c253b28863ce33c3abc86947ad720e4db560ecc4111532e9d15ae7e720ab80b963d5c29cdc1aac9830d3ec SHA512 ae7717fd2ffc8999a9f4d8940673094be1f51bc7eab31b545622741eeb792be65e8251b1b21675b90cbc6dc2f890c2271d5fcb5bee962c85367a21c22dc7a1ce
+EBUILD Net-HTTP-6.170.0.ebuild 937 BLAKE2B 73cc768efc8f63f2b199e2bf6c131bd058b769f533c672e87ae62ea120e8d233a746026948e121237d6ea1dafd76ee7604332897f69bcca47dc61d61bbcde936 SHA512 86de4b7c4f83161f08fa6f2d28691aaf6b2589a5cdef977479769e6bd2defcd6cf1672e0b1de27ceb8828872d877868156db5fc17ca91ec9be4dd989dbeefa2c
+EBUILD Net-HTTP-6.90.0.ebuild 766 BLAKE2B 50bb9235d839badc300c6a4e9e13858faec19a75a02c6fae0f17d2d2116a4a42e758c86f89995ebca8ea011649501ae4dd9269ecbdf313f75905cbdf329b8e92 SHA512 4dd774a461368b50fec5072910334d68fb852ec4c6f20af3726a781ef438aae51fee3658dc77ca2a604517581ffa5d265e1c85b775785b451fe3daf33d2c9175
+MISC metadata.xml 552 BLAKE2B cceb9dac240083ce84261040992af424efbb107431e3c705afe9b8a328cf6fb69c1fa20dec1233fe71e7b2d1103161831293f780c2d1b2c7ff0a56352d1e3f89 SHA512 961ea4e69d6fee34cb1e0086fb4fd451ecb36192a1ab48373350f77e6f7e84e79f20dd7d8fb51429a7e678287f494472358d8e6ad5f8839ce2f159d7bdbb2be0
diff --git a/dev-perl/Net-HTTP/Net-HTTP-6.120.0.ebuild b/dev-perl/Net-HTTP/Net-HTTP-6.120.0.ebuild
new file mode 100644
index 000000000000..638461912442
--- /dev/null
+++ b/dev-perl/Net-HTTP/Net-HTTP-6.120.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=OALDERS
+DIST_VERSION=6.12
+inherit perl-module
+
+DESCRIPTION="Low-level HTTP connection (client)"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="minimal test"
+
+PATCHES=( "${FILESDIR}/${DIST_VERSION}-networktest.patch" )
+RDEPEND="
+ !minimal? (
+ virtual/perl-IO-Socket-IP
+ dev-perl/IO-Socket-INET6
+ >=dev-perl/IO-Socket-SSL-1.380.0
+ )
+ virtual/perl-Carp
+ !<dev-perl/libwww-perl-6
+ virtual/perl-Compress-Raw-Zlib
+ virtual/perl-IO
+ virtual/perl-IO-Compress
+ dev-perl/URI
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ test? (
+ virtual/perl-Data-Dumper
+ virtual/perl-Socket
+ virtual/perl-Test-Simple
+ )
+"
diff --git a/dev-perl/Net-HTTP/Net-HTTP-6.130.0.ebuild b/dev-perl/Net-HTTP/Net-HTTP-6.130.0.ebuild
new file mode 100644
index 000000000000..01cfc32c35d2
--- /dev/null
+++ b/dev-perl/Net-HTTP/Net-HTTP-6.130.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=OALDERS
+DIST_VERSION=6.13
+inherit perl-module
+
+DESCRIPTION="Low-level HTTP connection (client)"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="minimal test"
+
+PATCHES=( "${FILESDIR}/6.12-networktest.patch" )
+RDEPEND="
+ !minimal? (
+ virtual/perl-IO-Socket-IP
+ dev-perl/IO-Socket-INET6
+ >=dev-perl/IO-Socket-SSL-1.380.0
+ )
+ virtual/perl-Carp
+ !<dev-perl/libwww-perl-6
+ virtual/perl-Compress-Raw-Zlib
+ virtual/perl-IO
+ virtual/perl-IO-Compress
+ dev-perl/URI
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ test? (
+ virtual/perl-Data-Dumper
+ virtual/perl-Socket
+ virtual/perl-Test-Simple
+ )
+"
diff --git a/dev-perl/Net-HTTP/Net-HTTP-6.150.0.ebuild b/dev-perl/Net-HTTP/Net-HTTP-6.150.0.ebuild
new file mode 100644
index 000000000000..e208578046b2
--- /dev/null
+++ b/dev-perl/Net-HTTP/Net-HTTP-6.150.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=OALDERS
+DIST_VERSION=6.15
+inherit perl-module
+
+DESCRIPTION="Low-level HTTP connection (client)"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="minimal test"
+
+RDEPEND="
+ !minimal? (
+ virtual/perl-IO-Socket-IP
+ dev-perl/IO-Socket-INET6
+ >=dev-perl/IO-Socket-SSL-1.380.0
+ )
+ virtual/perl-Carp
+ !<dev-perl/libwww-perl-6
+ virtual/perl-Compress-Raw-Zlib
+ virtual/perl-IO
+ virtual/perl-IO-Compress
+ dev-perl/URI
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ test? (
+ virtual/perl-Data-Dumper
+ virtual/perl-File-Spec
+ virtual/perl-Socket
+ virtual/perl-Test-Simple
+ )
+"
diff --git a/dev-perl/Net-HTTP/Net-HTTP-6.160.0.ebuild b/dev-perl/Net-HTTP/Net-HTTP-6.160.0.ebuild
new file mode 100644
index 000000000000..6a472b846bd8
--- /dev/null
+++ b/dev-perl/Net-HTTP/Net-HTTP-6.160.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=OALDERS
+DIST_VERSION=6.16
+inherit perl-module
+
+DESCRIPTION="Low-level HTTP connection (client)"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="minimal test"
+
+RDEPEND="
+ !minimal? (
+ virtual/perl-IO-Socket-IP
+ dev-perl/IO-Socket-INET6
+ >=dev-perl/IO-Socket-SSL-2.12.0
+ )
+ virtual/perl-Carp
+ !<dev-perl/libwww-perl-6
+ virtual/perl-Compress-Raw-Zlib
+ virtual/perl-IO
+ virtual/perl-IO-Compress
+ dev-perl/URI
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ test? (
+ virtual/perl-Data-Dumper
+ virtual/perl-File-Spec
+ virtual/perl-Socket
+ virtual/perl-Test-Simple
+ )
+"
diff --git a/dev-perl/Net-HTTP/Net-HTTP-6.170.0.ebuild b/dev-perl/Net-HTTP/Net-HTTP-6.170.0.ebuild
new file mode 100644
index 000000000000..42488d6d7b0b
--- /dev/null
+++ b/dev-perl/Net-HTTP/Net-HTTP-6.170.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=OALDERS
+DIST_VERSION=6.17
+inherit perl-module
+
+DESCRIPTION="Low-level HTTP connection (client)"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="minimal test"
+
+RDEPEND="
+ !minimal? (
+ virtual/perl-IO-Socket-IP
+ dev-perl/IO-Socket-INET6
+ >=dev-perl/IO-Socket-SSL-2.12.0
+ )
+ virtual/perl-Carp
+ !<dev-perl/libwww-perl-6
+ virtual/perl-Compress-Raw-Zlib
+ virtual/perl-IO
+ virtual/perl-IO-Compress
+ dev-perl/URI
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ test? (
+ virtual/perl-Data-Dumper
+ virtual/perl-File-Spec
+ virtual/perl-Socket
+ virtual/perl-Test-Simple
+ )
+"
diff --git a/dev-perl/Net-HTTP/Net-HTTP-6.90.0.ebuild b/dev-perl/Net-HTTP/Net-HTTP-6.90.0.ebuild
new file mode 100644
index 000000000000..f68939e1322b
--- /dev/null
+++ b/dev-perl/Net-HTTP/Net-HTTP-6.90.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=ETHER
+DIST_VERSION=6.09
+inherit perl-module
+
+DESCRIPTION="Low-level HTTP connection (client)"
+
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="minimal"
+
+PATCHES=( "${FILESDIR}/networktest.patch" )
+RDEPEND="
+ !minimal? (
+ >=dev-perl/IO-Socket-SSL-1.380.0
+ )
+ !<dev-perl/libwww-perl-6
+ virtual/perl-Compress-Raw-Zlib
+ virtual/perl-IO
+ virtual/perl-IO-Compress
+ dev-perl/URI
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+"
diff --git a/dev-perl/Net-HTTP/files/6.12-networktest.patch b/dev-perl/Net-HTTP/files/6.12-networktest.patch
new file mode 100644
index 000000000000..3b67a939fe64
--- /dev/null
+++ b/dev-perl/Net-HTTP/files/6.12-networktest.patch
@@ -0,0 +1,131 @@
+From 3cfadd0fd690678e57eb5b6d1e0528724195238d Mon Sep 17 00:00:00 2001
+From: Olaf Alders <olaf@wundersolutions.com>
+Date: Thu, 29 Dec 2016 22:25:12 -0500
+Subject: [PATCH 1/2] Allow for 302s in live tests.
+
+---
+ t/live-https.t | 7 ++-----
+ t/live.t | 7 ++-----
+ 2 files changed, 4 insertions(+), 10 deletions(-)
+
+diff --git a/t/live-https.t b/t/live-https.t
+index 3482bbf..82e3b3d 100644
+--- a/t/live-https.t
++++ b/t/live-https.t
+@@ -63,12 +63,9 @@ for ( 1 .. 2 ) {
+ $buf .= $tmp;
+ }
+ $buf =~ s/\r//g;
+-
+- # ( my $out = $buf ) =~ s/^/# /gm;
+- # print $out;
+
+- is( $code, "200" );
++ ok( $code == 302 || $code == 200, 'success' );
+ like( $h{'Content-Type'}, qr{text/html} );
+- like( $buf, qr{</html>} );
++ like( $buf, qr{</html>}i );
+ }
+
+diff --git a/t/live.t b/t/live.t
+index 747515a..9a8306d 100644
+--- a/t/live.t
++++ b/t/live.t
+@@ -57,12 +57,9 @@ for ( 1 .. 2 ) {
+ $buf .= $tmp;
+ }
+ $buf =~ s/\r//g;
+-
+- # ( my $out = $buf ) =~ s/^/# /gm;
+- # print $out;
+
+- is( $code, "200" );
++ ok( $code == 302 || $code == 200, 'success' );
+ like( $h{'Content-Type'}, qr{text/html} );
+- like( $buf, qr{</html>} );
++ like( $buf, qr{</html>}i );
+ }
+
+--
+2.11.0
+
+From e9e0dcfb01425e3f620312375eaa50c4d6d0e561 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentfredric@gmail.com>
+Date: Sun, 8 Jan 2017 17:54:44 +1300
+Subject: [PATCH 2/2] Use NO_NETWORK_TESTING env var to fence off live tests
+
+---
+ t/live-https.t | 4 ++--
+ t/live.t | 4 ++--
+ t/rt-112313.t | 25 ++++++++++++++++++++-----
+ 3 files changed, 24 insertions(+), 9 deletions(-)
+
+diff --git a/t/live-https.t b/t/live-https.t
+index 82e3b3d..7d5d258 100644
+--- a/t/live-https.t
++++ b/t/live-https.t
+@@ -1,6 +1,6 @@
+ BEGIN {
+- unless ( -f "t/LIVE_TESTS" || -f "LIVE_TESTS" ) {
+- print "1..0 # SKIP Live tests disabled; pass --live-tests to Makefile.PL to enable\n";
++ if ( $ENV{NO_NETWORK_TESTING} ) {
++ print "1..0 # SKIP Live tests disabled due to NO_NETWORK_TESTING\n";
+ exit;
+ }
+ eval {
+diff --git a/t/live.t b/t/live.t
+index 9a8306d..a7c2f9d 100644
+--- a/t/live.t
++++ b/t/live.t
+@@ -1,6 +1,6 @@
+ BEGIN {
+- unless ( -f "t/LIVE_TESTS" || -f "LIVE_TESTS" ) {
+- print "1..0 # SKIP Live tests disabled; pass --live-tests to Makefile.PL to enable\n";
++ if ( $ENV{NO_NETWORK_TESTING} ) {
++ print "1..0 # SKIP Live tests disabled due to NO_NETWORK_TESTING\n";
+ exit;
+ }
+ eval {
+diff --git a/t/rt-112313.t b/t/rt-112313.t
+index 365d498..f98040d 100644
+--- a/t/rt-112313.t
++++ b/t/rt-112313.t
+@@ -1,3 +1,23 @@
++BEGIN {
++ if ( $ENV{NO_NETWORK_TESTING} ) {
++ print "1..0 # SKIP Live tests disabled due to NO_NETWORK_TESTING\n";
++ exit;
++ }
++ eval {
++ require IO::Socket::INET;
++ my $s = IO::Socket::INET->new(
++ PeerHost => "httpbin.org:80",
++ Timeout => 5,
++ );
++ die "Can't connect: $@" unless $s;
++ };
++ if ($@) {
++ print "1..0 # SKIP Can't connect to httpbin.org\n";
++ print $@;
++ exit;
++ }
++}
++
+ use strict;
+ use warnings;
+ use Test::More;
+@@ -15,11 +35,6 @@ use Net::HTTP;
+ # So, we check that the reponse growth is only one byte after each iteration and also test multiple
+ # times across the 1024, 2048 and 3072 boundaries...
+
+-unless (-f "t/LIVE_TESTS" || -f "LIVE_TESTS")
+-{
+- print "1..0 # SKIP Live tests disabled; pass --live-tests to Makefile.PL to enable\n";
+- exit;
+-}
+
+ sub try
+ {
+--
+2.11.0
+
diff --git a/dev-perl/Net-HTTP/files/networktest.patch b/dev-perl/Net-HTTP/files/networktest.patch
new file mode 100644
index 000000000000..c1789424f0ce
--- /dev/null
+++ b/dev-perl/Net-HTTP/files/networktest.patch
@@ -0,0 +1,48 @@
+diff -Naur Net-HTTP-6.09/Makefile.PL Net-HTTP-6.09b/Makefile.PL
+--- Net-HTTP-6.09/Makefile.PL 2015-05-02 03:08:06.000000000 +0000
++++ Net-HTTP-6.09b/Makefile.PL 2016-03-01 03:52:01.412179572 +0000
+@@ -3,16 +3,6 @@
+ require 5.006002;
+ use strict;
+ use ExtUtils::MakeMaker;
+-use Getopt::Long qw(GetOptions);
+-GetOptions(\my %opt, 'live-tests',) or warn "Usage: $0 [--live-tests]\n";
+-
+-my $flag_file = "t/LIVE_TESTS";
+-if ($opt{"live-tests"}) {
+- open(my $fh, ">", $flag_file) || die;
+-}
+-else {
+- unlink($flag_file);
+-}
+
+ WriteMakefile(
+ NAME => 'Net::HTTP',
+diff -Naur Net-HTTP-6.09/t/apache-https.t Net-HTTP-6.09b/t/apache-https.t
+--- Net-HTTP-6.09/t/apache-https.t 2015-05-01 18:12:51.000000000 +0000
++++ Net-HTTP-6.09b/t/apache-https.t 2016-03-01 03:51:19.511547486 +0000
+@@ -1,8 +1,8 @@
+ #!perl -w
+
+ BEGIN {
+- unless (-f "t/LIVE_TESTS" || -f "LIVE_TESTS") {
+- print "1..0 # SKIP Live tests disabled; pass --live-tests to Makefile.PL to enable\n";
++ if ($ENV{NO_NETWORK_TESTING}) {
++ print "1..0 # SKIP Live tests disabled\n";
+ exit;
+ }
+ eval {
+diff -Naur Net-HTTP-6.09/t/apache.t Net-HTTP-6.09b/t/apache.t
+--- Net-HTTP-6.09/t/apache.t 2015-05-01 18:12:51.000000000 +0000
++++ Net-HTTP-6.09b/t/apache.t 2016-03-01 04:01:59.267131963 +0000
+@@ -1,8 +1,8 @@
+ #!perl -w
+
+ BEGIN {
+- unless (-f "t/LIVE_TESTS" || -f "LIVE_TESTS") {
+- print "1..0 # SKIP Live tests disabled; pass --live-tests to Makefile.PL to enable\n";
++ if( $ENV{NO_NETWORK_TESTING} ) {
++ print "1..0 # SKIP Live tests disabled\n";
+ exit;
+ }
+ eval {
diff --git a/dev-perl/Net-HTTP/metadata.xml b/dev-perl/Net-HTTP/metadata.xml
new file mode 100644
index 000000000000..16153c6dcc90
--- /dev/null
+++ b/dev-perl/Net-HTTP/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>perl@gentoo.org</email>
+ <name>Gentoo Perl Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpan">Net-HTTP</remote-id>
+ <remote-id type="cpan-module">Net::HTTP</remote-id>
+ <remote-id type="cpan-module">Net::HTTP::Methods</remote-id>
+ <remote-id type="cpan-module">Net::HTTP::NB</remote-id>
+ <remote-id type="cpan-module">Net::HTTPS</remote-id>
+ </upstream>
+</pkgmetadata>