Re: YAPC North America talk on dh-make-perl vs. CPANPLUS
On Jun 10, 2009, at 16:36, Guy Hulbert wrote:
On Wed, 2009-10-06 at 10:21 -0400, Guy Hulbert wrote:
It might be useful to review: CPANPLUS::Dist::Deb
to see if it checks under /usr before installing things in /usr/
Hmmm.... they're recommending:
deb http://debian.pkgs.cpan.org/debian unstable main
Not a particularly useful email address ...
Let's look at a package: cpan-libfile-path-perl_2.04-1_all.deb
ar x cpan-libfile-path-perl_2.04-1_all.deb
tar ztf data.tar.gz
So it's under /usr/local but the docs are under /usr:
Hmm... I'd suggest that they use /usr/local/share/doc to avoid
but I don't suppose debian policy has much to say here.
I think the key is in fact the debian policy. If you want a quick n
dirty package, you can use the CPANPLUS tool I suppose, but if you
want DSFG safe, perl policy compliant, license and copyright checked
package, then you want a deb made by debian perl. (Or make it
Perhaps code can be written to adhere to the perl and debian policies,
but I suspect that will never be done since that is a moving target,
or it should be. The policy should be evolving as best practices are
Maybe what is needed is the modularization of dh-make-perl in to perl
modules and released on CPAN?