summaryrefslogtreecommitdiffstats
path: root/perl-install
ModeNameSize
-rw-r--r--.cvsignore54logstatsplain
-rw-r--r--.perl_checker87logstatsplain
-rw-r--r--ChangeLog1475511logstatsplain
-rw-r--r--Makefile9573logstatsplain
-rw-r--r--Makefile.config1595logstatsplain
-rw-r--r--Makefile.drakxtools2460logstatsplain
d---------Newt304logstatsplain
d---------Xconfig565logstatsplain
-rw-r--r--any.pm36432logstatsplain
-rw-r--r--apps.net_monitor73logstatsplain
-rw-r--r--bootloader.pm37552logstatsplain
-rw-r--r--c.pm352logstatsplain
d---------c431logstatsplain
-rw-r--r--class_discard.pm160logstatsplain
-rwxr-xr-xcommands348logstatsplain
-rw-r--r--commands.pm14820logstatsplain
-rw-r--r--common.pm7011logstatsplain
-rw-r--r--crypto.pm5296logstatsplain
-rw-r--r--detect_devices.pm24002logstatsplain
-rw-r--r--devices.pm6397logstatsplain
d---------diskdrake278logstatsplain
-rw-r--r--drakxtools.spec79087logstatsplain
-rw-r--r--fs.pm27701logstatsplain
-rw-r--r--fsedit.pm25657logstatsplain
-rw-r--r--ftp.pm2204logstatsplain
-rwxr-xr-xg_auto_install1978logstatsplain
-rw-r--r--handle_configs.pm4222logstatsplain
d---------harddrake177logstatsplain
-rw-r--r--help.pm46224logstatsplain
-rw-r--r--http.pm978logstatsplain
-rwxr-xr-xinstall21206logstatsplain
-rw-r--r--install2.pm24542logstatsplain
-rw-r--r--install_any.pm42992logstatsplain
-rw-r--r--install_gtk.pm10444logstatsplain
-rw-r--r--install_interactive.pm11088logstatsplain
-rw-r--r--install_messages.pm6747logstatsplain
-rw-r--r--install_steps.pm39540logstatsplain
-rw-r--r--install_steps_auto_install.pm3351logstatsplain
-rw-r--r--install_steps_gtk.pm24413logstatsplain
-rw-r--r--install_steps_interactive.pm49234logstatsplain
-rw-r--r--install_steps_newt.pm1538logstatsplain
-rw-r--r--install_steps_stdio.pm921logstatsplain
-rw-r--r--interactive.pm17498logstatsplain
d---------interactive140logstatsplain
-rw-r--r--keyboard.pm21074logstatsplain
-rw-r--r--lang.pm49138logstatsplain
-rw-r--r--list.sparc2771logstatsplain
-rwxr-xr-xlive_install1347logstatsplain
-rwxr-xr-xlive_install22503logstatsplain
-rw-r--r--log.pm1366logstatsplain
-rw-r--r--loopback.pm3426logstatsplain
-rw-r--r--lvm.pm3812logstatsplain
-rw-r--r--modules.pm12012logstatsplain
d---------modules83logstatsplain
-rw-r--r--mouse.pm18421logstatsplain
-rw-r--r--my_gtk.pm22235logstatsplain
-rw-r--r--network.pm51logstatsplain
d---------network490logstatsplain
-rw-r--r--pam.net_monitor225logstatsplain
-rw-r--r--partition_table.pm29014logstatsplain
d---------partition_table277logstatsplain
d---------patch460logstatsplain
-rwxr-xr-xperl2etags154logstatsplain
d---------pixmaps1633logstatsplain
-rw-r--r--pkgs.pm38959logstatsplain
d---------printer405logstatsplain
-rw-r--r--raid.pm4545logstatsplain
d---------resize_fat531logstatsplain
-rw-r--r--run_program.pm3262logstatsplain
d---------sbus_probing35logstatsplain
-rwxr-xr-xscanner.pm13221logstatsplain
d---------security144logstatsplain
-rw-r--r--services.pm16563logstatsplain
d---------share1710logstatsplain
-rw-r--r--standalone.pm13373logstatsplain
d---------standalone1574logstatsplain
-rw-r--r--steps.pm2394logstatsplain
-rw-r--r--swap.pm4359logstatsplain
-rw-r--r--timezone.pm4219logstatsplain
-rw-r--r--ugtk.pm29813logstatsplain
-rw-r--r--ugtk2.pm46006logstatsplain
d---------unused288logstatsplain
-rwxr-xr-xverify_c303logstatsplain
fer}, 'root=s' => sub { set_root($urpm, $_[1]) }, 'use-distrib=s' => \$options{usedistrib}, 'probe-synthesis' => sub { $options{probe_with} = 'synthesis' }, 'probe-hdlist' => sub { $options{probe_with} = 'synthesis' }, #- ignored, kept for compatibility 'excludepath|exclude-path=s' => sub { $urpm->{options}{excludepath} = $_[1] }, 'excludedocs|exclude-docs' => sub { $urpm->{options}{excludedocs} = 1 }, 'ignoresize' => sub { $urpm->{options}{ignoresize} = 1 }, 'ignorearch' => sub { $urpm->{options}{ignorearch} = 1 }, noscripts => sub { $urpm->{options}{noscripts} = 1 }, replacefiles => sub { $urpm->{options}{replacefiles} = 1 }, repackage => sub { $urpm->{options}{repackage} = 1 }, 'more-choices' => sub { $urpm->{options}{morechoices} = 1 }, 'expect-install!' => \$::urpm::main_loop::expect_install, 'nolock' => \$options{nolock}, restricted => \$::restricted, 'no-md5sum' => \$::nomd5sum, 'force-key' => \$::forcekey, a => \$::all, p => sub { $::use_provides = 1 }, P => sub { $::use_provides = 0 }, y => sub { $urpm->{options}{fuzzy} = 1 }, z => sub { $urpm->{options}{compress} = 1 }, }, urpme => { a => \$options{matches}, restricted => \$options{restricted}, }, #- see also below, autogenerated callbacks urpmf => { conffiles => add_param_closure('conf_files'), debug => \$::debug, 'literal|l' => \$::literal, name => sub { add_param_closure('name')->(); #- Remove default tag in front if --name is explicitly given $::qf =~ s/^%default:?//; }, 'qf=s' => \$::qf, 'uniq|u' => \$::uniq, m => add_param_closure('media'), i => sub { $::pattern = 'i' }, I => sub { $::pattern = '' }, f => sub { $::full = 1 }, 'F=s' => sub { $::separator = $_[1] }, 'e=s' => sub { $::expr .= "($_[1])" }, a => sub { add_urpmf_binary_op('&&', '-a') }, o => sub { add_urpmf_binary_op('||', '-o') }, '<>' => sub { my $p = shift; if ($p =~ /^-?([!()])$/) { # This is for -! -( -) my $op = $1; $op eq ')' ? add_urpmf_close_paren() : add_urpmf_unary_op($op); } elsif ($p =~ /^--?(.+)/) { # unrecognized option die "Unknown option: $1\n"; } else { # This is for non-option arguments. add_urpmf_parameter($p); } }, }, urpmq => { update => \$options{update}, 'media|mediums=s' => \$options{media}, 'excludemedia|exclude-media=s' => \$options{excludemedia}, 'sortmedia|sort-media=s' => \$options{sortmedia}, 'searchmedia|search-media=s' => \$options{searchmedia}, 'auto-select' => sub { $options{deps} = $options{upgrade} = $options{auto_select} = 1; }, 'fuzzy|y' => sub { $urpm->{options}{fuzzy} = 1; $options{all} = 1 }, keep => \$options{keep}, list => \$options{list}, changelog => \$options{changelog}, conflicts => \$options{conflicts}, obsoletes => \$options{obsoletes}, provides => \$options{provides}, sourcerpm => \$options{sourcerpm}, 'summary|S' => \$options{summary}, suggests => sub { $urpm->{error}("--suggests now displays the suggested packages, see --allow-suggests for previous behaviour"); $options{suggests} = 1; }, 'list-media:s' => sub { $options{list_media} = $_[1] || 'all' }, 'list-url' => \$options{list_url}, 'list-nodes' => \$options{list_nodes}, 'list-aliases' => \$options{list_aliases}, 'ignorearch' => \$options{ignorearch}, 'dump-config' => \$options{dump_config}, 'src|s' => \$options{src}, sources => \$options{sources}, force => \$options{force}, 'parallel=s' => \$options{parallel}, 'env=s' => \$options{env}, requires => sub { $urpm->{error}("--requires behaviour changed, use --requires-recursive to get the old behaviour"); $options{requires} = 1; }, 'requires-recursive|d' => \$options{deps}, u => \$options{upgrade}, a => \$options{all}, 'm|M' => sub { $options{deps} = $options{upgrade} = 1 }, c => \$options{complete}, g => \$options{group}, 'whatprovides|p' => \$options{use_provides}, P => sub { $options{use_provides} = 0 }, R => sub { $urpm->{error}($options{what_requires} ? "option -RR is deprecated, use --whatrequires-recursive instead" : "option -R is deprecated, use --whatrequires instead"); $options{what_requires} and $options{what_requires_recursive} = 1; $options{what_requires} = 1 }, whatrequires => sub { $options{what_requires} = 1 }, 'whatrequires-recursive' => sub { $options{what_requires_recursive} = $options{what_requires} = 1 }, Y => sub { $urpm->{options}{fuzzy} = 1; $options{all} = $options{caseinsensitive} = 1 }, i => \$options{info}, l => \$options{files}, r => sub { $options{version} = $options{release} = 1; }, f => sub { $options{version} = $options{release} = $options{arch} = 1; }, '<>' => sub { my $x = $_[0]; if ($x =~ /\.rpm$/) { if (-r $x) { push @::files, $x } else { print STDERR N("urpmq: cannot read rpm file \"%s\"\n", $x) } } elsif ($x =~ /^--?(.+)/) { # unrecognized option die "Unknown option: $1\n"; } else { if ($options{src}) { push @::src_names, $x; } else { push @::names, $x; } $options{src} = 0; #- reset switch for next package. } }, }, 'urpmi.update' => { a => \$options{all}, c => sub {}, # obsolete f => sub { ++$options{force}; $options{probe_with} = 'rpms' if $options{force} == 2 }, z => sub { ++$options{compress} }, update => \$options{update}, 'ignore!' => sub { $options{ignore} = $_[1] }, 'force-key' => \$options{forcekey}, 'no-md5sum' => \$options{nomd5sum}, 'noa|d' => \my $_dummy, #- default, kept for compatibility 'norebuild!' => sub { $urpm->{options}{'build-hdlist-on-error'} = !$_[1]; $options{force} = 0 }, 'probe-rpms' => sub { $options{probe_with} = 'rpms' }, '<>' => sub { my ($p) = @_; if ($p =~ /^--?(.+)/) { # unrecognized option die "Unknown option: $1\n"; } push @::cmdline, $p; }, }, 'urpmi.addmedia' => { 'xml-info=s' => \$options{'xml-info'}, 'no-probe' => sub { $options{probe_with} = undef }, distrib => sub { $options{distrib} = 1 }, 'mirrorlist:s' => sub { $options{mirrorlist} = $_[1] || '$MIRRORLIST' }, interactive => sub { $options{interactive} = 1 }, 'all-media' => sub { $options{allmedia} = 1 }, virtual => \$options{virtual}, nopubkey => \$options{nopubkey}, raw => \$options{raw}, }, 'urpmi.recover' => { 'list=s' => \$::listdate, 'list-all' => sub { $::listdate = -1 }, 'list-safe' => sub { $::listdate = 'checkpoint' }, checkpoint => \$::do_checkpoint, 'rollback=s' => \$::rollback, noclean => \$::noclean, disable => \$::disable, }, ); # generate urpmf options callbacks sub add_urpmf_cmdline_tags { foreach my $k (@_) { $options_spec{urpmf}{$k} ||= add_param_closure($k); }