Ubuntu CPAN

Aaron Trevena aaron.trevena at gmail.com
Mon Nov 5 09:58:01 GMT 2007

On 04/11/2007, alex at owal.co.uk <alex at owal.co.uk> wrote:
> Is anyone here helping to turn CPAN modules into Debian packages suitable
> for Ubuntu?
> The list of CPAN modules already packaged up is pretty good
> (eg see http://packages.ubuntu.com/gutsy/perl/ for the Gutsy Gibbon 7.10
> release) but every so often I see something missing - and then have to
> resort back to old reliable "sudo perl -MCPAN -e shell ;"
> It would be easier in the long run if I could turn a missing CPAN module
> into an Ubuntu/Debian style package and put it onto a repository
> somewhere.

cpan2dist is part of the cpanplus project, you can run it with debian
options to build debian packages, but I recomend you check and edit
the control files as the generated ones will specify the latest rather
than 'actually required' version of a package, and ignores non-cpan
modules, I wrote a perl script that 'fixes' that (along with module
versions that debian doesn't like) to run after building each package.

Apart from a couple of quirks, it's actually very helpful and allowed
my client and I to package a project with nearly a hundred
dependancies (both cpan and internal) pretty quickly.



LAMP System Integration, Development and Hosting

More information about the london.pm mailing list