summaryrefslogtreecommitdiffstats
path: root/perl-install/install/any.pm
blob: 95bbb448859b2095e933be8eee3a1918b78903bf (plain)
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
package install::any; # $Id$

use strict;

our @ISA = qw(Exporter);
our @EXPORT_OK = qw(addToBeDone);

#-######################################################################################
#- misc imports
#-######################################################################################
use common;
use run_program;
use fs::type;
use fs::format;
use fs::any;
use partition_table;
use devices;
use modules;
use detect_devices;
use install::media 'getFile_';
use lang;
use any;
use log;

our @advertising_images;

sub drakx_version { 
    my ($o) = @_;

	my $version = cat__(getFile_($o->{stage2_phys_medium}, "install/stage2/VERSION"));
	sprintf "DrakX v%s", chomp_($version);
}

#-######################################################################################
#- Functions
#-######################################################################################
sub dont_run_directly_stage2() {
    readlink("/usr/bin/runinstall2") eq "runinstall2.sh";
}

sub is_network_install {
    my ($o) = @_;
    member($o->{method}, qw(ftp http nfs));
}

sub spawnShell() {
    return if $::local_install || $::testing || dont_run_directly_stage2();

    my $shellpid_file = '/var/run/drakx_shell.pid';
    return if -e $shellpid_file && -d '/proc/' . chomp_(cat_($shellpid_file));

    if (my $shellpid = fork()) {
        output($shellpid_file, $shellpid);
        return;
    }

    $ENV{DISPLAY} ||= ":0"; #- why not :pp

    local *F;
    sysopen F, "/dev/tty2", 2 or log::l("cannot open /dev/tty2 -- no shell will be provided: $!"), goto cant_spawn;

    open STDIN, "<&F" or goto cant_spawn;
    open STDOUT, ">&F" or goto cant_spawn;
    open STDERR, ">&F" or goto cant_spawn;
    close F;

    print drakx_version($::o), "\n";

    c::setsid();

    ioctl(STDIN, c::TIOCSCTTY(), 0) or warn "could not set new controlling tty: $!";

    my @args; -e '/etc/bashrc' and @args = qw(--rcfile /etc/bashrc);
    foreach (qw(/bin/bash /usr/bin/busybox /bin/sh)) {
        -x $_ or next;
        my $program_name = /busybox/ ? "/bin/sh" : $_;  #- since perl_checker is too dumb
        exec { $_ } $program_name, @args or log::l("exec of $_ failed: $!");
    }

    log::l("cannot open any shell");
cant_spawn:
    c::_exit(1);
}

sub getAvailableSpace {
    my ($o) = @_;
    fs::any::getAvailableSpace($o->{fstab});
}

sub preConfigureTimezone {
    my ($o) = @_;
    require timezone;
   
    #- can not be done in install cuz' timeconfig %post creates funny things
    add2hash($o->{timezone}, timezone::read()) if $o->{isUpgrade};

    $o->{timezone}{timezone} ||= timezone::bestTimezone($o->{locale}{country});

    my $utc = every { !isFat_or_NTFS($_) } @{$o->{fstab}};
    my $ntp = timezone::ntp_server();
    add2hash_($o->{timezone}, { UTC => $utc, ntp => $ntp });
}

sub ask_suppl_media_method {
    my ($o) = @_;
    our $suppl_already_asked;

    my $msg = $suppl_already_asked
      ? N("Do you have further supplementary media?")
      : formatAlaTeX(
#-PO: keep the double empty lines between sections, this is formatted a la LaTeX
	    N("The following media have been found and will be used during install: %s.


Do you have a supplementary installation medium to configure?",
	    join(", ", map { $_->{name} } install::media::allMediums($o->{packages}))));

    my %l = my @l = (
	''      => N("None"),
	'cdrom' => N("CD-ROM"),
	'http'  => N("Network (HTTP)"),
	'ftp'   => N("Network (FTP)"),
	'nfs'   => N("Network (NFS)"),
    );

    $o->ask_from(
	'', $msg,
	[ {
	    val => \my $suppl,
	    list => [ map { $_->[0] } group_by2(@l) ],
	    type => 'list',
	    format => sub { $l{$_[0]} },
	} ],
    );

    $suppl_already_asked = 1;
    $suppl;
}

#- if the supplementary media is networked, but not the main one, network
#- support must be installed and network started.
sub prep_net_suppl_media {
    my ($o) = @_;

    require network::tools;
    return if our $net_suppl_media_configured && network::tools::has_network_connection();
    $net_suppl_media_configured = 1;

    #- install basesystem now
    $o->do_pkgs->ensure_is_installed('basesystem', undef, 1);

    require network::netconnect;
    network::netconnect::real_main($o->{net}, $o, $o->{modules_conf});
    require install::interactive;
    install::interactive::upNetwork($o);
    sleep(3);
}

sub ask_url {
    my ($in, $o_url) = @_;

    my $url = $o_url;
    $in->ask_from_({ messages => N("URL of the mirror?"), focus_first => 1 }, [ 
	{ val => \$url,
	  validate => sub { 
	      if ($url =~ m!^(http|ftp)://!) {
		  1;
	      } else {
		  $in->ask_warn('', N("URL must start with ftp:// or http://"));
		  0;
	      }
	  } } ]) && $url;
}
sub ask_mirror {
    my ($o, $type, $o_url) = @_;
    
    require mirror;

    my $mirrors = eval {
	my $_w = $o->wait_message('', N("Contacting Mandriva Linux web site to get the list of available mirrors..."));
	mirror::list($o->{product_id}, $type);
    };
    my $err = $@;
    if (!$mirrors) {
	$o->ask_warn('', N("Failed contacting Mandriva Linux web site to get the list of available mirrors") . "\n$err");
	return ask_url($o, $o_url);
    }

    my $give_url = { country => '-', host => 'URL' };

    my $mirror = $o_url ? (find { $_->{url} eq $o_url } @$mirrors) || $give_url 
        #- use current time zone to select best mirror
      : mirror::nearest($o->{timezone}{timezone}, $mirrors);

    $o->ask_from_({ messages => N("Choose a mirror from which to get the packages"),
		    cancel => N("Cancel"),
		}, [ { separator => '|',
		       format => \&mirror::mirror2text,
		       list => [ @$mirrors, $give_url ],
		       val => \$mirror,
		   },
		 ]) or return;

    my $url;
    if ($mirror eq $give_url) {
	$url = ask_url($o, $o_url) or goto &ask_mirror;
    } else {
	$url = $mirror->{url};
    }
    $url =~ s!/main/?$!!;
    log::l("chosen mirror: $url");
    $url;
}

sub ask_suppl_media_url {
    my ($o, $method, $o_url) = @_;

    if ($method eq 'ftp' || $method eq 'http') {
	install::any::ask_mirror($o, 'distrib', $o_url);
    } elsif ($method eq 'cdrom') {
	'cdrom://';
    } elsif ($method eq 'nfs') {
	my ($host, $dir) = $o_url ? $o_url =~ m!nfs://(.*?)(/.*)! : ();
	$o->ask_from_(
	    { title => N("NFS setup"), 
	      messages => N("Please enter the hostname and directory of your NFS media"),
	      focus_first => 1,
	      callbacks => {
		  complete => sub {
		      $host or $o->ask_warn('', N("Hostname missing")), return 1, 0;
		      $dir eq '' || begins_with($dir, '/') or $o->ask_warn('', N("Directory must begin with \"/\"")), return 1, 1;
		      0;
		  },
	      } },
	    [ { label => N("Hostname of the NFS mount ?"), val => \$host }, 
	      { label => N("Directory"), val => \$dir } ],
	) or return;
	$dir =~ s!/+$!!; 
	$dir ||= '/';
	"nfs://$host$dir";
    } else { internal_error("bad method $method") }
}
sub selectSupplMedia {
    my ($o) = @_;
    my $url;

  ask_method:
    my $method = ask_suppl_media_method($o) or return;

    #- configure network if needed
    if (!scalar keys %{$o->{net}{ifcfg}} && $method !~ /^(?:cdrom|disk)/ && !$::local_install) {
	prep_net_suppl_media($o);
    }

  ask_url:
    $url = ask_suppl_media_url($o, $method, $url) or goto ask_method;

    my $phys_medium = install::media::url2mounted_phys_medium($o, $url, undef, N("Supplementary")) or $o->ask_warn('', formatError($@)), goto ask_url;
    $phys_medium->{is_suppl} = 1;
    $phys_medium->{unknown_CD} = 1;

    my $arch = $o->{product_id}{arch};
    my $field = $phys_medium->{device} ? 'rel_path' : 'url';
    my $val = $phys_medium->{$field};
    my $val0 = $val =~ m!^(.*?)(/media)?/?$! && "$1/media";
    my $val2 = $val =~ m!^(.*?)(/\Q$arch\E)?(/media)?/?$! && "$1/$arch/media";

    foreach (uniq($val0, $val, $val2)) {
	log::l("trying with $field set to $_");
	$phys_medium->{$field} = $_;

	#- first, try to find a media.cfg file
	eval { install::media::get_media_cfg($o, $phys_medium, $o->{packages}, undef, 'force_rpmsrate') };
	if (!$@) {
	    delete $phys_medium->{unknown_CD}; #- we have a known CD now
	    return 1;
	}
    }
    #- restore it
    $phys_medium->{$field} = $val;

    #- try using media_info/hdlist.cz
    my $medium_id = int(@{$o->{packages}{media}});
    eval { install::media::get_standalone_medium($o, $phys_medium, $o->{packages}, { name => "Supplementary media $medium_id" }) };
    if (!$@) {
	log::l("read suppl hdlist (via $method)");
	delete $phys_medium->{unknown_CD}; #- we have a known CD now
	return 1;
    }

    install::media::umount_phys_medium($phys_medium);
    install::media::remove_from_fstab($o->{all_hds}, $phys_medium);
    $o->ask_warn('', N("Can't find a package list file on this mirror. Make sure the location is correct."));
    goto ask_url;
}

sub load_rate_files {
    my ($o) = @_;
    #- must be done after getProvides

    require pkgs;
    pkgs::read_rpmsrate($o->{packages}, $o->{rpmsrate_flags_chosen}, '/tmp/rpmsrate', $o->{match_all_hardware});

    ($o->{compssUsers}, $o->{gtk_display_compssUsers}) = install::pkgs::readCompssUsers('/tmp/compssUsers.pl');

    defined $o->{compssUsers} or die "Can't read compssUsers.pl file, aborting installation\n";
}

sub setPackages {
    my ($o) = @_;

    require install::pkgs;
    {
	$o->{packages} = install::pkgs::empty_packages($o->{keep_unrequested_dependencies});
	
	my $media = $o->{media} || [ { type => 'media_cfg', url => 'drakx://media' } ];

	my ($suppl_method, $copy_rpms_on_disk) = install::media::get_media($o, $media, $o->{packages});

	if ($suppl_method) {
	    1 while $o->selectSupplMedia;
	}

	#- open rpm db according to right mode needed
	$o->{packages}{rpmdb} ||= install::pkgs::rpmDbOpen('rebuild_if_needed', $o->{rpm_dbapi});

	{
	    my $_wait = $o->wait_message('', N("Looking at packages already installed..."));
	    install::pkgs::selectPackagesAlreadyInstalled($o->{packages});
	}

	if (my $extension = $o->{upgrade_by_removing_pkgs_matching}) {
	    my $time = time();
	    my ($_w, $wait_message) = $o->wait_message_with_progress_bar;
	    $wait_message->(N("Removing packages prior to upgrade..."));
	    my ($current, $total);
	    my $callback = sub {
		my (undef, $type, $_id, $subtype, $amount) = @_;
		if ($type eq 'user') {
		    ($current, $total) = (0, $amount);
		} elsif ($type eq 'uninst' && $subtype eq 'stop') {
		    $wait_message->('', $current++, $total);
		}
	    };
	    push @{$o->{default_packages}}, install::pkgs::upgrade_by_removing_pkgs($o->{packages}, $callback, $extension, $o->{isUpgrade});
	    log::l("Removing packages took: ", formatTimeRaw(time() - $time));
	}

	mark_skipped_packages($o);

	#- always try to select basic kernel (else on upgrade, kernel will never be updated provided a kernel is already
	#- installed and provides what is necessary).
	my $kernel_pkg = install::pkgs::bestKernelPackage($o->{packages}, $o->{match_all_hardware});
	install::pkgs::selectPackage($o->{packages}, $kernel_pkg, 1);
	if ($o->{isUpgrade} && $o->{packages}{sizes}{dkms}) {
	    log::l("selecting kernel-desktop-devel-latest (since dkms was installed)");
	    install::pkgs::select_by_package_names($o->{packages}, ['kernel-desktop-devel-latest'], 1);
	}

	install::pkgs::select_by_package_names_or_die($o->{packages}, ['basesystem'], 1);

	my $rpmsrate_flags_was_chosen = $o->{rpmsrate_flags_chosen};

	put_in_hash($o->{rpmsrate_flags_chosen} ||= {}, rpmsrate_always_flags($o)); #- must be done before pkgs::read_rpmsrate()
	load_rate_files($o);

	install::media::copy_rpms_on_disk($o) if $copy_rpms_on_disk;

	set_rpmsrate_default_category_flags($o, $rpmsrate_flags_was_chosen);

	push @{$o->{default_packages}}, default_packages($o);
	select_default_packages($o);
    }

    if ($o->{isUpgrade}) {
	{
	    my $_w = $o->wait_message('', N("Finding packages to upgrade..."));
	    install::pkgs::selectPackagesToUpgrade($o->{packages});
	}
	if ($o->{packages}{sizes}{'kdebase-progs'}) {
	    log::l("selecting task-kde (since kdebase-progs was installed)");
	    install::pkgs::select_by_package_names($o->{packages}, ['task-kde']);
	}
    }
}

