package install_steps; # $Id$ use diagnostics; use strict; use vars qw(@filesToSaveForUpgrade @filesNewerToUseAfterUpgrade @ISA); #-###################################################################################### #- misc imports #-###################################################################################### use common; use install_any qw(:all); use partition_table qw(:types); use detect_devices; use modules; use run_program; use lang; use keyboard; use fsedit; use loopback; use pkgs; use any; use log; use fs; @filesToSaveForUpgrade = qw( /etc/ld.so.conf /etc/fstab /etc/hosts /etc/conf.modules /etc/modules.conf ); @filesNewerToUseAfterUpgrade = qw( /etc/profile ); #-###################################################################################### #- OO Stuff #-###################################################################################### sub new($$) { my ($type, $o) = @_; bless $o, ref $type || $type; return $o; } #-###################################################################################### #- In/Out Steps Functions #-###################################################################################### sub enteringStep { my ($o, $step) = @_; log::l("starting step `$step'"); } sub leavingStep { my ($o, $step) = @_; log::l("step `$step' finished"); if (-d "$o->{prefix}/root/drakx") { eval { cp_af("/tmp/ddebug.log", "$o->{prefix}/root/drakx") }; output(install_any::auto_inst_file(), install_any::g_auto_install(1)); } for (my $s = $o->{steps}{first}; $s; $s = $o->{steps}{$s}{next}) { #- the reachability property must be recomputed each time to take #- into account failed step. next if $o->{steps}{$s}{done} && !$o->{steps}{$s}{redoable}; my $reachable = 1; if (my $needs = $o->{steps}{$s}{needs}) { my @l = ref $needs ? @$needs : $needs; $reachable = min(map { $o->{steps}{$_}{done} || 0 } @l); } $o->{steps}{$s}{reachable} = 1 if $reachable; } $o->{steps}{$step}{reachable} = $o->{steps}{$step}{redoable}; while (my $f = shift @{$o->{steps}{$step}{toBeDone} || []}) { eval { &$f() }; $o->ask_warn(_("Error"), [ _("An error occurred, but I don't know how to handle it nicely. Continue at your own risk."), $@ ]) if $@; } } sub errorInStep($$) { print "error :(\n"; c::_exit(1) } sub kill_action {} sub set_help { 1 } #-###################################################################################### #- Steps Functions #-###################################################################################### #------------------------------------------------------------------------------ sub selectLanguage { my ($o) = @_; lang::set($o->{lang}, !$o->isa('interactive::gtk')); $o->{langs} ||= { $o->{lang} => 1 }; log::l("selectLanguage: pack_langs ", lang::pack_langs($o->{langs})); #- for auto_install compatibility with old $o->{keyboard} containing directly $o->{keyboard}{KEYBOARD} $o->{keyboard} = { KEYBOARD => $o->{keyboard} } if $o->{keyboard} && !ref($o->{keyboard}); if (!$o->{keyboard} || $o->{keyboard}{unsafe}) { $o->{keyboard} = keyboard::from_usb() || keyboard::lang2keyboard($o->{lang}); $o->{keyboard}{unsafe} = 1; keyboard::setup($o->{keyboard}) if !$::live; } addToBeDone { lang::write_langs($o->{prefix}, $o->{langs}); } 'formatPartitions' unless $::g_auto_install; addToBeDone { lang::write($o->{prefix}, $o->{lang}); } 'installPackages' unless $::g_auto_install; } #------------------------------------------------------------------------------ sub selectKeyboard { my ($o) = @_; $o->{keyboard}{KBCHARSET} = lang::lang2charset($o->{lang}); keyboard::setup($o->{keyboard}); addToBeDone { keyboard::write($o->{keyboard}); } 'installPackages' if !$::g_auto_install && (!$o->{isUpgrade} || !$o->{keyboard}{unsafe}); } #------------------------------------------------------------------------------ sub acceptLicence {} sub selectPath {} #------------------------------------------------------------------------------ sub selectInstallClass {} #------------------------------------------------------------------------------ sub setupSCSI { my ($o) = @_; modules::configure_pcmcia($o->{pcmcia}) if $o->{pcmcia}; modules::load_ide(); modules::load_category('bus/firewire'); modules::load_category('disk/scsi|hardware_raid'); } #------------------------------------------------------------------------------ sub doPartitionDisksBefore { my ($o) = @_; eval { close *pkgs::LOG; eval { fs::umount("$o->{prefix}/proc") }; eval { fs::umount_all($o->{fstab}, $o->{prefix}) }; eval { sleep 1; fs::umount_all($o->{fstab}, $o->{prefix}) } if $@; #- HACK } if $o->{fstab} && !$::testing && !$::live; } #------------------------------------------------------------------------------ sub doPartitionDisksAfter { my ($o) = @_; if (!$::testing) { my $hds = $o->{all_hds}{hds}; partition_table::write($_) foreach @$hds; $_->{rebootNeeded} and $o->rebootNeeded foreach @$hds; } fs::set_removable_mntpoints($o->{all_hds}); fs::set_all_default_options($o->{all_hds}, $o->{useSupermount}, $o->{security}, lang::fs_options($o->{lang})) if !$o->{isUpgrade}; $o->{fstab} = [ fsedit::get_all_fstab($o->{all_hds}) ]; fsedit::get_root_($o->{fstab}) or die "Oops, no root partition"; if (arch() =~ /ppc/ && detect_devices::get_mac_generation =~ /NewWorld/) { die "Need bootstrap partition to boot system!" if !(defined $partition_table::mac::bootstrap_part); } if (arch() =~ /ia64/ && !fsedit::has_mntpoint("/boot/efi", $o->{all_hds})) { die _("You must have a FAT partition mounted in /boot/efi"); } if ($o->{partitioning}{use_existing_root}) { #- ensure those partitions are mounted so that they are not proposed in choosePartitionsToFormat fs::mount_part($_, $o->{prefix}) foreach (sort { $a->{mntpoint} cmp $b->{mntpoint} } grep { $_->{mntpoint} && maybeFormatted($_) } @{$o->{fstab}}); } cat_("/proc/mounts") =~ m|(\S+)\s+/tmp/image nfs| && !grep { $_->{mntpoint} eq "/mnt/nfs" } @{$o->{all_hds}{nfss}} and push @{$o->{all_hds}{nfss}}, { type => 'nfs', mntpoint => "/mnt/nfs", device => $1, options => "noauto,ro,nosuid,soft,rsize=8192,wsize=8192" }; } #------------------------------------------------------------------------------ sub doPartitionDisks { my ($o) = @_; install_any::getHds($o); if ($o->{partitioning}{use_existing_root} || $o->{isUpgrade}) { # either one root is defined (and all is ok), or we take the first one we find my $p = fsedit::get_root_($o->{fstab}) || first(install_any::find_root_parts($o->{fstab}, $o->{prefix})) or die; install_any::use_root_part($o->{all_hds}, $p, $o->{prefix}); } if ($o->{partitioning}{auto_allocate}) { fsedit::auto_allocate($o->{all_hds}, $o->{partitions}); } } #------------------------------------------------------------------------------ sub ask_mntpoint_s { my ($o, $fstab) = @_; #- TODO: set the mntpoints my %m; foreach (@$fstab) { my $m = $_->{mntpoint}; next unless $m && $m ne 'swap'; #- there may be a lot of swap. $m{$m} and die _("Duplicate mount point %s", $m); $m{$m} = 1; #- in case the type does not correspond, force it to ext2 $_->{type} = 0x83 if $m =~ m|^/| && !isFat($_) && !isTrueFS($_); } 1; } sub rebootNeeded($) { my ($o) = @_; log::l("Rebooting..."); c::_exit(0); } sub choosePartitionsToFormat($$) { my ($o, $fstab) = @_; foreach (@$fstab) { $_->{mntpoint} = "swap" if isSwap($_); $_->{mntpoint} or next; add2hash_($_, { toFormat => $_->{notFormatted} }); $_->{toFormatUnsure} = member($_->{mntpoint}, '/', '/usr'); if (!$_->{toFormat}) { my $t = fsedit::typeOfPart($_->{device}); $_->{toFormatUnsure} ||= #- if detected dos/win, it's not precise enough to just compare the types (too many of them) (!$t || isOtherAvailableFS({ type => $t }) ? !isOtherAvailableFS($_) : $t != $_->{type}); } } } sub formatMountPartitions { my ($o) = @_; fs::formatMount_all($o->{all_hds}{raids}, $o->{fstab}, $o->{prefix}); } #------------------------------------------------------------------------------ sub setPackages { my ($o, $rebuild_needed) = @_; install_any::setPackages($o, $rebuild_needed); pkgs::selectPackagesAlreadyInstalled($o->{packages}, $o->{prefix}); $rebuild_needed and pkgs::selectPackagesToUpgrade($o->{packages}, $o->{prefix}); } sub choosePackages { my ($o, $packages, $compssUsers, $first_time) = @_; #- now for upgrade, package that must be upgraded are #- selected first, after is used the same scheme as install. #- make sure we kept some space left for available else the system may #- not be able to start (xfs at least). my $available = install_any::getAvailableSpace($o); my $availableCorrected = pkgs::invCorrectSize($available / sqr(1024)) * sqr(1024); log::l(sprintf "available size %s (corrected %s)", formatXiB($available), formatXiB($availableCorrected)); add2hash_($o, { compssListLevel => 5 }) if !$::auto_install; #- avoid destroying user selection of packages but only #- for expert, as they may have done individual selection before. if ($first_time || !$::expert) { exists $o->{compssListLevel} and pkgs::setSelectedFromCompssList($packages, $o->{compssUsersChoice}, $o->{compssListLevel}, $availableCorrected); } $availableCorrected; } sub beforeInstallPackages { my ($o) = @_; #- save these files in case of upgrade failure. if ($o->{isUpgrade}) { foreach (@filesToSaveForUpgrade) { unlink "$o->{prefix}/$_.mdkgisave"; if (-e "$o->{prefix}/$_") { eval { cp_af("$o->{prefix}/$_", "$o->{prefix}/$_.mdkgisave") }; } } foreach (@filesNewerToUseAfterUpgrade) { unlink "$o->{prefix}/$_.rpmnew"; } } #- some packages need such files for proper installation. install_any::write_fstab($o); require network; network::add2hosts("$o->{prefix}/etc/hosts", "localhost.localdomain", "127.0.0.1"); log::l("setting excludedocs to $o->{excludedocs}"); substInFile { s/%_excludedocs.*//; $_ .= "%_excludedocs yes\n" if eof && $o->{excludedocs} } "$o->{prefix}/etc/rpm/macros"; #- add oem lilo theme and background if the files exists. mkdir "$o->{prefix}$_" foreach qw(/boot /usr /usr/share /usr/share/mdk); install_any::getAndSaveFile("Mandrake/base/oem-message-graphic", "$o->{prefix}/boot/oem-message-graphic"); install_any::getAndSaveFile("Mandrake/base/oem-background.png", "$o->{prefix}/usr/share/mdk/oem-background.png"); } sub pkg_install { my ($o, @l) = @_; log::l("selecting packages"); require pkgs; if ($::testing) { log::l("selecting package \"$_\"") foreach @l; } else { $o->{packages}{rpmdb} ||= pkgs::rpmDbOpen($o->{prefix}); pkgs::selectPackage($o->{packages}, pkgs::packageByName($o->{packages}, $_) || die "$_ rpm not found") foreach @l; } my @toInstall = pkgs::packagesToInstall($o->{packages}); if (@toInstall) { log::l("installing packages"); $o->installPackages; } else { log::l("all packages selected are already installed, nothing to do") } } sub pkg_install_if_requires_satisfied { my ($o, @l) = @_; require pkgs; $o->{packages}{rpmdb} ||= pkgs::rpmDbOpen($o->{prefix}); foreach (@l) { my %newSelection; my $pkg = pkgs::packageByName($o->{packages}, $_) || die "$_ rpm not found"; pkgs::selectPackage($o->{packages}, $pkg, 0, \%newSelection); if (scalar(keys %newSelection) == 1) { pkgs::selectPackage($o->{packages}, $pkg); } else { log::l("pkg_install_if_requires_satisfied: not selecting $_ because of ", join(", ", keys %newSelection)); } } $o->installPackages; } sub installPackages($$) { #- complete REWORK, TODO and TOCHECK! my ($o) = @_; my $packages = $o->{packages}; #- this method is always called, go here to close still opened rpm db. delete $packages->{rpmdb}; if (%{$packages->{state}{ask_remove} || {}}) { log::l("removing : ", join ', ', keys %{$packages->{state}{ask_remove}}); pkgs::remove($o->{prefix}, keys %{$packages->{state}{ask_remove}}); } #- small transaction will be built based on this selection and depslist. my @toInstall = pkgs::packagesToInstall($packages); my $time = time; $ENV{DURING_INSTALL} = 1; pkgs::install($o->{prefix}, $o->{isUpgrade}, \@toInstall, $packages); delete $ENV{DURING_INSTALL}; run_program::rooted_or_die($o->{prefix}, 'ldconfig') unless $::g_auto_install; log::l("Install took: ", formatTimeRaw(time - $time)); install_any::log_sizes($o); scalar(@toInstall); #- return number of packages installed. } sub afterInstallPackages($) { my ($o) = @_; return if $::g_auto_install; die _("Some important packages didn't get installed properly. Either your cdrom drive or your cdrom is defective. Check the cdrom on an installed computer using \"rpm -qpl Mandrake/RPMS/*.rpm\" ") if grep { m|read failed: Input/output error| } cat_("$o->{prefix}/root/drakx/install.log"); if (arch() !~ /^sparc/) { #- TODO restore it as may be needed for sparc -x "$o->{prefix}/usr/bin/dumpkeys" or $::testing or die "Some important packages didn't get installed properly. Please switch to console 2 (using ctrl-alt-f2) and look at the log file /tmp/ddebug.log Consoles 1,3,4,7 may also contain interesting information"; } #- why not? cuz weather is nice today :-) [pixel] common::sync(); common::sync(); my $have_devfsd = do { my $p = pkgs::packageByName($o->{packages}, 'devfsd'); $p && $p->flag_installed }; if ($have_devfsd) { require bootloader; bootloader::may_append($o->{bootloader}, devfs => 'mount'); } #- generate /etc/lvmtab needed for rc.sysinit run_program::rooted($o->{prefix}, 'vgscan') if -e '/etc/lvmtab'; #- configure PCMCIA services if needed. modules::write_pcmcia($o->{prefix}, $o->{pcmcia}); #- for mandrake_firstime touch "$o->{prefix}/var/lock/TMP_1ST"; any::config_dvd($o->{prefix}, $have_devfsd); any::config_mtools($o->{prefix}); any::writeandclean_ldsoconf($o->{prefix}); #- make sure wins is disabled in /etc/nsswitch.conf #- else if eth0 is not existing, glibc segfaults. substInFile { s/\s*wins// if /^\s*hosts\s*:/ } "$o->{prefix}/etc/nsswitch.conf"; #- make sure some services have been enabled (or a catastrophic restart will occur). #- these are normally base package post install scripts or important services to start. run_program::rooted($o->{prefix}, "chkconfig", "--add", $_) foreach qw(random netfs network rawdevices sound kheader usb keytable syslog crond portmap); if ($o->{mouse}{device} =~ /ttyS/) { log::l("disabling gpm for serial mice (doesn't get along nicely with X)"); run_program::rooted($o->{prefix}, "chkconfig", "--del", "gpm") } #- call update-menus at the end of package installation run_program::rooted($o->{prefix}, "update-menus"); if ($o->{pcmcia}) { substInFile { s/.*(TaskBarShowAPMStatus).*/$1=1/ } "$o->{prefix}/usr/lib/X11/icewm/preferences"; eval { cp_af("$o->{prefix}/usr/share/applnk/System/kapm.kdelnk", "$o->{prefix}/etc/skel/Desktop/Autostart/kapm.kdelnk") }; } $o->install_urpmi; if ($o->{lang} =~ /^(zh_TW|th|vi|be|bg)/) { #- skip since we don't have the right font (it badly fails at least for zh_TW) } elsif (my $LANG = lang::lang2LANG($o->{lang})) { my $kdmrc = "$o->{prefix}/usr/share/config/kdm/kdmrc"; my $kde_charset = lang::charset2kde_charset(lang::lang2charset($o->{lang})); my $welcome = c::to_utf8(_("Welcome to %s", '%n')); substInFile { s/^(GreetString)=.*/$1=$welcome/; s/^(Language)=.*/$1=$LANG/; if (!member($kde_charset, 'iso8859-1', 'iso8859-15')) { #- don't keep the default for those s/^(StdFont)=.*/$1=*,12,5,$kde_charset,50,0/; s/^(FailFont)=.*/$1=*,12,5,$kde_charset,75,0/; s/^(GreetFont)=.*/$1=*,24,5,$kde_charset,50,0/; } } "$o->{prefix}/usr/share/config/kdm/kdmrc"; } install_any::disable_user_view($o->{prefix}) if $o->{security} >= 3 || $o->{authentication}{NIS}; run_program::rooted($o->{prefix}, "kdeDesktopCleanup"); foreach (list_skels($o->{prefix}, '.kde/share/config/kfmrc')) { my $found; substInFile { $found ||= /KFM Misc Defaults/; $_ .= "[KFM Misc Defaults] GridWidth=85 GridHeight=70 " if eof && !$found; } $_ } #- move some file after an upgrade that may be seriously annoying. #- and rename saved files to .mdkgiorig. if ($o->{isUpgrade}) { my $pkg = pkgs::packageByName($o->{packages}, 'rpm'); $pkg && ($pkg->flag_selected || $pkg->flag_installed) && $pkg->compare(">= 4.0") and pkgs::cleanOldRpmDb($o->{prefix}); log::l("moving previous desktop files that have been updated to Trash of each user"); install_any::kdemove_desktop_file($o->{prefix}); foreach (@filesToSaveForUpgrade) { renamef("$o->{prefix}/$_.mdkgisave", "$o->{prefix}/$_.mdkgiorig") if -e "$o->{prefix}$_.mdkgisave"; } foreach (@filesNewerToUseAfterUpgrade) { if (-e "$o->{prefix}/$_.rpmnew" && -e "$o->{prefix}/$_") { renamef("$o->{prefix}/$_", "$o->{prefix}/$_.mdkgiorig"); renamef("$o->{prefix}/$_.rpmnew", "$o->{prefix}/$_"); } } } #- update oem lilo image if it exists. if (-s "/boot/oem-message-graphic") { rename "$o->{prefix}/boot/message-graphic", "$o->{prefix}/boot/message-graphic.mdkgiorig"; rename "$o->{prefix}/boot/oem-message-graphic", "$o->{prefix}/boot/message-graphic"; } #- update background image if it exists for common environment. if (-s -s "/usr/share/mdk/oem-background.png") { #- KDE desktop background. if (-e "$o->{prefix}/usr/share/config/kdesktoprc") { update_gnomekderc("$o->{prefix}/usr/share/config/kdesktoprc", "Desktop0", MultiWallpaperMode => "NoMulti", Wallpaper => "/usr/share/mdk/oem-background.png", WallpaperMode => "Scaled", ); } #- GNOME desktop background. if (-e "$o->{prefix}/etc/gnome/config/Background") { update_gnomekderc("$o->{prefix}/etc/gnome/config/Background", "Default", wallpaper => "/usr/share/mdk/oem-background.png", wallpaperAlign => "3", ); } } if ($o->{blank} || $o->{updatemodules}) { my @l = detect_devices::floppies_dev(); foreach (qw(blank updatemodules)) { $o->{$_} eq "1" and $o->{$_} = $l[0] || die _("No floppy drive available"); } $o->{blank} and $o->copyKernelFromFloppy(); $o->{updatemodules} and $o->updateModulesFromFloppy(); } } sub copyKernelFromFloppy { my ($o) = @_; return if $::testing || !$o->{blank}; fs::mount($o->{blank}, "/floppy", "vfat", 0); eval { cp_af("/floppy/vmlinuz", "$o->{prefix}/boot/vmlinuz-default") }; if ($@) { log::l("copying of /floppy/vmlinuz from blank modified disk failed: $@"); } fs::umount("/floppy"); } sub install_urpmi { my ($o) = @_; my $pkg = pkgs::packageByName($o->{packages}, 'urpmi'); if ($pkg && ($pkg->flag_selected || $pkg->flag_installed)) { install_any::install_urpmi($o->{prefix}, $::oem ? 'cdrom' : $o->{method}, #- HACK $o->{packages}{mediums}); pkgs::saveCompssUsers($o->{prefix}, $o->{packages}, $o->{compssUsers}, $o->{compssUsersSorted}); } } sub updateModulesFromFloppy { my ($o) = @_; return if $::testing || !$o->{updatemodules}; fs::mount($o->{updatemodules}, "/floppy", "ext2", 0); foreach (glob_("$o->{prefix}/lib/modules/*")) { my ($kernelVersion) = m,lib/modules/(\S*),; log::l("examining updated modules for kernel $kernelVersion"); if (-d "/floppy/$kernelVersion") { my @src_files = glob_("/floppy/$kernelVersion/*"); my @dest_files = map { chomp_($_) } run_program::rooted_get_stdout($o->{prefix}, 'find', '/lib/modules'); foreach my $s (@src_files) { log::l("found updatable module $s"); my ($sfile, $sext) = $s =~ /([^\/\.]*\.o)(?:\.gz|\.bz2)?$/; my $qsfile = quotemeta $sfile; my $qsext = quotemeta $sext; foreach my $target (@dest_files) { $target =~ /$qsfile/ or next; eval { cp_af($s, $target) }; if ($@) { log::l("updating module $target by $s failed: $@"); } else { log::l("updating module $target by $s"); } if ($target !~ /$qsfile$qsext$/) { #- extension differ, first rename target file correctly, #- then uncompress source file, then compress it as expected. my ($basetarget, $text) = $target =~ /(.*?)(\.gz|\.bz2)$/; rename $target, "$basetarget$sext"; $sext eq '.gz' and run_program::run("gzip", "-d", "$basetarget$sext"); $sext eq '.bz2' and run_program::run("bzip2", "-d", "$basetarget$sext"); $text eq '.gz' and run_program::run("gzip", $basetarget); $text eq '.bz2' and run_program::run("bzip2", $basetarget); } } } } } fs::umount("/floppy"); } #------------------------------------------------------------------------------ sub selectMouse($) { my ($o) = @_; } #------------------------------------------------------------------------------ sub configureNetwork { my ($o) = @_; require network; network::configureNetwork2($o, $o->{prefix}, $o->{netc}, $o->{intf}); if ($o->{method} =~ /ftp|http|nfs/) { $o->{netcnx}{type} = 'lan'; foreach ("up", "down") { my $f = "$o->{prefix}/etc/sysconfig/network-scripts/net_cnx_$_"; output $f, "\nif$_ eth0\n"; chmod 0755, $f; } output "$o->{prefix}/etc/sysconfig/network-scripts/net_cnx_pg", "\n/usr/sbin/drakconnet\n"; } } #------------------------------------------------------------------------------ sub installCrypto { my ($o) = @_; my $u = $o->{crypto} or return; $u->{mirror} && $u->{packages} or return; upNetwork($o); require crypto; my @crypto_packages = crypto::getPackages($o->{prefix}, $o->{packages}, $u->{mirror}); $o->pkg_install(@{$u->{packages}}); } sub installUpdates { my ($o) = @_; my $u = $o->{updates} or return; $u->{updates} or return; upNetwork($o); require crypto; crypto::getPackages($o->{prefix}, $o->{packages}, $u->{mirror}) and $o->pkg_install(@{$u->{packages} || []}); #- re-install urpmi with update security medium. $o->install_urpmi; } sub summary { my ($o) = @_; configureTimezone($o); configurePrinter($o) if $o->{printer}; } #------------------------------------------------------------------------------ sub configureTimezone { my ($o) = @_; install_any::preConfigureTimezone($o); $o->pkg_install('ntp') if $o->{timezone}{ntp}; require timezone; timezone::write($o->{prefix}, $o->{timezone}); } #------------------------------------------------------------------------------ sub configureServices { my ($o) = @_; if ($o->{services}) { require services; services::doit($o, $o->{services}, $o->{prefix}); } } #------------------------------------------------------------------------------ sub configurePrinter { my($o) = @_; $o->do_pkgs->install('foomatic', 'printer-utils','printer-testpages', if_($o->do_pkgs->is_installed('gimp'), 'gimpprint')); require printer; eval { add2hash($o->{printer} ||= {}, printer::getinfo($o->{prefix})) }; #- get existing configuration. require printerdrake; printerdrake::install_spooler($o->{printer}, $o); #- not interactive... foreach (values %{$o->{printer}{configured} || {}}) { log::l("configuring printer queue " . $_->{queuedata}{queue} || $_->{QUEUE}); #- when copy is so adulée (sorry french taste :-) #- and when there are some configuration in one place and in another place... $o->{printer}{currentqueue} = {}; printer::copy_printer_params($_->{queuedata}, $o->{printer}{currentqueue}); printer::copy_printer_params($_, $o->{printer}); #- setup all configured queues, which is not the case interactively where #- only the working queue is setup on configuration. printer::configure_queue($o->{printer}); } } #------------------------------------------------------------------------------ sub setRootPassword { my ($o) = @_; my $p = $o->{prefix}; my $u = $o->{superuser} ||= {}; $o->{superuser}{name} = 'root'; any::write_passwd_user($o->{prefix}, $o->{superuser}, $o->{authentication}{md5}); delete $o->{superuser}{name}; } #------------------------------------------------------------------------------ sub addUser { my ($o) = @_; my $p = $o->{prefix}; my $users = $o->{users} ||= []; my (%uids, %gids); foreach (glob_("$p/home")) { my ($u, $g) = (stat($_))[4,5]; $uids{$u} = 1; $gids{$g} = 1 } foreach (@$users) { $_->{home} ||= "/home/$_->{name}"; my $u = $_->{uid} || ($_->{oldu} = (stat("$p$_->{home}"))[4]); my $g = $_->{gid} || ($_->{oldg} = (stat("$p$_->{home}"))[5]); #- search for available uid above 501 else initscripts may fail to change language for KDE. if (!$u || getpwuid($u)) { for ($u = 501; getpwuid($u) || $uids{$u}; $u++) {} } if (!$g) { for ($g = 501; getgrgid($g) || $gids{$g}; $g++) {} } $_->{uid} = $u; $uids{$u} = 1; $_->{gid} = $g; $gids{$g} = 1; } any::write_passwd_user($p, $_, $o->{authentication}{md5}) foreach @$users; local *F; open F, ">> $p/etc/group" or die "can't append to group file: $!"; print F "$_->{name}:x:$_->{gid}:\n" foreach grep { ! getgrgid($_->{gid}) } @$users; foreach my $u (@$users) { if (! -d "$p$u->{home}") { my $mode = $o->{security} < 2 ? 0755 : 0750; eval { cp_af("$p/etc/skel", "$p$u->{home}") }; if ($@) { log::l("copying of skel failed: $@"); mkdir("$p$u->{home}", $mode); } else { chmod $mode, "$p$u->{home}"; } } require commands; eval { commands::chown_("-r", "$u->{uid}.$u->{gid}", "$p$u->{home}") } if $u->{uid} != $u->{oldu} || $u->{gid} != $u->{oldg}; } any::addUsers($p, $users); $o->pkg_install("autologin") if $o->{autologin}; any::set_autologin($p, $o->{autologin}, $o->{desktop}); install_any::setAuthentication($o); install_any::disable_user_view($p) if @$users == (); } #------------------------------------------------------------------------------ sub createBootdisk($) { my ($o) = @_; my $dev = $o->{mkbootdisk} or return; my @l = detect_devices::floppies_dev(); $dev = shift @l || die _("No floppy drive available") if $dev eq "1"; #- special case meaning autochoose return if $::testing; require bootloader; bootloader::mkbootdisk(install_any::kernelVersion($o), $dev, $o->{bootloader}{perImageAppend}); $o->{mkbootdisk} = $dev; } #------------------------------------------------------------------------------ sub readBootloaderConfigBeforeInstall { my ($o) = @_; my ($image, $v); require bootloader; add2hash($o->{bootloader} ||= {}, bootloader::read()); #- since kernel or kernel-smp may not be upgraded, it should be checked #- if there is a need to update existing lilo.conf entries by following #- symlinks before kernel or other packages get installed. #- update everything that could be a filename (for following symlink). foreach my $e (@{$o->{bootloader}{entries}}) { while (my $v = readlink "$o->{prefix}/$e->{kernel_or_dev}") { $v = "/boot/$v" if $v !~ m|^/|; -e "$o->{prefix}$v" or last; log::l("renaming /boot/$e->{kernel_or_dev} entry by $v"); $e->{kernel_or_dev} = $v; } while (my $v = readlink "$o->{prefix}/$e->{initrd}") { $v = "/boot/$v" if $v !~ m|^/|; -e "$o->{prefix}$v" or last; log::l("renaming /boot/$e->{initrd} entry by $v"); $e->{initrd} = $v; } } } sub setupBootloaderBefore { my ($o) = @_; require bootloader; if (my @l = (grep { $_->{bus} eq 'ide' } detect_devices::burners(), detect_devices::raw_zips())) { bootloader::add_append($o->{bootloader}, $_->{device}, 'ide-scsi') foreach @l; } if ($o->{miscellaneous}{HDPARM}) { bootloader::add_append($o->{bootloader}, $_, 'autotune') foreach grep { /ide.*/ } all("/proc/ide"); } if (cat_("/proc/cmdline") =~ /mem=nopentium/) { bootloader::add_append($o->{bootloader}, 'mem', 'nopentium'); } if (cat_("/proc/cmdline") =~ /\b(pci)=(\S+)/) { bootloader::add_append($o->{bootloader}, $1, $2); } if (arch() =~ /alpha/) { if (my $dev = fsedit::get_root($o->{fstab})) { $o->{bootloader}{boot} ||= "/dev/$dev->{rootDevice}"; $o->{bootloader}{root} ||= "/dev/$dev->{device}"; $o->{bootloader}{part_nb} ||= first($dev->{device} =~ /(\d+)/); } } else { #- check for valid fb mode to enable a default boot with frame buffer. my $vga = $o->{allowFB} && (!detect_devices::matching_desc('3D Rage LT') && !detect_devices::matching_desc('Rage Mobility [PL]') && !detect_devices::matching_desc('i740') && !detect_devices::matching_desc('Matrox') && !detect_devices::matching_desc('Tseng.*ET6\d00') && !detect_devices::matching_desc('SiS.*SG86C2.5') && !detect_devices::matching_desc('SiS.*559[78]') && !detect_devices::matching_desc('SiS.*300') && !detect_devices::matching_desc('SiS.*540') && !detect_devices::matching_desc('SiS.*6C?326') && !detect_devices::matching_desc('SiS.*6C?236') && !detect_devices::matching_desc('Voodoo [35]|Voodoo Banshee') && #- 3d acceleration seems to bug in fb mode !detect_devices::matching_desc('8281[05].* CGC') #- i810 now have FB support during install but we disable it afterwards ); my $force_vga = $o->{allowFB} && (detect_devices::matching_desc('SiS.*630') || #- SiS 630 need frame buffer. detect_devices::matching_desc('GeForce.*Integrated') #- needed for fbdev driver (hack). ); #- propose the default fb mode for kernel fb, if aurora or bootsplash is installed. my $need_fb = grep { my $p = pkgs::packageByName($o->{packages}, $_); $p && $p->flag_installed; } 'Aurora', 'bootsplash'; bootloader::suggest($o->{bootloader}, $o->{all_hds}{hds}, $o->{fstab}, vga_fb => ($force_vga || $vga && $need_fb) && $o->{vga}, quiet => $o->{meta_class} ne 'server'); bootloader::suggest_floppy($o->{bootloader}) if $o->{security} <= 3 && arch() !~ /ppc/; $o->{bootloader}{keytable} ||= keyboard::keyboard2kmap($o->{keyboard}); } } sub setupBootloader($) { my ($o) = @_; return if $::g_auto_install; if (arch() =~ /alpha/) { return if $::testing; my $b = $o->{bootloader}; $b->{boot} or $o->ask_warn('', "Can't install aboot, not a bsd disklabel"), return; run_program::rooted($o->{prefix}, "swriteboot", $b->{boot}, "/boot/bootlx") or do { cdie "swriteboot failed"; run_program::rooted($o->{prefix}, "swriteboot", "-f1", $b->{boot}, "/boot/bootlx"); }; run_program::rooted($o->{prefix}, "abootconf", $b->{boot}, $b->{part_nb}); modules::load('loop'); output "$o->{prefix}/etc/aboot.conf", map_index { -e "$o->{prefix}/boot/initrd-$_->[1]" ? "$::i:$b->{part_nb}$_->[0] root=$b->{root} initrd=/boot/initrd-$_->[1] $b->{perImageAppend}\n" : "$::i:$b->{part_nb}$_->[0] root=$b->{root} $b->{perImageAppend}\n" } map { run_program::rooted($o->{prefix}, "mkinitrd", "-f", "/boot/initrd-$_->[1]", "--ifneeded", $_->[1]); $_ } grep { $_->[0] && $_->[1] } map { [ m|$o->{prefix}(/boot/vmlinux-(.*))| ] } glob_("$o->{prefix}/boot/vmlinux-*"); # output "$o->{prefix}/etc/aboot.conf", # map_index { "$::i:$b->{part_nb}$_ root=$b->{root} $b->{perImageAppend}\n" } # map { /$o->{prefix}(.*)/ } eval { glob_("$o->{prefix}/boot/vmlinux*") }; } else { require bootloader; bootloader::install($o->{bootloader}, $o->{fstab}, $o->{all_hds}{hds}); } } #------------------------------------------------------------------------------ sub configureXBefore { my ($o) = @_; require Xconfig::default; $o->{raw_X} = Xconfig::default::configure($o->{keyboard}, $o->{mouse}); #- keep this here if the package has to be updated. $o->pkg_install("XFree86"); } sub configureX { my ($o) = @_; $o->configureXBefore; require Xconfig::main; Xconfig::main::configure_everything_auto_install($o->{raw_X}, $o->do_pkgs, $o->{X}, { allowFB => $o->{allowFB}, allowNVIDIA_rpms => install_any::allowNVIDIA_rpms($o->{packages}), }); $o->configureXAfter; } sub configureXAfter { my ($o) = @_; if ($o->{X}{bios_vga_mode}) { install_any::setupFB($o, $o->{X}{bios_vga_mode}) or do { log::l("disabling automatic start-up of X11 if any as setup framebuffer failed"); any::runlevel($o->{prefix}, 3); #- disable automatic start-up of X11 on error. }; } if ($o->{X}{default_depth} >= 16 && $o->{X}{resolution_wanted} >= 1024) { log::l("setting large icon style for kde"); install_any::kderc_largedisplay($o->{prefix}); } } #------------------------------------------------------------------------------ sub miscellaneousBefore { my ($o) = @_; my %s = getVarsFromSh("$o->{prefix}/etc/sysconfig/system"); $o->{miscellaneous}{HDPARM} = $s{HDPARM} if exists $s{HDPARM}; $o->{security} ||= any::get_secure_level() || ($o->{meta_class} =~ /server|firewall/ ? 3 : 2); log::l("security $o->{security}"); add2hash_($o->{miscellaneous} ||= {}, { numlock => !detect_devices::isLaptop() }); } sub miscellaneous { my ($o) = @_; #- keep some given parameters #-TODO } sub miscellaneousAfter { my ($o) = @_; add2hash_ $o, { useSupermount => 1 && $o->{security} < 4 && arch() !~ /sparc/ && !$::corporate }; $ENV{SECURE_LEVEL} = $o->{security}; #- deprecated with chkconfig 1.3.4-2mdk, uses /etc/sysconfig/msec addToBeDone { mkdir_p("$o->{prefix}/etc/security/msec"); symlink "server.$o->{security}", "$o->{prefix}/etc/security/msec/server" if $o->{security} > 3; setVarsInSh("$o->{prefix}/etc/sysconfig/msec", { SECURE_LEVEL => $o->{security} }); } 'formatPartitions'; addToBeDone { setVarsInSh("$o->{prefix}/etc/sysconfig/system", { CLASS => $::expert && 'expert' || 'beginner', SECURITY => $o->{security}, META_CLASS => $o->{meta_class} || 'PowerPack', }); substInFile { s/KEYBOARD_AT_BOOT=.*/KEYBOARD_AT_BOOT=yes/ } "$o->{prefix}/etc/sysconfig/usb" if detect_devices::usbKeyboards(); } 'installPackages'; } #------------------------------------------------------------------------------ sub exitInstall { my ($o) = @_; eval { my $report = '/root/drakx/report.bug'; unlink "$::prefix$report", "$::prefix$report.gz"; output "$::prefix$report", install_any::report_bug($o->{prefix}); run_program::rooted($::prefix, 'gzip', $report); }; install_any::getAndSaveAutoInstallFloppy($o, 1, "$o->{prefix}/root/drakx/replay_install.img"); eval { output "$o->{prefix}/root/drakx/README", "This directory contains several installation-related files, mostly log files (very useful if you ever report a bug!). Beware that some Mandrake tools rely on the contents of some of these files... so remove any file from here at your own risk! " }; install_any::unlockCdrom; install_any::log_sizes($o); } #------------------------------------------------------------------------------ sub hasNetwork { my ($o) = @_; $o->{netcnx}{type} && $o->{netc}{NETWORKING} ne 'no' and return 1; log::l("no network seems to be configured for internet ($o->{netcnx}{type},$o->{netc}{NETWORKING})"); 0; } #------------------------------------------------------------------------------ sub upNetwork { my ($o, $pppAvoided) = @_; #- do not destroy this file if prefix is '' or even '/' (could it happens ?). if (length($o->{prefix}) > 1) { symlinkf("$o->{prefix}/etc/$_", "/etc/$_") foreach (qw(resolv.conf protocols services)); } member($o->{method}, qw(ftp http nfs)) and return 1; modules::write_conf($o->{prefix}); if (hasNetwork($o)) { if ($o->{netcnx}{type} =~ /adsl|lan|cable/) { require network::netconnect; network::netconnect::start_internet($o); return 1; } elsif (!$pppAvoided) { eval { modules::load(qw(serial ppp bsd_comp ppp_deflate)) }; run_program::rooted($o->{prefix}, "/etc/rc.d/init.d/syslog", "start"); require network::netconnect; network::netconnect::start_internet($o); return 1; } } $::testing; } #------------------------------------------------------------------------------ sub downNetwork { my ($o, $costlyOnly) = @_; $o->{method} eq "ftp" || $o->{method} eq "http" || $o->{method} eq "nfs" and return 1; modules::write_conf($o->{prefix}); if (hasNetwork($o)) { if (!$costlyOnly) { require network::netconnect; network::netconnect::stop_internet($o); return 1; } elsif ($o->{netc}{type} !~ /adsl|lan|cable/) { require network::netconnect; network::netconnect::stop_internet($o); run_program::rooted($o->{prefix}, "/etc/rc.d/init.d/syslog", "stop"); eval { modules::unload(qw(ppp_deflate bsd_comp ppp serial)) }; return 1; } } $::testing; } #------------------------------------------------------------------------------ sub cleanIfFailedUpgrade($) { my ($o) = @_; #- if an upgrade has failed, there should be .mdkgisave files around. if ($o->{isUpgrade}) { foreach (@filesToSaveForUpgrade) { if (-e "$o->{prefix}/$_" && -e "$o->{prefix}/$_.mdkgisave") { rename "$o->{prefix}/$_", "$o->{prefix}/$_.mdkginew"; #- keep new files around in case ! rename "$o->{prefix}/$_.mdkgisave", "$o->{prefix}/$_"; } } } } 1; 1'>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 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211
Summary: The drakxtools (XFdrake, diskdrake, keyboarddrake, mousedrake...)
Name:    drakxtools
Version: 10
Release: 56mdk
Url: http://www.mandrakelinux.com/en/drakx.php3
Source0: %name-%version.tar.bz2
License: GPL
Group: System/Configuration/Other
Requires: %{name}-newt = %version-%release, perl-Gtk2 >= 1.040-1mdk, perl-Glib >= 1.040-1mdk, /usr/X11R6/bin/xtest, font-tools, usermode >= 1.63-5mdk, perl-MDK-Common >= 1.1.10, gurpmi, mandrake-doc-common >= 9.2-5mdk
Requires: foomatic-db-engine
Conflicts: drakconf < 10-0.6mdk
Conflicts: rpmdrake < 2.1-29mdk
Conflicts: mandrake_doc-drakxtools-en < 9.2, mandrake_doc-drakxtools-es < 9.2, mandrake_doc-drakxtools-fr < 9.2
Conflicts: bootloader-utils < 1.8-4mdk, bootsplash < 2.1.7-1mdk
BuildRequires: gettext, gtk+2-devel, ldetect-devel >= 0.5.2-1mdk, ncurses-devel, newt-devel, perl-devel >= 1:5.8.0-20mdk, libext2fs-devel, perl-MDK-Common-devel >= 1.1.8-3mdk
BuildRoot: %_tmppath/%name-buildroot
Provides: draksec
Obsoletes: draksec
%define _requires_exceptions perl(Net::FTP)\\|perl(Time::localtime)

