orepan_index.pl - yet another CPAN mirror aka DarkPAN index builder
# make directory % mkdir -p /path/to/repository/{modules,authors} # copy CPAN mouldes to the directory % cp MyModule-0.03.tar.gz /path/to/repository/authors/id/A/AB/ABC/ # make index file % orepan_index.pl --repository=/path/to/repository # remove module and recreate index % rm /path/to/repository/authors/id/A/AB/ABC/MyModule-0.04.tar.gz % orepan_index.pl --repository=/path/to/repository # and use it % cpanm --mirror-only --mirror=file:///path/to/repository Foo
OrePAN is yet another CPAN mirror aka DarkPAN repository manager.
orepan_index.pl is CPAN mirror aka DarkPAN index builder. orepan_index.pl parses all tarballs in specified repository directory, and makes 02packages.txt.gz file.
You can use the directory aka DarkPAN with `cpanm --mirror`.
If you want to add other mouldes to repository in one command, you can use orepan.pl
Set a directory that use as DarkPAN repository
Tokuhiro Matsuno <tokuhirom AAJKLFJEF GMAIL COM>
Masahiro Nagano <kazeburo AAJKLFJEF GMAIL COM>
CPAN::Mini::Inject, App::cpanminus, OrePAN
Copyright (C) Tokuhiro Matsuno
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install OrePAN, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OrePAN
CPAN shell
perl -MCPAN -e shell install OrePAN
For more information on module installation, please visit the detailed CPAN module installation guide.