sub count_files {
    my ($dir) = @_;
    -d $dir or return 0;
    opendir my $dh, $dir or return 0;
    my @list = grep { !/^\.\.?$/ } readdir $dh;
    closedir $dh;
    my $c = 0;
    foreach my $n (@list) {
	my $p = "$dir/$n";
	if (-d $p) { $c += count_files($p) } else { ++$c }
    }
    $c;
}

sub cp_with_progress {
    my $wait_message = shift;
    my $current = shift;
    my $total = shift;
    my $dest = pop @_;
    cp_with_progress_({ keep_special => 1 }, $wait_message, $total, \@_, $dest);
}
sub cp_with_progress_ {
    my ($options, $wait_message, $total, $list, $dest) = @_;
    @$list or return;
    @$list == 1 || -d $dest or die "cp: copying multiple files, but last argument ($dest) is not a directory\n";

    -d $dest or $dest = dirname($dest);
    _cp_with_progress($options, $wait_message, 0, $total, $list, $dest);
}
sub _cp_with_progress {
    my ($options, $wait_message, $current, $total, $list, $dest) = @_;

    foreach my $src (@$list) {
	my $dest = $dest;
	-d $dest and $dest .= '/' . basename($src);

	unlink $dest;

	if (-l $src && $options->{keep_special}) {
	    unless (symlink(readlink($src) || die("readlink failed: $!"), $dest)) {
		warn "symlink: can't create symlink $dest: $!\n";
	    }
	} elsif (-d $src) {
	    -d $dest or mkdir $dest, (stat($src))[2] or die "mkdir: can't create directory $dest: $!\n";
	    _cp_with_progress($options, $wait_message, $current, $total, [ glob_($src) ], $dest);
	} else {
	    open(my $F, $src) or die "can't open $src for reading: $!\n";
	    open(my $G, ">", $dest) or die "can't cp to file $dest: $!\n";
	    local $/ = \4096;
	    local $_; while (<$F>) { print $G $_ }
	    chmod((stat($src))[2], $dest);
	    $wait_message->('', ++$current, $total);
	}
    }
    1;
}

sub set_rpmsrate_default_category_flags {
    my ($o, $rpmsrate_flags_was_chosen) = @_;

    #- if no cleaning needed, populate by default, clean is used for second or more call to this function.
    if ($::auto_install && ($o->{rpmsrate_flags_chosen} || {})->{CAT_ALL}) {
	$o->{rpmsrate_flags_chosen}{"CAT_$_"} = 1 foreach map { @{$_->{flags}} } @{$o->{compssUsers}};
    }
    if (!$rpmsrate_flags_was_chosen && !$o->{isUpgrade}) {
	#- use default selection seen in compssUsers directly.
	$_->{selected} = $_->{default_selected} foreach @{$o->{compssUsers}};
	set_rpmsrate_category_flags($o, $o->{compssUsers});
    }
}

sub set_rpmsrate_category_flags {
    my ($o, $compssUsers) = @_;

    $o->{rpmsrate_flags_chosen}{$_} = 0 foreach grep { /^CAT_/ } keys %{$o->{rpmsrate_flags_chosen}};
    $o->{rpmsrate_flags_chosen}{"CAT_$_"} = 1 foreach map { @{$_->{flags}} } grep { $_->{selected} } @$compssUsers;
    $o->{rpmsrate_flags_chosen}{CAT_SYSTEM} = 1;
    $o->{rpmsrate_flags_chosen}{CAT_MINIMAL_DOCS} = 1;
}


sub rpmsrate_always_flags {
    my ($o) = @_;

    my $rpmsrate_flags_chosen = {};
    $rpmsrate_flags_chosen->{qq(META_CLASS"$o->{meta_class}")} = 1;
    $rpmsrate_flags_chosen->{uc($_)} = 1 foreach grep { $o->{match_all_hardware} || detect_devices::probe_category("multimedia/$_") } modules::sub_categories('multimedia');
    $rpmsrate_flags_chosen->{uc($_)} = 1 foreach detect_devices::probe_name('Flag');
    $rpmsrate_flags_chosen->{UTF8} = $o->{locale}{utf8};
    $rpmsrate_flags_chosen->{BURNER} = 1 if $o->{match_all_hardware} || detect_devices::burners();
    $rpmsrate_flags_chosen->{DVD} = 1 if $o->{match_all_hardware} || detect_devices::dvdroms();
    $rpmsrate_flags_chosen->{USB} = 1 if $o->{match_all_hardware} || $o->{modules_conf}->get_probeall("usb-interface");
    $rpmsrate_flags_chosen->{PCMCIA} = 1 if $o->{match_all_hardware} || detect_devices::hasPCMCIA();
    $rpmsrate_flags_chosen->{HIGH_SECURITY} = 1 if $o->{security} > 3;
    $rpmsrate_flags_chosen->{BIGMEM} = 1 if detect_devices::BIGMEM();
    $rpmsrate_flags_chosen->{SMP} = 1 if $o->{match_all_hardware} || detect_devices::hasSMP();
    $rpmsrate_flags_chosen->{'3D'} = 1 if
      $o->{match_all_hardware} ||
      detect_devices::matching_desc__regexp('Matrox.* G[245][05]0') ||
      detect_devices::matching_desc__regexp('Rage X[CL]') ||
      detect_devices::matching_desc__regexp('3D Rage (?:LT|Pro)') ||
      detect_devices::matching_desc__regexp('Voodoo [35]') ||
      detect_devices::matching_desc__regexp('Voodoo Banshee') ||
      detect_devices::matching_desc__regexp('8281[05].* CGC') ||
      detect_devices::matching_desc__regexp('Rage 128') ||
      detect_devices::matching_desc__regexp('Radeon ') || #- all Radeon card are now 3D with 4.3.0
      detect_devices::matching_desc__regexp('[nN]Vidia.*T[nN]T2') || #- TNT2 cards
      detect_devices::matching_desc__regexp('[nN][vV]idia.*NV[56]') ||
      detect_devices::matching_desc__regexp('[nN][vV]idia.*Vanta') ||
      detect_devices::matching_desc__regexp('[nN][vV]idia.*[gG]e[fF]orce') || #- GeForce cards
      detect_devices::matching_desc__regexp('[nN][vV]idia.*NV1[15]') ||
      detect_devices::matching_desc__regexp('[nN][vV]idia.*Quadro');

    foreach (lang::langsLANGUAGE($o->{locale}{langs})) {
	$rpmsrate_flags_chosen->{qq(LOCALES"$_")} = 1;
    }
    $rpmsrate_flags_chosen->{'CHARSET"' . lang::l2charset($o->{locale}{lang}) . '"'} = 1;

    $rpmsrate_flags_chosen;
}