%package newt
Summary: The drakxtools (XFdrake, diskdrake, keyboarddrake, mousedrake...)
Group: System/Configuration/Other
Requires: perl-base >= 1:5.8.0-20mdk, urpmi >= 4.4-23mdk, modutils >= 2.3.11, usermode-consoleonly >= 1.44-4mdk, msec >= 0.38-5mdk
Requires: %{name}-backend = %version-%release
Requires: netprofile
Obsoletes: diskdrake kbdconfig mouseconfig printtool setuptool drakfloppy
Provides: diskdrake, kbdconfig mouseconfig printtool setuptool, drakfloppy = %version-%release
Provides: perl(Newt::Newt)
Provides: perl(network::isdn_consts)

%package backend
Summary: Drakxtools libraries and background tools 
Group: System/Configuration/Other
Requires: ldetect-lst >= 0.1.7-3mdk
Conflicts: drakxtools-newt < 10-51mdk

%package http
Summary: The drakxtools via http
Group: System/Configuration/Other
Requires: %{name}-newt = %version-%release, perl-Net_SSLeay >= 1.22-1mdk, perl-Authen-PAM >= 0.14-1mdk, perl-CGI >= 2.91-1mdk
PreReq: rpm-helper

%package -n harddrake
Summary: Main Hardware Configuration/Information Tool
Group: System/Configuration/Hardware
Requires: %{name}-newt = %version-%release
Obsoletes: kudzu, kudzu-devel, libdetect0, libdetect0-devel, libdetect-lst, libdetect-lst-devel, detect, detect-lst
Provides: kudzu, kudzu-devel, libdetect0, libdetect0-devel, libdetect-lst, libdetect-lst-devel, detect, detect-lst
Prereq: rpm-helper

