Skip Menu |

This queue is for tickets about the LWP-Protocol-socks CPAN distribution.

Report information
The Basics
Id: 37444
Status: resolved
Estimated: 1 hour (60 min)
Worked: 1 hour (60 min)
Priority: 0/
Queue: LWP-Protocol-socks

People
Owner: SCR [...] cpan.org
Requestors: wiml [...] hhhh.org
Cc: mschilli [...] yahoo-inc.com
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.0
Fixed in: 1.1



Subject: LWP-Protocol-socks doesn't have an install script, CPAN metadata
I was briefly flummoxed when LWP-Protocol-socks didn't install out of the box with CPAN: looks like the reason is that there's no Build.PL or META.yaml. (I'm running a somewhat old version of perl and CPAN.pm; apologies if the latest version is smart enough to extract all this automatically, or something.) I'm attaching a Build.PL that seems to do the trick, and as a bonus should generate a META.yml that'll tell CPAN.pm about the module dependencies.
Subject: MANIFEST
Download MANIFEST
application/octet-stream 83b

Message body not shown because it is not plain text.

Subject: Build.PL
use Module::Build; Module::Build->new( module_name => 'LWP::Protocol::socks', dist_version_from => 'LWP/Protocol/socks.pm', dist_abstract => 'Adds support to LWP for the SOCKS protocol and proxy facility', dist_author => [ 'Sheridan C Rawlins <scr@yahoo-inc.com>' ], # license => ???, requires => { 'URI::http' => 0, 'LWP::Protocol::http' => 0, 'IO::Socket::Socks' => 0, 'Net::HTTP' => 0 }, dynamic_config => 0 ) -> create_build_script;
Subject: Out of Office AutoReply: [rt.cpan.org #37444] LWP-Protocol-socks doesn't have an install script, CPAN metadata
Date: Sat, 5 Jul 2008 15:47:46 -0700
To: "Wim Lewis via RT" <bug-LWP-Protocol-socks [...] rt.cpan.org>
From: "Sheridan C. Rawlins" <scr [...] yahoo-inc.com>
FYI, I'll be out of office Wed and Thu of this week. I will have cell phone access in a pinch, but limited, if any, computer access until Saturday. Here are my backups: · 7.1 - Dave is RTL and will run morning syncup, Ali can help with beta env issues · 6.1 - Con is RTL, but engaged on Fedex, but Ali will run follow-up meetings - if we complete the off-cycles today, we may not need them, but they are scheduled 10:30 as usual for the rest of the week. · Fedex - Con is the lead while Boris is out · Ops - Ali is point of contact for ops-related issues · Vday setup - Leishi can answer questions regarding the status of new edit machine verification · IndexTools - Paul is PM, Dave is Tech Lead -SCR
On Sat Jul 05 18:46:39 2008, WIML wrote: Show quoted text
> I was briefly flummoxed when LWP-Protocol-socks didn't install out of > the box with CPAN: looks like the reason is that there's no Build.PL or > META.yaml. (I'm running a somewhat old version of perl and CPAN.pm; > apologies if the latest version is smart enough to extract all this > automatically, or something.) I'm attaching a Build.PL that seems to do > the trick, and as a bonus should generate a META.yml that'll tell > CPAN.pm about the module dependencies.
I'm still using 5.6.1 and don't know much about the Build.PL - I did add the META.yml in 1.1 - will that fix your issue?
Added META.yml in version 1.1