sub default_packages {
    my ($o) = @_;
    my @l;

    push @l, "brltty" if cat_("/proc/cmdline") =~ /brltty=/;
    push @l, "nfs-utils-clients" if $o->{method} eq "nfs";
    push @l, "mdadm" if !is_empty_array_ref($o->{all_hds}{raids});
    push @l, "lvm2" if !is_empty_array_ref($o->{all_hds}{lvms});
    push @l, "cryptsetup" if !is_empty_array_ref($o->{all_hds}{dmcrypts});
    push @l, "dmraid" if any { fs::type::is_dmraid($_) } @{$o->{all_hds}{hds}};
    push @l, 'cpufreq' if cat_('/proc/cpuinfo') =~ /AuthenticAMD/ && arch() =~ /x86_64/
      || cat_('/proc/cpuinfo') =~ /model name.*Intel\(R\) Core\(TM\)2 CPU/;
    push @l, detect_devices::probe_name('Pkg');

    my $dmi_BIOS = detect_devices::dmidecode_category('BIOS');
    my $dmi_Base_Board = detect_devices::dmidecode_category('Base Board');
    if ($dmi_BIOS->{Vendor} eq 'COMPAL' && $dmi_BIOS->{Characteristics} =~ /Function key-initiated network boot is supported/
          || $dmi_Base_Board->{Manufacturer} =~ /^ACER/ && $dmi_Base_Board->{'Product Name'} =~ /TravelMate 610/) {
	#- FIXME : append correct options (wireless, ...)
	modules::append_to_modules_loaded_at_startup_for_all_kernels('acerhk');
    }

    push @l, 'quota' if any { $_->{options} =~ /usrquota|grpquota/ } @{$o->{fstab}};
    push @l, uniq(grep { $_ } map { fs::format::package_needed_for_partition_type($_) } @{$o->{fstab}});
    push @l, 'ntfs-3g' if any { $_->{fs_type} eq 'ntfs-3g' } @{$o->{fstab}};

    # handle locales with specified scripting:
    my @languages = map { s/\@.*//; $_ } lang::langsLANGUAGE($o->{locale}{langs});
    my @locale_pkgs = map { URPM::packages_providing($o->{packages}, 'locales-' . $_) } @languages;
    unshift @l, uniq(map { $_->name } @locale_pkgs);

    @l;
}

sub mark_skipped_packages {
    my ($o) = @_;
    install::pkgs::skip_packages($o->{packages}, $o->{skipped_packages}) if $o->{skipped_packages};
}

sub select_default_packages {
    my ($o) = @_;
    install::pkgs::select_by_package_names($o->{packages}, $o->{default_packages});
}

sub unselectMostPackages {
    my ($o) = @_;
    install::pkgs::unselectAllPackages($o->{packages});
    select_default_packages($o);
}

sub warnAboutNaughtyServers {
    my ($o) = @_;
    my @naughtyServers = install::pkgs::naughtyServers($o->{packages}) or return 1;
    my $r = $o->ask_from_list_('', 
formatAlaTeX(
             #-PO: keep the double empty lines between sections, this is formatted a la LaTeX
             N("You have selected the following server(s): %s


These servers are activated by default. They do not have any known security
issues, but some new ones could be found. In that case, you must make sure
to upgrade as soon as possible.


Do you really want to install these servers?
", join(", ", @naughtyServers))), [ N_("Yes"), N_("No") ], 'Yes') or return;
    if ($r ne 'Yes') {
	log::l("unselecting naughty servers: " . join(' ', @naughtyServers));
	install::pkgs::unselectPackage($o->{packages}, install::pkgs::packageByName($o->{packages}, $_)) foreach @naughtyServers;
    }
    1;
}

sub warnAboutRemovedPackages {
    my ($o, $packages) = @_;
    my @removedPackages = keys %{$packages->{state}{ask_remove} || {}} or return;
    if (!$o->ask_yesorno('', 
formatAlaTeX(
             #-PO: keep the double empty lines between sections, this is formatted a la LaTeX
             N("The following packages will be removed to allow upgrading your system: %s


Do you really want to remove these packages?
", join(", ", @removedPackages))), 1)) {
	$packages->{state}{ask_remove} = {};
    }
}

sub addToBeDone(&$) {
    my ($f, $step) = @_;

    return &$f() if $::o->{steps}{$step}{done};

    push @{$::o->{steps}{$step}{toBeDone}}, $f;
}

sub set_authentication {
    my ($o) = @_;

    my $when_network_is_up = sub {
	my ($f) = @_;
	#- defer running xxx - no network yet
	addToBeDone {
	    require install::steps;
	    install::steps::upNetwork($o, 'pppAvoided');
	    $f->();
	} 'configureNetwork';
    };
    require authentication;
    authentication::set($o, $o->{net}, $o->{authentication} ||= {}, $when_network_is_up);
}

#-###############################################################################
#- kde stuff
#-###############################################################################
sub kdemove_desktop_file {
    my ($prefix) = @_;
    my @toMove = qw(doc.kdelnk news.kdelnk updates.kdelnk home.kdelnk printer.kdelnk floppy.kdelnk cdrom.kdelnk FLOPPY.kdelnk CDROM.kdelnk);

    #- remove any existing save in Trash of each user and
    #- move appropriate file there after an upgrade.
    foreach my $dir (grep { -d $_ } list_skels($prefix, 'Desktop')) {
	renamef("$dir/$_", "$dir/Trash/$_") 
	  foreach grep { -e "$dir/$_" } @toMove, grep { /\.rpmorig$/ } all($dir);
    }
}


#-###############################################################################
#- auto_install stuff
#-###############################################################################
sub auto_inst_file() { "$::prefix/root/drakx/auto_inst.cfg.pl" }

sub report_bug() {
    any::report_bug('auto_inst' => g_auto_install('', 1));
}

sub g_auto_install {
    my ($b_replay, $b_respect_privacy) = @_;
    my $o = {};

    require install::pkgs;
    $o->{default_packages} = install::pkgs::selected_leaves($::o->{packages});

    my @fields = qw(mntpoint fs_type size);
    $o->{partitions} = [ map { 
	my %l; @l{@fields} = @$_{@fields}; \%l;
    } grep { 
	$_->{mntpoint} && fs::format::known_type($_);
    } @{$::o->{fstab}} ];
    
    exists $::o->{$_} and $o->{$_} = $::o->{$_} foreach qw(locale authentication mouse net timezone superuser keyboard users partitioning isUpgrade manualFstab nomouseprobe crypto security security_user autoExitInstall X services postInstall postInstallNonRooted); #- TODO modules bootloader 

    local $o->{partitioning}{auto_allocate} = !$b_replay;
    $o->{autoExitInstall} = !$b_replay;
    $o->{interactiveSteps} = [ 'doPartitionDisks', 'formatPartitions' ] if $b_replay;

    #- deep copy because we're modifying it below
    $o->{users} = $b_respect_privacy ? [] : [ @{$o->{users} || []} ];

    my @user_info_to_remove = (
	if_($b_respect_privacy, qw(realname pw)), 
	qw(oldu oldg password password2),
    );
    $_ = { %{$_ || {}} }, delete @$_{@user_info_to_remove} foreach $o->{superuser}, @{$o->{users} || []};

    if ($b_respect_privacy && $o->{net}) {
	if (my $type = $o->{net}{type}) {
	    my @net_type_to_remove = qw(passwd login phone_in phone_out);
	    $_ = { %{$_ || {}} }, delete @$_{@net_type_to_remove} foreach $o->{net}{$type};
	}
    }
    my $warn_privacy = $b_respect_privacy ? "!! This file has been simplified to respect privacy when reporting problems.
# You should use /root/drakx/auto_inst.cfg.pl instead !!\n#" : '';
    
    require Data::Dumper;
    my $str = join('', 
"#!/usr/bin/perl -cw
# $warn_privacy
# You should check the syntax of this file before using it in an auto-install.
# You can do this with 'perl -cw auto_inst.cfg.pl' or by executing this file
# (note the '#!/usr/bin/perl -cw' on the first line).
", Data::Dumper->Dump([$o], ['$o']));
    $str =~ s/ {8}/\t/g; #- replace all 8 space char by only one tabulation, this reduces file size so much :-)
    $str;
}

sub getAndSaveAutoInstallFloppies {
    my ($o, $replay) = @_;
    my $name = ($replay ? 'replay' : 'auto') . '_install';
    my $dest_dir = "$::prefix/root/drakx";

    eval { modules::load('loop') };

    if (arch() =~ /ia64/) {
	#- nothing yet
    } else {
	my $mountdir = "$::prefix/root/aif-mount"; -d $mountdir or mkdir $mountdir, 0755;
	my $param = 'kickstart=floppy ' . generate_automatic_stage1_params($o);

	my $img = install::media::getAndSaveInstallFloppies($o, $dest_dir, $name) or return;

	{
	    my $dev = devices::set_loop($img) or log::l("couldn't set loopback device"), return;
	    find { eval { fs::mount::mount($dev, $mountdir, $_, 0); 1 } } qw(ext2 vfat) or return;

	    if (-e "$mountdir/menu.lst") {
		# hd_grub boot disk is different than others
		substInFile {
		    s/^(\s*timeout.*)/timeout 1/;
		    s/\bautomatic=method:disk/$param/;
		} "$mountdir/menu.lst";
	    } elsif (-e "$mountdir/syslinux.cfg") {
		#- make room first
		unlink "$mountdir/help.msg", "$mountdir/boot.msg";

		substInFile { 
		    s/timeout.*/$replay ? 'timeout 1' : ''/e;
		    s/^(\s*append)/$1 $param/; 
		} "$mountdir/syslinux.cfg";

		output "$mountdir/boot.msg", $replay ? '' : "\n0c" .
"!! If you press enter, an auto-install is going to start.
   All data on this computer is going to be lost,
   including any Windows partitions !!
" . "07\n";
	    }

	    {
		local $o->{partitioning}{clearall} = !$replay;
		eval { output("$mountdir/auto_inst.cfg", g_auto_install($replay)) };
		$@ and log::l("Warning: <", formatError($@), ">");
	    }
	
	    fs::mount::umount($mountdir);
	    devices::del_loop($dev);
	}
	rmdir $mountdir;
	$img;
    }
}


sub g_default_packages {
    my ($o) = @_;

    my ($_h, $file) = media_browser($o, 'save', 'package_list.pl') or return;

    require Data::Dumper;
    my $str = Data::Dumper->Dump([ { default_packages => install::pkgs::selected_leaves($o->{packages}) } ], ['$o']);
    $str =~ s/ {8}/\t/g;
    output($file,
	   "# You should always check the syntax with 'perl -cw auto_inst.cfg.pl'\n" .
	   "# before testing.  To use it, boot with ``linux defcfg=floppy''\n" .
	   $str);
}

sub loadO {
    my ($O, $f) = @_; $f ||= auto_inst_file();
    if ($f =~ /^(floppy|patch)$/) {
	my $f = $f eq "floppy" ? 'auto_inst.cfg' : "patch";
	my $o;
	foreach (removable_media__early_in_install()) {
            my $dev = devices::make($_->{device});
            foreach my $fs (arch() =~ /sparc/ ? 'romfs' : ('ext2', 'vfat')) {
                eval { fs::mount::mount($dev, '/mnt', $fs, 'readonly'); 1 } or next;
		if (my $abs_f = find { -e $_ } "/mnt/$f", "/mnt/$f.pl") {
		    $o = loadO_($O, $abs_f);
		}
		fs::mount::umount("/mnt");
		goto found if $o;
            }
	}
	die "Could not find $f";
      found:
	modules::unload(qw(vfat fat));
	$o;
    } else {
	loadO_($O, $f);
    }
}

sub loadO_ {
    my ($O, $f) = @_; 

    my $o;
    {
	my $fh;
	if (ref $f) {
	    $fh = $f;
	} else {
	    -e "$f.pl" and $f .= ".pl" unless -e $f;

	    $fh = -e $f ? common::open_file($f) : getFile_($O->{stage2_phys_medium}, $f) || die N("Error reading file %s", $f);
	}
	my $s = cat__($fh);
	close $fh;
	{
	    no strict;
	    eval $s;
	    $@ and die;
	}
	$O and add2hash_($o ||= {}, $O);
    }
    $O and bless $o, ref $O;

    handle_old_auto_install_format($o);

    $o;
}

sub handle_old_auto_install_format {
    my ($o) = @_;

    #- handle backward compatibility for things that changed
    foreach (@{$o->{partitions} || []}, @{$o->{manualFstab} || []}) {
	if (my $type = delete $_->{type}) {
	    if ($type =~ /^(0x)?(\d*)$/) {
		fs::type::set_pt_type($_, $type);
	    } else {
		fs::type::set_fs_type($_, $type);
	    }
	}
    }
    #- {rpmsrate_flags_chosen} was called {compssUsersChoice}
    if (my $rpmsrate_flags_chosen = delete $o->{compssUsersChoice}) {
	$o->{rpmsrate_flags_chosen} = $rpmsrate_flags_chosen;
    }
    #- compssUsers flags are now named CAT_XXX
    if ($o->{rpmsrate_flags_chosen} &&
	! any { /^CAT_/ } keys %{$o->{rpmsrate_flags_chosen}}) {
	#- we don't really know if this is needed for compatibility, but it won't hurt :)
	foreach (keys %{$o->{rpmsrate_flags_chosen}}) {
	    $o->{rpmsrate_flags_chosen}{"CAT_$_"} = $o->{rpmsrate_flags_chosen}{$_};
	}
	#- it used to be always selected
	$o->{rpmsrate_flags_chosen}{CAT_SYSTEM} = 1;
    }
    if ($o->{updates} && $o->{updates}{mirror}) {
	$o->{updates}{url} = delete $o->{updates}{mirror};
    }

    #- backward compatibility for network fields
    exists $o->{intf} and $o->{net}{ifcfg} = delete $o->{intf};
    exists $o->{netcnx}{type} and $o->{net}{type} = delete $o->{netcnx}{type};
    exists $o->{netc}{NET_INTERFACE} and $o->{net}{net_interface} = delete $o->{netc}{NET_INTERFACE};
    my %netc_translation = (
			    resolv => [ qw(dnsServer dnsServer2 dnsServer3 DOMAINNAME DOMAINNAME2 DOMAINNAME3) ],
			    network => [ qw(NETWORKING FORWARD_IPV4 NETWORKING_IPV6 HOSTNAME GATEWAY GATEWAYDEV NISDOMAIN) ],
			    auth => [ qw(LDAPDOMAIN WINDOMAIN) ],
			   );
    foreach my $dest (keys %netc_translation) {
	exists $o->{netc}{$_} and $o->{net}{$dest}{$_} = delete $o->{netc}{$_} foreach @{$netc_translation{$dest}};
    }
    delete @$o{qw(netc netcnx)};

    $o;
}

sub generate_automatic_stage1_params {
    my ($o) = @_;

    my $method = $o->{method};
    my @ks;

    if ($o->{method} eq 'http') {
	$ENV{URLPREFIX} =~ m!(http|ftp)://([^/:]+)(.*)! or die;
	$method = $1; #- in stage1, FTP via HTTP proxy is available through FTP config, not HTTP
	@ks = (server => $2, directory => $3);
    } elsif ($o->{method} eq 'ftp') {
	my @l = install::ftp::parse_ftp_url($ENV{URLPREFIX});
	@ks = (server => $l[0], directory => $l[1], user => $l[2], pass => $l[3]);
    } elsif ($o->{method} eq 'nfs') {
	cat_("/proc/mounts") =~ m|(\S+):(\S+)\s+/tmp/media| or internal_error("can not find nfsimage");
	@ks = (server => $1, directory => $2);
    }
    @ks = (method => $method, @ks);

    if (is_network_install($o)) {
	if ($ENV{PROXY}) {
	    push @ks, proxy_host => $ENV{PROXY}, proxy_port => $ENV{PROXYPORT};
	}
	my $intf = first(values %{$o->{net}{ifcfg}});
	push @ks, interface => $intf->{DEVICE};
	if ($intf->{BOOTPROTO} eq 'dhcp') {
	    push @ks, network => 'dhcp';
	} else {
	    push @ks, network => 'static', ip => $intf->{IPADDR}, netmask => $intf->{NETMASK}, gateway => $o->{net}{network}{GATEWAY};
	    require network::network;
	    if (my @dnss = network::network::dnsServers($o->{net})) {
		push @ks, dns => $dnss[0];
	    }
	}
    }

    #- sync it with ../mdk-stage1/automatic.c
    my %aliases = (method => 'met', network => 'netw', interface => 'int', gateway => 'gat', netmask => 'netm',
		   adsluser => 'adslu', adslpass => 'adslp', hostname => 'hos', domain => 'dom', server => 'ser',
		   directory => 'dir', user => 'use', pass => 'pas', disk => 'dis', partition => 'par');
    
    'automatic=' . join(',', map { ($aliases{$_->[0]} || $_->[0]) . ':' . $_->[1] } group_by2(@ks));
}

sub find_root_parts {
    my ($fstab, $prefix) = @_;

    grep { $_->{release} =~ /\b(mandrake|mandriva|conectiva)\b/i } 
      _find_root_parts($fstab, $prefix);
}

sub _find_root_parts {
    my ($fstab, $prefix) = @_;

    if ($::local_install) {
	my $f = common::release_file('/mnt') or return;
	return common::parse_release_file('/mnt', $f, {});
    }

    map { 
	my $handle = any::inspect($_, $prefix);
	if (my $f = $handle && common::release_file($handle->{dir})) {
	    common::parse_release_file($handle->{dir}, $f, $_);
	} else { () }
    } grep { isTrueLocalFS($_) } @$fstab;
}

sub migrate_device_names {
    my ($all_hds, $from_fstab, $new_root, $root_from_fstab, $o_in) = @_;

    log::l("warning: fstab says root partition is $root_from_fstab->{device}, whereas we were reading fstab from $new_root->{device}");
    my ($old_prefix, $old_part_number) = devices::simple_partition_scan($root_from_fstab);
    my ($new_prefix, $new_part_number) = devices::simple_partition_scan($new_root);

    if ($old_part_number != $new_part_number) {
	log::l("argh, $root_from_fstab->{device} and $old_part_number->{device} are not the same partition number");
	return;
    }

    log::l("replacing $old_prefix with $new_prefix");
    
    my %h;
    foreach (@$from_fstab) {
	if ($_->{device} =~ s!^\Q$old_prefix!$new_prefix!) {
	    #- this is simple to handle, nothing more to do
	} elsif ($_->{part_number}) {
	    my $device_prefix = devices::part_prefix($_);
	    push @{$h{$device_prefix}}, $_;
	} else {
	    #- hopefully this does not need anything special
	}
    }
    my @from_fstab_per_hds = values %h or return;


    my @current_hds = grep { $new_root->{rootDevice} ne $_->{device} } fs::get::hds($all_hds);

    found_one:
    @from_fstab_per_hds or return;

    foreach my $from_fstab_per_hd (@from_fstab_per_hds) {
	my ($matching, $other) = partition { 
	    my $hd = $_;
	    every {
		my $wanted = $_;
		my $part = find { $_->{part_number} eq $wanted->{part_number} } partition_table::get_normal_parts($hd);
		$part && $part->{fs_type} && fs::type::can_be_this_fs_type($wanted, $part->{fs_type});
	    } @$from_fstab_per_hd;
	} @current_hds;
	@$matching == 1 or next;

	my ($hd) = @$matching;
	@current_hds = @$other;
	@from_fstab_per_hds = grep { $_ != $from_fstab_per_hd } @from_fstab_per_hds;

	log::l("$hd->{device} nicely corresponds to " . join(' ', map { $_->{device} } @$from_fstab_per_hd));
	foreach (@$from_fstab_per_hd) {
	    partition_table::compute_device_name($_, $hd);
	}
	goto found_one;
    }
	
    #- we can not find one and only one matching hd
    my @from_fstab_not_handled = map { @$_ } @from_fstab_per_hds;
    log::l("we still do not know what to do with: " . join(' ', map { $_->{device} } @from_fstab_not_handled));


    if (!$o_in) {
	log::l("well, ignoring them!");
	return;
    }

    my $propositions_valid = every {
	my $wanted = $_;
	my @parts = grep { $_->{part_number} eq $wanted->{part_number}
			     && $_->{fs_type} && fs::type::can_be_this_fs_type($wanted, $_->{fs_type}) } fs::get::hds_fstab(@current_hds);
	$wanted->{propositions} = \@parts;
	@parts > 0;
    } @from_fstab_not_handled;

    $o_in->ask_from('', 
		    N("The following disk(s) were renamed:"),
		    [ map {
			{ label => N("%s (previously named as %s)", $_->{mntpoint}, $_->{device}),
			  val => \$_->{device}, format => sub { $_[0] && $_->{device} },
			  list => [ '', 
				    $propositions_valid ? @{$_->{propositions}} : 
				    fs::get::hds_fstab(@current_hds) ] };
		    } @from_fstab_not_handled ]);
}

sub use_root_part {
    my ($all_hds, $part, $o_in) = @_;
    return if $::local_install;

    my $migrate_device_names;
    {
	my $handle = any::inspect($part, $::prefix) or internal_error();

	my @from_fstab = fs::read_fstab($handle->{dir}, '/etc/fstab', 'keep_default');

	my $root_from_fstab = fs::get::root_(\@from_fstab);
	if (!fs::get::is_same_hd($root_from_fstab, $part)) {
	    $migrate_device_names = 1;
	    log::l("from_fstab contained: $_->{device} $_->{mntpoint}") foreach @from_fstab;
	    migrate_device_names($all_hds, \@from_fstab, $part, $root_from_fstab, $o_in);
	    log::l("from_fstab now contains: $_->{device} $_->{mntpoint}") foreach @from_fstab;
	}
	fs::add2all_hds($all_hds, @from_fstab);
	log::l("fstab is now: $_->{device} $_->{mntpoint}") foreach fs::get::fstab($all_hds);
    }
    isSwap($_) and $_->{mntpoint} = 'swap' foreach fs::get::really_all_fstab($all_hds); #- use all available swap.
    $migrate_device_names;
}

sub getHds {
    my ($o, $o_in) = @_;
    fs::any::get_hds($o->{all_hds} ||= {}, $o->{fstab} ||= [], 
		     $o->{manualFstab}, $o->{partitioning}, $::local_install, $o_in);
}

sub removable_media__early_in_install() {
    eval { modules::load('usb_storage', 'sd_mod') } if detect_devices::usbStorage();
    my $all_hds = fsedit::get_hds({});
    fs::get_raw_hds('', $all_hds);

    my @l1 = grep { detect_devices::isKeyUsb($_) } @{$all_hds->{hds}};
    my @l2 = grep { $_->{media_type} eq 'fd' || detect_devices::isKeyUsb($_) } @{$all_hds->{raw_hds}};
    (fs::get::hds_fstab(@l1), @l2);
}

my %media_browser;
sub media_browser {
    my ($in, $save, $o_suggested_name) = @_;

    my %media_type2text = (
	fd => N("Floppy"),
	hd => N("Hard Disk"),
	cdrom => N("CDROM"),
    );
    my @network_protocols = (if_(!$save, N_("HTTP")), if_(0, N_("FTP")), N_("NFS"));

    my $to_text = sub {
	my ($hd) = @_;
	($media_type2text{$hd->{media_type}} || $hd->{media_type}) . ': ' . partition_table::description($hd);
    };

  ask_media:
    my $all_hds = fsedit::get_hds({}, $in);
    fs::get_raw_hds('', $all_hds);

    my @raw_hds = grep { !$save || $_->{media_type} ne 'cdrom' } @{$all_hds->{raw_hds}};
    my @dev_and_text = group_by2(
	(map { $_ => $to_text->($_) } @raw_hds),
	(map { 
	    my $hd = $to_text->($_);
	    map { $_ => join('\1', $hd, partition_table::description($_)) } grep { isTrueFS($_) || isOtherAvailableFS($_) } fs::get::hds_fstab($_);
	} fs::get::hds($all_hds)),
	if_(is_network_install($::o) || install::steps::hasNetwork($::o),
	    map { $_ => join('\1', N("Network"), translate($_)) } @network_protocols),
    );

    $in->ask_from_({
	messages => N("Please choose a media"),
    }, [ 
	{ val => \$media_browser{dev}, separator => '\1', list => [ map { $_->[1] } @dev_and_text ] },
    ]) or return;

    my $dev = (find { $_->[1] eq $media_browser{dev} } @dev_and_text)->[0];

    my $browse = sub {
	my ($dir) = @_;

      browse:
	my $file = $in->ask_filename({ save => $save, 
				       directory => $dir, 
				       if_($o_suggested_name, file => "$dir/$o_suggested_name"),
				   }) or return;
	if (-e $file && $save) {
	    $in->ask_yesorno('', N("File already exists. Overwrite it?")) or goto browse;
	}
	if ($save) {
	    if (!open(my $_fh, ">>$file")) {
		$in->ask_warn('', N("Permission denied"));
		goto browse;
	    }
	    $file;
	} else {
	    common::open_file($file) || goto browse;
	}
    };
    my $inspect_and_browse = sub {
	my ($dev) = @_;

	if (my $h = any::inspect($dev, $::prefix, $save)) {
	    if (my $file = $browse->($h->{dir})) {
		return $h, $file;
	    }
	    undef $h; #- help perl
	} else {
	    $in->ask_warn(N("Error"), formatError($@));
	}
	();
    };

    if (member($dev, @network_protocols)) {
	require install::interactive;
	install::interactive::upNetwork($::o);

	if ($dev eq 'HTTP') {
	    require install::http;
	    $media_browser{url} ||= 'http://';

	    while (1) {
		$in->ask_from('', 'URL', [
		    { val => \$media_browser{url} }
		]) or last;
		    
		if ($dev eq 'HTTP') {
		    my $fh = install::http::getFile($media_browser{url});
		    $fh and return '', $fh;
		}
	    }
	} elsif ($dev eq 'NFS') {
	    while (1) {
		$in->ask_from('', 'NFS', [
		    { val => \$media_browser{nfs} }
		]) or last;

		my ($kind) = fs::wild_device::analyze($media_browser{nfs});
		if ($kind ne 'nfs') {
		    $in->ask_warn('', N("Bad NFS name"));
		    next;
		}

		my $nfs = fs::wild_device::to_subpart($media_browser{nfs});
		$nfs->{fs_type} = 'nfs';

		if (my ($h, $file) = $inspect_and_browse->($nfs)) {
		    return $h, $file;
		}
	    }
	} else {
	    $in->ask_warn('', 'todo');
	    goto ask_media;
	}
    } else {
	if (!$dev->{fs_type} || $dev->{fs_type} eq 'auto' || $dev->{fs_type} =~ /:/) {
	    if (my $p = fs::type::type_subpart_from_magic($dev)) {
		add2hash($p, $dev);
		$dev = $p;
	    } else {
		$in->ask_warn(N("Error"), N("Bad media %s", partition_table::description($dev)));
		goto ask_media;
	    }
	}

	if (my ($h, $file) = $inspect_and_browse->($dev)) {
	    return $h, $file;
	}

	goto ask_media;
    }
}

sub X_options_from_o {
    my ($o) = @_;
    { 
	freedriver => $o->{freedriver},
	allowFB => $o->{allowFB},
	ignore_bad_conf => $o->{isUpgrade} =~ /redhat|conectiva/,
    };
}

sub screenshot_dir__and_move() {
    my ($dir0, $dir1, $dir2) = ('/root', "$::prefix/root", '/tmp');
    if (-e $dir0 && ! -e '/root/non-chrooted-marker.DrakX') {
	($dir0, 'nowarn'); #- it occurs during pkgs install when we are chrooted
    } elsif (-e $dir1) {
	if (-e "$dir2/DrakX-screenshots") {
	    cp_af("$dir2/DrakX-screenshots", $dir1);
	    rm_rf("$dir2/DrakX-screenshots");
	}
	$dir1;
    } else {
	$dir2;
    }
}

my $warned;
sub take_screenshot {
    my ($in) = @_;
    my ($base_dir, $nowarn) = screenshot_dir__and_move();
    my $dir = "$base_dir/DrakX-screenshots";
    if (!-e $dir) {
	mkdir $dir or $in->ask_warn('', N("Can not make screenshots before partitioning")), return;
    }
    my $nb = 1;
    $nb++ while -e "$dir/$nb.png";
    system("fb2png /dev/fb0 $dir/$nb.png 0");

    if (!$warned && !$nowarn) {
	$warned = 1;
	$in->ask_warn('', N("Screenshots will be available after install in %s", "/root/DrakX-screenshots"));
    }
}

sub copy_advertising {
    my ($o) = @_;

    return if $::rootwidth < 800;

    my $f;
    my $source_dir = "install/extra/advertising";
    foreach ("." . $o->{locale}{lang}, "." . substr($o->{locale}{lang},0,2), '') {
	$f = getFile_($o->{stage2_phys_medium}, "$source_dir$_/list") or next;
	$source_dir = "$source_dir$_";
    }
    if (my @files = <$f>) {
	my $dir = "$::prefix/tmp/drakx-images";
	mkdir $dir;
	unlink glob_("$dir/*");
	foreach (@files) {
	    chomp;
	    install::media::getAndSaveFile_($o->{stage2_phys_medium}, "$source_dir/$_", "$dir/$_");
	    (my $pl = $_) =~ s/\.png/.pl/;
	    install::media::getAndSaveFile_($o->{stage2_phys_medium}, "$source_dir/$pl", "$dir/$pl");
	}
	@advertising_images = map { "$dir/$_" } @files;
    }
}

sub remove_advertising() {
    eval { rm_rf("$::prefix/tmp/drakx-images") };
    @advertising_images = ();
}

sub disable_user_view() {
    substInFile { s/^UserView=.*/UserView=true/ } "$::prefix/etc/kde/kdm/kdmrc";
    substInFile { s/^Browser=.*/Browser=0/ } "$::prefix/etc/X11/gdm/custom.conf";
}

sub set_security {
    my ($o) = @_;
    require security::various;
    security::level::set($o->{security});
    security::various::config_security_user($::prefix, $o->{security_user});
}

sub write_fstab {
    my ($o) = @_;
    fs::write_fstab($o->{all_hds}, $::prefix) 
	if !$o->{isUpgrade} || $o->{isUpgrade} =~ /redhat|conectiva/ || $o->{migrate_device_names};
}

sub adjust_files_mtime_to_timezone() {
    #- to ensure linuxconf does not cry against those files being in the future
    #- to ensure fc-cache works correctly on fonts installed after reboot

    my $timezone_shift = run_program::rooted_get_stdout($::prefix, 'date', '+%z');
    my ($h, $m) = $timezone_shift =~ /\+(..)(..)/ or return;
    my $now = time() - ($h * 60 + $m * 60) * 60;

    my @files = (
	(map { "$::prefix/$_" } '/etc/modules.conf', '/etc/crontab', '/etc/sysconfig/mouse', '/etc/sysconfig/network', '/etc/X11/fs/config'),
	glob_("$::prefix/var/cache/fontconfig/*"),
    );
    log::l("adjust_files_mtime_to_timezone: setting time back $h:$m for files " . join(' ', @files));
    foreach (@files) {
	utime $now, $now, $_;
    }
}


sub move_compressed_image_to_disk {
    my ($o) = @_;

    our $compressed_image_on_disk;
    return if $compressed_image_on_disk || $::local_install;

    my $name = 'mdkinst.sqfs';
    my ($loop, $current_image) = devices::find_compressed_image($name) or return;
    my $compressed_image_size = (-s $current_image) / 1024; #- put in KiB

    my $dir;
    if (availableRamMB() > 400) {
	$dir = '/tmp'; #- on tmpfs
    } else {
	my $tmp = fs::get::mntpoint2part('/tmp', $o->{fstab});
	if ($tmp && fs::df($tmp, $::prefix) / 2 > $compressed_image_size * 1.2) { #- we want at least 20% free afterwards
	    $dir = "$::prefix/tmp";
	} else {
	    my $root = fs::get::mntpoint2part('/', $o->{fstab});
	    my $root_free_MB = fs::df($root, $::prefix) / 2 / 1024;
	    my $wanted_size_MB = $o->{isUpgrade} || fs::get::mntpoint2part('/usr', $o->{fstab}) ? 150 : 300;
	    log::l("compressed image: root free $root_free_MB MB, wanted at least $wanted_size_MB MB");
	    if ($root_free_MB > $wanted_size_MB) {
		$dir = $tmp ? $::prefix : "$::prefix/tmp";
	    } else {
		$dir = '/tmp'; #- on tmpfs
		if (availableRamMB() < 200) {
		    log::l("ERROR: not much ram (" . availableRamMB() . " MB), we're going in the wall!");
		}
	    }
	}
    }
    $compressed_image_on_disk = "$dir/$name";

    if ($current_image ne $compressed_image_on_disk) {
	log::l("move_compressed_image_to_disk: copying $current_image to $compressed_image_on_disk");
	cp_af($current_image, $compressed_image_on_disk);
	run_program::run('losetup', '-r', $loop, $compressed_image_on_disk);
	unlink $current_image if $current_image eq "/tmp/$name";
    }
}

sub deploy_server_notify {
    my ($o) = @_;
    my $fallback_intf = "eth0";
    my $fallback_port = 3710;

    my ($server, $port) = $o->{deploy_server} =~ /^(.*?)(?::(\d+))?$/;
    if ($server) {
        require network::tools;
        require IO::Socket;
        $port ||= $fallback_port;
        my $intf = network::tools::get_current_gateway_interface() || $fallback_intf;
        my $mac = c::get_hw_address($intf);
        my $sock = IO::Socket::INET->new(PeerAddr => $server, PeerPort => $port, Proto => 'tcp');
        if ($sock) {
            print $sock "$mac\n";
            close($sock);
            log::l(qq(successfully notified deploy server $server on port $port));
        } else {
            log::l(qq(unable to contact deploy server $server on port $port));
        }
    } else {
        log::l(qq(unable to parse deploy server in string $o->{deploy_server}));
    }
}

#-###############################################################################
#- pcmcia various
#-###############################################################################
sub configure_pcmcia {
    my ($o) = @_;
    my $controller = detect_devices::pcmcia_controller_probe();
    $o->{pcmcia} ||= $controller && $controller->{driver} or return;
    log::l("configuring PCMCIA controller ($o->{pcmcia})");
    symlink "/tmp/stage2/$_", $_ foreach "/etc/pcmcia";
    eval { modules::load($o->{pcmcia}, 'pcmcia') };
    run_program::run("/lib/udev/pcmcia-socket-startup");
}

1;
uot; msgstr "סוג" #: harddrake2:113 #, c-format msgid "type of the memory device" msgstr "סוג התקן הזיכרון" #: harddrake2:114 #, c-format msgid "Speed" msgstr "מהירות" #: harddrake2:114 #, c-format msgid "Speed of the memory bank" msgstr "מהירות רכיבי הזיכרון" #: harddrake2:115 #, c-format msgid "Bank connections" msgstr "חיבורי זכרונות" #: harddrake2:116 #, c-format msgid "Socket designation of the memory bank" msgstr "סימוני תושבות רכיבי הזיכרון" #: harddrake2:120 #, c-format msgid "Device file" msgstr "קובץ התקן" #: harddrake2:120 #, c-format msgid "" "the device file used to communicate with the kernel driver for the mouse" msgstr "קובץ ההתקן המשמש לתקשורת בין העכבר למנהל ההתקן בגרעין" #: harddrake2:121 #, c-format msgid "Emulated wheel" msgstr "הדמיית גלגלת" #: harddrake2:121 #, c-format msgid "whether the wheel is emulated or not" msgstr "עם הדמיית גלגלת או בלעדיה" #: harddrake2:122 #, c-format msgid "the type of the mouse" msgstr "סוג העכבר" #: harddrake2:123 #, c-format msgid "the name of the mouse" msgstr "שם העכבר" #: harddrake2:124 #, c-format msgid "Number of buttons" msgstr "מספר כפתורים" #: harddrake2:124 #, c-format msgid "the number of buttons the mouse has" msgstr "מספר המקשים שיש לעכבר" #: harddrake2:125 #, c-format msgid "the type of bus on which the mouse is connected" msgstr "סוג החיבור של העכבר" #: harddrake2:126 #, c-format msgid "Mouse protocol used by X11" msgstr "פרוטוקול עכבר המשמש את X11" #: harddrake2:126 #, c-format msgid "the protocol that the graphical desktop use with the mouse" msgstr "הפרוטוקול המשמש את שולחן העבודה לתקשורת עם העכבר" #: harddrake2:130 #, c-format msgid "Identification" msgstr "זיהוי" #: harddrake2:135 harddrake2:150 #, c-format msgid "Connection" msgstr "חיבור" #: harddrake2:145 #, c-format msgid "Performances" msgstr "ביצועים" #: harddrake2:152 #, c-format msgid "Device" msgstr "התקן" #: harddrake2:153 #, c-format msgid "Partitions" msgstr "מחיצות" #: harddrake2:158 #, c-format msgid "Features" msgstr "תכונות" #. -PO: please keep all "/" characters !!! #: harddrake2:181 logdrake:78 #, c-format msgid "/_Options" msgstr "/_אפשרויות" #: harddrake2:182 harddrake2:211 logdrake:80 #, c-format msgid "/_Help" msgstr "/_עזרה" #: harddrake2:186 #, c-format msgid "/Autodetect _printers" msgstr "/זיהוי _מדפסות אוטומטי" #: harddrake2:187 #, c-format msgid "/Autodetect _modems" msgstr "/זיהוי אוטומטי של _מודמים" #: harddrake2:188 #, c-format msgid "/Autodetect _jaz drives" msgstr "/זיהוי אוטומטי של כונני _jaz" #: harddrake2:189 #, c-format msgid "/Autodetect parallel _zip drives" msgstr "/זיהוי אוטומטי של כונני _zip" #: harddrake2:193 #, c-format msgid "Hardware Configuration" msgstr "הגדרת חומרה" #: harddrake2:200 #, c-format msgid "/_Quit" msgstr "/_יציאה" #: harddrake2:213 #, c-format msgid "/_Fields description" msgstr "/תיאור _שדות" #: harddrake2:215 #, c-format msgid "Harddrake help" msgstr "עזרת Harddrake " #: harddrake2:216 #, c-format msgid "" "Description of the fields:\n" "\n" msgstr "" "תאור השדות:\n" "\n" #: harddrake2:224 #, c-format msgid "Select a device!" msgstr "יש לבחור התקן!" #: harddrake2:224 #, c-format msgid "" "Once you've selected a device, you'll be able to see the device information " "in fields displayed on the right frame (\"Information\")" msgstr "" "ברגע שהתקן נבחר,ניתן לראות את המידע של ההתקן בשדות התצוגה במסגרת הימנית " "(\"מידע\")" #: harddrake2:230 #, c-format msgid "/_Report Bug" msgstr "/_דיווח באג" #: harddrake2:232 #, c-format msgid "/_About..." msgstr "/_אודות..." #: harddrake2:235 #, c-format msgid "Harddrake" msgstr "Harddrake" #: harddrake2:239 #, fuzzy, c-format msgid "This is HardDrake, a %s hardware configuration tool." msgstr "זהו HardDrake, כלי הגדרת חומרה %s." #: harddrake2:271 #, c-format msgid "Detected hardware" msgstr "חומרה שזוהתה" #: harddrake2:274 scannerdrake:286 #, c-format msgid "Information" msgstr "מידע" #: harddrake2:276 #, c-format msgid "Set current driver options" msgstr "כיוון אפשרויות התקן ההינע הנוכחי" #: harddrake2:283 #, c-format msgid "Run config tool" msgstr "הרצת כלי הגדרה" #: harddrake2:303 #, c-format msgid "" "Click on a device in the left tree in order to display its information here." msgstr "עליך לבחור התקן בחלון הימני בכדי להציג את המידע עבורו בחלון זה." #: harddrake2:324 notify-x11-free-driver-switch:13 #, c-format msgid "unknown" msgstr "לא ידוע" #: harddrake2:325 #, c-format msgid "Unknown" msgstr "לא ידוע" #: harddrake2:345 #, c-format msgid "Misc" msgstr "שונות" #: harddrake2:429 #, c-format msgid "secondary" msgstr "משני" #: harddrake2:429 #, c-format msgid "primary" msgstr "ראשי" #: harddrake2:433 #, c-format msgid "burner" msgstr "צורב" #: harddrake2:433 #, c-format msgid "DVD" msgstr "DVD" #: harddrake2:537 #, c-format msgid "The following packages need to be installed:\n" msgstr "החבילות הבאות יותקנו:\n" #: localedrake:38 #, c-format msgid "LocaleDrake" msgstr "ניהול שפה" #: localedrake:46 #, c-format msgid "You should install the following packages: %s" msgstr "עליך להתקין את החבילות הבאות: %s" #. -PO: the following is used to combine packages names. eg: "initscripts, harddrake, yudit" #: localedrake:49 #, c-format msgid ", " msgstr ", " #: logdrake:51 #, fuzzy, c-format msgid "%s Tools Logs" msgstr "כלי רישום של מנדריבה לינוקס" #: logdrake:65 #, c-format msgid "Show only for the selected day" msgstr "הראה רק את היום הנבחר" #: logdrake:72 #, c-format msgid "/File/_New" msgstr "/קובץ/_חדש" #: logdrake:72 #, c-format msgid "<control>N" msgstr "<control>N" #: logdrake:73 #, c-format msgid "/File/_Open" msgstr "/קובץ/_פתיחה" #: logdrake:73 #, c-format msgid "<control>O" msgstr "<control>O" #: logdrake:74 #, c-format msgid "/File/_Save" msgstr "/קובץ/_שמירה" #: logdrake:74 #, c-format msgid "<control>S" msgstr "<control>S" #: logdrake:75 #, c-format msgid "/File/Save _As" msgstr "/קובץ/שמירה _בשם" #: logdrake:76 #, c-format msgid "/File/-" msgstr "/קובץ/-" #: logdrake:79 #, c-format msgid "/Options/Test" msgstr "/אפשרויות/בדיקה" #: logdrake:81 #, c-format msgid "/Help/_About..." msgstr "/עזרה/_אודות..." #: logdrake:110 #, c-format msgid "" "_:this is the auth.log log file\n" "Authentication" msgstr "אימות (auth/log)" #: logdrake:111 #, c-format msgid "" "_:this is the user.log log file\n" "User" msgstr "משתמש (user.log)" #: logdrake:112 #, c-format msgid "" "_:this is the /var/log/messages log file\n" "Messages" msgstr "הודעות (/var/log/messages)" #: logdrake:113 #, c-format msgid "" "_:this is the /var/log/syslog log file\n" "Syslog" msgstr "הודעות מערכת (/var/log/syslog)" #: logdrake:117 #, c-format msgid "search" msgstr "חיפוש" #: logdrake:129 #, c-format msgid "A tool to monitor your logs" msgstr "כלי להצגת הרישום של המערכת" #: logdrake:131 #, c-format msgid "Settings" msgstr "הגדרות" #: logdrake:134 #, c-format msgid "Matching" msgstr "דומה ל" #: logdrake:135 #, c-format msgid "but not matching" msgstr "אבל לא דומה ל" #: logdrake:138 #, c-format msgid "Choose file" msgstr "בחירת קובץ" #: logdrake:150 #, c-format msgid "Calendar" msgstr "לוח שנה" #: logdrake:159 #, c-format msgid "Content of the file" msgstr "תכולת הקובץ" #: logdrake:163 logdrake:407 #, c-format msgid "Mail alert" msgstr "התראות דוא\"ל" #: logdrake:170 #, c-format msgid "The alert wizard has failed unexpectedly:" msgstr "אשף האתראות נכשל בשגיאה לא צפוייה:" #: logdrake:174 #, c-format msgid "Save" msgstr "שמור" #: logdrake:222 #, c-format msgid "please wait, parsing file: %s" msgstr "נא להמתין, מנתח את הקובץ: %s" #: logdrake:244 #, c-format msgid "Sorry, log file isn't available!" msgstr "סליחה, קובץ הרישום אינו זמין." #: logdrake:292 #, c-format msgid "Error while opening \"%s\" log file: %s\n" msgstr "טעות בעת פתיחת קובץ הרישום \"%s\" : %s\n" #: logdrake:385 #, c-format msgid "Apache World Wide Web Server" msgstr "שרת WWW של APACHI" #: logdrake:386 #, c-format msgid "Domain Name Resolver" msgstr "מפענח שמות מתחם" #: logdrake:387 #, c-format msgid "Ftp Server" msgstr "שרת FTP" #: logdrake:388 #, c-format msgid "Postfix Mail Server" msgstr "שרת הדוא\"ל של Postfix" #: logdrake:389 #, c-format msgid "Samba Server" msgstr "שרת סמבה" #: logdrake:390 #, c-format msgid "SSH Server" msgstr "שרת SSH" #: logdrake:391 #, c-format msgid "Webmin Service" msgstr "שירות Webmin" #: logdrake:392 #, c-format msgid "Xinetd Service" msgstr "שירות Xinetd " #: logdrake:401 #, c-format msgid "Configure the mail alert system" msgstr "הגדרת מערכת אתראות בדוא\"ל" #: logdrake:402 #, c-format msgid "Stop the mail alert system" msgstr "הפסקת מערכת התראות בדוא\"ל" #: logdrake:410 #, c-format msgid "Mail alert configuration" msgstr "תצורת התראות דוא\"ל" #: logdrake:411 #, c-format msgid "" "Welcome to the mail configuration utility.\n" "\n" "Here, you'll be able to set up the alert system.\n" msgstr "" "ברוך בואך לכלי הגדרות הדוא\"ל.\n" "\n" "כאן יש באפשרותך להגדיר את מערכת ההתראות.\n" #: logdrake:414 #, c-format msgid "What do you want to do?" msgstr "מה ברצונך לעשות?" #: logdrake:421 #, c-format msgid "Services settings" msgstr "הגדרת שרותים:" #: logdrake:422 #, c-format msgid "" "You will receive an alert if one of the selected services is no longer " "running" msgstr "התראה תשלח באם אחד מהשרותים האלו הפסיק לפעול" #: logdrake:429 #, c-format msgid "Load setting" msgstr "הגדרת עומסים:" #: logdrake:430 #, c-format msgid "You will receive an alert if the load is higher than this value" msgstr "התראה תשלח באם העומס על המערכת גבוה מהערך הזה" #: logdrake:431 #, c-format msgid "" "_: load here is a noun, the load of the system\n" "Load" msgstr "עומס" #: logdrake:436 #, c-format msgid "Alert configuration" msgstr "הגדרת התראות:" #: logdrake:437 #, c-format msgid "Please enter your email address below " msgstr "עליך להגדיר את כתובת הדוא\"ל למשלוח אתראות," #: logdrake:438 #, c-format msgid "and enter the name (or the IP) of the SMTP server you wish to use" msgstr "ואת השם (או כתובת ה IP) של שרת ה SMTP שבו ברצונך להשתמש:" #: logdrake:445 #, c-format msgid "\"%s\" neither is a valid email nor is an existing local user!" msgstr "\"%s\" אינה כתובת דוא\"ל תקפה או משתמש מקומי!" #: logdrake:450 #, c-format msgid "" "\"%s\" is a local user, but you did not select a local smtp, so you must use " "a complete email address!" msgstr "" "\"%s\" הוא משתמש במחשב המקומי, אבל לא הגדרת\n" "שרת SMTP מקומי כך שעליך להזין כתובת דוא\"ל מלאה!" #: logdrake:457 #, c-format msgid "The wizard successfully configured the mail alert." msgstr "האשף הגדיר בהצלחה את התראות הדואר." #: logdrake:463 #, c-format msgid "The wizard successfully disabled the mail alert." msgstr "האשף הצליח לנטרל את התראות הדואר." #: logdrake:522 #, c-format msgid "Save as.." msgstr "שמירה בשם..." #: notify-x11-free-driver-switch:20 #, c-format msgid "" "The proprietary driver for your graphic card cannot be found, the system is " "now using the free software driver (%s)." msgstr "" #: notify-x11-free-driver-switch:21 #, c-format msgid "Reason: %s." msgstr "" #: scannerdrake:51 #, c-format msgid "" "SANE packages need to be installed to use scanners.\n" "\n" "Do you want to install the SANE packages?" msgstr "" "על מנת לאפשר שימוש בסורקים יש להתקין את חבילות SANE.\n" "\n" "האם ברצונך להתקין חבילות אלו?" #: scannerdrake:55 #, c-format msgid "Aborting Scannerdrake." msgstr "פעולת אשף הגדרת הסורק הופסקה." #: scannerdrake:60 #, c-format msgid "" "Could not install the packages needed to set up a scanner with Scannerdrake." msgstr "" "לא יכול להתקין את החבליות הבסיסיות עבור תמיכה בסורק עם אשף הגדרת הסורק." #: scannerdrake:61 #, c-format msgid "Scannerdrake will not be started now." msgstr "אשף הגדרת הסורק לא יופעל כעת." #: scannerdrake:67 scannerdrake:505 #, c-format msgid "Searching for configured scanners..." msgstr "מחפש סורקים מוגדרים..." #: scannerdrake:71 scannerdrake:509 #, c-format msgid "Searching for new scanners..." msgstr "מחפש סורקים חדשים..." #: scannerdrake:79 scannerdrake:531 #, c-format msgid "Re-generating list of configured scanners..." msgstr "יצירה מחדש של רשימת הסורקים המוגדרים ..." #: scannerdrake:101 #, c-format msgid "The %s is not supported by this version of %s." msgstr "ה-%s לא נתמך בגרסה הנוכחית של %s." #: scannerdrake:104 scannerdrake:115 #, c-format msgid "Confirmation" msgstr "אישור" #: scannerdrake:104 #, c-format msgid "%s found on %s, configure it automatically?" msgstr "%s נמצא ב%s, להגדיר אותו אוטומטית?" #: scannerdrake:116 #, c-format msgid "%s is not in the scanner database, configure it manually?" msgstr "%s לא נמצא במאגר הנתונים של סורקים, רוצה להגדיר זאת לבד?" #: scannerdrake:130 #, c-format msgid "Scanner configuration" msgstr "תצורת סורק" #: scannerdrake:131 #, c-format msgid "Select a scanner model (Detected model: %s, Port: %s)" msgstr "נא לבחור דגם סורק (זוהה דגם: %s, שער: %s)" #: scannerdrake:133 #, c-format msgid "Select a scanner model (Detected model: %s)" msgstr "נא לבחור דגם סורק (זוהה דגם: %s)" #: scannerdrake:134 #, c-format msgid "Select a scanner model (Port: %s)" msgstr "נא לבחור דגם סורק (שער: %s)" #: scannerdrake:136 scannerdrake:139 #, c-format msgid " (UNSUPPORTED)" msgstr " (לא נתמך)" #: scannerdrake:142 #, c-format msgid "The %s is not supported under Linux." msgstr "ה-%s לא נתמך תחת לינוקס." #: scannerdrake:169 scannerdrake:183 #, c-format msgid "Do not install firmware file" msgstr "אל תתקין קובץ קושחה" #: scannerdrake:172 scannerdrake:222 #, c-format msgid "Scanner Firmware" msgstr "קושחת סורק" #: scannerdrake:173 scannerdrake:225 #, c-format msgid "" "It is possible that your %s needs its firmware to be uploaded everytime when " "it is turned on." msgstr "יתכן וה%s שלך דורש את טעינת הקושחה בכל הפעלה." #: scannerdrake:174 scannerdrake:226 #, c-format msgid "If this is the case, you can make this be done automatically." msgstr "במקרה זה, יש באפשרותך להגדיר פעולה זו לביצוע אוטומטי." #: scannerdrake:175 scannerdrake:229 #, c-format msgid "" "To do so, you need to supply the firmware file for your scanner so that it " "can be installed." msgstr "לשם כך, עליך לספק את קובץ הקושחה לסורק בכדי שהוא יותקן." #: scannerdrake:176 scannerdrake:230 #, c-format msgid "" "You find the file on the CD or floppy coming with the scanner, on the " "manufacturer's home page, or on your Windows partition." msgstr "" "הקובץ אמור להמצא בתקליטון או התקליטור שצורף לקופסה בה נרכש הסורק, באתר הבית " "של המפתח או במחיצת חלונות." #: scannerdrake:178 scannerdrake:237 #, c-format msgid "Install firmware file from" msgstr "התקנת קובץ קושחה מ" #: scannerdrake:180 scannerdrake:188 scannerdrake:239 scannerdrake:246 #, c-format msgid "CD-ROM" msgstr "תקליטור" #: scannerdrake:181 scannerdrake:190 scannerdrake:240 scannerdrake:248 #, c-format msgid "Floppy Disk" msgstr "תקליטון" #: scannerdrake:182 scannerdrake:192 scannerdrake:241 scannerdrake:250 #, c-format msgid "Other place" msgstr "מקום אחר" #: scannerdrake:198 #, c-format msgid "Select firmware file" msgstr "בחירת קובץ קושחה" #: scannerdrake:201 scannerdrake:260 #, c-format msgid "The firmware file %s does not exist or is unreadable!" msgstr "קובץ הקושחה %s לא קיים או אינו קריא!" #: scannerdrake:224 #, c-format msgid "" "It is possible that your scanners need their firmware to be uploaded " "everytime when they are turned on." msgstr "יתכן שיש צורך לטעון את הקושחה של הסורק שלך בכל הפעלה." #: scannerdrake:228 #, c-format msgid "" "To do so, you need to supply the firmware files for your scanners so that it " "can be installed." msgstr "" "לצורך זה, עליך לספק את קובץ הקושחה עבור הסורק שלך בכדי שניתן יהיה להתקינו." #: scannerdrake:231 #, c-format msgid "" "If you have already installed your scanner's firmware you can update the " "firmware here by supplying the new firmware file." msgstr "" "אם כבר התקנת את קושחת הסורק שלך, יש באפשרותך לעדכן את הקושחה כעת אם ברשותך " "קובץ קושחה חדש." #: scannerdrake:233 #, c-format msgid "Install firmware for the" msgstr "התקנת קושחה עבור" #: scannerdrake:256 #, c-format msgid "Select firmware file for the %s" msgstr "בחירת קובץ קושחה עבור %s" #: scannerdrake:274 #, c-format msgid "Could not install the firmware file for the %s!" msgstr "לא הצליחה התקנת קובץ קושחה עבור %s!" #: scannerdrake:287 #, c-format msgid "The firmware file for your %s was successfully installed." msgstr "קובץ הקושחה עבור ה %s שלך הותקן בהצלחה." #: scannerdrake:297 #, c-format msgid "The %s is unsupported" msgstr %s הזה לא נתמך" #: scannerdrake:302 #, c-format msgid "" "The %s must be configured by system-config-printer.\n" "You can launch system-config-printer from the %s Control Center in Hardware " "section." msgstr "" %s חייב להיות מוגדר על ידי system-config-printer.\n" "באפשרותך להפעיל את system-config-printer ממרכז הבקרה %s במדור חומרה." #: scannerdrake:320 #, c-format msgid "Setting up kernel modules..." msgstr "מגדיר את מודולי הליבה..." #: scannerdrake:330 scannerdrake:337 scannerdrake:367 #, c-format msgid "Auto-detect available ports" msgstr "זיהוי אוטומטית של יציאות זמינות" #: scannerdrake:331 scannerdrake:377 #, fuzzy, c-format msgid "Device choice" msgstr "התקן נבחר" #: scannerdrake:332 scannerdrake:378 #, c-format msgid "Please select the device where your %s is attached" msgstr "נא לבחור את ההתקן שאליו ה-%s שלך מחובר" #: scannerdrake:333 #, c-format msgid "(Note: Parallel ports cannot be auto-detected)" msgstr "(הודעה: יציאות טוריות לא יכולות להיות מזוהות אוטומטית)" #: scannerdrake:335 scannerdrake:380 #, c-format msgid "choose device" msgstr "יש לבחור התקן" #: scannerdrake:369 #, c-format msgid "Searching for scanners..." msgstr "מחפש סורקים חדשים ..." #: scannerdrake:405 scannerdrake:412 #, c-format msgid "Attention!" msgstr "לתשומת לבך!" #: scannerdrake:406 #, c-format msgid "" "Your %s cannot be configured fully automatically.\n" "\n" "Manual adjustments are required. Please edit the configuration file /etc/" "sane.d/%s.conf. " msgstr "" "לא ניתן להגדיר את ה-%s שלך באופן אוטומטי לחלוטין.\n" "\n" "התאמות ידניות נדרשות. נא לערוך את קובץהתצורה /etc/sane.d/%s.conf. " #: scannerdrake:407 scannerdrake:416 #, c-format msgid "" "More info in the driver's manual page. Run the command \"man sane-%s\" to " "read it." msgstr "" "מידע נוסף בדף ההסבר של התקן ההינע. יש להריץ את הפקודה \"man sane-%s\" כדי " "לקרוא אותו." #: scannerdrake:409 scannerdrake:418 #, c-format msgid "" "After that you may scan documents using \"XSane\" or \"Kooka\" from " "Multimedia/Graphics in the applications menu." msgstr "" "עכשיו באפשרותך לסרוק מסמכים בעזרת \"XSane\" או \"Kooka\" מהאפשרות מולטימדיה/" "גרפיקה בתפריט היישומים." #: scannerdrake:413 #, c-format msgid "" "Your %s has been configured, but it is possible that additional manual " "adjustments are needed to get it to work. " msgstr "" "ה-%s שלך הוגדר אבל יתכן שידרשו התאמות ידניות נוספות כדי לגרום לו לעבוד." #: scannerdrake:414 #, c-format msgid "" "If it does not appear in the list of configured scanners in the main window " "of Scannerdrake or if it does not work correctly, " msgstr "" "אם הוא אינו מופיע ברשימת הסורקים המוגדרים בחלון של Scannerdrake או אם אינו " "עובד כשורה," #: scannerdrake:415 #, c-format msgid "edit the configuration file /etc/sane.d/%s.conf. " msgstr "עריכת קובץ ההגדרות /etc/sane.d/%s.conf." #: scannerdrake:420 #, c-format msgid "Congratulations!" msgstr "ברכותינו!" #: scannerdrake:421 #, c-format msgid "" "Your %s has been configured.\n" "You may now scan documents using \"XSane\" or \"Kooka\" from Multimedia/" "Graphics in the applications menu." msgstr "" %s שלך הוגדר.\n" "עכשיו באפשרותך לסרוק מסמכים בעזרת \"XSane\" או \"Kooka\" מכניסת מולטימדיה/" "גרפיקה בתפריט היישומים." #: scannerdrake:446 #, c-format msgid "" "The following scanners\n" "\n" "%s\n" "are available on your system.\n" msgstr "" "הסורקים הבאים\n" "\n" "%s\n" "זמינים במערכת שלך.\n" #: scannerdrake:447 #, c-format msgid "" "The following scanner\n" "\n" "%s\n" "is available on your system.\n" msgstr "" "הסורק הבא\n" "\n" "%s\n" "זמין במערכת שלך.\n" #: scannerdrake:449 scannerdrake:452 #, c-format msgid "There are no scanners found which are available on your system.\n" msgstr "לא נמצאו סורקים זמינים במערכת שלך.\n" #: scannerdrake:460 #, c-format msgid "Scanner Management" msgstr "ניהול סורק" #: scannerdrake:466 #, c-format msgid "Search for new scanners" msgstr "חיפוש סורקים חדשים" #: scannerdrake:472 #, c-format msgid "Add a scanner manually" msgstr "הוספה ידנית של סורק" #: scannerdrake:479 #, c-format msgid "Install/Update firmware files" msgstr "התקנת/עדכון קבצי קושחה" #: scannerdrake:485 #, c-format msgid "Scanner sharing" msgstr "שיתוף סורק" #: scannerdrake:544 scannerdrake:709 #, c-format msgid "All remote machines" msgstr "כל המכונות המרוחקות" #: scannerdrake:556 scannerdrake:859 #, c-format msgid "This machine" msgstr "מערכת זו" #: scannerdrake:595 #, c-format msgid "Scanner Sharing" msgstr "שיתוף סורק" #: scannerdrake:596 #, c-format msgid "" "Here you can choose whether the scanners connected to this machine should be " "accessible by remote machines and by which remote machines." msgstr "" "כאן באפשרותך לבחור האם הסורקים המחוברים למחשב זה יהיו זמינים למחשבים " "מרוחקים, וכמו כן ע\"י אילו מחשבים מרוחקים." #: scannerdrake:597 #, c-format msgid "" "You can also decide here whether scanners on remote machines should be made " "available on this machine." msgstr "באפשרותך גם להחליט אם סורקים על מחשבים מרוחקים יהיו זמינים למחשב זה." #: scannerdrake:600 #, c-format msgid "The scanners on this machine are available to other computers" msgstr "הסורקים על מחשב זה זמינים למחשבים אחרים" #: scannerdrake:602 #, c-format msgid "Scanner sharing to hosts: " msgstr "סוגר את הרשת" #: scannerdrake:607 scannerdrake:624 #, c-format msgid "No remote machines" msgstr "אין מכונות מרוחקות" #: scannerdrake:616 #, c-format msgid "Use scanners on remote computers" msgstr "שימוש בסורקים תחת מחשבים מרוחקים" #: scannerdrake:619 #, c-format msgid "Use the scanners on hosts: " msgstr "שימוש בסורקים אלה תחת המארחים:" #: scannerdrake:646 scannerdrake:718 scannerdrake:868 #, c-format msgid "Sharing of local scanners" msgstr "שיתוף של סורקים מקומיים" #: scannerdrake:647 #, c-format msgid "" "These are the machines on which the locally connected scanner(s) should be " "available:" msgstr "אלה המחשבים שבהם הסורקים שמחוברים מקומית אמורים להיות זמינים:" #: scannerdrake:658 scannerdrake:808 #, c-format msgid "Add host" msgstr "הוספת מארח" #: scannerdrake:664 scannerdrake:814 #, c-format msgid "Edit selected host" msgstr "ערוך מארח שנבחר" #: scannerdrake:673 scannerdrake:823 #, c-format msgid "Remove selected host" msgstr "להסיר את המארח הנבחר" #: scannerdrake:682 scannerdrake:832 #, c-format msgid "Done" msgstr "סיום" #: scannerdrake:697 scannerdrake:705 scannerdrake:710 scannerdrake:756 #: scannerdrake:847 scannerdrake:855 scannerdrake:860 scannerdrake:906 #, c-format msgid "Name/IP address of host:" msgstr "שם/כתובת IP של המארח:" #: scannerdrake:719 scannerdrake:869 #, c-format msgid "Choose the host on which the local scanners should be made available:" msgstr "יש לבחור מארח שבו הסורקים המקומיים יהיו זמינים:" #: scannerdrake:730 scannerdrake:880 #, c-format msgid "You must enter a host name or an IP address.\n" msgstr "חובה עליך להכניס שם מארח או כתובת IP.\n" #: scannerdrake:741 scannerdrake:891 #, c-format msgid "This host is already in the list, it cannot be added again.\n" msgstr "המארח הזה כבר ברשימה, אי אפשר להוסיף אותו שוב.\n" #: scannerdrake:796 #, c-format msgid "Usage of remote scanners" msgstr "שימוש בסורקים מרוחקים" #: scannerdrake:797 #, c-format msgid "These are the machines from which the scanners should be used:" msgstr "אלה המחשבים שמהם המערכת תשתמש בסורקים:" #: scannerdrake:954 #, c-format msgid "" "saned needs to be installed to share the local scanner(s).\n" "\n" "Do you want to install the saned package?" msgstr "" "על מנת לאפשר שיתוף סורק(ים) מקומי(ים) יש להתקין את saned.\n" "\n" "האם ברצונך להתקין חבילה זו?" #: scannerdrake:958 scannerdrake:962 #, c-format msgid "Your scanner(s) will not be available on the network." msgstr "הסורק(ים) שלך לא יהיו זמינים ברשת." #: scannerdrake:961 #, c-format msgid "Could not install the packages needed to share your scanner(s)." msgstr "לא ניתן להתקין את החבילות הדרושות לשיתוף הסורק/ים שלך." #: service_harddrake:153 #, fuzzy, c-format msgid "The graphic card '%s' is no more supported by the '%s' driver" msgstr "ה-%s לא נתמך בגרסה הנוכחית של %s." #: service_harddrake:163 #, c-format msgid "New release, reconfiguring X for %s" msgstr "" #: service_harddrake:254 #, c-format msgid "The proprietary kernel driver was not found for '%s' X.org driver" msgstr "" #: service_harddrake:293 #, c-format msgid "Some devices in the \"%s\" hardware class were removed:\n" msgstr "מספר התקני ברמת החומרה \"%s\" הוסרו:\n" #: service_harddrake:294 #, c-format msgid "- %s was removed\n" msgstr "- %s הוסר\n" #: service_harddrake:297 #, c-format msgid "Some devices were added: %s\n" msgstr "מספר התקנים נוספו: %s\n" #: service_harddrake:298 #, c-format msgid "- %s was added\n" msgstr "- %s נוסף\n" #: service_harddrake:386 #, c-format msgid "Hardware changes in \"%s\" class (%s seconds to answer)" msgstr "שינויי חומרה במחלקת \"%s\" (%s שניות למענה)" #: service_harddrake:387 #, c-format msgid "Do you want to run the appropriate config tool?" msgstr "האם ברצונך להפעיל את כלי ההגדרות המתאים?" #: service_harddrake:412 #, c-format msgid "Hardware probing in progress" msgstr "תהליך בדיקת חומרה" #: service_harddrake:430 #, c-format msgid "Display driver issue" msgstr "" #: service_harddrake:431 #, c-format msgid "" "The display driver currently configured requires you to use the 'nokmsboot' " "boot option to prevent the KMS driver of the kernel from being loaded in the " "boot process. Startup of the X server may now fail as that option was not " "specified." msgstr "" #: service_harddrake:445 #, c-format msgid "Display driver setup" msgstr "" #: service_harddrake:445 #, c-format msgid "The system has to be rebooted due to a display driver change." msgstr "" #: service_harddrake:446 #, c-format msgid "Press Cancel within %d seconds to abort." msgstr "" #: ../menu/localedrake-system.desktop.in.h:1 msgid "System Regional Settings" msgstr "הגדרות אזוריות למערכת" #: ../menu/localedrake-system.desktop.in.h:2 msgid "System wide language & country configurator" msgstr "הגדרה כלל מערכתית של השפה והמדינה" #: ../menu/harddrake.desktop.in.h:1 msgid "HardDrake" msgstr "HardDrake" #: ../menu/harddrake.desktop.in.h:2 msgid "Hardware Central Configuration/information tool" msgstr "כלי מידע/תצורת חומרה מרכזי" #: ../menu/harddrake.desktop.in.h:3 #, fuzzy msgid "Hardware Configuration Tool" msgstr "הגדרת חומרה" #: ../menu/localedrake-user.desktop.in.h:1 msgid "Language & country configuration" msgstr "הגדרת שפה ומדינה" #: ../menu/localedrake-user.desktop.in.h:2 msgid "Regional Settings" msgstr "הגדרות אזוריות" #, fuzzy #~ msgid "Copyright (C) %s by Mageia" #~ msgstr "זכויות היוצרים (C) %s שייכות למנדריבה" #~ msgid "" #~ "No Sound Card has been detected on your machine. Please verify that a " #~ "Linux-supported Sound Card is correctly plugged in.\n" #~ "\n" #~ "\n" #~ "You can visit our hardware database at:\n" #~ "\n" #~ "\n" #~ "http://www.mandrivalinux.com/en/hardware.php3" #~ msgstr "" #~ "לא זוהה כרטיס קול במערכת שלך. נא לוודא שכרטיס קול תואם Linux נמצא במערכת " #~ "ומוכנס באופן נכון. \n" #~ "\n" #~ "אתה יכול לבקר ברשימת החומרה שלנו באתר: \n" #~ "\n" #~ "http://www.mandrivalinux.com/en/hardware.php3" #~ msgid "" #~ "Display theme\n" #~ "under console" #~ msgstr "" #~ "הצגת ערכת נושא\n" #~ "תחת מסוף" #~ msgid "Create new theme" #~ msgstr "יצירת ערכת נושא חדשה" #, fuzzy #~ msgid "X coordinate of text box" #~ msgstr "מיקום רוחבי של תיבת הטקסט" #, fuzzy #~ msgid "Y coordinate of text box" #~ msgstr "מיקום בגובה של תיבת הטקסט" #~ msgid "Text box width" #~ msgstr "רוחב תיבת טקסט" #~ msgid "Text box height" #~ msgstr "גובה תיבת טקסט" #~ msgid "" #~ "The progress bar X coordinate\n" #~ "of its upper left corner" #~ msgstr "" #~ "קואורדינטת x של הפינה השמאלית עליונה\n" #~ "של סרגל התקדמות" #~ msgid "" #~ "The progress bar Y coordinate\n" #~ "of its upper left corner" #~ msgstr "" #~ "קואורדינטת y של הפינה השמאלית עליונה\n" #~ "של סרגל התקדמות" #~ msgid "The width of the progress bar" #~ msgstr "רוחב פס ההתקדמות" #~ msgid "The height of the progress bar" #~ msgstr "גובה פס ההתקדמות" #, fuzzy #~ msgid "X coordinate of the text" #~ msgstr "מיקום רוחבי של הטקסט" #, fuzzy #~ msgid "Y coordinate of the text" #~ msgstr "מיקום בגובה של הטקסט" #~ msgid "Text box transparency" #~ msgstr "שקיפות תיבת טקסט" #~ msgid "Progress box transparency" #~ msgstr "שקיפות תיבת התקדמות" #~ msgid "Text size" #~ msgstr "גודל טקסט" #~ msgid "Choose progress bar color 1" #~ msgstr "בחירת צבע סרגל התקדמות 1" #~ msgid "Choose progress bar color 2" #~ msgstr "בחירת צבע סרגל התקדמות 2" #~ msgid "Choose progress bar background" #~ msgstr "בחירת רקע סרגל התקדמות" #~ msgid "Gradient type" #~ msgstr "סוג שיפוע" #, fuzzy #~ msgid "Text" #~ msgstr "טקסט בלבד" #~ msgid "Choose text color" #~ msgstr "בחירת צבע טקסט" #~ msgid "Choose picture" #~ msgstr "בחירת תמונה" #~ msgid "Silent bootsplash" #~ msgstr "מצג אתחול ללא הודעות" #~ msgid "Choose text zone color" #~ msgstr "נא לבחור את צבע אזור הטקסט" #~ msgid "Text color" #~ msgstr "צבע טקסט" #~ msgid "Background color" #~ msgstr "צבע רקע" #~ msgid "Verbose bootsplash" #~ msgstr "מצג אתחול מפורט" #~ msgid "Theme name" #~ msgstr "שם ערכת נושא" #~ msgid "Final resolution" #~ msgstr "רזולוציה סופית" #~ msgid "Display logo on Console" #~ msgstr "הצג לוגו במסוף" #~ msgid "Save theme" #~ msgstr "שמירת ערכת נושא" #~ msgid "Please enter a theme name" #~ msgstr "נא להזין שם ערכה" #~ msgid "Please select a splash image" #~ msgstr "נא לבחור תמונה לטעינה" #~ msgid "saving Bootsplash theme..." #~ msgstr "שומר את ערכת הנושא לאתחול המערכת..." #~ msgid "Unable to load image file %s" #~ msgstr "טעינת קובץ התמונה %s נכשל" #~ msgid "choose image" #~ msgstr "עליך לבחור קובץ תמונה " #~ msgid "Color selection" #~ msgstr "בחירת צבע" #~ msgid "Coma bug" #~ msgstr "באג תרדמת" #~ msgid "whether this cpu has the Cyrix 6x86 Coma bug" #~ msgstr "האם למעבד הזה יש את באג התרדמת של Cyrix 6x86?" #~ msgid "Fdiv bug" #~ msgstr "באג Fdiv" #~ msgid "" #~ "Early Intel Pentium chips manufactured have a bug in their floating point " #~ "processor which did not achieve the required precision when performing a " #~ "Floating point DIVision (FDIV)" #~ msgstr "" #~ "לחלק ממעבדי הפנטיום הראשונים היא באג בחשובים של נקודה צפה המעבדים לא " #~ "חישבו בצורה נכונה חלק מהחישובים שתלוים בנקודה צפה Floating point DIVision " #~ "(FDIV)" #~ msgid "Is FPU present" #~ msgstr "האם FPU נוכח" #~ msgid "yes means the processor has an arithmetic coprocessor" #~ msgstr "כן אומר שלמעבד יש יחידת עיבוד מתמטית" #~ msgid "Whether the FPU has an irq vector" #~ msgstr "האם מעבד העזר המתמתטי תומך ב-IRQ וקטורי" #~ msgid "F00f bug" #~ msgstr "באג F00f" #~ msgid "" #~ "early pentiums were buggy and freezed when decoding the F00F bytecode" #~ msgstr "" #~ "למעבדי פנטיום הראשונים היא באג שגרם להם לקפוא כאשר חישבו את הקוד F00F" #~ msgid "Halt bug" #~ msgstr "באג HALT" #~ msgid "" #~ "Some of the early i486DX-100 chips cannot reliably return to operating " #~ "mode after the \"halt\" instruction is used" #~ msgstr "" #~ "חלק משבבי ה- i486DX-100 המוקדמים אינם יכולים לחזור לפעולה באופן אמין אחרי " #~ "שימוש בפקודה \"halt\"" #~ msgid "Bugs" #~ msgstr "באגיםפס" #~ msgid "FPU" #~ msgstr "FPU" #~ msgid "Unknown/Others" #~ msgstr "לא ידוע/אחרים" #~ msgid "" #~ "Here, you can setup the security level and administrator of your " #~ "machine.\n" #~ "\n" #~ "\n" #~ "The '<span weight=\"bold\">Security Administrator</span>' is the one who " #~ "will receive security alerts if the\n" #~ "'<span weight=\"bold\">Security Alerts</span>' option is set. It can be a " #~ "username or an email.\n" #~ "\n" #~ "\n" #~ "The '<span weight=\"bold\">Security Level</span>' menu allows you to " #~ "select one of the six preconfigured security levels\n" #~ "provided with msec. These levels range from '<span weight=\"bold\">poor</" #~ "span>' security and ease of use, to\n" #~ "'<span weight=\"bold\">paranoid</span>' config, suitable for very " #~ "sensitive server applications:\n" #~ "\n" #~ "\n" #~ "<span foreground=\"royalblue3\">Poor</span>: This is a totally unsafe but " #~ "very\n" #~ "easy to use security level. It should only be used for machines not " #~ "connected to\n" #~ "any network and that are not accessible to everybody.\n" #~ "\n" #~ "\n" #~ "<span foreground=\"royalblue3\">Standard</span>: This is the standard " #~ "security\n" #~ "recommended for a computer that will be used to connect to the Internet " #~ "as a\n" #~ "client.\n" #~ "\n" #~ "\n" #~ "<span foreground=\"royalblue3\">High</span>: There are already some\n" #~ "restrictions, and more automatic checks are run every night.\n" #~ "\n" #~ "\n" #~ "<span foreground=\"royalblue3\">Higher</span>: The security is now high " #~ "enough\n" #~ "to use the system as a server which can accept connections from many " #~ "clients. If\n" #~ "your machine is only a client on the Internet, you should choose a lower " #~ "level.\n" #~ "\n" #~ "\n" #~ "<span foreground=\"royalblue3\">Paranoid</span>: This is similar to the " #~ "previous\n" #~ "level, but the system is entirely closed and security features are at " #~ "their\n" #~ "maximum" #~ msgstr "" #~ "כאן באפשרותך לקבוע את רמת ומנהל האבטחה במערכת שלך.\n" #~ "\n" #~ "\n" #~ "<span weight=\"bold\">מנהל האבטחה</span> הוא זה שיקבל אתרעות אבטחה אם " #~ "האפשרות\n" #~ "'<span weight=\"bold\">אתרעות אבטחה</span>'נבחרה. הערך צריך להיות שם " #~ "משתמש או דוא\"ל.\n" #~ "\n" #~ "\n" #~ "תפריט <span weight=\"bold\">רמת האבטחה</span>'מאפשר לבחור אחת משש רמות " #~ "אבטחה מוגדרות מראש המסופקות עם msec.\n" #~ "רמות אלו נעות בין רמה<span weight=\"bold\">נמוכה</span>'וקלות שימוש לבין " #~ "רמה\n" #~ "'<span weight=\"bold\">פרנואידית</span>'המתאימה ליישומי שרת רגישים:\n" #~ "\n" #~ "\n" #~ "<span foreground=\"royalblue3\">נמוכה</span>: רמה לחלוטין לא בטוחה אבל " #~ "מאוד\n" #~ "קלה לשימוש. יש להשתמש ברמה זו רק במכונות שאינן מחוברות\n" #~ "לאף רשת ושאינן נגישות לכל דיכפין.\n" #~ "\n" #~ "\n" #~ "<span foreground=\"royalblue3\">רגילה</span>: זוהי רמת האבטחה הרגילה\n" #~ "והמומלצת למחשב שיתחבר לאינטרנט כלקוח.\n" #~ "\n" #~ "\n" #~ "<span foreground=\"royalblue3\">גבוהה</span>: כבר מכילה מספר מגבלות\n" #~ "ויותר בדיקות אוטומטיות רצות כל לילה.\n" #~ "\n" #~ "\n" #~ "<span foreground=\"royalblue3\">גבוהה יותר</span>: האבטחה גבוהה דיה\n" #~ "לשימוש במערכת כשרת שיכול לקבל חיבורים מלקוחות רבים. אם המכונה\n" #~ "שלך היא רק לקוח באינטרנט עליך לבחור רמה נמוכה יותר.\n" #~ "\n" #~ "\n" #~ "<span foreground=\"royalblue3\">פרנואידית</span>: רמה זו זהה לקודמת\n" #~ "אבל המערכת סגורה לחלוטין ואפשרויות האבטחה ברמתן המירבית." #~ msgid "(default value: %s)" #~ msgstr "(ערך ברירת המחדל: %s)" #~ msgid "Security Level:" #~ msgstr "סף אבטחה:" #~ msgid "Security Alerts:" #~ msgstr "התראות אבטחה:" #~ msgid "Security Administrator:" #~ msgstr "מנהל אבטחה:" #~ msgid "Basic options" #~ msgstr "אפשרויות בסיסיות" #~ msgid "Network Options" #~ msgstr "אפשרויות רשת" #~ msgid "System Options" #~ msgstr "אפשרויות מערכת" #~ msgid "Periodic Checks" #~ msgstr "בדיקות תקופתיות" #~ msgid "Please wait, setting security level..." #~ msgstr "נא להמתין, מגדיר תצורת אבטחה..." #~ msgid "Please wait, setting security options..." #~ msgstr "נא להמתין, מגדיר אפשרויות אבטחה..." #, fuzzy #~ msgid "" #~ "The following localization packages do not seem to be useful for your " #~ "system:" #~ msgstr "החבילות הבאות יותקנו:\n" #, fuzzy #~ msgid "Do you want to remove these packages?" #~ msgstr "האם ברצונך להפעיל את כלי ההגדרות המתאים?" #, fuzzy #~ msgid "" #~ "The following hardware packages do not seem to be useful for your system:" #~ msgstr "החבילות הבאות יותקנו:\n" #~ msgid "Please wait, adding media..." #~ msgstr "נא להמתין, מוסיף מקור..." #~ msgid "The change is done, but to be effective you must logout" #~ msgstr "השינוי הסתיים, אך כדי שיהיה בעל משמעות עליך לצאת" #~ msgid "Restart XFS" #~ msgstr "מפעיל מחדש את XFS"