From 4b79160aa92d27c07abc85a788ea7743ff8a8c93 Mon Sep 17 00:00:00 2001
From: Mike Doherty <doherty@pythian.com>
Date: Fri, 30 Mar 2012 11:47:41 -0400
Subject: [PATCH] Fix perl prereq
Fixes RT#56027
---
Build.PL | 2 +-
MANIFEST | 1 +
META.json | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
META.yml | 45 +++++++++++++++++++++-------------
Makefile.PL | 2 +-
5 files changed, 107 insertions(+), 19 deletions(-)
create mode 100644 META.json
diff --git a/Build.PL b/Build.PL
index bc6f044..5d97f0c 100644
--- a/Build.PL
+++ b/Build.PL
@@ -3,7 +3,7 @@ my $build = Module::Build->new(
module_name => 'Net::Proxy',
license => 'perl',
requires => {
- 'perl' => '5.6',
+ 'perl' => '5.006',
'Scalar::Util' => 0,
'IO::Select' => 0,
'IO::Socket' => 0,
diff --git a/MANIFEST b/MANIFEST
index e337a4b..4a31a3f 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -46,3 +46,4 @@ t/pod.t
t/test.cert
t/test.key
t/Util.pm
+META.json
diff --git a/META.json b/META.json
new file mode 100644
index 0000000..4b24f11
--- /dev/null
+++ b/META.json
@@ -0,0 +1,76 @@
+{
+ "abstract" : "Framework for proxying network connections in many ways",
+ "author" : [
+ "Philippe 'BooK' Bruhat, C<< <book@cpan.org> >>."
+ ],
+ "dynamic_config" : 1,
+ "generated_by" : "Module::Build version 0.38, CPAN::Meta::Converter version 2.120630",
+ "license" : [
+ "perl_5"
+ ],
+ "meta-spec" : {
+ "url" : "
http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "Net-Proxy",
+ "prereqs" : {
+ "configure" : {
+ "requires" : {
+ "Module::Build" : "0.38"
+ }
+ },
+ "runtime" : {
+ "recommends" : {
+ "IO::Socket::SSL" : "1",
+ "LWP::UserAgent" : "2"
+ },
+ "requires" : {
+ "IO::Select" : "0",
+ "IO::Socket" : "0",
+ "Scalar::Util" : "0",
+ "perl" : "5.006"
+ }
+ }
+ },
+ "provides" : {
+ "Net::Proxy" : {
+ "file" : "lib/Net/Proxy.pm",
+ "version" : "0.12"
+ },
+ "Net::Proxy::Connector" : {
+ "file" : "lib/Net/Proxy/Connector.pm",
+ "version" : 0
+ },
+ "Net::Proxy::Connector::connect" : {
+ "file" : "lib/Net/Proxy/Connector/connect.pm",
+ "version" : 0
+ },
+ "Net::Proxy::Connector::connect_ssl" : {
+ "file" : "lib/Net/Proxy/Connector/connect_ssl.pm",
+ "version" : 0
+ },
+ "Net::Proxy::Connector::dual" : {
+ "file" : "lib/Net/Proxy/Connector/dual.pm",
+ "version" : 0
+ },
+ "Net::Proxy::Connector::dummy" : {
+ "file" : "lib/Net/Proxy/Connector/dummy.pm",
+ "version" : 0
+ },
+ "Net::Proxy::Connector::ssl" : {
+ "file" : "lib/Net/Proxy/Connector/ssl.pm",
+ "version" : 0
+ },
+ "Net::Proxy::Connector::tcp" : {
+ "file" : "lib/Net/Proxy/Connector/tcp.pm",
+ "version" : 0
+ }
+ },
+ "release_status" : "stable",
+ "resources" : {
+ "license" : [
+ "
http://dev.perl.org/licenses/"
+ ]
+ },
+ "version" : "0.12"
+}
diff --git a/META.yml b/META.yml
index 8691bd4..7d65588 100644
--- a/META.yml
+++ b/META.yml
@@ -1,39 +1,50 @@
---
-name: Net-Proxy
-version: 0.12
+abstract: 'Framework for proxying network connections in many ways'
author:
- "Philippe 'BooK' Bruhat, C<< <book@cpan.org> >>."
-abstract: Framework for proxying network connections in many ways
+build_requires: {}
+configure_requires:
+ Module::Build: 0.38
+dynamic_config: 1
+generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version 2.120630'
license: perl
-resources:
- license:
http://dev.perl.org/licenses/
-requires:
- IO::Select: 0
- IO::Socket: 0
- Scalar::Util: 0
- perl: 5.6
-recommends:
- IO::Socket::SSL: 1
- LWP::UserAgent: 2
+meta-spec:
+ url:
http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+name: Net-Proxy
provides:
Net::Proxy:
file: lib/Net/Proxy.pm
version: 0.12
Net::Proxy::Connector:
file: lib/Net/Proxy/Connector.pm
+ version: 0
Net::Proxy::Connector::connect:
file: lib/Net/Proxy/Connector/connect.pm
+ version: 0
Net::Proxy::Connector::connect_ssl:
file: lib/Net/Proxy/Connector/connect_ssl.pm
+ version: 0
Net::Proxy::Connector::dual:
file: lib/Net/Proxy/Connector/dual.pm
+ version: 0
Net::Proxy::Connector::dummy:
file: lib/Net/Proxy/Connector/dummy.pm
+ version: 0
Net::Proxy::Connector::ssl:
file: lib/Net/Proxy/Connector/ssl.pm
+ version: 0
Net::Proxy::Connector::tcp:
file: lib/Net/Proxy/Connector/tcp.pm
-generated_by: Module::Build version 0.2808
-meta-spec:
- url:
http://module-build.sourceforge.net/META-spec-v1.2.html
- version: 1.2
+ version: 0
+recommends:
+ IO::Socket::SSL: 1
+ LWP::UserAgent: 2
+requires:
+ IO::Select: 0
+ IO::Socket: 0
+ Scalar::Util: 0
+ perl: 5.006
+resources:
+ license:
http://dev.perl.org/licenses/
+version: 0.12
diff --git a/Makefile.PL b/Makefile.PL
index cf6d64b..85b9e7b 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.03
+require 5.006;
use ExtUtils::MakeMaker;
WriteMakefile
(
--
1.7.0.4