diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-23 21:00:35 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-23 21:00:35 +0200 |
commit | 72b5cfbf049608eaeb28eb35bbcabfbf7257b1bf (patch) | |
tree | 54ba5a5a1501aca855b4c9c362977bf36edbcfc7 /kde | |
parent | 04a12e09282e2ea1e6889bd5f009aa2afee099b1 (diff) | |
download | nutyx-pakxe-72b5cfbf049608eaeb28eb35bbcabfbf7257b1bf.tar.gz nutyx-pakxe-72b5cfbf049608eaeb28eb35bbcabfbf7257b1bf.tar.bz2 nutyx-pakxe-72b5cfbf049608eaeb28eb35bbcabfbf7257b1bf.tar.xz nutyx-pakxe-72b5cfbf049608eaeb28eb35bbcabfbf7257b1bf.zip |
Ajout de kdeadmin#4.3.0-1
Diffstat (limited to 'kde')
-rw-r--r-- | kde/kdeadmin/.footprint | 132 | ||||
-rw-r--r-- | kde/kdeadmin/.md5sum | 2 | ||||
-rwxr-xr-x | kde/kdeadmin/Pkgfile | 23 | ||||
-rwxr-xr-x | kde/kdeadmin/nutyx-2008.patch | 301 | ||||
-rwxr-xr-x | kde/kdeadmin/nutyx.png | bin | 0 -> 1081 bytes |
5 files changed, 458 insertions, 0 deletions
diff --git a/kde/kdeadmin/.footprint b/kde/kdeadmin/.footprint new file mode 100644 index 000000000..c1af24ad5 --- /dev/null +++ b/kde/kdeadmin/.footprint @@ -0,0 +1,132 @@ +drwxr-xr-x root/root opt/ +drwxr-xr-x root/root opt/kde/ +drwxr-xr-x root/root opt/kde/bin/ +-rwxr-xr-x root/root opt/kde/bin/kpackage +-rwxr-xr-x root/root opt/kde/bin/ksystemlog +-rwxr-xr-x root/root opt/kde/bin/kuser +drwxr-xr-x root/root opt/kde/lib/ +drwxr-xr-x root/root opt/kde/lib/kde4/ +-rwxr-xr-x root/root opt/kde/lib/kde4/kcm_cron.so +-rwxr-xr-x root/root opt/kde/lib/kde4/kcm_knetworkconfmodule.so +drwxr-xr-x root/root opt/kde/share/ +drwxr-xr-x root/root opt/kde/share/applications/ +drwxr-xr-x root/root opt/kde/share/applications/kde4/ +-rw-r--r-- root/root opt/kde/share/applications/kde4/kpackage.desktop +-rw-r--r-- root/root opt/kde/share/applications/kde4/ksystemlog.desktop +-rw-r--r-- root/root opt/kde/share/applications/kde4/kuser.desktop +drwxr-xr-x root/root opt/kde/share/apps/ +drwxr-xr-x root/root opt/kde/share/apps/knetworkconf/ +drwxr-xr-x root/root opt/kde/share/apps/knetworkconf/backends/ +-rwxr-xr-x root/root opt/kde/share/apps/knetworkconf/backends/debug.pl +-rwxr-xr-x root/root opt/kde/share/apps/knetworkconf/backends/file.pl +-rwxr-xr-x root/root opt/kde/share/apps/knetworkconf/backends/general.pl +-rwxr-xr-x root/root opt/kde/share/apps/knetworkconf/backends/network-conf +-rwxr-xr-x root/root opt/kde/share/apps/knetworkconf/backends/network.pl +-rwxr-xr-x root/root opt/kde/share/apps/knetworkconf/backends/parse.pl +-rwxr-xr-x root/root opt/kde/share/apps/knetworkconf/backends/platform.pl +-rwxr-xr-x root/root opt/kde/share/apps/knetworkconf/backends/process.pl +-rwxr-xr-x root/root opt/kde/share/apps/knetworkconf/backends/replace.pl +-rwxr-xr-x root/root opt/kde/share/apps/knetworkconf/backends/report.pl +-rwxr-xr-x root/root opt/kde/share/apps/knetworkconf/backends/service-list.pl +-rwxr-xr-x root/root opt/kde/share/apps/knetworkconf/backends/service.pl +-rwxr-xr-x root/root opt/kde/share/apps/knetworkconf/backends/util.pl +-rwxr-xr-x root/root opt/kde/share/apps/knetworkconf/backends/xml.pl +drwxr-xr-x root/root opt/kde/share/apps/knetworkconf/pixmaps/ +-rw-r--r-- root/root opt/kde/share/apps/knetworkconf/pixmaps/ark.png +-rw-r--r-- root/root opt/kde/share/apps/knetworkconf/pixmaps/blackpanther.png +-rw-r--r-- root/root opt/kde/share/apps/knetworkconf/pixmaps/conectiva.png +-rw-r--r-- root/root opt/kde/share/apps/knetworkconf/pixmaps/debian.png +-rw-r--r-- root/root opt/kde/share/apps/knetworkconf/pixmaps/fedora.png +-rw-r--r-- root/root opt/kde/share/apps/knetworkconf/pixmaps/freebsd.png +-rw-r--r-- root/root opt/kde/share/apps/knetworkconf/pixmaps/gentoo.png +-rw-r--r-- root/root opt/kde/share/apps/knetworkconf/pixmaps/kubuntu.png +-rw-r--r-- root/root opt/kde/share/apps/knetworkconf/pixmaps/mandriva.png +-rw-r--r-- root/root opt/kde/share/apps/knetworkconf/pixmaps/openna.png +-rw-r--r-- root/root opt/kde/share/apps/knetworkconf/pixmaps/pld.png +-rw-r--r-- root/root opt/kde/share/apps/knetworkconf/pixmaps/redhat.png +-rw-r--r-- root/root opt/kde/share/apps/knetworkconf/pixmaps/slackware.png +-rw-r--r-- root/root opt/kde/share/apps/knetworkconf/pixmaps/specifix.png +-rw-r--r-- root/root opt/kde/share/apps/knetworkconf/pixmaps/suse.png +-rw-r--r-- root/root opt/kde/share/apps/knetworkconf/pixmaps/turbolinux.png +-rw-r--r-- root/root opt/kde/share/apps/knetworkconf/pixmaps/vine.png +-rw-r--r-- root/root opt/kde/share/apps/knetworkconf/pixmaps/yoper.png +drwxr-xr-x root/root opt/kde/share/apps/kpackage/ +-rw-r--r-- root/root opt/kde/share/apps/kpackage/kpackageui.rc +drwxr-xr-x root/root opt/kde/share/apps/kpackage/pics/ +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/bnew.png +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/bsd.png +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/bupdated.png +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/cross.png +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/dbad.png +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/deb.png +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/dnew.png +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/dupdated.png +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/ftin.xpm +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/ftout.xpm +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/kiss.png +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/knew.png +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/kupdated.png +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/noball.png +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/ptick.png +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/question.png +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/rnew.png +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/rpm.png +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/rupdated.png +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/slack.png +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/snew.png +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/supdated.png +-rw-r--r-- root/root opt/kde/share/apps/kpackage/pics/tick.png +drwxr-xr-x root/root opt/kde/share/apps/ksystemlog/ +-rw-r--r-- root/root opt/kde/share/apps/ksystemlog/ksystemlogui.rc +drwxr-xr-x root/root opt/kde/share/apps/kuser/ +drwxr-xr-x root/root opt/kde/share/apps/kuser/icons/ +drwxr-xr-x root/root opt/kde/share/apps/kuser/icons/oxygen/ +drwxr-xr-x root/root opt/kde/share/apps/kuser/icons/oxygen/22x22/ +drwxr-xr-x root/root opt/kde/share/apps/kuser/icons/oxygen/22x22/actions/ +-rw-r--r-- root/root opt/kde/share/apps/kuser/icons/oxygen/22x22/actions/user-group-delete.png +-rw-r--r-- root/root opt/kde/share/apps/kuser/icons/oxygen/22x22/actions/user-group-properties.png +-rw-r--r-- root/root opt/kde/share/apps/kuser/kuserui.rc +drwxr-xr-x root/root opt/kde/share/apps/kuser/pics/ +-rw-r--r-- root/root opt/kde/share/apps/kuser/pics/group.png +-rw-r--r-- root/root opt/kde/share/apps/kuser/pics/user.png +drwxr-xr-x root/root opt/kde/share/config.kcfg/ +-rw-r--r-- root/root opt/kde/share/config.kcfg/kpackageSettings.kcfg +-rw-r--r-- root/root opt/kde/share/config.kcfg/kuser.kcfg +drwxr-xr-x root/root opt/kde/share/icons/ +drwxr-xr-x root/root opt/kde/share/icons/hicolor/ +drwxr-xr-x root/root opt/kde/share/icons/hicolor/128x128/ +drwxr-xr-x root/root opt/kde/share/icons/hicolor/128x128/apps/ +-rw-r--r-- root/root opt/kde/share/icons/hicolor/128x128/apps/kpackage.png +-rw-r--r-- root/root opt/kde/share/icons/hicolor/128x128/apps/kuser.png +drwxr-xr-x root/root opt/kde/share/icons/hicolor/16x16/ +drwxr-xr-x root/root opt/kde/share/icons/hicolor/16x16/apps/ +-rw-r--r-- root/root opt/kde/share/icons/hicolor/16x16/apps/knetworkconf.png +-rw-r--r-- root/root opt/kde/share/icons/hicolor/16x16/apps/kpackage.png +-rw-r--r-- root/root opt/kde/share/icons/hicolor/16x16/apps/kuser.png +drwxr-xr-x root/root opt/kde/share/icons/hicolor/22x22/ +drwxr-xr-x root/root opt/kde/share/icons/hicolor/22x22/actions/ +-rw-r--r-- root/root opt/kde/share/icons/hicolor/22x22/actions/network_connected_lan_knc.png +-rw-r--r-- root/root opt/kde/share/icons/hicolor/22x22/actions/network_disconnected_lan.png +-rw-r--r-- root/root opt/kde/share/icons/hicolor/22x22/actions/network_disconnected_wlan.png +-rw-r--r-- root/root opt/kde/share/icons/hicolor/22x22/actions/network_traffic_wlan.png +drwxr-xr-x root/root opt/kde/share/icons/hicolor/22x22/apps/ +-rw-r--r-- root/root opt/kde/share/icons/hicolor/22x22/apps/knetworkconf.png +-rw-r--r-- root/root opt/kde/share/icons/hicolor/22x22/apps/kpackage.png +-rw-r--r-- root/root opt/kde/share/icons/hicolor/22x22/apps/kuser.png +drwxr-xr-x root/root opt/kde/share/icons/hicolor/32x32/ +drwxr-xr-x root/root opt/kde/share/icons/hicolor/32x32/apps/ +-rw-r--r-- root/root opt/kde/share/icons/hicolor/32x32/apps/knetworkconf.png +-rw-r--r-- root/root opt/kde/share/icons/hicolor/32x32/apps/kpackage.png +-rw-r--r-- root/root opt/kde/share/icons/hicolor/32x32/apps/kuser.png +drwxr-xr-x root/root opt/kde/share/icons/hicolor/48x48/ +drwxr-xr-x root/root opt/kde/share/icons/hicolor/48x48/apps/ +-rw-r--r-- root/root opt/kde/share/icons/hicolor/48x48/apps/kpackage.png +-rw-r--r-- root/root opt/kde/share/icons/hicolor/48x48/apps/kuser.png +drwxr-xr-x root/root opt/kde/share/icons/hicolor/64x64/ +drwxr-xr-x root/root opt/kde/share/icons/hicolor/64x64/apps/ +-rw-r--r-- root/root opt/kde/share/icons/hicolor/64x64/apps/kpackage.png +-rw-r--r-- root/root opt/kde/share/icons/hicolor/64x64/apps/kuser.png +drwxr-xr-x root/root opt/kde/share/kde4/ +drwxr-xr-x root/root opt/kde/share/kde4/services/ +-rw-r--r-- root/root opt/kde/share/kde4/services/kcm_cron.desktop +-rw-r--r-- root/root opt/kde/share/kde4/services/kcm_knetworkconfmodule.desktop diff --git a/kde/kdeadmin/.md5sum b/kde/kdeadmin/.md5sum new file mode 100644 index 000000000..643620b67 --- /dev/null +++ b/kde/kdeadmin/.md5sum @@ -0,0 +1,2 @@ +4712ade616d3c3a987281d24326ee9af kdeadmin-4.3.0.tar.bz2 +0c96286ebc50815b28878a1e21bcb71e nutyx-2008.patch diff --git a/kde/kdeadmin/Pkgfile b/kde/kdeadmin/Pkgfile new file mode 100755 index 000000000..6a289bbc8 --- /dev/null +++ b/kde/kdeadmin/Pkgfile @@ -0,0 +1,23 @@ +# Description: programmes pour gérer les utilisateurs, initialisation de fichiers, programateur de taches, et connections réseaux pour KDE +# URL: http://www.kde.org +# Maintainer: NuTyX packager team +# Packager: lesibel at free dot fr +# Depends on: kdelibs, kdebase-runtime, kdepimlibs + +name=kdeadmin +version=4.3.0 +release=1 +source=(http://download.kde.org/stable/$version/src/$name-$version.tar.bz2\ + nutyx-2008.patch) +build() { + cd $name-$version + patch -Np1 -i ../nutyx-2008.patch + mkdir build + cd build + cmake ../ -DCMAKE_INSTALL_PREFIX=$KDE_PREFIX \ + -Dscriptsdir=$KDE_PREFIX/share/apps/knetworkconf/backends \ + -DBUILD_doc=OFF + make -j3 + make DESTDIR=$PKG install +} + diff --git a/kde/kdeadmin/nutyx-2008.patch b/kde/kdeadmin/nutyx-2008.patch new file mode 100755 index 000000000..a89e2c726 --- /dev/null +++ b/kde/kdeadmin/nutyx-2008.patch @@ -0,0 +1,301 @@ +--- kdeadmin-4.1.96/knetworkconf/backends/network-conf.cmake~ 2009-01-14 14:49:49.000000000 +0000 ++++ kdeadmin-4.1.96/knetworkconf/backends/network-conf.cmake 2009-01-14 15:11:35.000000000 +0000 +@@ -77,7 +77,7 @@ + "mandriva-2006.1", "mandriva-2007.0", "mandriva-2007.1", "mandriva-2008.0", "mandriva-2008.1", + "vine-3.0", "vine-3.1", + "slackware-9.1.0", "slackware-10.0.0", "slackware-10.1.0", +- "gentoo", "vlos-1.2", "freebsd-5", "freebsd-6", "ark"); ++ "gentoo", "vlos-1.2", "freebsd-5", "freebsd-6", "ark", "nutyx"); + + $description =<<"end_of_description;"; + Configures all network parameters and interfaces. +--- kdeadmin-4.1.96/knetworkconf/backends/platform.pl.cmake~ 2009-01-14 14:50:03.000000000 +0000 ++++ kdeadmin-4.1.96/knetworkconf/backends/platform.pl.cmake 2009-01-14 15:32:11.000000000 +0000 +@@ -108,6 +108,7 @@ + "yoper-2.2" => "Yoper Linux 2.2 (for i686)", + "specifix" => "Specifix Linux", + "ark" => "Ark Linux", ++ "nutyx" => "NuTyX 2008", + }; + + sub check_lsb +@@ -367,7 +368,22 @@ + close ARK; + return -1; + } +- ++sub check_nutyx ++{ ++ open NUTYX, "$gst_prefix/etc/nutyx-version" or return -1; ++ while (<NUTYX>) ++ { ++ $ver =$_; ++ chomp ($ver); ++ if ($ver=~ /^2008/) ++ { ++ close NUTYX; ++ return "nutyx"; ++ } ++ } ++ close NUTYX; ++ return -1; ++} + sub check_conectiva + { + open RELEASE, "$gst_prefix/etc/conectiva-release" or return -1; +@@ -565,7 +581,7 @@ + # Red Hat check must run after Vine, Mandrake and Fedora, and Mandrake after BlackPanther + "Linux" => [ \&check_lsb, \&check_debian, \&check_caldera, \&check_suse, \&check_blackpanther, \&check_vine, + \&check_fedora, \&check_yoper, \&check_mandrake, \&check_mandriva, \&check_conectiva, \&check_linuxppc, \&check_redhat, \&check_openna, +- \&check_turbolinux, \&check_slackware, \&check_vlos, \&check_gentoo, \&check_pld, \&check_specifix, \&check_archlinux, \&check_ark ], ++ \&check_turbolinux, \&check_slackware, \&check_vlos, \&check_gentoo, \&check_pld, \&check_specifix, \&check_archlinux, \&check_ark, \&check_nutyx ], + "FreeBSD" => [ \&check_freebsd ], + "SunOS" => [ \&check_solaris ] + ); +--- kdeadmin-4.1.96/knetworkconf/backends/service.pl.cmake~ 2009-01-14 14:49:11.000000000 +0000 ++++ kdeadmin-4.1.96/knetworkconf/backends/service.pl.cmake 2009-01-14 14:58:36.000000000 +0000 +@@ -114,6 +114,7 @@ + "vine-3.0" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], + "vine-3.1" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], + "ark" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/init.d", "../init.d"], ++ "nutyx" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], + ); + my $res; + +@@ -195,6 +196,7 @@ + "vine-3.1" => [3, 5], + + "ark" => [3, 5], ++ "nutyx" => [3, 5], + ); + my $res; + +@@ -285,6 +287,7 @@ + "freebsd-6" => "freebsd-5", + + "ark" => "redhat-5.2", ++ "nutyx" => "redhat-5.2", + ); + + %runlevels= +@@ -1642,6 +1645,7 @@ + "freebsd-6" => \&gst_service_rcng_get_status, + + "ark" => \&gst_service_redhat_get_status, ++ "nutyx" => \&gst_service_redhat_get_status, + ); + my $proc; + +--- kdeadmin-4.1.96/knetworkconf/knetworkconf/knetworkconfigparser.cpp~ 2009-01-14 14:51:33.000000000 +0000 ++++ kdeadmin-4.1.96/knetworkconf/knetworkconf/knetworkconfigparser.cpp 2009-01-14 16:58:07.000000000 +0000 +@@ -1135,7 +1135,11 @@ + QPixmap distroImg(KStandardDirs::locate("data","knetworkconf/pixmaps/ark.png")); + widget->klbDistroList->insertItem(distroImg, name); + } +- ++ else if (key.contains("nutyx")) ++ { ++ QPixmap distroImg(KStandardDirs::locate("data","knetworkconf/pixmaps/nutyx.png")); ++ widget->klbDistroList->insertItem(distroImg, name); ++ } + } + + if (!dialog->exec()) +--- kdeadmin-4.1.96/knetworkconf/backends/network.pl.cmake~ 2009-01-14 14:49:28.000000000 +0000 ++++ kdeadmin-4.1.96/knetworkconf/backends/network.pl.cmake 2009-01-14 20:57:04.000000000 +0000 +@@ -541,6 +541,7 @@ + "freebsd-5" => "debian-2.2", + "freebsd-6" => "debian-2.2", + "ark" => "redhat-6.2", ++ "nutyx" => "redhat-6.2", + ); + + return $cmd_map{$dist_map{$gst_dist}}; +@@ -1115,7 +1116,23 @@ + { + return @{&gst_network_sysconfig_dir_ifaces_get_existing ("/etc/sysconfig/interfaces")}; + } ++sub gst_network_nutyx_ifaces_get_existing ++{ ++ my (@ret, $i, $name); ++ local *IFACE_DIR; ++ ++ if (opendir IFACE_DIR, "/etc/sysconfig/network-devices") ++ { ++ foreach $i (readdir (IFACE_DIR)) ++ { ++ push @ret, $1 if ($i =~ /^ifcfg-(.+)$/); ++ } ++ ++ closedir (IFACE_DIR); ++ } + ++ return \@ret; ++} + sub gst_network_slackware91_ifaces_get_existing + { + my $file = "/etc/rc.d/rc.inet1.conf"; +@@ -1773,6 +1790,23 @@ + return "$dev$i"; + } + ++sub gst_network_nutyx_get_file ++{ ++ my ($iface) = @_; ++ my ($pre, $i, $dev); ++ ++ $dev = $$iface{"dev"}; ++ $pre = "$gst_prefix/etc/sysconfig/network-devices/ifconfig."; ++ ++ return $dev if ! -e "$pre$dev"; ++ ++ $dev =~ s/[0-9]*$//; ++ ++ $i = 0; ++ $i ++ while (-e "$pre$dev$i"); ++ ++ return "$dev$i"; ++} + sub gst_network_get_file + { + my ($iface) = @_; +@@ -1839,6 +1873,7 @@ + "freebsd-5" => \&gst_network_deb22_get_file, + "freebsd-6" => \&gst_network_deb22_get_file, + "ark" => \&get_network_rh62_get_file, ++ "nutyx" => \&get_network_nutyx_get_file, + ); + + $proc = $dist_map{$gst_dist}; +@@ -3959,6 +3994,7 @@ + "freebsd-5" => "", + "freebsd-6" => "", + "ark" => "lo", ++ "nutyx" => "lo", + ); + + $dev = $dist_map {$gst_dist}; +@@ -4104,6 +4140,7 @@ + "freebsd-5" => "freebsd-5", + "freebsd-6" => "freebsd-5", + "ark" => "ark", ++ "nutyx" => "nutyx", + ); + + my %dist_tables = +@@ -4525,6 +4562,34 @@ + [ "interface", \&gst_network_interfaces_get ] + ] + }, ++ "nutyx" => ++ { ++ fn => ++ { ++ HOSTNAME_CONF => "/etc/sysconfig/network", ++ RESOLV_CONF => "/etc/resolv.conf", ++ HOSTS => "/etc/hosts", ++ SMB_CONF => "/etc/samba/smb.conf", ++ }, ++ table => ++ [ ++ [ "hostname", \&gst_parse_sh, HOSTNAME_CONF, HOSTNAME ], ++ [ "userifacectl", \&gst_parse_trivial, 1 ], ++ [ "nameserver", \&gst_parse_split_all_unique_hash_comment, RESOLV_CONF, "nameserver", "[ \t]+" ], ++ [ "searchdomain", \&gst_parse_split_first_array_unique, RESOLV_CONF, "search", "[ \t]+", "[ \t]+" ], ++ [ "domain", \&gst_parse_split_first_str, RESOLV_CONF, "domain", "[ \t]+" ], ++ [ "statichost", \&gst_parse_split_hash, HOSTS, "[ \t]+", "[ \t]+" ], ++ [ "workgroup", \&gst_parse_ini, SMB_CONF, "global", "workgroup" ], ++ [ "smbdesc", \&gst_network_rh_get_smb_desc, SMB_CONF, "global", "server string", "%hostname%" ], ++ [ "winsserver", \&gst_parse_ini, SMB_CONF, "global", "wins server" ], ++ [ "winsuse", \&gst_parse_ini_bool, SMB_CONF, "global", "wins support" ], ++ [ "smbuse", \&gst_service_sysv_get_status_any, "smbd", "nmbd" ], ++ [ "smbinstalled", \&gst_service_sysv_installed, "smb" ], ++ [ "smartdhcpcd", \&gst_file_tool_installed, "dhcpcd" ], ++ [ "dialinstalled", \&gst_file_tool_installed, "kppp" ], ++ [ "interface", \&gst_network_interfaces_get ] ++ ] ++ }, + + ); + +@@ -4600,6 +4665,7 @@ + "freebsd-5" => "freebsd-5", + "freebsd-6" => "freebsd-5", + "ark" => "ark", ++ "nutyx" => "nutyx", + ); + + my %dist_tables = +@@ -5418,6 +5484,53 @@ + [ "persist", \&gst_network_get_freebsd5_ppp_persist, [ STARTIF, IFACE ]], + ] + }, ++ ++ "nutyx" => ++ { ++ ifaces_get => \&gst_network_nutyx_ifaces_get_existing, ++ fn => ++ { ++ IFCFG => "/etc/sysconfig/network-devices/ifconfig.#iface#", ++ ROUTE_CONF => "/etc/sysconfig/network-devices/ifconfig.#iface#/ipv4", ++ IFACE => "#iface#" ++ }, ++ table => ++ [ ++ [ "dev", \&gst_network_suse9_get_dev_name, IFACE ], ++# [ "enabled", \&gst_network_interface_active, "%dev%", \&gst_network_active_interfaces_get ], ++ [ "auto", \&gst_network_suse90_get_auto, IFCFG, STARTMODE ], ++ [ "bootproto", \&gst_network_parse_bootproto, IFCFG, BOOTPROTO ], ++ [ "address", \&gst_parse_sh, IFCFG, IPADDR ], ++ [ "netmask", \&gst_parse_sh, IFCFG, NETMASK ], ++ [ "remote_address", \&gst_parse_sh, IFCFG, REMOTE_IPADDR ], ++ [ "essid", \&gst_parse_sh, IFCFG, WIRELESS_ESSID ], ++ [ "key_type", \&gst_network_get_wep_key_type, [ \&gst_parse_sh, IFCFG, WIRELESS_KEY ]], ++ [ "key", \&gst_network_get_wep_key, [ \&gst_parse_sh, IFCFG, WIRELESS_KEY ]], ++ [ "gateway", \&gst_network_suse90_get_gateway, ROUTE_CONF, "%address%", "%netmask%" ], ++ [ "gateway", \&gst_network_suse90_get_plip_gateway, ROUTE_CONF, "%remote_address%" ], ++ # Modem stuff goes here ++ [ "serial_port", \&gst_parse_sh, IFCFG, MODEM_DEVICE ], ++ [ "serial_speed", \&gst_parse_sh, IFCFG, SPEED ], ++ [ "mtu", \&gst_parse_sh, IFCFG, MTU ], ++ [ "mru", \&gst_parse_sh, IFCFG, MRU ], ++# [ "ppp_options", \&gst_parse_sh, IFCFG, PPPD_OPTIONS ], ++ [ "dial_command", \&gst_parse_sh, IFCFG, DIALCOMMAND ], ++ [ "external_line", \&gst_parse_sh, IFCFG, DIALPREFIX ], ++ [ "section", \&gst_parse_sh, IFCFG, PROVIDER ], ++ [ "volume", \&gst_parse_sh_re, IFCFG, INIT8, "AT.*[ml]([0-3])" ], ++ [ "login", \&gst_network_suse90_parse_provider_file, "%section%", USERNAME ], ++ [ "password", \&gst_network_suse90_parse_provider_file, "%section%", PASSWORD ], ++ [ "phone_number", \&gst_network_suse90_parse_provider_file, "%section%", PHONE ], ++ [ "dns1", \&gst_network_suse90_parse_provider_file, "%section%", DNS1 ], ++ [ "dns2", \&gst_network_suse90_parse_provider_file, "%section%", DNS2 ], ++ [ "update_dns", \&gst_network_suse90_parse_provider_file_bool, "%section%", MODIFYDNS ], ++ [ "persist", \&gst_network_suse90_parse_provider_file_bool, "%section%", PERSIST ], ++ [ "stupid", \&gst_network_suse90_parse_provider_file_bool, "%section%", STUPIDMODE ], ++ [ "set_default_gw", \&gst_network_suse90_parse_provider_file_bool, "%section%", DEFAULTROUTE ], ++ ] ++ }, ++ ++ + ); + + my $dist = $dist_map{$gst_dist}; +@@ -5905,7 +6018,7 @@ + "debian-3.0" => "debian-3.0", + "debian-3.1" => "debian-3.0", + "debian-4.0" => "debian-3.0", +- "debian-5.0" => "debian-3.0", ++ "debian-5.0" => "debian-3.0", + "debian-testing" => "debian-3.0", + "ubuntu-5.04" => "debian-3.0", + "ubuntu-5.10" => "debian-3.0", +@@ -5937,8 +6050,7 @@ + "freebsd-5" => "freebsd-5", + "freebsd-6" => "freebsd-5", + ); +- +- my %dist_tables = ++ my %dist_tables = + ( + "redhat-6.2" => + { diff --git a/kde/kdeadmin/nutyx.png b/kde/kdeadmin/nutyx.png Binary files differnew file mode 100755 index 000000000..655bfa487 --- /dev/null +++ b/kde/kdeadmin/nutyx.png |