%package -n harddrake-ui
Summary: Main Hardware Configuration/Information Tool
Group: System/Configuration/Hardware
Requires: %name = %version-%release
Requires: sane-backends

%description
Contains many Mandrakelinux applications simplifying users and
administrators life on a Mandrakelinux machine. Nearly all of
them work both under XFree (graphical environment) and in console
(text environment), allowing easy distant work.

adduserdrake: help you adding a user

ddcxinfos: get infos from the graphic card and print XF86Config
modlines

diskdrake: DiskDrake makes hard disk partitioning easier. It is
graphical, simple and powerful. Different skill levels are available
(newbie, advanced user, expert). It's written entirely in Perl and
Perl/Gtk. It uses resize_fat which is a perl rewrite of the work of
Andrew Clausen (libresize).

drakauth: configure authentification (LDAP/NIS/...)

drakautoinst: help you configure an automatic installation replay

drakbackup: backup and restore your system

drakboot: configures your boot configuration (Lilo/GRUB,
Bootsplash, X, autologin)

drakbug: interactive bug report tool

drakbug_report: help find bugs in DrakX

drakconnect: LAN/Internet connection configuration. It handles
ethernet, ISDN, DSL, cable, modem.

drakfloppy: boot disk creator

drakfont: import fonts in the system

drakgw: internet connection sharing

drakproxy: proxies configuration

draksec: security options managment / msec frontend

draksound: sound card configuration

draksplash: bootsplash themes creation

drakTermServ: terminal server configurator

drakxservices: SysV service and dameaons configurator

drakxtv: auto configure tv card for xawtv grabber

keyboarddrake: configure your keyboard (both console and X)

logdrake: show extracted information from the system logs

lsnetdrake: display available nfs and smb shares

lspcidrake: display your pci information, *and* the corresponding
kernel module

localedrake: language configurator, available both for root
(system wide) and users (user only)

mousedrake: autodetect and configure your mouse

printerdrake: detect and configure your printer

scannerdrake: scanner configurator

drakfirewall: simple firewall configurator

XFdrake: menu-driven program which walks you through setting up
your X server; it autodetects both monitor and video card if
possible

net_applet: applet to check network connection

%description backend
See package %name

%description newt
See package %name

%description http
This add the capability to be runned behind a web server to the drakx tools.
See package %name


