Skip Menu |

This queue is for tickets about the Net-Proxy CPAN distribution.

Report information
The Basics
Id: 56027
Status: resolved
Priority: 0/
Queue: Net-Proxy

People
Owner: Nobody in particular
Requestors: teebeenator [...] googlemail.com
Cc: DOHERTY [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.13



Subject: Error in prereq of Net::Proxy
Date: Sun, 28 Mar 2010 19:22:04 +0200
To: bugs-Net-Proxy [...] rt.cpan.org
From: Laurent <teebeenator [...] googlemail.com>
Hello BooK, It appears that there is a little bug in the prereq of Net::Proxy. It expects perl 5.6 but it should be 5.006 I've installed it manually though, no other problem for me. Now I'll play with it! Thanks for your work. Here is the irc log: <frikinz> what cpan tells me Could not make Net::Proxy : requires perl '5.6'. I have 5.10. <mst> frikinz: because3 5.10 is actually 5.010 <mst> frikinz: and 5.6 is 5.006 <mst> frikinz: and Net::Proxy is being teh dumb <mst> frikinz: suggest 'cpan> look Net::Proxy' <frikinz> It worked manually. <mst> an d trying the 'perl Makefile.PL; make test; make install' yourself <mst> if that all works, then file a bug :) <mst> frikinz: right, so <mst> frikinz: http://cpansearch.perl.org/src/BOOK/Net-Proxy-0.12/Build.PL * Gabbie_ s'appelle maintenant Gabbie <mst> frikinz: that should be 5.006 not 5.6 <mst> frikinz: mail bugs-Net-Proxy@rt.cpan.org and tell him about it <mst> frikinz: book's a good guy, yuo can expect him to fix it pretty sharpish ps: I'm running ubuntu karmic and have perl 5.10.0-24ubuntu4 and uptodate CPAN as of today.
Here's a patch.
Subject: 0001-Fix-perl-prereq.patch
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
This is a duplicate of #44842.