summaryrefslogtreecommitdiff
path: root/dev-perl/Plack
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-perl/Plack
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-perl/Plack')
-rw-r--r--dev-perl/Plack/Manifest11
-rw-r--r--dev-perl/Plack/Plack-1.3.900.ebuild76
-rw-r--r--dev-perl/Plack/Plack-1.4.300.ebuild69
-rw-r--r--dev-perl/Plack/Plack-1.4.400.ebuild69
-rw-r--r--dev-perl/Plack/files/Plack-1.3.900-issue-545.patch22
-rw-r--r--dev-perl/Plack/files/Plack-1.3.900-network-testing.patch196
-rw-r--r--dev-perl/Plack/metadata.xml85
7 files changed, 528 insertions, 0 deletions
diff --git a/dev-perl/Plack/Manifest b/dev-perl/Plack/Manifest
new file mode 100644
index 000000000000..4ae31321808f
--- /dev/null
+++ b/dev-perl/Plack/Manifest
@@ -0,0 +1,11 @@
+AUX Plack-1.3.900-issue-545.patch 824 SHA256 f542dbea1f09c65e2164221a7bfcb0af4bd2148d8a3c97deca714386dddc47da SHA512 82c7cbe5528a289b17ae8d13e9f53609cdd826b734750d434ae6ff3c5b79db3099ee04e83b028928509dbed517a83549364bc9a8824bc94f25a198759231cea5 WHIRLPOOL af754f65303b72256fcf526724d217df6bd02bd63e11e006a9db7fc0013cafd32feb6d47e020813e0074a4e444de057e65085f1909fc1b96122877ede6de250d
+AUX Plack-1.3.900-network-testing.patch 6047 SHA256 ea28c73227da48f7d766ee4b29fee2b68c6a576041d3ea00a5d40c5ab7ccf657 SHA512 214a2a2141f71875026ed25387d6076d62c0b4d0b912ebf475645b3a2948f41faa7d8826c46620682448a3b9916a53c3178858286551d542073c5b66112b4fce WHIRLPOOL e91656007c40437d9b1c935728c223bfd0a9c6e1d999b89a2a57849c7b7319e8fe6d152c35d7e813eb655b47f57c19554be9b9aa2f876d1b1e605cee413d526e
+DIST Plack-1.0039.tar.gz 176711 SHA256 d24a572e88644c7d39c7e6ff1af005b728dec94a878cf06d9027ab7d1a2fd0a9 SHA512 963e30ec721a96f99ac9524b1b38861965aa84878062551ae77e62c7b2724cf00d6e7e265dde1c88f3e1aa3da7ca41bb5a392e990409380de09c1c1b769b5387 WHIRLPOOL 6ff44dd92d321c3a331cebd879fafad4945af420ef59594195127b723743db57c6f6407f234fe15dc567c5a7c5f576a91939567af318d16b0866ef8b7f34a265
+DIST Plack-1.0043.tar.gz 178508 SHA256 94def8e03b5a1c59d0d47dad4cf301f3f73a147ccfdf5e167896d73f1d68123e SHA512 b77f7f1a2a3d2b24f5473af55448ac72d287f34671c9300dc94d5d315aaac9040ec98d498319cfb3877e1cda53f9850ff4548dc46702d722491ad7034d439104 WHIRLPOOL 92c158f60feee4b4a4e856b2a16b1d056ce778b643266d34b1dfb526fa5b89cb22631f7b43a4718b74997031985c12f7e37ae0f6a45a8b00f7986c8ee0daddef
+DIST Plack-1.0044.tar.gz 178730 SHA256 30e94bf227e9b5c98bfac6c80da7bd7360dcf8e328dc66ed6ff82f7243c6e8fa SHA512 a0dae77d507d4b4cf4192931470cf87f68f7027b2057ccdf757680f9e6584534ee0da79c508a44f9ea72426497e1dbbdb7acf6d7dfdf31698f4320f2c1f2ac61 WHIRLPOOL 341251e4ac17c8aaca37ba90224b90dc3a9021da0c2018cc9d799d4e2102ad119a5fa208804ede4fc1daaec09e51237b9096778fc241bfbe59c460a727ef66db
+EBUILD Plack-1.3.900.ebuild 1862 SHA256 e331c89ebb03219992d6c0eabc8024a3bacb1998f407fbf219247fe7b0c35951 SHA512 b149850d3a16842ae52fef82f1e3bb87fa892db77c4fd939116790f0f5f8e86a08fa954906ffaec93d08ecde7d6627d6d7adc2c1f275a88f3a29a979dbc20f7c WHIRLPOOL 0efd6aa455f02712fbd3b3c9a5beb22fe05bdb5e682ee0246815847616912200e1853dbe1c049b4c9ea0e5f7e74db3905fd06b8644d7bdd6c9cd3580a4d7d91c
+EBUILD Plack-1.4.300.ebuild 1746 SHA256 557fcc10b75a6828cb67c8a611ad540a38c38a3ac7631ab23d75a4b2d904e5d3 SHA512 1eeda2e49af5a7142acb279b55d4a1ccbcaecf67d8ee0a53c03543c31c4db5bb6d7d12301d3d290e65cc4368cb1980ace93c228cef2eb57522f38e8c9443a340 WHIRLPOOL 9d9bc3017a2e17c2e352dc81f67aad5dcb5069514ac47bcfecfac5828632efcd8936ce591b7e9d0329fa5e6bb9c003e3f69a9d63644c768c37c9aa9aef0e542d
+EBUILD Plack-1.4.400.ebuild 1766 SHA256 3beaea998126f4be9d3cb5927646d522cf6d99750b5349636828a2659c04f1b4 SHA512 bb54bbd5d6d646f17de9f31466e940df221270ade1a23c790a343638d188feb33383f53ca22620323c11a9c5557a2504f3eb02fafe62285b8106e422e4adb94f WHIRLPOOL 0dca17f357464f3a7897c0498e76c7e13f993792a2778984c25347175c379cd415f6cf0d4d71ae67e099be0e4e68f7fabba0323feb29c398ea12df648d9ecd2c
+MISC ChangeLog 4557 SHA256 a61d142c3d1937bf4bcdbdecbb8e90cc4f1d53a48530d679f69825b00aaec722 SHA512 1dbfd0b3845ff9b803724c4496a79052689873fdf499c848344245a74935d23ae531ee60b3d4bdf26919396e09f57a1fa98696f052a079d9feded96e527b1a87 WHIRLPOOL 4264652d7e9c789146a6649fd95c4fa32b33c583bcfc2e0b959700cecc2487ec7cf53a1a65ca3151aec2562f8b0abaf48621d89bfd63e1639ddea3cabba7a79a
+MISC ChangeLog-2015 7493 SHA256 bf86c845920ddc2cb532b4c7ecd5c13c6b17616929d735c8bfe3db8a6ed2c44e SHA512 7c7f99e6ab7721fa3f586f097eeea56baa63b9b9485e4ac348af8efd7af62101791e34c71380c0a5d4766fc80c516d3bddf6333b9ef45593bcab6fe7792f146e WHIRLPOOL c25210f8f694e69564619f6c12ef9d3a85771440ae87a4ac0142a8073f093e50d276bda2af59f883b60d24c04b7637e4ae37a0b0e6a00bc89e25a9a6d2a8e38f
+MISC metadata.xml 5553 SHA256 c666bf901439e0693dde0e0889812e08476e1293a1a1da0f2e6d0f49c537225d SHA512 13cbe0cf258311039d50b04983ea67eaa88beaffb9d4e8bb46ff1a985b8846b5e66fa9a284f38615c3aeb697ad9c62177b6bcbc0b9b47969a1e6d942580c4dfc WHIRLPOOL 553f4a650f98cf326a57cdfaead8bda122ba6422780e1493836b5971c88c1649252c1e5c95fd56f5ec02474014d3a016c41fa88b6d9fcb44f43789cb0c48a827
diff --git a/dev-perl/Plack/Plack-1.3.900.ebuild b/dev-perl/Plack/Plack-1.3.900.ebuild
new file mode 100644
index 000000000000..3556fb3d60e4
--- /dev/null
+++ b/dev-perl/Plack/Plack-1.3.900.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=MIYAGAWA
+DIST_VERSION=1.0039
+inherit perl-module
+
+DESCRIPTION="Perl Superglue for Web frameworks and Web Servers (PSGI toolkit)"
+
+SLOT="0"
+KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test minimal examples"
+PATCHES=(
+ "${FILESDIR}/${P}-issue-545.patch"
+ "${FILESDIR}/${P}-network-testing.patch"
+)
+RDEPEND="
+ !minimal? (
+ dev-perl/CGI-Compile
+ dev-perl/CGI-Emulate-PSGI
+ dev-perl/FCGI
+ dev-perl/FCGI-ProcManager
+ >=dev-perl/libwww-perl-5.814.0
+ )
+ >=dev-perl/Apache-LogFormat-Compiler-0.120.0
+ >=dev-perl/Cookie-Baker-0.50.0
+ >=dev-perl/Devel-StackTrace-1.230.0
+ >=dev-perl/Devel-StackTrace-AsHTML-0.110.0
+ >=dev-perl/File-ShareDir-1.0.0
+ dev-perl/Filesys-Notify-Simple
+ >=dev-perl/HTTP-Body-1.60.0
+ >=dev-perl/HTTP-Headers-Fast-0.180.0
+ >=dev-perl/HTTP-Message-5.814.0
+ >=virtual/perl-HTTP-Tiny-0.34.0
+ >=dev-perl/Hash-MultiValue-0.50.0
+ >=virtual/perl-Pod-Parser-1.360.0
+ >=dev-perl/Stream-Buffered-0.20.0
+ >=dev-perl/Test-TCP-2.0.0
+ dev-perl/Try-Tiny
+ >=dev-perl/URI-1.590.0
+ virtual/perl-parent
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ >=dev-perl/File-ShareDir-Install-0.60.0
+ test? (
+ !minimal? (
+ dev-perl/Authen-Simple-Passwd
+ dev-perl/HTTP-Request-AsCGI
+ dev-perl/HTTP-Server-Simple-PSGI
+ dev-perl/IO-Handle-Util
+ dev-perl/Log-Dispatch
+ dev-perl/Log-Dispatch-Array
+ dev-perl/Log-Log4perl
+ dev-perl/LWP-Protocol-http10
+ dev-perl/MIME-Types
+ dev-perl/Module-Refresh
+ )
+ dev-perl/Test-Requires
+ >=virtual/perl-Test-Simple-0.880.0
+ )
+"
+src_test() {
+ perl_rm_files "t/author-pod-syntax.t"
+ perl-module_src_test
+}
+src_install() {
+ perl-module_src_install
+ if use examples; then
+ docompress -x /usr/share/doc/${PF}/examples
+ docinto examples/
+ dodoc -r eg/dot-psgi/*
+ fi
+}
diff --git a/dev-perl/Plack/Plack-1.4.300.ebuild b/dev-perl/Plack/Plack-1.4.300.ebuild
new file mode 100644
index 000000000000..e6ec85ba0044
--- /dev/null
+++ b/dev-perl/Plack/Plack-1.4.300.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=MIYAGAWA
+DIST_VERSION=1.0043
+DIST_EXAMPLES=("eg/dot-psgi/*")
+inherit perl-module
+
+DESCRIPTION="Perl Superglue for Web frameworks and Web Servers (PSGI toolkit)"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test minimal examples"
+PATCHES=(
+ "${FILESDIR}/${PN}-1.3.900-network-testing.patch"
+)
+RDEPEND="
+ !minimal? (
+ dev-perl/CGI-Compile
+ dev-perl/CGI-Emulate-PSGI
+ dev-perl/FCGI
+ dev-perl/FCGI-ProcManager
+ >=dev-perl/libwww-perl-5.814.0
+ >=dev-perl/Log-Dispatch-2.250.0
+ dev-perl/Log-Log4perl
+ dev-perl/Module-Refresh
+ )
+ >=dev-perl/Apache-LogFormat-Compiler-0.330.0
+ >=dev-perl/Cookie-Baker-0.70.0
+ >=dev-perl/Devel-StackTrace-1.230.0
+ >=dev-perl/Devel-StackTrace-AsHTML-0.110.0
+ >=dev-perl/File-ShareDir-1.0.0
+ dev-perl/Filesys-Notify-Simple
+ >=dev-perl/HTTP-Entity-Parser-0.170.0
+ >=dev-perl/HTTP-Headers-Fast-0.180.0
+ >=dev-perl/HTTP-Message-5.814.0
+ >=virtual/perl-HTTP-Tiny-0.34.0
+ >=dev-perl/Hash-MultiValue-0.50.0
+ >=virtual/perl-Pod-Parser-1.360.0
+ >=dev-perl/Stream-Buffered-0.20.0
+ >=dev-perl/Test-TCP-2.0.0
+ dev-perl/Try-Tiny
+ >=dev-perl/URI-1.590.0
+ >=dev-perl/WWW-Form-UrlEncoded-0.230.0
+ virtual/perl-parent
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ >=dev-perl/File-ShareDir-Install-0.60.0
+ test? (
+ !minimal? (
+ dev-perl/Authen-Simple-Passwd
+ dev-perl/HTTP-Request-AsCGI
+ dev-perl/HTTP-Server-Simple-PSGI
+ dev-perl/Log-Dispatch-Array
+ dev-perl/LWP-Protocol-http10
+ dev-perl/MIME-Types
+ >=dev-perl/Test-MockTime-HiRes-0.60.0
+ )
+ dev-perl/Test-Requires
+ >=virtual/perl-Test-Simple-0.880.0
+ )
+"
+src_test() {
+ perl_rm_files "t/author-pod-syntax.t"
+ perl-module_src_test
+}
diff --git a/dev-perl/Plack/Plack-1.4.400.ebuild b/dev-perl/Plack/Plack-1.4.400.ebuild
new file mode 100644
index 000000000000..95b081b39f8b
--- /dev/null
+++ b/dev-perl/Plack/Plack-1.4.400.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=MIYAGAWA
+DIST_VERSION=1.0044
+DIST_EXAMPLES=("eg/dot-psgi/*")
+inherit perl-module
+
+DESCRIPTION="Perl Superglue for Web frameworks and Web Servers (PSGI toolkit)"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE="test minimal examples"
+PATCHES=(
+ "${FILESDIR}/${PN}-1.3.900-network-testing.patch"
+)
+RDEPEND="
+ !minimal? (
+ dev-perl/CGI-Compile
+ dev-perl/CGI-Emulate-PSGI
+ dev-perl/FCGI
+ dev-perl/FCGI-ProcManager
+ >=dev-perl/libwww-perl-5.814.0
+ >=dev-perl/Log-Dispatch-2.250.0
+ dev-perl/Log-Log4perl
+ dev-perl/Module-Refresh
+ )
+ >=dev-perl/Apache-LogFormat-Compiler-0.330.0
+ >=dev-perl/Cookie-Baker-0.70.0
+ >=dev-perl/Devel-StackTrace-1.230.0
+ >=dev-perl/Devel-StackTrace-AsHTML-0.110.0
+ >=dev-perl/File-ShareDir-1.0.0
+ dev-perl/Filesys-Notify-Simple
+ >=dev-perl/HTTP-Entity-Parser-0.170.0
+ >=dev-perl/HTTP-Headers-Fast-0.180.0
+ >=dev-perl/HTTP-Message-5.814.0
+ >=virtual/perl-HTTP-Tiny-0.34.0
+ >=dev-perl/Hash-MultiValue-0.50.0
+ >=virtual/perl-Pod-Parser-1.360.0
+ >=dev-perl/Stream-Buffered-0.20.0
+ >=dev-perl/Test-TCP-2.150.0
+ dev-perl/Try-Tiny
+ >=dev-perl/URI-1.590.0
+ >=dev-perl/WWW-Form-UrlEncoded-0.230.0
+ virtual/perl-parent
+"
+DEPEND="${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+ >=dev-perl/File-ShareDir-Install-0.60.0
+ test? (
+ !minimal? (
+ dev-perl/Authen-Simple-Passwd
+ dev-perl/HTTP-Request-AsCGI
+ dev-perl/HTTP-Server-Simple-PSGI
+ dev-perl/Log-Dispatch-Array
+ dev-perl/LWP-Protocol-http10
+ dev-perl/MIME-Types
+ >=dev-perl/Test-MockTime-HiRes-0.60.0
+ )
+ dev-perl/Test-Requires
+ >=virtual/perl-Test-Simple-0.880.0
+ )
+"
+src_test() {
+ perl_rm_files "t/author-pod-syntax.t"
+ perl-module_src_test
+}
diff --git a/dev-perl/Plack/files/Plack-1.3.900-issue-545.patch b/dev-perl/Plack/files/Plack-1.3.900-issue-545.patch
new file mode 100644
index 000000000000..b4a3fb747de9
--- /dev/null
+++ b/dev-perl/Plack/files/Plack-1.3.900-issue-545.patch
@@ -0,0 +1,22 @@
+From 86256c2af6115a2c99c310ba6979bf40f72a6864 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Richard=20Sim=C3=B5es?= <rsimoes@gmail.com>
+Date: Sun, 3 Jan 2016 19:49:51 -0600
+Subject: [PATCH] Allow log4perl.t and log4perl-category.t to run in parallel
+
+---
+ t/Plack-Middleware/log4perl-category.t | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/t/Plack-Middleware/log4perl-category.t b/t/Plack-Middleware/log4perl-category.t
+index 1951015..946edbf 100644
+--- a/t/Plack-Middleware/log4perl-category.t
++++ b/t/Plack-Middleware/log4perl-category.t
+@@ -6,7 +6,7 @@ use Test::More;
+ use Plack::Middleware::Log4perl;
+ use HTTP::Request::Common;
+
+-my $test_file = "t/Plack-Middleware/log4perl.log";
++my $test_file = "t/Plack-Middleware/log4perl-category.log";
+
+ my $conf = <<CONF;
+ log4perl.logger.0 = INFO, Logfile
diff --git a/dev-perl/Plack/files/Plack-1.3.900-network-testing.patch b/dev-perl/Plack/files/Plack-1.3.900-network-testing.patch
new file mode 100644
index 000000000000..6d703a9e1fc6
--- /dev/null
+++ b/dev-perl/Plack/files/Plack-1.3.900-network-testing.patch
@@ -0,0 +1,196 @@
+From 5f5a0a34556d0ae739f79d7c148d24fcf3ff8557 Mon Sep 17 00:00:00 2001
+From: Kent Fredric <kentfredric@gmail.com>
+Date: Wed, 3 Aug 2016 01:26:17 +1200
+Subject: [PATCH] Fence of Network IO with NO_NETWORK_TESTING
+
+This is a workaround for #477 but doesn't actually fix the underlying
+issue, merely recognises that some vendors are smart enough to
+anticipate Network IO will fail and integrate this ENV var to quickly
+avoid it.
+
+This precedent was established by Test::RequiresInternet as a result of
+a CPANworkers discussion, and Gentoo is known to export this variable
+within its tooling by default as a result.
+
+This doesn't actually test that binding a socket/IP will work, but this
+fence should be tested anyway, because security measures could result in
+attempted socket/IP binds getting SIGKILLed ( Sandbox )
+
+This commit hence addresses/fences only the problem cases listed in bug
+in depth.
+
+However, this commit targets to simply solve the known parts of the
+problem in the simplest way possible without any extra dependencies.
+
+The application of a BEGIN { } block and `print` was a design decision
+instead of using `Test::More` and `skip`, because the overhead of
+loading Test::More is quite high when you have lots of .t files, and
+Test2 further increases the load time.
+
+This load time is generally acceptable if you're actually running a
+dozen tests, but spinning up a full suite of Test::More to only then
+immediately exit with a skip is a lot of CPU load for relatively little
+benefit.
+---
+ t/Plack-Handler/standalone.t | 6 ++++++
+ t/Plack-Loader/shotgun.t | 6 ++++++
+ t/Plack-Middleware/component-leak.t | 7 +++++++
+ t/Plack-Middleware/error_document_streaming_app.t | 7 +++++++
+ t/Plack-Middleware/stacktrace/sigdie.t | 7 +++++++
+ t/Plack-Middleware/stacktrace/utf8.t | 7 +++++++
+ t/Plack-Middleware/urlmap_ports.t | 6 ++++++
+ t/Plack-Test/2args.t | 7 +++++++
+ t/Plack-Test/hello_server.t | 7 +++++++
+ t/Plack-Util/response_cb.t | 7 +++++++
+ 10 files changed, 67 insertions(+)
+
+diff --git a/t/Plack-Handler/standalone.t b/t/Plack-Handler/standalone.t
+index f5fcf26..b42de16 100644
+--- a/t/Plack-Handler/standalone.t
++++ b/t/Plack-Handler/standalone.t
+@@ -1,3 +1,9 @@
++BEGIN {
++ if ( $ENV{NO_NETWORK_TESTING} ) {
++ print '1..0 # SKIP Network connections required for this test';
++ exit;
++ }
++}
+ use strict;
+ use warnings;
+ use Test::More;
+diff --git a/t/Plack-Loader/shotgun.t b/t/Plack-Loader/shotgun.t
+index cb7b95a..d9fe148 100644
+--- a/t/Plack-Loader/shotgun.t
++++ b/t/Plack-Loader/shotgun.t
+@@ -1,3 +1,9 @@
++BEGIN {
++ if ( $ENV{NO_NETWORK_TESTING} ) {
++ print '1..0 # SKIP Network connections required for this test';
++ exit;
++ }
++}
+ use strict;
+ use warnings;
+ use Test::More;
+diff --git a/t/Plack-Middleware/component-leak.t b/t/Plack-Middleware/component-leak.t
+index 7cdab99..2acedd0 100644
+--- a/t/Plack-Middleware/component-leak.t
++++ b/t/Plack-Middleware/component-leak.t
+@@ -1,3 +1,10 @@
++BEGIN {
++ if ( $ENV{NO_NETWORK_TESTING} ) {
++ print '1..0 # SKIP Network connections required for this test';
++ exit;
++ }
++}
++
+ package MyComponent;
+ use strict;
+ use warnings;
+diff --git a/t/Plack-Middleware/error_document_streaming_app.t b/t/Plack-Middleware/error_document_streaming_app.t
+index b177c53..c893e7b 100644
+--- a/t/Plack-Middleware/error_document_streaming_app.t
++++ b/t/Plack-Middleware/error_document_streaming_app.t
+@@ -1,3 +1,10 @@
++BEGIN {
++ if ( $ENV{NO_NETWORK_TESTING} ) {
++ print '1..0 # SKIP Network connections required for this test';
++ exit;
++ }
++}
++
+ use strict;
+ use warnings;
+ use FindBin;
+diff --git a/t/Plack-Middleware/stacktrace/sigdie.t b/t/Plack-Middleware/stacktrace/sigdie.t
+index dc82b2c..28747cf 100644
+--- a/t/Plack-Middleware/stacktrace/sigdie.t
++++ b/t/Plack-Middleware/stacktrace/sigdie.t
+@@ -1,3 +1,10 @@
++BEGIN {
++ if ( $ENV{NO_NETWORK_TESTING} ) {
++ print '1..0 # SKIP Network connections required for this test';
++ exit;
++ }
++}
++
+ use strict;
+ use warnings;
+ use Test::More;
+diff --git a/t/Plack-Middleware/stacktrace/utf8.t b/t/Plack-Middleware/stacktrace/utf8.t
+index 6d2f51f..77849dc 100644
+--- a/t/Plack-Middleware/stacktrace/utf8.t
++++ b/t/Plack-Middleware/stacktrace/utf8.t
+@@ -1,3 +1,10 @@
++BEGIN {
++ if ( $ENV{NO_NETWORK_TESTING} ) {
++ print '1..0 # SKIP Network connections required for this test';
++ exit;
++ }
++}
++
+ use strict;
+ use warnings;
+ use Test::More;
+diff --git a/t/Plack-Middleware/urlmap_ports.t b/t/Plack-Middleware/urlmap_ports.t
+index 9a0a9c0..4ff4ba5 100644
+--- a/t/Plack-Middleware/urlmap_ports.t
++++ b/t/Plack-Middleware/urlmap_ports.t
+@@ -1,3 +1,9 @@
++BEGIN {
++ if ( $ENV{NO_NETWORK_TESTING} ) {
++ print '1..0 # SKIP Network connections required for this test';
++ exit;
++ }
++}
+ use strict;
+ use Test::More;
+ use Plack::App::URLMap;
+diff --git a/t/Plack-Test/2args.t b/t/Plack-Test/2args.t
+index 2942f93..a68481d 100644
+--- a/t/Plack-Test/2args.t
++++ b/t/Plack-Test/2args.t
+@@ -1,3 +1,10 @@
++BEGIN {
++ if ( $ENV{NO_NETWORK_TESTING} ) {
++ print '1..0 # SKIP Network connections required for this test';
++ exit;
++ }
++}
++
+ use Plack::Test;
+ use Test::More;
+ use HTTP::Request::Common;
+diff --git a/t/Plack-Test/hello_server.t b/t/Plack-Test/hello_server.t
+index 47ffb75..dc9f4bd 100644
+--- a/t/Plack-Test/hello_server.t
++++ b/t/Plack-Test/hello_server.t
+@@ -1,3 +1,10 @@
++BEGIN {
++ if ( $ENV{NO_NETWORK_TESTING} ) {
++ print '1..0 # SKIP Network connections required for this test';
++ exit;
++ }
++}
++
+ use Test::More;
+ use Plack::Test;
+
+diff --git a/t/Plack-Util/response_cb.t b/t/Plack-Util/response_cb.t
+index 813dc87..5cb31ba 100644
+--- a/t/Plack-Util/response_cb.t
++++ b/t/Plack-Util/response_cb.t
+@@ -1,3 +1,10 @@
++BEGIN {
++ if ( $ENV{NO_NETWORK_TESTING} ) {
++ print '1..0 # SKIP Network connections required for this test';
++ exit;
++ }
++}
++
+ use strict;
+ use warnings;
+ use Plack::Util;
+--
+2.9.2
+
diff --git a/dev-perl/Plack/metadata.xml b/dev-perl/Plack/metadata.xml
new file mode 100644
index 000000000000..0207d1837759
--- /dev/null
+++ b/dev-perl/Plack/metadata.xml
@@ -0,0 +1,85 @@
+<?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">Plack</remote-id>
+ <remote-id type="cpan-module">HTTP::Message::PSGI</remote-id>
+ <remote-id type="cpan-module">HTTP::Server::PSGI</remote-id>
+ <remote-id type="cpan-module">Plack</remote-id>
+ <remote-id type="cpan-module">Plack::App::CGIBin</remote-id>
+ <remote-id type="cpan-module">Plack::App::Cascade</remote-id>
+ <remote-id type="cpan-module">Plack::App::Directory</remote-id>
+ <remote-id type="cpan-module">Plack::App::File</remote-id>
+ <remote-id type="cpan-module">Plack::App::PSGIBin</remote-id>
+ <remote-id type="cpan-module">Plack::App::URLMap</remote-id>
+ <remote-id type="cpan-module">Plack::App::WrapCGI</remote-id>
+ <remote-id type="cpan-module">Plack::Builder</remote-id>
+ <remote-id type="cpan-module">Plack::Component</remote-id>
+ <remote-id type="cpan-module">Plack::HTTPParser</remote-id>
+ <remote-id type="cpan-module">Plack::HTTPParser::PP</remote-id>
+ <remote-id type="cpan-module">Plack::Handler</remote-id>
+ <remote-id type="cpan-module">Plack::Handler::Apache1</remote-id>
+ <remote-id type="cpan-module">Plack::Handler::Apache2</remote-id>
+ <remote-id type="cpan-module">Plack::Handler::Apache2::Registry</remote-id>
+ <remote-id type="cpan-module">Plack::Handler::CGI</remote-id>
+ <remote-id type="cpan-module">Plack::Handler::CGI::Writer</remote-id>
+ <remote-id type="cpan-module">Plack::Handler::FCGI</remote-id>
+ <remote-id type="cpan-module">Plack::Handler::HTTP::Server::PSGI</remote-id>
+ <remote-id type="cpan-module">Plack::Handler::Standalone</remote-id>
+ <remote-id type="cpan-module">Plack::LWPish</remote-id>
+ <remote-id type="cpan-module">Plack::Loader</remote-id>
+ <remote-id type="cpan-module">Plack::Loader::Delayed</remote-id>
+ <remote-id type="cpan-module">Plack::Loader::Restarter</remote-id>
+ <remote-id type="cpan-module">Plack::Loader::Shotgun</remote-id>
+ <remote-id type="cpan-module">Plack::MIME</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::AccessLog</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::AccessLog::Timed</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::Auth::Basic</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::BufferedStreaming</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::Chunked</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::Conditional</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::ConditionalGET</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::ContentLength</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::ContentMD5</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::ErrorDocument</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::HTTPExceptions</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::Head</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::IIS6ScriptNameFix</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::IIS7KeepAliveFix</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::JSONP</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::LighttpdScriptNameFix</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::Lint</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::Log4perl</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::LogDispatch</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::NullLogger</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::RearrangeHeaders</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::Recursive</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::Refresh</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::Runtime</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::SimpleContentFilter</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::SimpleLogger</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::StackTrace</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::Static</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::XFramework</remote-id>
+ <remote-id type="cpan-module">Plack::Middleware::XSendfile</remote-id>
+ <remote-id type="cpan-module">Plack::Recursive::ForwardRequest</remote-id>
+ <remote-id type="cpan-module">Plack::Request</remote-id>
+ <remote-id type="cpan-module">Plack::Request::Upload</remote-id>
+ <remote-id type="cpan-module">Plack::Response</remote-id>
+ <remote-id type="cpan-module">Plack::Runner</remote-id>
+ <remote-id type="cpan-module">Plack::TempBuffer</remote-id>
+ <remote-id type="cpan-module">Plack::Test</remote-id>
+ <remote-id type="cpan-module">Plack::Test::MockHTTP</remote-id>
+ <remote-id type="cpan-module">Plack::Test::Server</remote-id>
+ <remote-id type="cpan-module">Plack::Test::Suite</remote-id>
+ <remote-id type="cpan-module">Plack::Util</remote-id>
+ <remote-id type="cpan-module">Plack::Util::Accessor</remote-id>
+ <remote-id type="cpan-module">Plack::Util::IOWithPath</remote-id>
+ <remote-id type="cpan-module">Plack::Util::Prototype</remote-id>
+ </upstream>
+</pkgmetadata>