This file is indexed.

/usr/bin/minicpan is in libcpan-mini-perl 1.111016-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
#!/usr/bin/perl -w

eval 'exec /usr/bin/perl -w -S $0 ${1+"$@"}'
    if 0; # not running under some shell
use strict;
use warnings;
use CPAN::Mini::App;
CPAN::Mini::App->run;

# PODNAME: minicpan
# ABSTRACT: uses CPAN::Mini to create or update a local mirror

=pod

=encoding UTF-8

=head1 NAME

minicpan - uses CPAN::Mini to create or update a local mirror

=head1 VERSION

version 1.111016

=head1 SYNOPSIS

 minicpan [options]

 Options
   -l LOCAL    - where is the local minicpan?     (required)
   -r REMOTE   - where is the remote cpan mirror? (required)
   -d 0###     - permissions (numeric) to use when creating directories
   -f          - check all directories, even if indices are unchanged
   -p          - mirror perl, ponie, and parrot distributions
   --debug     - run in debug mode (print even banal messages)
   -q          - run in quiet mode (don't print status)
   -qq         - run in silent mode (don't even print warnings)
   -c CLASS    - what class to use to mirror (default: CPAN::Mini)
   -C FILE     - what config file to use (default: ~/.minicpanrc)
   -h          - print help and exit
   -v          - print version and exit
   -x          - build an exact mirror, getting even normally disallowed files
   -t SEC      - timeout in sec. Defaults to 180 sec
   --offline   - operate in offline mode (generally: do nothing)
   --log-level - provide a log level; instead of --debug, -q, or -qq
   --remote-from TYPE - cpan remote from 'cpan' or 'cpanplus' configs

=head1 DESCRIPTION

This simple shell script just updates (or creates) a miniature CPAN mirror as
described in CPAN::Mini.

=head1 CONFIGURATION FILE

By default, C<minicpan> will read a configuration file to get configuration
information.  The file is a simple set of names and values, as in the following
example:

 local:  /home/rjbs/mirrors/minicpan/
 remote: http://your.favorite.cpan/cpan/
 exact_mirror: 1

C<minicpan> tries to find a configuration file through the following process.
It takes the first defined it finds:

=over 4

=item * Use the value specified by C<-C> on the command line

=item * Use the value in the C<CPAN_MINI_CONFIG> environment variable

=item * Use F<~/.minicpanrc>

=item * Use F<CPAN/Mini/minicpan.conf>

=back

If the selected file does not exist, C<minicpan> does not keep looking.

You can override this process with a C<config_file> method in your subclass.

See C<CPAN::Mini> for a full listing of available options.

=head1 TO DO

Improve command-line options.

=head1 SEE ALSO 

Randal Schwartz's original article, which can be found here:

  http://www.stonehenge.com/merlyn/LinuxMag/col42.html

=head1 AUTHORS

=over 4

=item *

Ricardo SIGNES <rjbs@cpan.org>

=item *

Randal Schwartz <merlyn@stonehenge.com>

=back

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2004 by Ricardo SIGNES.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.

=cut

__END__

#pod =head1 SYNOPSIS
#pod
#pod  minicpan [options]
#pod
#pod  Options
#pod    -l LOCAL    - where is the local minicpan?     (required)
#pod    -r REMOTE   - where is the remote cpan mirror? (required)
#pod    -d 0###     - permissions (numeric) to use when creating directories
#pod    -f          - check all directories, even if indices are unchanged
#pod    -p          - mirror perl, ponie, and parrot distributions
#pod    --debug     - run in debug mode (print even banal messages)
#pod    -q          - run in quiet mode (don't print status)
#pod    -qq         - run in silent mode (don't even print warnings)
#pod    -c CLASS    - what class to use to mirror (default: CPAN::Mini)
#pod    -C FILE     - what config file to use (default: ~/.minicpanrc)
#pod    -h          - print help and exit
#pod    -v          - print version and exit
#pod    -x          - build an exact mirror, getting even normally disallowed files
#pod    -t SEC      - timeout in sec. Defaults to 180 sec
#pod    --offline   - operate in offline mode (generally: do nothing)
#pod    --log-level - provide a log level; instead of --debug, -q, or -qq
#pod    --remote-from TYPE - cpan remote from 'cpan' or 'cpanplus' configs
#pod
#pod =head1 DESCRIPTION
#pod
#pod This simple shell script just updates (or creates) a miniature CPAN mirror as
#pod described in CPAN::Mini.
#pod
#pod =head1 CONFIGURATION FILE
#pod
#pod By default, C<minicpan> will read a configuration file to get configuration
#pod information.  The file is a simple set of names and values, as in the following
#pod example:
#pod
#pod  local:  /home/rjbs/mirrors/minicpan/
#pod  remote: http://your.favorite.cpan/cpan/
#pod  exact_mirror: 1
#pod  
#pod C<minicpan> tries to find a configuration file through the following process.
#pod It takes the first defined it finds:
#pod
#pod =over 4
#pod
#pod =item * Use the value specified by C<-C> on the command line
#pod
#pod =item * Use the value in the C<CPAN_MINI_CONFIG> environment variable
#pod
#pod =item * Use F<~/.minicpanrc>
#pod
#pod =item * Use F<CPAN/Mini/minicpan.conf>
#pod
#pod =back
#pod
#pod If the selected file does not exist, C<minicpan> does not keep looking.
#pod
#pod You can override this process with a C<config_file> method in your subclass.
#pod
#pod See C<CPAN::Mini> for a full listing of available options.
#pod
#pod =head1 TO DO
#pod
#pod Improve command-line options.
#pod
#pod =head1 SEE ALSO 
#pod
#pod Randal Schwartz's original article, which can be found here:
#pod
#pod   http://www.stonehenge.com/merlyn/LinuxMag/col42.html
#pod
#pod =cut