MCPANI(1p) | User Contributed Perl Documentation | MCPANI(1p) |
mcpani -- A command line tool to manage a CPAN Mini Mirror.
mcpani [options] < --add | --update | --mirror | --inject >
Commands:
--add Add a new package to the repository --module Name of the module to add --authorid Author ID of the module --modversion Version number of the module --file tar.gz file of the module --update Update local CPAN mirror and inject modules --mirror Update local CPAN mirror from remote --inject Add modules from repository to CPAN mirror
Options:
-h, --help This synopsis -H, --man Detailed description -l, --local local location for CPAN::Mini Mirror -r, --remote CPAN mirror to mirror from -p, --passive Enable passive ftp for mirroring. -v, --verbose verbose output -V, --version Version information. --signing-key See CPAN::Checksums $SIGNING_KEY
Add a module to the repository for later inclusion in the CPAN Mini mirror. The add command requires the following parameters:
Example: mcpani --add --module CPAN::Mini::Inject --authorid SSORICHE --modversion 0.01 --file ./CPAN-Mini-Inject-0.01.tar.gz
Update your local CPAN Mini mirror from a CPAN site. Once completed add the modules contained in the repository to it. This is the same as running "mcpani --mirror" followed by "mcpani --inject"
Update the local CPAN Mini mirror from CPAN.
Add the repository modules into the CPAN Mini mirror.
A local directory to store the CPAN Mini mirror in. Specifying this option overrides the value in the config file.
A CPAN site to create the local CPAN Mini mirror from.
Display verbose processing information
Display version information.
mcpani uses a simple configuration file in the following format:
local: /www/CPAN remote: ftp://ftp.cpan.org/pub/CPAN ftp://ftp.kernel.org/pub/CPAN repository: /work/mymodules passive: yes dirmode: 0755
Description of options:
location to store local CPAN::Mini mirror (*REQUIRED*)
CPAN site(s) to mirror from. Multiple sites can be listed, with spaces between them. (*REQUIRED*)
Location to store modules to add to the local CPAN::Mini mirror.
Enable passive FTP.
Set the permissions of created directories to the specified mode (octal value). The default value is based on the umask (if supported).
mcpani will search the following four places in order:
Christian Walde "<walde.christian@googlemail.com>"
Shawn Sorichetti "<ssoriche@coloredblocks.net>"
Please report any bugs or feature requests to "bug-cpan-mini-inject@rt.cpan.org", or through the web interface at <http://rt.cpan.org>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
Copyright 2004 Shawn Sorichetti, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2023-06-26 | perl v5.36.0 |