Subject: | minicpan doesn't create symlink trees |
minicpan's very useful, but I've run in to one problem with it.
FreeBSD's port's collection makes it very simple to install Perl modules from CPAN and stay within FreeBSD's packaging framework. It also provides an easy mechanism to specify your own CPAN mirror.
I'd expected that I'd be able to run minicpan, and then point the ports collection at my local mirror.
The problem is that the ports collection expects to download from the CPAN/modules/by-module/{top-level}/ directories. On CPAN, these directories contain symlinks back to the distribution files in the authors/id/ directories.
minicpan doesn't replicate this tree of symlinks, so out of the box, I can't configure the FreeBSD ports collection to use the minicpan mirror.
I've written a quick and dirty script that, given a minicpan mirror, replicates the archive. I need to clean it up and add documentation, but after I've done that would you like to roll it in to minicpan, or would you prefer it was kept as a separate tool?