%description -n harddrake
The harddrake service is a hardware probing tool run at system boot
time to determine what hardware has been added or removed from the
system.
It then offer to run needed config tool to update the OS
configuration.


%description -n harddrake-ui
This is the main configuration tool for hardware that calls all the
other configuration tools.
It offers a nice GUI that show the hardware configuration splitted by
hardware classes.


%prep
%setup -q

%build
%make CFLAGS="$RPM_OPT_FLAGS"

%install
rm -rf $RPM_BUILD_ROOT

%make PREFIX=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT/{%_initrddir,%_sysconfdir/{X11/xinit.d,sysconfig/harddrake2}}
touch $RPM_BUILD_ROOT/etc/sysconfig/harddrake2/previous_hw

dirs1="usr/lib/libDrakX usr/share/libDrakX"
(cd $RPM_BUILD_ROOT ; find $dirs1 usr/bin usr/sbin ! -type d -printf "/%%p\n")|egrep -v 'bin/.*harddrake' > %{name}.list
(cd $RPM_BUILD_ROOT ; find $dirs1 -type d -printf "%%%%dir /%%p\n") >> %{name}.list

perl -ni -e '/clock|drak(backup|bug|clock|floppy|font|log|net_monitor|perm|printer|sec|splash|TermServ)|gtk|icons|logdrake|net_applet|net_monitor|pixmaps|printer|xf86misc|\.png$/ ? print STDERR $_ : print' %{name}.list 2> %{name}-gtk.list
perl -ni -e '/http/ ? print STDERR $_ : print' %{name}.list 2> %{name}-http.list
perl -ni -e 'm!lib/libDrakX|bootloader-config|fileshare|lsnetdrake|ddcxinfos|drakupdate_fstab|rpcinfo|serial_probe! && !/newt/i ? print STDERR $_ : print' %{name}.list 2> %{name}-backend.list

#mdk menu entry
mkdir -p $RPM_BUILD_ROOT/%_menudir

cat > $RPM_BUILD_ROOT%_menudir/drakxtools-newt <<EOF
?package(drakxtools-newt): \
	needs="X11" \
	section="System/Configuration/Other" \
	title="LocaleDrake" \
	longtitle="Language configurator" \
	command="/usr/bin/localedrake" \
	icon="localedrake.png"

EOF
 
cat > $RPM_BUILD_ROOT%_menudir/harddrake-ui <<EOF
?package(harddrake-ui):\
	needs="X11"\
	section="Configuration/Hardware"\
	title="HardDrake"\
	longtitle="Hardware Central Configuration/information tool"\
	command="/usr/sbin/harddrake2"\
	icon="harddrake.png"
EOF

cat > $RPM_BUILD_ROOT%_datadir/harddrake/convert <<EOF
#!/usr/bin/perl
use Storable;
 
my \$last_boot_config = "/etc/sysconfig/harddrake2/previous_hw";
 
my \$config = do \$last_boot_config;
store \$config, \$last_boot_config;
EOF

cat > $RPM_BUILD_ROOT%_sysconfdir/X11/xinit.d/harddrake2 <<EOF
#!/bin/sh
exec /usr/share/harddrake/service_harddrake X11
EOF

mv $RPM_BUILD_ROOT%_sbindir/service_harddrake_confirm $RPM_BUILD_ROOT%_datadir/harddrake/confirm

