[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packaging effort for Perl Debs




On Oct 28, 2005, at 10:38 AM, Simon Waters wrote:

It looks like it requires quite some knowledge of the Debian packaging system, not least because all the easy stuff appears to be automated leaving only the difficult stuff (eek).

I'm assuming from the limited number of packages in the CPAN debs repository (and Debian), that either it is more difficult to automate than it appears, or Jos was expecting a lot of Debian developers to appear and take over the work, or possibly Jos uses cpanplus and has all the debs he needs ;)


The only difficult part to automate are those packages that do something outside of 'perl world' -- like require c libraries... it's still automatable, but you have to have an if() statement per package that needs something special, to fix it's needs.

Yes, i'm also expecting debian enthusiasts to hop on this sometime RSN, but mind you what you see on debian.pkgs.cpan.org is right now labeled experimental, to work out any last kinks it might have (it's been announced in closed circles about 1 week ago).. it also requires the bleading edge releases of CPANPLUS and CPANPLUS::Dist::Deb:

	http://search.cpan.org/~kane/CPANPLUS-0.059_01/
http://search.cpan.org/~kane/CPANPLUS-Dist-Deb-0.03_01/lib/CPANPLUS/ Dist/Deb.pm

It ships a little tool called cpan2dist, which generates the contents of debian.pkgs.cpan.org (or your own mirror if you like), in under 30 minutes. See it's help message for elaborate examples.

The maintenace for me is currently not more than cronning that script. And for others, it would not require knowledge of dpkg & friends, as that's what the module does for you.

--

Jos Boumans

"If superman is so smart, why does he wear underpants over his trousers?"

	CPANPLUS	http://cpanplus.sf.net



Reply to: