On 14/04/07, Gabor Szabo <[EMAIL PROTECTED]> wrote:

Hi,

I would like to setup a database where I could pick one or more Perl
modules
from CPAN ( http://search.cpan.org/ ) and see which Linux distributions
provide that module (and which version of the module) in their
standard packing system?

For Ubuntu I was pointed at this site:
http://packages.ubuntulinux.org/dapper/perl/
I guess I can screen scrap that page or I might even get my hand on
the original database. Same with Debian
http://www.debian.org/distrib/packages I think.


At least for Debian and Ubuntu, I'd recommend you go stright to the source -
the Packages files.
e.g. http://ftp.debian.org/dists/Debian4.0r0/main/binary-i386/Packages.bz2and
others. The web pages you mentioned are just a web interface into
these
files.
I'd recomment you study the format of these files and you should have your
work done for you pretty automatically.

I guess I know were you are coming from (being able to write perl code that
sticks to the officially supplied packages), but it might interest you to
know the following couple of points about Debian+Perl+CPAN:

1. there is the CPAN debian repository at http://debian.pkgs.cpan.org/
2. the dh-make-perl package allows automatic creation of debian packages for
any CPAN module (used it a few times and it works great).

Good luck with your quest, it sounds like a useful project.

--Amos

Reply via email to