chmod +x $RPM_BUILD_ROOT{%_datadir/harddrake/*,%_sysconfdir/X11/xinit.d/harddrake2}
# temporary fix until we reenable this feature
rm -f $RPM_BUILD_ROOT%_sysconfdir/X11/xinit.d/harddrake2

%find_lang libDrakX
cat libDrakX.lang >> %name.list

%clean
rm -rf $RPM_BUILD_ROOT

%post
[[ ! -e %_sbindir/kbdconfig ]] && %__ln_s -f keyboarddrake %_sbindir/kbdconfig
[[ ! -e %_sbindir/mouseconfig ]] && %__ln_s -f mousedrake %_sbindir/mouseconfig
[[ ! -e %_bindir/printtool ]] && %__ln_s -f ../sbin/printerdrake %_bindir/printtool
:

%postun
for i in %_sbindir/kbdconfig %_sbindir/mouseconfig %_bindir/printtool;do
    [[ -L $i ]] && %__rm -f $i
done
:

%post http
%_post_service drakxtools_http

%preun http
%_preun_service drakxtools_http

%post newt
%update_menus

%postun newt
%clean_menus

%post -n harddrake-ui
%update_menus

%postun -n harddrake-ui
%clean_menus

%post -n harddrake
%_post_service harddrake

%preun -n harddrake
%_preun_service harddrake

%postun -n harddrake
file /etc/sysconfig/harddrake2/previous_hw | fgrep -q perl && %_datadir/harddrake/convert || :

%files backend -f %{name}-backend.list
%defattr(-,root,root)
%config(noreplace) /etc/security/fileshare.conf
%attr(4755,root,root) %_sbindir/fileshareset

%files newt -f %name.list
%defattr(-,root,root)
%_menudir/drakxtools-newt
%doc diskdrake/diskdrake.html
%_iconsdir/localedrake.png
%_iconsdir/large/localedrake.png
%_iconsdir/mini/localedrake.png

%files -f %{name}-gtk.list
%defattr(-,root,root)
/usr/share/autostart/net_applet.desktop
/usr/X11R6/bin/*

%files -n harddrake
%defattr(-,root,root)
%config(noreplace) %_initrddir/harddrake
%dir /etc/sysconfig/harddrake2/
%config(noreplace) /etc/sysconfig/harddrake2/previous_hw
%dir %_datadir/harddrake/
%_datadir/harddrake/*
#%_sysconfdir/X11/xinit.d/harddrake2

%files -n harddrake-ui
%defattr(-,root,root)
%dir /etc/sysconfig/harddrake2/
%_sbindir/harddrake2
%_datadir/pixmaps/harddrake2
%_menudir/harddrake-ui
%_iconsdir/large/harddrake.png
%_iconsdir/mini/harddrake.png
%_iconsdir/harddrake.png

%files http -f %{name}-http.list
%defattr(-,root,root)
%dir %_sysconfdir/drakxtools_http
%config(noreplace) %_sysconfdir/pam.d/miniserv
%config(noreplace) %_sysconfdir/init.d/drakxtools_http
%config(noreplace) %_sysconfdir/drakxtools_http/conf
%config(noreplace) %_sysconfdir/drakxtools_http/authorised_progs
%config(noreplace) %_sysconfdir/logrotate.d/drakxtools-http

%changelog
* Mon Jul 19 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-56mdk
- bootloader-config (pixel):
  o save prior boot loader config file (#10072)
  o don't unset prompt when timeout is undefined (and don't care when
    timeout is 0)
  o also add long name when adding add short name
- net_monitor:
  o add a border spacing of 5 pixel (Fabrice Facorat, #10299)
  o disable the connect button if up interface is found (there is
    currently no reliable way to find the gateway interface)
    (olivier blin)
  o use ifup/ifdown to connect/disconnect (olivier blin)
  o no need to be root to monitor connection (olivier blin)
- drakconnect (olivier blin):
  o make connection status check work as non root
  o do not write wireless encryption key if empty
  o use blacklist too for adsl connections

* Sat Jul 17 2004 Daouda LO <daouda@mandrakesoft.com> 10-55mdk
- remove historical consolehelper files (pam.d and console.apps)

* Thu Jul 15 2004 Olivier Blin <blino@mandrake.org> 10-54mdk
- drakboot: use bootloader and Xconfig instead of detect-resolution
- net_applet:
  o use drakconnect to configure network
  o use 'ip route show' to find the gateway device when no GATEWAYDEV
    is defined
- drakauth: add "Active Directory" through winbind (pixel)
- bootloader-config: fix installation on floppy (#10260) (pixel)
- drakedm: typo fix (lost -> lose) (rvojta)

* Thu Jul  8 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-53mdk
- bootloader-config (pixel):
  o nicer "usage: ..." 
  o add actions "add-entry" and "remove-entry"
  o add option --label
  o add option --chainload
  o rename --vmlinuz to --image
  o remove unneeded spaces in append=" foo"
  o handles "optional" in LILO
- drakbackup: fixes for Anthill #927 & #929 (filenames with spaces,
  .backupignore, gui behavior)
- drakboot: update bootsplash even if framebuffer was disabled (oblin)
- XFdrake: add 1024x480 (pixel, #5192)
- redo modules managment (prepare for reading either modprobe.conf or
  modules.conf based on the running kernel version) (pixel)
- fix build with new glibc

* Mon Jul  5 2004 Pixel <pixel@mandrakesoft.com> 10-53mdk
- drakxtools-backend needs ldetect-lst (for complete_usb_storage_info())

* Mon Jul  5 2004 Pixel <pixel@mandrakesoft.com> 10-52mdk
- ensure proper upgrade: explictly tell urpmi that old drakxtools-newt
  conflicts with drakxtools-backend
- drakauth: more features (vincent guardiola)
- drakconnect: pptp support (#6515) (olivier blin)
- localedrake: configure menu-method's language too so that altering
  language is done for KDE menu entries too (instead of just programs'
  messages) (Thierry Vignaud)

* Thu Jul  1 2004 Pixel <pixel@mandrakesoft.com> 10-51mdk
- create package drakxtools-backend
- bootloader configuration: misc fixes (pixel)
- XFdrake: fix typo causing multiple "Keyboard" entries in XF86Config
  (pixel, #10163)

* Thu Jul  1 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-50mdk
- drakupdate_fstab (oblin): fix moving mount point (#6982, #10175)
- drakauth: for Active Directory, allow: Kerberos, SSL/TLS, simple and
  anonymous (pixel)
- net_monitor (oblin):
  o always display a speed label for transmitted graph
  o allow the user to use different scales for received and
    transmitted (#10177)
  o always draw an arrow next to transmitted amount

* Tue Jun 29 2004 Pixel <pixel@mandrakesoft.com> 10-49mdk
- add bootloader-config (used by bootloader-utils and bootsplash scripts)
- drakboot (pixel):
  o major backend rewrite b/c of code sharing with new installkernel
  o when adding a new kernel, have a nicer new name for conflicting
    entry
  o when modifying kernel parameters in all entries, skip the
    "failsafe" entry (#10143)
  o when modifying a symlink, ensure we also use the long name for the
    old symlink in the existing entries
- drakconnect (Olivier Blin):
  o never disable "DHCP host name" entry box, it shouldn't be linked
    with "Assign host name from DHCP address" checkbox (#2759, #9981)
  o unblacklist sis900 since its link beat detection works with latest
    kernels
- draksound: remove unneeded "above" lines in modules::write_conf
  (Olivier Blin) (#8288)
- ugtk2 layer: catch missing wizard pixmap, otherwise we end up with
  unshown windows and error messages can't pop up (pixel)
- don't require mkbootdisk

* Wed Jun 23 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-48mdk
- drakboot (oblin):
  o ask for bootloader choice when framebuffer isn't configured (#9925)
  o do not update bootsplash in autologin wizard
- drakclock: be mouse wheel aware (oblin, #9926)
- drakconnect (olivier blin):
  o blacklists the sis900 driver (#9233) for network hotplugging
  o properly handle ascii WEP keys (#9884)
  o rephrase zeroconf dialog (cybercfo)
- drakxtv: fix tv driver not loaded on boot (oblin, #9112)
- localedrake: new default IM for CKJ
  o set up SCIM for chinese
  o set uo SCIM+UIM for japanese
- mousedrake: load usbhid instead of hid is now named (pixel, svetljo)
- XFdrake (pixel):
  o better auto monitor config
  o sync with bootsplash's detect-resolution

* Tue Jun 22 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-47mdk
- add net_applet (daouda)
- drakconnect: update ADSL ISP database (baud <baud123@tuxfamily.org>):
  o default to pppoa method whenever encapsulation is 6 (PPPoA VCmux),
  o default to pppoe method whenever encapsulation is 1 (PPPoE LLC)
  o add new ISP entries : Belgium ADSL Office, Brasil (4 ISP),
    Bulgaria ISDN/POTS, Greece, Switzerland BlueWin / Swisscom Telecom
    Italia/Office Users, Turboline Austria Telstra,
- harddrake2: do not display version number in title bar
- shorewall configuration: accept from fw to loc (florin)

* Mon Jun 21 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-46mdk
- harddrake service:
  o do not uselessy fork shells
  o faster auto mouse reconfiguration on major kernel switch
  o fix logs of newly added hardware
  o fix mouse autoconfiguration done on every boot instead of on 2.4.x/2.6.x
    switches
  o handle newly added wireless network card (broken since early 2004/02)
  o log error when we cannot run the config tool or when it isn't executable
  o only log about nv <-> nvidia swtich only if we do have to perform it
- harddrake GUI:
  o display media type for mass storage devices
  o enhanced data for mice and hard disks
  o fix undisplayed fields
  o show disk ID if we cannot guess its vendor string from it
  o show splited vendor and description fields for USB hard disks too
  o really ensure that "identification" section is displayed first
 
* Fri Jun 18 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-45mdk
- authentication: more LDAP work (pixel)
- drakbackup: fix .backupignore issue (stew)
- drakupdate_fstab: add support for floppies
- harddrake service:
  o mouse: autoreconfigure it when switching between 2.4.x and 2.6.x kernels
  o network: automatic config with DHCP of new cards
  o removable media: automatically config
  o x11:
    * do not automatically swtich from nv to nvidia driver (b/c the
      nvidia driver is buggy on some machines)
    * automatic configuration of new card
  o only stop the boot progress bar if we've a non automatic tool to run
- harddrake GUI:
  o show more data on SCSI disks
  o do not display USB disks in both harddisks and unknown sections
  o fix cpu and SCSI hd help
  o show right driver for USB devices (from /proc/bus/usb/devices)
  o enhanced help
  o show detailled data on bus connection
- interactive layer: display "cancel" button instead of "previous" in
  wizards' first step

* Mon Jun 14 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-44mdk
- diskdrake: fix hde devfs link (pixel)
- drakconnect: start to make strings more helpfull
- drakperm: enable drag 'n drop (only when looking at customized settings)
- draksec: do not show empty pages in notebook if security level is not set
- draksplash: make it work again...
- harddrake2:
  o do not list usb hard disk as unknown (fix doble entries)
  o fix misdetection of nvidia nforce ethernet cards (broken since forcedeth
    replaced nvnet on 2004-01-21 in MDK10's ldetect-lst)
  o ethernet card detection: only rely on driver for matching ethernet cards,
    thus preventing mislisting of other/unwanted devices and enableing to catch
    ldetect/ldetect-lst/detect_devices bugs where some devices are *not* seen by
    drakx and drakconnect.
  o display more data about hard disks (geometry, number of primary/extended
    partitions)

* Wed Jun  9 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-43mdk
- drakauth: add "Active Directory" authentication (WIP) (pixel)
- drakbackup: (stew)
  o deal with kernel ring buffer that is flooded with msgs for tape
    device detection (#9877)
  o GUI fixes
  o enforce binary ftp transfers
- drakconnect: (poulpy)
  o switch ONBOOT to on/off for isdn and adsl connections
  o new way to specify how to up connection for pppoe(xDSL) and
    others(ADSL)
  o rename /etc/ppp/peers/adsl as /etc/ppp/peers/ppp0 as we now use
    ifup-ppp for adsl, it will look for ppp0
- drakservices: add descriptions for NFS and SMB (#9940) (pixel)
- harddrake service: run it earlier (aka before network service)
- XFdrake: add resolution 1920x1200 called WUXGA (used by Dell Laptops
  Inspiron 8500, 8600 and Latitude D800) (#6795) (pixel)
- XFdrake, drakedm: switch to x.org  (pixel)

* Tue Jun  1 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-42mdk
- handle the nfs/smb service disabled (Olivier Blin)
- drakconnect:
  o handle interface w/o ip addresses
  o make LAN wizard more user friendly: move "manual choice" after 
    detected interfaces
  o detect again ethernet interfaces that are down (got broken in 10-38mdk)
- drakboot:
  o do not write partial GRUB config file (thus garbaging previous config) if an
    error occured
  o fix "two windows appears on canceling after an exception" bug

* Fri May 28 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-41mdk
- drakconnect:
  o fix protocol switching from manual to DHCP when stepping back in
    wizard
  o read VLAN and IP aliased interfaces config too
- drakbackup: fix typo in tape restore (Federico Belvisi).

* Fri May 28 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-40mdk
- drakconnect:
  o blacklist loopback interface in new detection scheme
  o switch from internet service to regular ifcfg files (poulpy) (WIP)
  o fallback on sysfs in order to get driver and card description when
    ethtool is not supported (eg: ipw2100 driver for intel centrino)

* Thu May 27 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-39mdk
- diskdrake (pixel):
  o allow /home on nfs (#7460)
  o disable package instead of removing nfs-utils or samba-server
    (when "diskdrake --fileshare" disables a export kind) (#9804)

* Thu May 27 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-38mdk
- detect aliased network interfaces too
- drakfirewall: handle BitTorrent (robert vojta)
- keyboardrake (pablo):
  o support more keyboards
  o Nepali uses devanagari script
- localedrake: handle Latgalian language (pablo)
- net_monitor: ignore sit0
- switch Japanese input method to "uim" (pablo)

* Tue May 25 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-37mdk
- drakbackup: fix dropped .txt files when running mkisofs (stew)
  (Anthill #799)
- drakconnect (#9669):
  o prevent identification mismatch on ethtool results
  o fix card name lookup when driver does not support GDRVINFO command
    from ETHTOOL ioctl and there's only one card managed by this
    driver
- switch from deprecated OptionMenu into new ComboBox widget

* Mon May 24 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-36mdk
- ugtk2:: still provide compat stuff for OptionMenu widget (#9826)
- drakTermServ: add /etc/modprobe* mount points for client hardware
  config (stew)

* Wed May 19 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-35mdk
- authentication:
  o fix winbind configuration and do the same for LDAP
    and NIS (vincent guardiola, pixel)
  o install autofs for nis authentication (florin & fcrozat)
- diskdrake: handle LABEL=foobar in /etc/fstab (pixel)
  (ex2/3 only for now, no xfs)
- drakclock: do saner check for ntp package (Robert Vojta)
- drakconnect:
  o fix speedtouch ADSL model (using kernel mode) (poulpy)
  o better LAN vs wireless filtering by using SIOCGIWNAME ioctl)
  o handle ipw2100 wireless driver
  o do not offer to set DOMAINNAME2 since it is never saved nor read
    (#9580)
  o kill "speedtouch and ISDN only work under 2.4 kernel" warnings
    (poulpy)
- drakfirewall: open more ports for samba
- harddrake service: do not run XFdrake in automatic mode
- misc cleanups & bug fixes (pixel)
- scannerdrake: fix firmware installation (till)
- XFdrake (pixel):
  o can now configure monitors on heads > 1
  o do not succeed automatic configuration (not auto_install) when
    there is many cards (as requested by Joe Bolin)
  o speed-up monitor choosing dialog when {VendorName} is undef
  o vmware doesn't like 24bpp (#9755)
  o defaults to the greatest depth rather than 24
- do not prefer devfs names when reading /proc/mounts (which uses
  devfs names) (pixel)
- ugtk2 layer: transparently replace obsolete OptionMenu widget by the
  new ComboBox widget

* Tue May  4 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-34mdk
- drakconnect:
  o fix last step of interface destruction wizard
  o wizard: take ISDN protocol into account for people outside Europe
    to use it (poulpy)
- drakupdate_fstab: fix adding twice an entry in fstab, one with the
  old name, one with the devfs name (pixel)
- XFdrake: kill XFree86 3.x support (pixel)

* Fri Apr 30 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-33mdk
- create ~/tmp if needed when running a program
- device managment: fix sdX <=> scsi devices mapping (especially for
  USB devices) (pixel)
- drakclock: time is displayed as HH:MM:SS with RTL languages
- drakconnect (poulpy):
  o manage interface: more gui layout fixes
  o try harder to locate firmware on windows partition (#3793)
  o no need to up ippp0 in net_cnx_up, it's been up'ed at startup
- harddrake gui: list SATA controllers in their own category (anthill
  #741)
- harddrake service: log removed/added hw
- localedrake: use utf8 if any of the languages chosen is utf8, not
  only the main one (pixel)

* Fri Apr 23 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-32mdk
- diskdrake, XFdrake: make --auto really not interactive
- drakconnect:
  o wizard: fix ISDN support (poulpy)
  o manage interface: smoother layout
- drakxtv:
  o fix brown paper bag bug regarding tv cards detection
  o sync card and tuner lists with 2.6.6-rc2
- harddrake GUI: split USB sontrollers and ports
  o new data structure
- harddrake service: autoconfigure X11, sound and removable media
- log more actions regarding modules managment in explanations

* Tue Apr 20 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-31mdk
- drakbackup: some drives don't return "ATIP info from disk" (stew)
- drakclock: check /etc/init.d/ntpd instead of /etc/ntp.conf for ntp
  installation (daouda)
- drakfont: fix font importing (#9423) (dam's)
- drakconnect (manage interface): fix insensitive IPADDR, NETMASK and
  GATEWAY fields by default are not sensitive by default in DHCP
  (broken by #8498 fix) (poulpyà

* Thu Apr  8 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-30mdk
- fix inverted translations in french catalog (#8217)
- fix drakxtools postuninstall script
- drakbackup (stew):
  o remove config-info (will be in a man page)
  o reuse more code from ugtk2 layer regarding cursors managment
  o combine/rework restore code
- drakTermServ (stew):
  o do not move existing dhcpd.conf
  o add an include for terminal-server instead
- drakups: update to new libconf-0.32 API (dam's)
- harddrake service: log nv<=>nvidia switches
- localedrake: set default font to use in KDE for devanagari and
  malayalam scripts
- ugtk2: fix faillure with perl-Gtk+-1.04x (#9411)

* Mon Mar 29 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-29mdk
- harddrake service: skip nv/nvidia test when there's no nvidia card

* Mon Mar 29 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-28mdk
- harddrake service: fix disabling nvidia driver (#9300)

* Fri Mar 26 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-27mdk
- drakconnect:
  o fix some bugs in ISDN configuration
  o warn than speedtouch only works with 2.4.x kernels for now
  o fix "manage interface" that broke speedtouch configuration
  o blacklist b44 for ifplugd
- drakboot blacklist again Savage gfx cards, they're broken again with
  lilo

* Wed Mar 24 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-26mdk
- diskdrake: tag removable medias as noauto in fstab file (pixel, #9076)
- drakboot: add nolapic support option (planel)
- drakclock (Robert Vojta, #9141):
  o display current timezone
  o sort servers
- drakclock, drakperm: GUI fixes (Robert Vojta: #9141, #9153)
- drakconnect:
  o complain louder about supported kernels for ISDN cards
  o enable to delete ADSL and ISDN connections
  o do not complain anymore about kernel when using bewan adsl modems
    since they works now with 2.6.x kernels
  o do write drakconnect config file when there's only one configured
    interface (#8998)
  o fix speedtouch support: use kernel mode on 2.6.x kernels
- drakgw: fix drakgw removing MII_NOT_SUPPORTED parameter from ifcfg
- drakTermServ: fix button layout
- drakxtv:
  o read current configuration (Scott Mazur)
  o fix setting options for bttv instead of saa7134 (#5612)
  o fix saa7134 detection (#5612)
  o fix wiping out /etc/modules.conf (Scott Mazur)
  o default canada-cable to NTSC (Scott Mazur)
  o handle tv cards managed by cx88 and saa7134 (#9112)
  o use right device (#3193)
  o offer to set the user to config (#3193)
  o sync with 2.6.3-4mdk
- firewall: do not write the REDIRECT squid rules if one has only one
  NIC connected to the net zone (florin)
- harddrake service: switch between nv and nvidia driver if commercial driver
  isn't installed
- keyboarddrake: az, tr and tr_f needs XkbOptions 'caps:shift' (pixel)
- logdrake: fix non first searches (#9115)

* Fri Mar 19 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-25mdk
- add missing icons for localedrake menu entry (dadou)
- diskdrake: fix compaq smart array support (pixel, #9029)
- drakboot: reread current bootsplash config (olivier blin, #8888)
- drakconnect:
  o always offer to restart adsl connections
  o fix bewan adsl modem support by providing an ad-how
    /etc/ppp/options
  o only warn about the fact we need 2.4.x kernel
    * when we're under 2.6.x
    * for bewan modem (not for other adsl modems) and pci rtc modems
  o only kill pppoa for sagem modem (fix bewan modem shutdown)
- draksound: install alsa-utils if needed (#6288)
- include drakups again

* Wed Mar 17 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-24mdk
- set window icon
- diskdrake: (pixel)
  o fix "xp does not boot anymore" (#7302, #7959, #8891)
  o add --change-geometry=<device>=[<cylinders>,]<heads>,<sectors>
  option in order to allow forcing the geometry used in the partition
  table. This allows helping poor Windows booting using old int13
  function 2.  This should work when Windows has not been resized.
- drakclock: fix server lookup (#8846)
- drakconnect:
  o do not pass eth interface and user to adsl-start, they're already
    provided in pppoe.conf (#2004)
  o fix pci modem support
  o fix SmartLink modem managment (#8959)
  o really fix modem symlink (#7967)
  o try harder to get a name (in wizard) and information (in manage
    interface) for cards whose driver do not support ethtool ioctl
  o update wanadoo dns servers ip addresses
  o wizard:
    * bewan support
    * fix adsl stop on pppoa links
    * preselect pppoa for bewan modems
    * for ADSL Bewan, ISDN and PCI modems, warn that only 2.4.x
      kernels are supported
    * only show encapsulation parameter for sagem modem
  o "internet access" window:
    * enable to alter hostname
    * do not offer to alter domain name since this is achievable
      through FQDN
- drakfont: make subdialogs be transcient for main window when not
  embedded
- drakedm: fix dm restart
- draksound (olivier blin, #8501):
   o do not alter oss<->alsa drivers mapping table
   o when current driver doesn't match current sound card, list
     alternatives for both current driver and the default driver
- drakTermServ: fix misnamed inittab (stew)
- drakupdate_fstab: choose wether to use supermount is now based on
  variable SUPERMOUNT in /etc/sysconfig/dynamic (pixel)
- harddrake2:
  o show module for system bridges if it's not unknown (aka not
    managed by kernel core)
  o update icons
- localedrake: list Filipino, Low-Saxon and Kyrgyz (pablo)
- logdrake: fix wizard
- service_harddrake:
  o remove /etc/asound.state *before* restarting sound service
  o add agpgart modules to modprobe.preload if needed

* Mon Mar 15 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-23mdk
- drakbackup: (stew)
  o install extra packages when using wizard too
  o report error on key transfer in GUI if needed
- drakboot:
  o list yes/no for autologin in a more intuitive way, that is yes is
    grouped with user and wm pull down menus (robert.vojta@qcm.cz,
    anthill #390)
  o always generate a precise entry using the precise version and
    remove the linux-2.4 or linux-2.6 (but keep the "linux" entry)
    (pixel)
- drakclock: make the ntpdate after stopping the ntpd (manu@agat.net,
  #8141)
- drakfont: make "install" button be insensitive when there's no
  selected fonts
- drakconnect:
  o fix misdetection of some network cards (aka do not try to match a
    physical device when SIOCETHTOOL ioctl is not supported) (#8010)
  o fix missing quotes around wireless encryption key (#8887)
  o wizard:
    * do not list anymore wireless cards in LAN connection, only in
      wireless connections
    * fix unlisted ADSL modems when there's no network card (#8611)
    * handle orinoco_pci and orinoco_plx driven card as wireless ones
    * skip "start on boot" step for LAN (already managed by network
      scripts)
    * write ether conf later on QA request
  o renew "internet access" window:
    * sanitize buttons layout (#8637)
    * sanitize fields layout
    * fix config reading/writing
    * fix connection status (#7800)
    * fix unlisted first dns server
  o manage interface:
    * do not write IPADDR, NETMASK and NETWORK fields in ifcfg-ethX
      when using DHCP (fix writing "no ip"/"no netmask" in config file)
    * default protocol is dhcp (fix fields checking when an interface
      isn't yet configured)
    * fix gateway setting (#6527)
- drakfirewall, drakgw: add ppp+ and ippp+ at the interfaces list
  (florin) (#8419)
- localedrake: always define KDM fonts dependending on encoding
  (pablo, #8714)
- logdrake: fix explanations in mcc that got broken by #8412 speedup
- printerdrake: install "scanner-gui" instead of "xsane" when it sets
  up an HP multi-function device (till)
- scannerdrake: install "scanner-gui" instead of "xsane", so that
  scanning GUI actually used can be determined by the system
  environment (till)

* Thu Mar 11 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-22mdk
- fix imm & ppa managment on kernel 2.6 (pixel)
- no entry in fstab for zips (now cleanly done by hotplug) (pixel)
- drakbackup (stew):
  o fix crash on first wizard run (#8654)
  o deal with mixture of formats on restore
  o do not save host passwd when user requests not to (#8700)
  o fix issue with first incremental pass not using base as
    comparison
  o support for plain tar (#8676)
- drakconnect wizard:
  o start to handle bewan ADSL modems
  o port old ISDN wizard upon new wizard layer
- drakfirewall, drakgw: network card name rather than just ethX in device list
  (florin and me)
- drakgw (florin):
  o add some tests for the REDIRECT squid rules
  o fix previous button on first step (anthill #386)
  o fix "sharing already configured" #8669 (florin)
  o fix the proxy REDIRECT shorewall rule,
  o fix the disable, enable functions
  o fix the shorewall interfaces configuration
  o really enable the proxy squid
- draksplash: make it works again
- drakTermServ (stew):
  o add gdm user if needed
  o autologin warning
  o copy server X keyboard config to client
  o default kernel version
  o default thin client setup
  o do not destroy "fat" client inittab
  o use std banner
- drakgw: fix previous button on first step (anthill #387)
- harddrake2: fix ISDN cards detection
- keyboardrake: list jp106 keyboard too (pablo)
- logdrake: searching speedup (#8412)
- printerdrake (till):
  o let URIs listed by "lpinfo -v" be shown in the dialog for entering
    a URI manually
  o make first dialog be somewhat clearer
- XFdrake: catch exception (#8726) (pixel)

* Wed Mar  3 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-21mdk
- drakconnect: add australia in adsl providers db (#5056)
- support cryptoloop and aes when using encryption on kernel 2.6 (pixel)

* Wed Mar  3 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-20mdk
- drakbackup: use preferred conf file read/write method (stew)
- drakconnect: hide dns settings by default when using dhcp
- drakupdate_fstab (pixel):
  o fix device removal
  o log calls
- printerdrake: fix HPOJ configuration when manually setting up a
  device (till)

* Tue Mar  2 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-19mdk
- fix doble ISDN detection (#6535)
- drakconnect: fix modem symlink (#7967)
- drakboot --boot is now a wizard
- printerdrake: fix missing "default settings" option in the printer
  options dialog (till)

* Tue Mar  2 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-18mdk
- drakboot (pixel):
  o if the default bootloader entry is invalid, choose another one
  o remove "VT8751 [ProSavageDDR P4M266] VGA Controller" (0x5333,
    0x8d04) from graphical lilo blacklist (#8133)
- drakconnect:
  o fix pci modem type matching
  o list pump in dhcp clients list (synced with ifup one)
  o preselect first availlable dhcp client (according to ifup priority
    list)

* Tue Mar  2 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-17mdk
- logdrake mail alert: fix crash due to icon renaming

* Mon Mar  1 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-16mdk
- adduserdrake: default to "man" icon (pixel)
- drakconnect manage interface: fix bootproto filling (#8498)
- harddrake2: update icons
- printerdrake (till):
  o do not configure the GIMP-Print plug-in on more than 50 users (#6423)
  o fix no "ptal:/..." in manual device URI list (#8483)
- scannerdrake (till): fix firmware not found by "gt68xx" SANE backend
  (#7242)

* Mon Mar  1 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-15mdk
- left align labels
- drakfirewall: remove the masq zone and add policies, rules only if
  there is an interface in loc (florin)
- draksec:
  o sanitize main explanation text
  o prevent pull-down menus to fill availlable space in packtables
- printerdrake (till):
  o fix HPOJ config
  o support new HP multi-function devices
  o better Lexmark X125 printer support

* Fri Feb 27 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-14mdk
- drakautoinst: support two-floppies boot style for replay_install
  disk as well (gc)
- drakbackup: fix tape backup/restore (#8284) (stew)
- drakconnect: fix crash on manually choosing modem again
- printerdrake: better layout for about dialog box (dadou)

* Thu Feb 26 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-13mdk
- drakconnect wizard:
  o never delete up/down scripts
  o only write internet service if start at boot requested
- banners: prevent shadow to be darker on theme switches

* Thu Feb 26 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-12mdk
- drakbackup: use ATAPI:/dev/hdX for both 2.4/2.6 compatibility (stew)
- drakconnect wizard:
  o do not ask for apply settings since most just have been written
  o only write ether config for lan...
  o install needed packages for pppoa, pppoe, pptp
- drakTermServ (stew):
  o really filter symlinked kernels. nohup the dm restart
  o don't let any kernel symlinks be visible for making NBIs
- harddrake-ui package: requires sane-backends so that scanner
  detection works smoothly (#8305)
- localedrake: use xim by default for CJK languages for which we don't
  ship good enough native gtk2 input methods (pablo)

* Wed Feb 25 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-11mdk
- harddrake service: 
  o look at sound cards changes on bootstrapping
  o when sound card is added/removed, delete current sound levels so
    that sound service reset it to sg sane

* Wed Feb 25 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-10mdk
- drakbackup: rework CD recording for ATA device setup (stew)
- drakconnect manage interface (poulpy):
  o modem configuration has been completed
  o write /root/.kde/share/config/kppprc for any local change

* Tue Feb 24 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-9mdk
- drakconnect: alter both /etc/analog/adiusbadsl.conf and
  /etc/eagle-usb/eagle-usb.conf when configuring sagemXXX

* Tue Feb 24 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-8mdk
- drakconnect wizard:
  o ethernet: fix module lookup for pcmcia cards
  o adsl ISP db (Benoit Audouard):
    * set default protocol to pppoa for various ISPs
    * update 9telecom entry
    * add encapsulation method for "tiscali 512k.fr"
    * fix wrongly inverted encapsulation methods for "Free" isp cnx
      offers
- drakTermServ (stew):
  o mknbi-set always wants a kernel version now
  o deal with conflicts with msec > 3 and exporting / (use
    no_root_squash).
  o always pass a kernel to mkinitrd-net (#8216)
  o add --restart option for terminal-server.
- printerdrake, scannerdrake: misc gui fixes (till)
- printerdrake (till):
  o give clear warning/error messages if a package installation fails
  o let printer model in first-time dialog also be shown if there is
    no description field in the device ID of the printer
- scannerdrake: ask user before installing packages (till)
 
* Mon Feb 23 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-7mdk
- drakconnect
  o add wizard:
    * always write up/down scripts
    * only write initscript when starting at boot was choosen
    * write ethX aliases and ifup/ifdown scripts when configuring a LAN
    connection
  o remove wizard:
    * when no network configuration is configured, just report it
    * only list configured interfaces when offering to delete them
    * keep ethX aliases b/c in order to prevent ethX be renumbered on
      next boot
    * down the network interface when deleting it

* Mon Feb 23 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-6mdk
- drakconnect: fix sagem8xx && speedtouch adsl modem scripts

* Mon Feb 23 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-5mdk
- drakconnect: write vci and vpi parameters in decimal base when
  configuring speedtouch

* Mon Feb 23 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-4mdk
- drakbackup (stew):
  o verify user has selected a cron interval and media (#8138)
  o tweak wizard setup
- drakconnect:
  o misc santizing in manual module loading
  o adsl provider db: fix vci number for Belgium and France (poulpy)
  o wizard:
    * modem:
      + enable one to manually choose the serial port to use while
        configuring modem
      + really default to dynamic dns, gateway and ip (really fix #7705)
      + do not overwrite current kppp settings with provider db ones
        but on provider switch
    * adsl: prevent having to choose between '' and 'adsl' connections
    * ethernet: enable one to manually load a driver like expert mode
      in old pre-10.0 wizard
  o manage interface:
    * modem:
      + read kppp authentication method
      + handle new PAP/CHAP method
    * ethernet:
      + handle and translate BOOTPROTO
      + do not complain about gateway format when it's not set
    * fix untranslated strings

* Fri Feb 20 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-3mdk
- drakconnect: fix empty vci/vpi paremeters when speetouch firmware
  wasn't provided
- logdrake: fix title when run from mcc (#8111)

* Fri Feb 20 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-2mdk
- drakboot/diskdrake updates regarding partition renumbering (pixel)
- drakconnect:
  o do not overwrite provider vpi/vci settings (poulpy)
  o detect more sagem 8xx modems
  o enable to refuse network restarting
  o add "Free non degroupe 1024/256" in adsl provider db
- drakperm: fix "current" checkbox vs "group" and "user" pull-down
  menus
- localedrake: better uim support (pablo)
- modules configuration: fix some agpgart aliases issues regarding
  2.4.x/2.6.x kernels (pixel)

* Fri Feb 20 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-1mdk
- drakconnect: fix writing modules aliases (fix broken speedtouch)
- drakbackup: use Gnome icon order (stew)

* Thu Feb 19 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.21mdk
- drakboot: fix theme displaying under console (Olivier Blin)
- drakconnect: since no PCMCIA cards support link status notification,
  ifplugd should be disabled for all pcmcia cards by default (#8031)
- XFdrake: kill spurious icons (pixel)
- fix some wrapping (pixel)
- do not use global scrolled window but many local scrolled windows
  instead (pixel)
- fix uim-xim input method (pablo)

* Thu Feb 19 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.20mdk
- fix broken "advanced" and "help" buttons (pixel)
- switch japanese from kinput2 to uim input method
- fix file dialog when embedded (#7984) (pixel)
- drakbackup (stew):
  o fix issue with multisession CDs (Anthill #349)
  o encourage user to finish configuring media before leaving wizard.
- drakvpn (florin):
  o add plenty of help files, add anonymous support for sainfo
  o add quite much help explanations
  o add anonymous support in sainfo
- harddrake2: sanitize buttons layout when embedded

* Wed Feb 18 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.19mdk
- diskdrake: type 0x17 can be ntfs
- drakbackup: rework backupignore behavior (Anthill #306) (stew)
- drakconnect
  o wizard:
    * do not use ifplugd on wireless connections by default
    * fix "network needs to be restarted" step
    * do not overwrite current wireless parameters with default
      values
    * tag some wireless options as advanced ones
  o manage interface:
    * update adsl (poulpy)
    * sanitize buttons layout

* Tue Feb 17 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.18mdk
- new default icon for wizards banner
- drakconnect
  o wizard:
    * handle atmel_cs wireless driver
    * sort lan protocols
  o manage interface: update (poulpy)
- drakvpn: one can now start from scratch with ipsec.conf (florin)
- enforce gnome button order everywhere
- harddrake: really fix doble blanked ISDN detection
- mousedrake (pixel):
  o detection defaults on automatic choices
  o fix mouse detection on kernel 2.4
- printerdrake: fix problem that not used parallel ports were detected
  as printers (till)

* Tue Feb 17 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.17mdk
- drakboot: remove bad entries after reading existing conf file (pixel)
- drakclock: let's look better when embedded
- drakconnect:
  o wizard:
    * explain about DNS (#7908)
    * fix automatically found "...2" dns when network is done
  o manage interface: check gateway entry (poulpy)
- drakfont: new banner style
- drakvpn:
  o fix drakvpn logic when translated
  o fix steps skiped b/c of translations
  o start to sanitize gui (more user friendly labels, pull-down menus, ...)
  o fix the ";" mark in the "Security Policies" section (florin)
- interactive layer: don't have a scroll inside a scroll which causes
  display pbs (#7433) (pixel)
- printerdrake (till):
  o recognize parallel printers also when they miss the
    "CLASS:PRINTER;" in their device ID string (ex: Brother HL-720,
    bug #7753)
  o warn when there's no network access
  o remove printer list button when there's no network also in expert
    mode.

* Sun Feb 15 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.16mdk
- fix harddrake crash (#7897)
- printerdrake (till):
  o handle weird printer ID strings, as the one of the Brother HL-720
    with empty manufacturer and description fields (#7753).
  o recognize also "SN:" as serial number field in printer ID string
    (HP PhotoSmart 7760, bug #6534).
  o load the "usblp" module instead of the "printer" one on kernel
    2.6.x

* Sat Feb 14 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.15mdk
- drakbackup: (stew)
  o FTP restore failure feedback
  o allow multiple catalog/file restore selection
- drakconnect:
  o fix automatically found "...2" dns server
  o fix crash on canceling "already configured net device"
    configuration (#7679)
  o by default do not start connection at boot for modems (#7705)
  o prevent displaying dummy empty fields in text mode (#7593)
- harddrake:
  o fix ISDN detection (#6535)
  o prevent detecting twice the same devices (#4906)
  o workaround sane-find-scanner detecting too much usb scanners
- center popup windows (pixel)
- don't have a wait_message above another empty wait_message when
  probing hardware (pixel)
- add support for embedding rpmdrake

* Fri Feb 13 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.14mdk
- drakboot: better grub support, esp. when /boot is a separate
  partition (pixel)
- diskdrake: reconfigure boot loader on partition renumbering
- wizards: add relief around trees and lists

* Fri Feb 13 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.13mdk
- all tools: new banner style
- add drakvpn (florin)
- drakbackup: fix crash on file search, failure to report ftp error
  (stew)
- drakconnect:
  o wizard:
    * fix wireless network interfaces detection
    * ask isp for ip and gateway by default (#7705)
  o manage interface: (poulpy)
    * fix adsl/eth confusion
    * fix apply button
- harddrake service: only probe for local printers
- harddrake2:
  o remove statusbar on interface team request
  o do not force black color for fields values which badly conflict
    with inverted accessibility themes
- fix module dependancies problem because of 2.4/2.6 mappings, better
  support 2.4 and 2.6 alltogether by keeping 2.4 names in modules.conf
  (gc)
- XFdrake: handle packages not found (#7786)

* Thu Feb 12 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.12mdk
- drakconnect:
  o preselect right protocol for ethernet though connections
  o only offer to connect now for ppp connections
  o fix module retrieving when configuring an adsl connection over
    ethernet
- authentication: (pixel)
  o install ldap packages *before* doing ldapsearch
  o pam*.so modules do not have /lib/security/ prefix anymore

* Thu Feb 12 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.11mdk
- drakconnect wizard:
  o fix choosing dhcp as adsl protocol
  o do not allow to step forward if no network card was found
    (workaround #7672)
- keyboardrake: support 2.6.x kernel (pixel)
- drakbackup: misc changes (stew)
- draksec: fix unable to save checks when config file is empty
- harddrake: support more webcams

* Tue Feb 10 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.10mdk
- fix poped dialogs when embedded (#7246) (pixel)
- drakbackup/drakTermServ: misc updates (stew)

* Mon Feb  9 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.9mdk
- drakconnect wizard:
  o fix unability to select gateway (#7585)
  o detect athX interfaces too (#7531)
- drakfont: fix crash on option toggling (#7248)

* Mon Feb  9 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.8mdk
- drakconnect wizard:
  o blacklist forcedeth for network hotplug (#7389)
  o fix ethernet devices description matching
  o fix unwritten ethernet interface config
  o fix empty list in "multiple internet_connexions" step
- fix vendor/description for some Lite-On drives
- ugtk2 layer: fix some layout (spurious space at window bottom)
  (pixel)

* Sun Feb  8 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.7mdk
- drakx11: make XFdrake startup be instantenous for non nv|ati cards
- drakTermServ: add PXE image support (Venantius Kumar)

* Fri Feb  6 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.6mdk
- move drakbug, drakclock, drakperm, draksec, drakTermServ,
  net_monitor in drakxtools since they require ugtk2 (#7413)
- workaround gtk+ bug #133489 (behaviour on click when in scrolled
  window) (pixel)
- drakboot: do not try anymore to set global video mode and compat
  option
- drakfirewall: handle ip ranges (#7172) (pixel)
- draksound: advertize alsaconf too since sndconfig failled for cards
  only managed by ALSA (#7456)
- logdrake: do not fail when disabling twice the alert mail cron
- mousedrake: allow changing protocol in standalone (pixel)

* Fri Feb  6 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.5mdk
- fix embedded apps

* Fri Feb  6 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.4mdk
- print --help on stdout rather than stderr (gc according to gnu std) 
- diskdrake: (pixel)
  o fix lvm support when devfs is not mounted
  o fix lvm extent sizing (fix illegal division by 0)
  o fix getting the output of pvs vgs lvs commands
  o fix get_lvs() (and use lvs instead of vgdisplay)
  o don't display start sector and cylinders used for LVs
  o display "Number of logical extents" of LVs
- drakbackup: provide more detailed info on files backed
  up/ignored. (Anthill #306) (stew)
- drakboot: write fstab for /tmp using tmpfs when "clean /tmp" is
  chosen (pixel)
- drakboot, drakconnect: fix some layouts
- drakconnect wizard:
  o fix pcmcia card config (#7401, #7431)
  o fix wireless settings (#7432, faillure to set parameters)
  o split wireless step into two steps since there way too much
    options
- draktermserv: fix user list in mdkkdm (stew)
- harddrake: fix module parameters with kernel-2.6.x
- keyboardrake, localedrake: fix some locales (pablo)
- mousedrake: use protocol "ExplorerPS/2" instead of "auto" for kernel
  2.6 (pixel)
- XFdrake: (pixel)
  o do not test X config under vmware (#5346)
  o allow 24bpp for DRI (since all drivers now support it)

* Mon Feb  2 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.3mdk
- drakconnect wizard:
  o support more wireless cards
  o split out "wireless connection" configuration out of "lan
    connections" path
- logdrake: (arnaud)
  o make cron script be able to use either local smtp server or a
    remote one
  o add "remove cron entry" on arnaud request

* Mon Feb  2 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.2mdk
- draconnect: preselect pppoa for speetouch again

* Mon Feb  2 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 10-0.1mdk
- harddrake: fix adsl modem detection
- draksound: handle new aureal drivers
- do not user ide-scsi emulation for ide ZIPs (pixel)
- do no ide-scsi emulation for cd burners with kernel-2.6.x (pixel)

* Mon Feb  2 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-28mdk
- drakconnect:
  o enable to set hostname even when using DHCP (#7230)
  o handle not loaded drivers (#7273)

* Fri Jan 30 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-27mdk
- drakconnect:
  o wizard:
    * fix configuring unconfigured eth interfaces
    * ignore spurious .directory entries when loading kppp provider db
    * do not offer to select dhcp client for static interfaces
  o manage: only show gateway for eth devices (poulpy)
- diskdrake (pixel):
  o fix overflows at 4GB when adding partitions
  o tell kernel to remove the extended partition
  o replace iocharset= with nls= for ntfs in /etc/fstab

* Thu Jan 29 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-26mdk
- drakconnect: use somewhat nicer interfaces name (eg: "eth0: 3com
  905") in manage interface (poulpy)
- drakTermServ: configure clients with defined IPs to set hostname so
  gnome works (stew)
- fix accentued characters with fr and ru locales (pablo)

* Thu Jan 29 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-25mdk
- drakconnect:
  o wizard:
    * fix ethernet network card list
    * fix interface config file writing
    * fix DHCP client installation
    * fix static/dhcp step branching
  o manage interface: (poulpy)
	* fix modem login fetching
	* use somewhat nicer interfaces name (eg: ethernet0 rather than
	  eth0)
     * fix adsl loading and saving
- draksec:
  o add help for newly introduced MAIL_EMPTY_CONTENT item
  o notify that shell timeout is in seconds
  o fix parsing of default values for multi argument msec functions
- net_monitor: do not force switch to last page on network interface
  reload

* Wed Jan 28 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-23mdk
- drakbackup: (stew)
  o another cron issue reported on Anthill
  o fix broken sys, other restore
- drakconnect:
  o new drakconnect wizard:
    * remaining issues: isdn and zeroconf config, bewan modem, isapnp
      cards, X11 behavior on name change
    * provider database for modem and adsl connections
    * renewed steps
    * show device name rather than ethX
    * modem:
      + handle CHAP/PAP
      + enable to use dynamic ip/dns/gateway
    * adsl:
      + update for eagle package replacing adiusb
      + detect eci modems and explain why we cannot handle them
  o manage part: update (poulpy)
- draksound: fix unwriten sound aliases when configuring not yet
  configured cards (#6988)
- printerdrake: kill stupid userdrake dependancy (gc)
- ugtk2 / interactive layers:
  o make trees and lists take all availlable space
  o pack/align checkboxes to left
  o rework window sizing: size all windows and add a scrollbar for the
    whole window if needed (not just around advanced settings) (pixel)
- misc fixes for 2.6.x kernels (gc, pixel & planel)

* Tue Jan 20 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-22mdk
- drakboot: add a warning telling to run lilo after modifying
  lilo.conf (#6924)
- drakconnect: enhanced "manage" part (poulpy)
- drakfirewall: add icmp support and "Echo request (ping)" choice
  (pixel)
- drakgw: transparent proxy support (florin)
- more kernel 2.6.x support (pixel)
- fix subdialogs when embedded (#6899)

* Thu Jan 15 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-21mdk
- prevent spurious top windows to appears when embedded in mcc

* Thu Jan 15 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-20mdk
- diskdrake:
  o more lvm2 support (pixel / Luca Berra)
  o update partition reread on kernel side and rebooting if needed (pixel)
- drakboot:
  o boot loader config: do not complain on canceling
  o graphical boot theme config:
    * handle grub too (bootsplash being independant of boot loader)
    * fix layout when embedded
- drakconnect: update manage interfaces (poulpy)
- drakTermServ: first time wizard (stew)

* Wed Jan 14 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-19mdk
- diskdrake: updated lvm2 support (pixel)
- drakboot: boot theme configuration is back (warly)
- drakboot, drakclock, drakconnect, drakfloppy, drakfont, drakperm,
  draksec: sanitize buttons bar
- drakedm: fix dm list
- printerdrake: sort printer models list

* Mon Jan 12 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-18mdk
- drakedm: when offering to restart dm, offer yes/no as choice rather
  than ok/cancel (#6810)
- drakdisk: sanitize buttons when working on mount points (smb,
  webdav, ...)
- drakfloppy: handle both kernel 2.4.x and 2.6.x (before size field
  was not properly when switching between threes b/c we looked for
  module.ko instead of module.o.gz and the like)
- drakfont: renew GUI through subdialogs
- localedrake: update languages list (pablo)
- printerdrake: do not push anymore help menu at right

* Mon Jan 12 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-17mdk
- drakfirewall: allow a range of ports (anthill bug #267) (pixel)
- drakfont:
  o fix unstalling fonts
  o sanitize application options, about, font import and font removeal
    layouts
- fix behavior when embedded in interactive layer:
  o prevent subwindows being too small
  o prevent subwindows breaking when canceled
- run_program layer: don't print refs in log when output is redirected
  (blino)
- wizards layer: only complain if a problem actually happened
- drakconnect:
  o first snapshot of new manage wizard (poulpy)
  o "delete network interface" wizard:
    * show a finish button on last step
    * exit once delete interface wizard has ended instead of then
      running the std add wizard...
    * list ppp interfaces too

* Fri Jan  9 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-16mdk
- support newer gtk2 bindings
- fix drakboot --boot embedding
- fix logdrake wizard when embedded

* Fri Jan  9 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-15mdk
- alias scannerdrake => drakscanner
- drakauth: integrate chkauth (which is now deprecated) (pixel)
- drakbackup: (stew)
  o DVD+RW support,
  o fix bogus cron message
- drakboot:
  o split it into bootloader and autologin configuration
  o drop no more handled keytable line in grub config file  (pixel)
  o simplify lilo boot message. Not mentioning the timeout parameter
    (#5429)  (pixel)
  o remove /boot/grub/messages and don't use the i18n command which
    are obsolete since grub doesn't handle it anymore (pixel)
- drakconnect: fix sagem800 configuration (poulpy)
- drakdisk: basic lvm2 support (pixel)
- drakfloppy must not be in drakxtools-newt, must now require mkbootdisk
  (which is not installed by default anymore)
- drakperm: do not discard 0 when perms are 0xx like
- drakTermServ: support new etherboot floppy image syntax and file
  locations (stew)
- drakxservices: fix descriptions (#1704) (pixel)
- enable other packages to override libDrakx translations with those
  from their own domains
- handle /etc/modprobe.preload
- harddrake: detect megaraid controllers as scsi ones
- harddrake service:
  o for removable devices, we've to remove/add them one by one, so
    when several devices of the same class are removed/added, we ask
    if we should handle them several time.
  o let ask confirmation once per class instead (olivier blin, #6649)
  o do no ask several times the kernel to switch into verbose mode
    (olivier blin)
  o really display which devices were removed
- misc cleanups
- tool layout:
  o add a separator below buttons
  o really pack the two button sets at edges
  o try to have a better layout when embedded: let's have only one
    scrollbar that scroll the whole window

* Tue Dec 30 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 9.3-14mdk
- ugtk2.pm: fix ask_dir dialog (#6152)

* Mon Dec 22 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-13mdk
- do not show useless "ignore" button when requesting root password
  through kdesu
- drakperm: keep changes when switching view moed
- drakclock:
  o prevent one to open zillions of sub dialogs
  o reuse std dialogs
  o remove stock icons
- fix buttons layouts and text wrapping in in drakboot, drakfloppy and
  drakperm
- logdrake's mail alert wizard: 
  o properly handle faillure
  o accept local user names as well as emails
- printerdrake, harddrake2: push help menu at right
- scannerdrake: (till)
  o add upload firmware feature 
  o configure non-root access to parallel port scanners automatically.

* Tue Dec  9 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-12mdk
- net_monitor:
  o properly handle multiple interfaces (each one having its own pixmap)
  o make it fit when embedded
  o kill icons on button
  o kill profile managment (duplicated features already availlable
    within mcc)
- drakconnect:
  o split in multiples pieces
  o move profile support into mcc
  o fix writing spurious "WIRELESS_NWID=HASH(0x8e93758)" in ifcfg-<intf>
  o add "delete an interface" wizard
- draksound: handle new snd-bt87x driver 

* Fri Nov 28 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-11mdk
- improve buttons layout in interactive written tools
- drakconnect:
  o fix sagem configuration
  o do not silently ignore internal errors
- drakgw:
  o make --testing somewhat more useful
  o log more explanations
  o really support embedding
- wizards: do not show up anymore banners when embeeded

* Tue Nov 25 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-10mdk
- detect serial MGE ups
- drakconnect:
  o fix #5664: list ppp0 for modem and adsl connections too and ippp0
    too for isdn ones
  o fix #6184: read back "Connection Name" and "Domain Name" fields
    when configuring modem
  o fix adsl configuration steps that were hidden
  o configure all isdn cards, not only the first one
  o fix "kid exited -1" warnings
  o handle zaurus connected through USB cables resulting in usbnet
    driver creating usbX interfaces
- mousedrake: default to "PS/2|Automatic" for ps/2 mice (automagically
  use IMPS/2 when needed)
- XFdrake: misc fixes

* Wed Nov 19 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-9mdk
- resync serial_probe with kudzu
- fix some untranslated strings

* Mon Nov 17 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-8mdk
- rebuild for reupload

* Sat Nov 15 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-7mdk
- fix links

* Fri Nov 14 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-6mdk
- drakconnect: fix speedtouch start/stop scripts when firmware is
  already there or when firmware installation is canceled
- harddrake2: do not show module if unknow for system bridges since
  it's normal
- harddrake service: remove net aliases if needed
- move clock.pl from mcc into drakxtools package
- provide drakclock, drakdisk, drakhardware, drakkeyboard, draklocale,
  draklog, drakmouse, draknet_monitor, drakprinter, drakx11 new names
- XFdrake: choose a not-to-bad default when X auto config fails in
  auto install

* Sat Nov  8 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-5mdk
- drakconnect:
  o fix lan always marked as detected even when no detection was performed or
    when there's no ethernet devices
  o list acx100_pci as a wireless network cards driver so that one can
    set wireless parameters for it (#6312)
- harddrake2: 
  o do not display "unknown module" in red for modems known to not
    need any module (#3047)
  o enumerate cpus from 1 instead of 0 (#4704)
  o typo fix #6134: (JAZ drives are nothing to do with jazz music)

* Fri Nov  7 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-4mdk
- drakconnect:
  o mcc view: fix network interfaces list update (really remove from
    the Gtk+ list lost interfaces)
  o prevent droping wireless parameters for modules not listed in
    wireless modules list
  o more usb wireless detection fix

* Thu Nov  6 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-3mdk
- drakconnect:
  o fix wireless cards detection (#3690, #4181, #5143, #5814, ...)
  o always list sagem_dhcp in list, showing it only in expert mode is
    confusing
- drakconnect/localedrake: fix a few unstranslated strings

* Wed Nov  5 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-2mdk
- drakbackup: enable bz2 compression option (stew)
- drakconnect: detect again unconfigured network interfaces

* Tue Nov  4 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.3-1mdk
- overall misc cleanups
- diskdrake: check both nfs servers version 2 and version 3, and
  remove duplicates (bug #6055) (pixel)
- drakconnect:
  o fix going back in some places (isdn, ...)
  o fix #6159: fix detection when a local name server is faking the
    connection because of its cache by checking at least a packet is
    ack-ed
  o translate a few strings (part of #5670)
  o handle more than 4 ethernet cards
- drakconnect, drakfirewall, drakgw: show up a combo box with detected
  network interfaces (but still let the user manually type it sg like
  ppp0 if needed) instead of letting the user guessing the network
  interface
- drakfont: support getting fonts from samba (Salane KIng)
- harddrake:
  o show isdn & adsl adapters too (adsl adapters were previously
    classed as modems)
  o use drakconnect to configure modems
- drakfirewall: translate services names
- "mail alert" wizard from logdrake:
  o save options into /etc/sysconfig/mail_alert instead of hardcoding
    them in the cron task and restore them when configuring it again
  o ensure services are always listed in the same order
  o send the mail only if there's really sg to warn about (aka do not
    sent empty mails)
  o generate perl_checker compliant cron tasks
- translations: updates, breakages

* Tue Nov  4 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-19mdk
- drakboot: disable lun detections for ide burners
- drakconnect:
  o fix empty fields in expert mode
  o fix anthill bug #50: ensure /etc/ppp/pap-secrets is not world
    readable since it contains password/user mapping for dialup
- net_monitor: handle multiple network interfaces

* Mon Oct 27 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-18mdk
- drakconnect:
  o do not blacklist anymore bcm4400 for network hotplugging
  o support ISDN usb adapters
- drakperm:
  o force user|group|other rights order in edit dialog
  o one was able to alter system rules in memory wheareas this is not
    supported since they're enforced by msec.
    disable "ok" button for system rules to prevent confusion.
- harddrake service: workaround anthill bug #18 (do not overwrite sound
  aliases when no hardware change occured)
- misc amd64 fixes (gwenole)
- net_monitor:
  o fix connection status detection
  o fix profile managment switch

* Thu Oct 16 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-17mdk
- drakbackup: all users overrides individual selection in wizard
  (#5916) (stew)
- drakconnect:
  o fix #425, #1881: wireless adapters settings were lost when
    altering network configuration when not from wizard mode
  o when steping back in wizard, do not overwrite first card
    parameters with last one's (#3276)
  o fix expert mode (lost checkboxes states when "expert mode" option
    is checked)
  o blacklist bcm4400 for network hotplugging
- drakfont:
  o fix ttf conversion (#5088)
  o log more explanations
- draksec: fix unsaved security administrator setting (#6103)
- misc chinese fixes (arnaud, pablo)
- printerdrake: fix lpd call (pablo)
- translations updates (pablo)
- misc amd64 fixes (gwenole)

* Fri Sep 19 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-16mdk
- drakconnect: fix #5825 (hostname set as ARRAY(0x...))

* Thu Sep 18 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-15mdk
- drakboot: (pixel)
  o fix switching from grub to lilo
  o fix drakboot crashing once bootloader has been altered in text
    mode
- printerdrake: further fix cups configuration (till)
- update translations

* Wed Sep 17 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-14mdk
- printerdrake: fix cups configuration regarding commented out rules

* Wed Sep 17 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-13mdk
- diskdrake: (pixel)
  o fix writting wrong types in fstab
  o fix handling of mount points with underscoresb (#5728)
  o do not check current partition for already used mount point
- drakauth : fix NIS managment (#5668) (pixel)
- drakhelp: load online drakbug help (daouda)
- draksound: (#5403)
  o make sure to use OptionMenu instead of Combo boxes
  o move help into a tooltip
- upate translations

* Tue Sep 16 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-12mdk
- diskdrake: (pixel)
  o fix growing ext2/ext3 partitions
  o handle beos partitions with filesystem befs (#5523)
- drakbackup:
  o use hd as default daemon media (stew)
  o fix translation issues (Arpad Biro)
  o fix user cron misbehavior (Keld Jørn Simonsen)
- drakTermServ:
  o fix translation issues (Arpad Biro)
  o fix help text format (stew)
- drakboot: when "Back" is pressed, restore the list of entries in
  bootloader (#5680) (pixel)
- drakbug: add support for bug submission about stable releases into
  anthill (stew)
- drakconnect: (poulpy)
  o fix adsl support regarding ppoe.conf (#5674)
  o fix speedtouch (#5056)
- draksound:
  o do not overwrite current driver if it's a viable driver for the
    current sound card (#5488)
  o show the current driver too (being preselected) so that users do
    not get confused
- drakupdate_fstab: fix supermount handling (pixel)
- fix hidden or cutted buttons (#1919, #2364, #2705, #3667, ...)
- fix expert mode resulting in advanced setting being displayed by
  default but label still being "advanced" instead of "basic" (#4353)
- harddrake service: switch to verbose mode when using bootsplash
  (warly)
- localedrake: fix chinese input (#4408)
- printerdrake: (till)
  o fix LIDIL devices management
  o really handle PSC 1xxx and OfficeJet 4xxx
  o added support for user-mode-only HPOJ devices (HP PSC 1xxx and
    OfficeJet 4xxx) (#5641)
- standalone tools: speedup startup by invoking "rpm -qa" only once (fpons)
- XFdrake:
  o use 24bit for fglrx in automatic mode (fpons)
  o prevent lost Xauth access (pixel)
  o fix logout from gnome (pixel)
  o fix not translated test page (pixel)

* Thu Sep 11 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-11mdk
- drakboot: misc fixes (pixel, fpons)
- drakconnect:
  o do not set hostname if there's a dynamic interface
  o fix firmware loading (poulpy)
  o fix profiles with spaces in name (#5586)
- drakfont: fix faillure to install fonts (#5571)
- drakfirewall: make it work with dialup connexion (#4424) (florin)
- drakgw: fix canceling info steps (florin)
- harddrake2:
  o fix freeze while configuring modules (infamous #4136)
  o warn about no module parameters instead of not showing the dialog
- localedrake: configure kdmrc too (pixel)
- logdrake: always display the log domain names in the same order
- printerdrake: help making printerdrake icon bar be shorter (#5282)
- update wizard banners (davod beidebs)
- XFdrake: handle ati drivers (nplanel, fpons)

* Tue Sep  9 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-10mdk
- disdrake: fix userdrake not runnable (#5447) (pixel)
- drakboot:
  o fix too small kernels window width (#5040)
  o fix too big main window
- drakconnect:
  o when no profile is set, use default one (poulpy)
  o add support for sagem dhcp (francois)
- drakperm: do not complain about saving on view change
- drakxtv: install xawtv if needed (#5130)
- logdrake: fix infinite entries (#5448)
- printerdrake: fix options saving (#5423) (till)

* Mon Sep  8 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-9mdk
- drakfont: fix not being able to select directories (#4964)
- drakconnect:
  o fix profiles managment (poulpy & tv)
  o fix firmware loading (#5307, poulpy)
- fix net_monitor not working as root
- printerdrake:
  o use new help scheme (daouda)
  o reread database when switching between normal and expert mode
    (till)
- scannerdrake: complain if saned could not be installed
- XFdrake: use OptionMenu's rather than Combo's (more consistent gui
  and better behavior when embedded)

* Sun Sep  7 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-8mdk
- localedrake: configuration fixes (gc)
- drakgw: fix #2120 & #2405 (florin)
- drakconnect: (poulpy)
  o workaround messed up ppp0 configration
  o fix profiles

* Thu Sep  4 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-7mdk
- diskdrake: fix #5204 (pixel)
- drakbackup: fix untranslatable strings, ... (stew)
- drakconnect:
  o fix #5242: loop on winmodem connection if no windomem but winmodem
    is selected
  o offer to select modem device
- fix buildrequires for 64bits ports
- fix lsnetdrake on AMD64 (gwenole)

* Sun Aug 31 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-6mdk
 - drakboot: default parameters are those of the default target (pixel)
 - drakedm: in non expert mode, only display the list of *installed* display
   managers
 - drakfloppy, drakconnect: fix more dialogs height
 - fix requires

* Thu Aug 28 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-5mdk
- drakhelp: add support for contextual help (daouda)
- explanations are back (pixel)
- fix autologin for xdm (pixel)
- drakconnect:
  o fix dialogs height
  o fix #4372 (poulpy)
  o profiles are back
- printerdrake: new GUI (till)

* Wed Aug 27 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-4mdk
- drakconnect:
  o non wizard gui
    * fix hostname setting
    * set hostname at the same time we apply dns changes (on apply
      button press)
  o both wizard and non wizard modes: (poulpy)
    * fix #4363
    * fix speedtouch firmware file name
- drakxtv: resync with kernel's bttv
- printerdrake: misc fixes (till)

* Tue Aug 26 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-3mdk
- drakconnect (non wizard gui):
  o add --skip-wizard option to get into non wizard mode
  o hide profile in "internet config" dialog if profiles are disabled
  o "Configure hostname..." button: offer to configure DNS too
  o only allow to run one wizard at once
  o reload the configuration once the wizard exited
  o prevent one to do concurrent config changes from the gui while the
    wizard is run
  o only write conf & install packages on exit if something really has
    been altered so that we do not write the config twice if the
    "apply" button was already pressed

* Tue Aug 26 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-2mdk
- diskdrake: (pixel)
  o fix WebDAV configuration embedding (#4703)
  o use fs=ext2:vfat or fs=udf:iso9600 for supermount-ng
- printerdrake: misc fixes (till)
- service_harddrake: prevent depmod to be runned everytime
- XFdrake: more fixes for multilayout keyboards

* Mon Aug 25 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-1mdk
- drakfloppy: make it CJK aware
- drakTermServ: add /etc/modules for local hardware config (stew)
- fix #4579: drakconnect not working on console (poulpy)
- printerdrake: misc fixes (till)

* Sat Aug 23 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-0.35mdk
- drakperm:
  o add new rules at top
  o always display editable rules before non editable ones
  o disable up button when selected rule is the first one
  o disable down button when selected rule is the latest one or when
    next rule is non editable
  o fix moving up/down rules
  o fix no saving if we've sort rules

* Sat Aug 23 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-0.34mdk
- disdrake: explain why ntfs resizing had failled (pixel)
- drakbackup: (stew)
  o fix crash on file select of "Other" finish custom cron
    configuration
  o normal users can now do cron backups
- drakconnect:
  o fix no detection in expert mode
  o better firmware load from floppy managment (poulpy)
  o fix pppoa use for speedtouch USB (poulpy)
- drakfirewall: add samba in services list
- drakperm: make security level menu be more understandable & usuable
- draksec: translate default value in help tooltips too
- fix CJK wrapping in more places (#3670 and the like)
- make interactive button order be the same as gtk dialogs one and our
  dialogs but only in standalone mode
- misc fixes from pixel

* Thu Aug 21 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-0.33mdk
- fix CJK wrapping in interactive tools (#4642)
- remove ugly border around standalone tools
- wizards: increase height to prevent some hidden or cutted buttons
- diskdrake: fix small unallocated area at the end of the drive
  (pixel)
- drakconnect: (poulpy)
  o allow user to copy firmware from a floppy
  o fix another back step
  o fix wrong url
- drakxtv: only offer to configure xawtv if bttv was configured
- XFdrake: fix #3976 (francois)
- update keyboards list & translations (pablo)

* Tue Aug 19 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-0.32mdk
- pci hardware discovery: do full-probe by default
- show advanced options by default if --expert was passed or if expect
  checkbox was checked (#4353)
- drakconnect: fix internet reconnection (poulpy)

* Tue Aug 19 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-0.31mdk
- drakbackup: user definable crontab entry (stew)

- drakconnect:
  o fix up/down interface detection (poulpy)
  o fix some more previous buttons in drakconnect wizard mode
  o fix crash on interface enabling/disabling
  o fix lan changes (#4088)

- drakfloppy:
  o fix long-standing broken mkbootdisk call bug
  o sort modules and directories in treeview
  o save the options & modules list on exit and them restore it on
    load
  o try to be more user friendly:
    * if no error, display a success message, then exit
    * on error, instead of displaying the raw exit code that has no
      meaning for the end user, display in red the log message of mkbootdisk
    * remove insane expert button and so called expert frame

- drakpxe: match new pxe dhcp.conf configuration file (francois)

- harddrake2:
  o display the right fields description when no device is selected
  o make dialogs be modals and transcient

- diskdrake: (pixel)
  o fix lvm managment(#4239)
  o fix underscores being underlines (#4678)
  o fix interaction with mcc

- fix misc issues with shadow passwords and package managment
  (francois/pixel)
* Sun Aug 17 2003 Damien Chaumette <dchaumette@mandrakesoft.com> 9.2-0.30mdk

- drakconnect mcc: 
  - allow hostname change
  - dhcp to static fixes

* Tue Aug 12 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 9.2-0.29mdk
- drakconnect: fix message (#4564)
- drakbackup: (stew)
  o fix #4381
  o search for files to restore
  o fix looping in catalog restore
  o gui enhancements (fabrice facorat)
  o deal with users that are deleted from the system (#4541)
- drakxtools depends on gurpmi
- lot of misc bug fixes

* Thu Aug  7 2003 Pixel <pixel@mandrakesoft.com> 9.2-0.28mdk
- drakxservices: xinetd services have a special treatment
- localedrake: fix the "zh_TW with country China" case
- no more stock icons 

* Mon Aug  4 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 9.2-0.27mdk
- ugtk2.pm:
  - revert "use checkboxes instead of icons"
  - fix not possible to select with mouse anymore (rpmdrake etc)

* Mon Aug  4 2003 Pixel <pixel@mandrakesoft.com> 9.2-0.26mdk
- various fixes
- clean tarball with no Makefile_c (thanks to Christiaan Welvaart)

* Sat Aug  2 2003 Pixel <pixel@mandrakesoft.com> 9.2-0.25mdk
- drakauth first appearance
- diskdrake --nfs and --smb:
  o instead of removing the "Search servers" button when the search is over,
    keep it to allow searching for new servers
    (the label is changed from "Search servers" to "Search new servers") (bug #4297)
- XFdrake
  o use something like """Virtual 1280 960""" instead of """Modes "1280x960" "1024x768" "800x600" "640x480""""
  o fix test dialog box
- drakbackup (various changes)
- drakboot
  o allow to choose /dev/fd0 for the boot device
  
* Thu Jul 24 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-0.24mdk
- drakbug:
  o use option menus instead of combos
  o use std button layout
- drakconnect:
  o double click on ethernet interface list lines run lan config
    dialog
  o remove nonsense expert button
- drakperm: fix crash on adding new permission
- harddrake: fix #4258
- mousedrake: use std button layout
- ugtk2:
  o add infrastucture for rpmlint toggle (semi-selected state mis-functionnal)
  o restore mouse selection

* Thu Jul 24 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-0.23mdk
- drakperm:
  o main window:
    * "ok" button should exit after having saved the preferences
    * localize levels in option menu
  o preferences dialog :
    * fix preferences saving on  exit
    * fix tips
- draksec:
  o restore help for msec checks
  o enhanced help in tooltips

* Thu Jul 24 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-0.22mdk
- drakautoinst, drakper, draksound, and many other tools: use option
  menus instead of combo boxes when the user is selecting from a fixed
  set of options
- drakboot: hide non working splash stuff
- drakperm:
  o sanitize gui (upcased labels, understandable labels, ...)
  o settings dialog:
    * localize all fields
    * add tips for all check boxes
    * use std button layout
    * use stock icons
  o rules toolbar: use stock icons
- net_monitor: fix crash on profile change due to netconnect api
  change

* Wed Jul 23 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-0.21mdk
- drakbackup: misc fixes (stew)
- drakboot: directly configure gdm & kdm
- drakconnect: fix #4050
- drakfont: fix #1679 & #3673
- drakgw:
  o fix not being able to step backward
  o fix canceling resulting in broken dhcp config
  o make --testing option being usefull
- drakhelp: fix no help for de/it/ru locales (daouda)

* Tue Jul 22 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-0.20mdk
- drakconnect: fix "lan config" dialog where fields were not filled
- draksec: vertically align OptionMenus

* Mon Jul 21 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-0.19mdk
- diskdrake, drakconnect: add an help button in standalone mode
- draksec
  o describe all security levels
  o make it clear that security admin is not a security level
  o colorize security levels names
  o do not offer to set syadmin when reports are disabled
  o fix infamous "when embedded draksec can be enlarged but never shrink back"
  o make 1st tab title somewhat clearer
- harddrake2: workaround buggy gtk+-2.x that do not enable wrapping textviews when
  realized
- renew drakconnect wizard gui (2/x):
  o make previous button always be availlable when configuring lan
  o keep user changes when going back to main connection types menu
  o do not loop if one refuse to save changes, just skip the save step
  o fix final success message
  o really translate type connection to be translated
  o try to get more space on screen
  o dhcp host name cannot be set if one want to get it from dhcp server

* Sat Jul 19 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-0.18mdk
- draksec:
  o sort functions & checks when writing configuration
  o really fix config load

* Fri Jul 18 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-0.17mdk
- draksec:
  o fix preferences loading & saving
  o sort again functions & checks

* Thu Jul 17 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-0.16mdk
- do not exit the whole application when one destroy a dialog
- drop gtk+1 requires
- renew drakconnect gui (1/x):
  o embedded mode:
    * remove ugly icon
    * fix internet gateway buttons layout
    * smaller dialogs
    * correctly align fields in "lan configuration" dialog
    * run wizard in background (no more main window freeze until
      wizard exit)
  o wizard mode:
    * proxy configuration step: do not go back two steps back on
      "previous" click, but only one back
    * properly use checkboxes (do not put extra labels before when
      checkbox's label is empty)
- wizard mode:
  o stock items in wizards for previous/next
  o do not force permanent center of wizard windows, which is not
    user-friendly
  o always use s/TextView/Label/ 

* Tue Jul 15 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 9.2-0.15mdk
- drakbackup, drakperm: fix button layout
- drakboot, drakfloppy: use option menus rather than non editable
  combo
- drakboot:
  o grey theme config instead of hiding it
  o describe user and desktop lists
- drakfloppy: grey remove button if no module to remove in modules
  list