|
自己PKGBUILD gnome-system-tools,但是装完后不能正常工作
- Liboobs-WARNING **: There was an unknown error communicating with the backends: The name org.freedesktop.SystemToolsBackends was not provided by any .service files
复制代码
后来到/var/abs/untable/gnome/gnomes-system-tools和system-tools-backends里面一看,原来有2个patch文件,于是又按照它原来的pkgbuild把patch加到pkgbuild里面,但是这两个patch都是很老了,在makepkg的时候提示找不到路径,不知道要怎么改。因为untable里面的gnome-system-tools版本太老了是2.14版的,所以想自己pkgbuild
1./var/abs/untable/gnome/gnome-system-tools/gst-arch.patch
- diff -ru doc.old/network/C/network-admin.xml doc/network/C/network-admin.xml
- --- doc.old/network/C/network-admin.xml 2006-03-13 16:05:19.000000000 +0000
- +++ doc/network/C/network-admin.xml 2007-05-30 21:13:38.000000000 +0000
- @@ -32,7 +32,7 @@
- </copyright>
- -->
-
- - <publisher>
- + <publisher role="maintainer">
- <publishername>Carlos Garnacho Parro</publishername>
- </publisher>
-
- diff -ru doc.old/services/C/services-admin.xml doc/services/C/services-admin.xml
- --- doc.old/services/C/services-admin.xml 2006-03-13 16:05:20.000000000 +0000
- +++ doc/services/C/services-admin.xml 2007-05-30 21:14:02.000000000 +0000
- @@ -32,7 +32,7 @@
- </copyright>
- -->
-
- - <publisher>
- + <publisher role="maintainer">
- <publishername>Carlos Garnacho Parro</publishername>
- </publisher>
-
- diff -ru doc.old/time/C/time-admin.xml doc/time/C/time-admin.xml
- --- doc.old/time/C/time-admin.xml 2006-03-13 16:05:21.000000000 +0000
- +++ doc/time/C/time-admin.xml 2007-05-30 21:14:33.000000000 +0000
- @@ -32,7 +32,7 @@
- </copyright>
- -->
-
- - <publisher>
- + <publisher role="maintainer">
- <publishername>Carlos Garnacho Parro</publishername>
- </publisher>
-
- diff -ru doc.old/users/C/users-admin.xml doc/users/C/users-admin.xml
- --- doc.old/users/C/users-admin.xml 2006-03-13 16:05:22.000000000 +0000
- +++ doc/users/C/users-admin.xml 2007-05-30 21:14:48.000000000 +0000
- @@ -32,7 +32,7 @@
- </copyright>
- -->
-
- - <publisher>
- + <publisher role="maintainer">
- <publishername>Carlos Garnacho Parro</publishername>
- </publisher>
-
- diff -ur doc.old/boot/C/boot-admin.xml doc/boot/C/boot-admin.xml
- --- doc.old/boot/C/boot-admin.xml 2006-03-13 16:05:17.000000000 +0000
- +++ doc/boot/C/boot-admin.xml 2007-05-30 21:16:12.000000000 +0000
- @@ -32,7 +32,7 @@
- </copyright>
- -->
-
- - <publisher>
- + <publisher role="maintainer">
- <publishername>Carlos Garnacho Parro</publishername>
- </publisher>
复制代码
2./var/abs/unstable/gnome/system-tools-backends/gst-arch.patch
- diff -Naur system-tools-backends-1.4.2/network-conf.in system-tools-backends-1.4.2-new/network-conf.in
- --- system-tools-backends-1.4.2/network-conf.in 2006-01-02 16:32:33.000000000 +0100
- +++ system-tools-backends-1.4.2-new/network-conf.in 2006-04-14 13:05:21.000000000 +0200
- @@ -75,9 +75,9 @@
- "pld-1.0", "pld-1.1", "pld-1.99",
- "conectiva-9", "conectiva-10",
- "vine-3.0", "vine-3.1",
- - "ark",
- + "ark",
- "slackware-9.1.0", "slackware-10.0.0", "slackware-10.1.0", "slackware-10.2.0",
- - "gentoo", "vlos-1.2", "freebsd-5", "freebsd-6");
- + "gentoo", "vlos-1.2", "freebsd-5", "freebsd-6", "archlinux");
-
- $description =<<"end_of_description;";
- Configures all network parameters and interfaces.
- --- system-tools-backends-1.4.2/network.pl.in 2006-01-02 16:50:54.000000000 +0100
- +++ system-tools-backends-1.4.2-new/network.pl.in 2006-04-14 15:32:31.000000000 +0200
- @@ -535,6 +535,7 @@
- "vlos-1.2" => "debian-2.2",
- "freebsd-5" => "debian-2.2",
- "freebsd-6" => "debian-2.2",
- + "archlinux" => "redhat-6.2",
- );
-
- return $cmd_map{$dist_map{$gst_dist}};
- @@ -1838,6 +1856,7 @@
- "gentoo" => \&gst_network_deb22_get_file,
- "freebsd-5" => \&gst_network_deb22_get_file,
- "freebsd-6" => \&gst_network_deb22_get_file,
- + "archlinux" => \&gst_network_deb22_get_file,
- );
-
- @@ -3959,6 +3978,7 @@
- "vlos-1.2" => "",
- "freebsd-5" => "",
- "freebsd-6" => "",
- + "archlinux" => "",
- );
-
- $dev = $dist_map {$gst_dist};
- @@ -4124,6 +4144,7 @@
- "vlos-1.2" => "gentoo",
- "freebsd-5" => "freebsd-5",
- "freebsd-6" => "freebsd-5",
- + "archlinux" => "archlinux",
- );
-
- my %dist_tables =
- @@ -4479,8 +4500,37 @@
- [ "gatewaydev", \&gst_network_get_gateway_dev_from_address, "%interface%", "%gateway%" ],
- ]
- },
- +
- + "archlinux" =>
- + {
- + fn =>
- + {
- + RC_CONF => "/etc/rc.conf",
- + RESOLV_CONF => "/etc/resolv.conf",
- + HOSTS => "/etc/hosts",
- + SMB_CONF => "/etc/samba/smb.conf"
- + },
- + table =>
- + [
- + [ "hostname", \&gst_parse_sh_re, RC_CONF, HOSTNAME, "^([^\.]*)\." ],
- + [ "domain", \&gst_parse_split_first_str, RESOLV_CONF, "domain", "[ \t]+" ],
- + [ "nameserver", \&gst_parse_split_all_unique_hash_comment, RESOLV_CONF, "nameserver", "[ \t]+" ],
- + [ "searchdomain", \&gst_parse_split_first_array_unique, RESOLV_CONF, "search", "[ \t]+", "[ \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" ],
- + [ "dialinstalled", \&gst_parse_trivial, 1 ],
- + [ "smbinstalled", \&gst_service_rcng_installed, "samba" ],
- + [ "smbuse", \&gst_service_archlinux_get_status, "samba" ],
- + [ "interface", \&gst_network_interfaces_get ],
- + [ "gateway", \&gst_parse_sh, RC_CONF, gateway ],
- + [ "gatewaydev", \&gst_network_get_gateway_dev_from_address, "%interface%", "%gateway%" ],
- + ]
- + },
- );
- -
- +
- my $dist = $dist_map{$gst_dist};
- return %{$dist_tables{$dist}} if $dist;
-
- @@ -4545,8 +4595,9 @@
- "vlos-1.2" => "gentoo",
- "freebsd-5" => "freebsd-5",
- "freebsd-6" => "freebsd-5",
- + "archlinux" => "archlinux",
- );
- -
- +
- my %dist_tables =
- (
- "redhat-6.2" =>
- @@ -5318,8 +5369,59 @@
- [ "persist", \&gst_network_get_freebsd5_ppp_persist, [ STARTIF, IFACE ]],
- ]
- },
- +
- + "archlinux" =>
- + {
- + ifaces_get => \&gst_network_archlinux_ifaces_get_existing,
- + fn =>
- + {
- + RC_INET_CONF => "/etc/rc.d/rc.inet1.conf",
- + RC_INET => "/etc/rc.d/rc.inet1",
- + RC_LOCAL => "/etc/rc.d/rc.local",
- + IFACE => "#iface#",
- + WIRELESS => "/etc/pcmcia/wireless.opts",
- + PPP_OPTIONS => "/etc/ppp/options",
- + PAP => "/etc/ppp/pap-secrets",
- + CHAP => "/etc/ppp/chap-secrets",
- + CHAT => "/etc/ppp/pppscript",
- + },
- + table =>
- + [
- + [ "user", \&gst_parse_trivial, 0 ], # not supported.
- + [ "dev", \&gst_parse_trivial, IFACE ],
- + [ "address", \&gst_parse_rcinet1conf, [RC_INET_CONF, IFACE], IPADDR ],
- + [ "netmask", \&gst_parse_rcinet1conf, [RC_INET_CONF, IFACE], NETMASK ],
- + [ "gateway", \&gst_network_get_gateway, RC_INET_CONF, GATEWAY, "%address%", "%netmask%" ],
- + [ "auto", \&gst_network_slackware91_get_auto, [RC_INET, RC_LOCAL, IFACE]],
- + [ "bootproto", \&gst_network_slackware91_parse_bootproto, [RC_INET_CONF, IFACE]],
- + [ "essid", \&gst_parse_wireless_opts, [ WIRELESS, IFACE ], \&gst_network_get_wireless_ifaces, ESSID ],
- + [ "key_type", \&gst_network_get_wep_key_type, [ \&gst_parse_wireless_opts, WIRELESS, IFACE, \&gst_network_get_wireless_ifaces, KEY ]],
- + [ "key", \&gst_network_get_wep_key, [ \&gst_parse_wireless_opts, WIRELESS, IFACE, \&gst_network_get_wireless_ifaces, KEY ]],
- + [ "enabled", \&gst_network_interface_active, IFACE, \&gst_network_active_interfaces_get ],
- + # Modem stuff
- + [ "update_dns", \&gst_network_check_type, [IFACE, "modem", \&gst_parse_kw, PPP_OPTIONS, "usepeerdns" ]],
- + [ "noauth", \&gst_network_check_type, [IFACE, "modem", \&gst_parse_kw, PPP_OPTIONS, "noauth" ]],
- + [ "mtu", \&gst_network_check_type, [IFACE, "modem", \&gst_parse_split_first_str, PPP_OPTIONS, "mtu", "[ \t]+" ]],
- + [ "mru", \&gst_network_check_type, [IFACE, "modem", \&gst_parse_split_first_str, PPP_OPTIONS, "mru", "[ \t]+" ]],
- + [ "serial_port", \&gst_network_check_type, [IFACE, "modem", \&gst_network_get_ppp_options_re, PPP_OPTIONS, "^(/dev/[^ \t]+)" ]],
- + [ "serial_speed", \&gst_network_check_type, [IFACE, "modem", \&gst_network_get_ppp_options_re, PPP_OPTIONS, "^([0-9]+)" ]],
- + [ "login", \&gst_network_check_type, [IFACE, "modem", \&gst_network_get_ppp_options_re, PPP_OPTIONS, "^name "?([^"]*)"?" ]],
- + [ "password", \&gst_network_check_type, [IFACE, "modem", \&gst_network_get_pap_passwd, PAP, "%login%" ]],
- + [ "password", \&gst_network_check_type, [IFACE, "modem", \&gst_network_get_pap_passwd, CHAP, "%login%" ]],
- + [ "ppp_options", \&gst_network_check_type, [IFACE, "modem", \&gst_network_get_ppp_options_unsup, PPP_OPTIONS ]],
- + [ "set_default_gw", \&gst_network_check_type, [IFACE, "modem", \&gst_parse_kw, PPP_OPTIONS, "defaultroute" ]],
- + [ "debug", \&gst_network_check_type, [IFACE, "modem", \&gst_parse_kw, PPP_OPTIONS, "debug" ]],
- + [ "persist", \&gst_network_check_type, [IFACE, "modem", \&gst_parse_kw, PPP_OPTIONS, "persist" ]],
- + [ "serial_escapechars", \&gst_network_check_type, [IFACE, "modem", \&gst_parse_split_first_str, PPP_OPTIONS, "escape", "[ \t]+" ]],
- + [ "serial_hwctl", \&gst_network_check_type, [IFACE, "modem", \&gst_parse_kw, PPP_OPTIONS, "crtscts" ]],
- + [ "external_line", \&gst_network_check_type, [IFACE, "modem", \&gst_parse_chat, CHAT, "atd[^0-9]*([0-9*#]*)[wW]" ]],
- + [ "phone_number", \&gst_network_check_type, [IFACE, "modem", \&gst_parse_chat, CHAT, "atd.*[ptw]([0-9, -]+)" ]],
- + [ "dial_command", \&gst_network_check_type, [IFACE, "modem", \&gst_parse_chat, CHAT, "(atd[tp])[0-9, -w]+" ]],
- + [ "volume", \&gst_network_check_type, [IFACE, "modem", \&gst_network_get_modem_volume, CHAT ]],
- + ]
- + },
- );
- -
- +
- my $dist = $dist_map{$gst_dist};
- return %{$dist_tables{$dist}} if $dist;
-
- @@ -5383,6 +5485,7 @@
- "vlos-1.2" => "gentoo",
- "freebsd-5" => "freebsd-5",
- "freebsd-6" => "freebsd-5",
- + "archlinux" => "archlinux",
- );
-
- my %dist_tables =
- @@ -5723,9 +5826,36 @@
- [ "gateway", \&gst_replace_sh, RC_CONF, "defaultrouter" ],
- [ "interface", \&gst_network_interfaces_set, OLD_HASH ]
- ]
- + },
- +
- + "archlinux" =>
- + {
- + fn =>
- + {
- + RC_CONF => "/etc/rc.conf",
- + RESOLV_CONF => "/etc/resolv.conf",
- + HOSTS => "/etc/hosts",
- + SMB_CONF => "/etc/samba/smb.conf"
- + },
- + table =>
- + [
- + [ "hostname", \&gst_replace_sh, RC_CONF, "hostname", "%hostname%.%domain%" ],
- + [ "hostname", \&gst_network_run_hostname, "%hostname%.%domain%" ],
- + [ "domain", \&gst_replace_join_first_str, RESOLV_CONF, "domain", "[ \t]+" ],
- + [ "nameserver", \&gst_replace_join_all, RESOLV_CONF, "nameserver", "[ \t]+" ],
- + [ "searchdomain", \&gst_replace_join_first_array, RESOLV_CONF, "search", "[ \t]+", "[ \t]+" ],
- + [ "statichost", \&gst_replace_join_hash, HOSTS, "[ \t]+", "[ \t]+" ],
- + [ "workgroup", \&gst_replace_ini, SMB_CONF, "global", "workgroup" ],
- + [ "smbdesc", \&gst_replace_ini, SMB_CONF, "global", "server string", "%hostname%" ],
- + [ "winsserver", \&gst_replace_ini, SMB_CONF, "global", "wins server" ],
- + [ "winsuse", \&gst_replace_ini_bool, SMB_CONF, "global", "wins support" ],
- + [ "smbuse", \&gst_service_archlinux_set_status, "samba" ],
- + [ "gateway", \&gst_replace_sh, RC_CONF, "defaultrouter" ],
- + [ "interface", \&gst_network_interfaces_set, OLD_HASH ]
- + ]
- }
- );
- -
- +
- my $dist = $dist_map{$gst_dist};
- return %{$dist_tables{$dist}} if $dist;
-
- @@ -5789,6 +5919,7 @@
- "vlos-1.2" => "gentoo",
- "freebsd-5" => "freebsd-5",
- "freebsd-6" => "freebsd-5",
- + "archlinux" => "archlinux",
- );
-
- my %dist_tables =
- @@ -6522,9 +6653,57 @@
- [ "dial_command", \&gst_network_replace_pppconf_dial_command, [ PPPCONF, STARTIF, IFACE ]],
- [ "volume", \&gst_network_replace_pppconf_volume, [ PPPCONF, STARTIF, IFACE ]],
- ]
- + },
- +
- + "archlinux" =>
- + {
- + iface_set => \&gst_network_freebsd_interface_activate,
- + iface_delete => \&gst_network_freebsd_interface_delete,
- + ifaces_get => \&gst_network_archlinux_ifaces_get_existing,
- + fn =>
- + {
- + RC_CONF => "/etc/rc.conf",
- + STARTIF => "/etc/ifup #iface#",
- + PPP_OPTIONS => "/etc/ppp/options",
- + PAP => "/etc/ppp/pap-secrets",
- + CHAP => "/etc/ppp/chap-secrets",
- + CHAT => "/etc/ppp/pppscript",
- + IFACE => "#iface#",
- + },
- + table =>
- + [
- + [ "auto", \&gst_network_freebsd5_set_auto, [ RC_CONF, IFACE ]],
- + [ "bootproto", \&gst_network_freebsd5_replace_bootproto, [ RC_CONF, IFACE ]],
- + [ "address", \&gst_replace_sh_re, RC_CONF, "ifconfig_%dev%", "inet[ \t]+([0-9\.]+)", "inet %address%" ],
- + [ "netmask", \&gst_replace_sh_re, RC_CONF, "ifconfig_%dev%", "netmask[ \t]+([0-9\.]+)", " netmask %netmask%" ],
- + [ "remote_address", \&gst_replace_sh_re, RC_CONF, "ifconfig_%dev%", "dest_address[ \t]+([0-9\.]+)", " dest_address %remote_address%" ],
- + [ "essid", \&gst_network_freebsd5_replace_essid, [ RC_CONF, STARTIF, IFACE ]],
- + # Modem stuff
- + [ "phone_number", \&gst_network_check_type, [IFACE, "modem", \&gst_network_create_pppscript, CHAT ]],
- + [ "phone_number", \&gst_network_check_type, [IFACE, "modem", \&gst_network_slackware91_create_pppgo ]],
- + [ "update_dns", \&gst_network_check_type, [IFACE, "modem", \&gst_replace_kw, PPP_OPTIONS, "usepeerdns" ]],
- + [ "noauth", \&gst_network_check_type, [IFACE, "modem", \&gst_replace_kw, PPP_OPTIONS, "noauth" ]],
- + [ "set_default_gw", \&gst_network_check_type, [IFACE, "modem", \&gst_replace_kw, PPP_OPTIONS, "defaultroute" ]],
- + [ "debug", \&gst_network_check_type, [IFACE, "modem", \&gst_replace_kw, PPP_OPTIONS, "debug" ]],
- + [ "persist", \&gst_network_check_type, [IFACE, "modem", \&gst_replace_kw, PPP_OPTIONS, "persist" ]],
- + [ "serial_hwctl", \&gst_network_check_type, [IFACE, "modem", \&gst_replace_kw, PPP_OPTIONS, "crtscts" ]],
- + [ "mtu", \&gst_network_check_type, [IFACE, "modem", \&gst_replace_join_first_str, PPP_OPTIONS, "mtu", "[ \t]+" ]],
- + [ "mru", \&gst_network_check_type, [IFACE, "modem", \&gst_replace_join_first_str, PPP_OPTIONS, "mru", "[ \t]+" ]],
- + [ "serial_port", \&gst_network_check_type, [IFACE, "modem", \&gst_network_set_ppp_options_re, PPP_OPTIONS, "^(/dev/[^ \t]+)" ]],
- + [ "serial_speed", \&gst_network_check_type, [IFACE, "modem", \&gst_network_set_ppp_options_re, PPP_OPTIONS, "^([0-9]+)" ]],
- + [ "login", \&gst_network_check_type, [IFACE, "modem", \&gst_network_set_ppp_options_re, PPP_OPTIONS, "^name "(.*)"", "name "%login%"" ]],
- + [ "ppp_options", \&gst_network_check_type, [IFACE, "modem", \&gst_network_set_ppp_options_unsup, PPP_OPTIONS ]],
- + [ "serial_escapechars", \&gst_network_check_type, [IFACE, "modem", \&gst_replace_join_first_str, PPP_OPTIONS, "escape", "[ \t]+" ]],
- + [ "password", \&gst_network_check_type, [IFACE, "modem", \&gst_network_set_pap_passwd, PAP, "%login%" ]],
- + [ "password", \&gst_network_check_type, [IFACE, "modem", \&gst_network_set_pap_passwd, CHAP, "%login%" ]],
- + [ "dial_command", \&gst_network_check_type, [IFACE, "modem", \&gst_replace_chat, CHAT, "(atd[tp])[0-9w, -]+" ]],
- + [ "phone_number", \&gst_network_check_type, [IFACE, "modem", \&gst_replace_chat, CHAT, "atd[tp]([0-9w]+)" ]],
- + [ "external_line", \&gst_network_check_type, [IFACE, "modem", \&gst_replace_chat, CHAT, "atd[tp]([0-9w, -]+)", "%external_line%W%phone_number%" ]],
- + [ "volume", \&gst_network_check_type, [IFACE, "modem", \&gst_network_set_modem_volume, CHAT ]],
- + ]
- }
- );
- -
- +
- my $dist = $dist_map{$gst_dist};
- return %{$dist_tables{$dist}} if $dist;
-
- diff -Naur system-tools-backends-1.4.2/service-list.pl.in system-tools-backends-1.4.2-new/service-list.pl.in
- --- system-tools-backends-1.4.2/service-list.pl.in 2006-01-02 16:39:39.000000000 +0100
- +++ system-tools-backends-1.4.2-new/service-list.pl.in 2006-04-14 11:40:50.000000000 +0200
- @@ -189,6 +189,7 @@
-
- my %service_roles = (
- "acpid" => "SYSTEM",
- + "adsl" => "NETWORK",
- "alsa" => "SOUND",
- "am-utils" => "AUTOMOUNTER",
- "amavis" => "ANTIVIRUS",
- @@ -203,6 +204,8 @@
- "atftpd" => "FTP_SERVER",
- "aumix" => "SOUND",
- "autofs" => "AUTOMOUNTER",
- + "avahi-daemon" => "NETWORK",
- + "avahi-dnsconfd" => "DYNAMIC_DNS",
- "bind" => "NETWORK",
- "binfmt-support" => "SYSTEM",
- "bootlogd" => "SYSTEM",
- @@ -212,6 +215,7 @@
- "clamav-daemon" => "ANTIVIRUS",
- "courier" => "MTA",
- "courier-mta" => "MTA",
- + "cpufreq" => "SYSTEM",
- "cpufreqd" => "SYSTEM",
- "cron" => "COMMAND_SCHEDULER",
- "crond" => "COMMAND_SCHEDULER",
- @@ -220,12 +224,14 @@
- "cupsys" => "PRINTER_SERVICE",
- "daytime" => "NETWORK",
- "daytime-udp" => "NETWORK",
- + "dbus" => "SYSTEM",
- "dbus-1" => "SYSTEM",
- "ddclient" => "DYNAMIC_DNS",
- "dhis-client" => "DYNAMIC_DNS",
- "dictd" => "DICT",
- "echo" => "NETWORK",
- "echo-udp" => "NETWORK",
- + "esd" => "SOUND",
- "esound" => "SOUND",
- "exim" => "MTA",
- "fam" => "SYSTEM",
- @@ -237,9 +243,12 @@
- "ftpd" => "FTP_SERVER",
- "gdm" => "DISPLAY_MANAGER",
- "gpm" => "SYSTEM", #FIXME
- + "hal" => "SYSTEM",
- + "heimdal-kdc" => "heimdal-kdc",
- "hdparm" => "SYSTEM",
- "hotplug" => "SYSTEM",
- "httpd" => "WEB_SERVER",
- + "hwd" => "SYSTEM",
- "inetd" => "NETWORK",
- "iptables" => "NETWORK",
- "irda" => "SYSTEM",
- @@ -261,11 +270,13 @@
- "mldonkey-server" => "FILE_SHARING",
- "modules" => "SYSTEM",
- "module-init-tools" => "SYSTEM",
- + "mono" => "SYSTEM",
- "mysql" => "DATABASE_SERVER",
- "muddleftpd" => "FTP_SERVER",
- "named" => "NETWORK",
- "netfs" => "SYSTEM",
- "network" => "SYSTEM",
- + "networkmanager" => "NETWORK",
- "nfs" => "FILE_SERVER",
- "nfs-user-server" => "FILE_SERVER",
- "nfs-kernel-server" => "FILE_SERVER",
- @@ -285,6 +296,7 @@
- "postgresql" => "DATABASE_SERVER",
- "postgresql-7.4" => "DATABASE_SERVER",
- "postgresql-8.0" => "DATABASE_SERVER",
- + "powersaved" => "SYSTEM",
- "ppp" => "NETWORK",
- "proftpd" => "FTP_SERVER",
- "privoxy" => "NETWORK",
- @@ -304,11 +316,14 @@
- "sgi_fam" => "SYSTEM",
- "smartmontools" => "SYSTEM",
- "spamassassin" => "SYSTEM",
- + "slapd" => "SYSTEM",
- "snmpd" => "NETWORK",
- "ssh" => "SECURE_SHELL_SERVER",
- "sshd" => "SECURE_SHELL_SERVER",
- "sysklogd" => "SYSTEM_LOGGER",
- "syslog" => "SYSTEM_LOGGER",
- + "syslog-ng" => "SYSTEM_LOGGER",
- + "svnserver" => "NETWORK",
- "tftpd-hpa" => "FTP_SERVER",
- "time" => "NETWORK",
- "time-udp" => "NETWORK",
- diff -Naur system-tools-backends-1.4.2/service.pl.in system-tools-backends-1.4.2-new/service.pl.in
- --- system-tools-backends-1.4.2/service.pl.in 2006-01-02 16:42:19.000000000 +0100
- +++ system-tools-backends-1.4.2-new/service.pl.in 2006-04-14 11:43:37.000000000 +0200
- @@ -1531,10 +1531,10 @@
- }
- if((!$active) && ( -f "/var/run/daemons/$script"))
- {
- - &gst_service_archlinux_run_script($script,"start");
- + &gst_service_archlinux_run_script($script,"stop");
- }
- -
- -
- +
- +
- foreach my $line (@rcconflines)
- {
- if($line =~ /\DAEMONS=/)
- diff -Naur system-tools-backends-1.4.2/shares-conf.in system-tools-backends-1.4.2-new/shares-conf.in
- --- system-tools-backends-1.4.2/shares-conf.in 2005-11-21 02:19:47.000000000 +0100
- +++ system-tools-backends-1.4.2-new/shares-conf.in 2006-04-14 12:03:38.000000000 +0200
- @@ -73,7 +73,7 @@
- "pld-1.0", "pld-1.1", "pld-1.99",
- "conectiva-9", "conectiva-10",
- "slackware-9.1.0", "slackware-10.0.0", "slackware-10.1.0", "slackware-10.2.0",
- - "gentoo", "vlos-1.2", "freebsd-5", "rpath");
- + "gentoo", "vlos-1.2", "freebsd-5", "rpath", "archlinux");
-
- $description =<<"end_of_description;";
- Configures network shares for import or export.
- @@ -558,6 +558,7 @@
- "vlos-1.2" => "gentoo",
- "freebsd-5" => "freebsd-5",
- "freebsd-6" => "freebsd-5",
- + "archlinux" => "archlinux",
- );
-
- my %dist_table =
- @@ -602,6 +603,14 @@
- [ "nfsinstalled", \&gst_service_installed, "nfs" ],
- ]},
-
- + "archlinux" => {
- + table => [
- + [ "smbuse", \&gst_service_archlinux_get_status, "samba" ],
- + [ "smbinstalled", \&gst_service_rcng_installed, "samba" ],
- + [ "nfsuse", \&gst_service_archlinux_get_status, "nfsd" ],
- + [ "nfsinstalled", \&gst_service_rcng_installed, "nfsd" ],
- + ]},
- +
- "freebsd-5" => {
- table => [
- [ "smbuse", \&gst_service_rcng_get_status, "smbd" ],
- diff -Naur system-tools-backends-1.4.2/time-conf.in system-tools-backends-1.4.2-new/time-conf.in
- --- system-tools-backends-1.4.2/time-conf.in 2006-01-02 16:47:30.000000000 +0100
- +++ system-tools-backends-1.4.2-new/time-conf.in 2006-04-14 10:45:14.000000000 +0200
- @@ -754,11 +754,11 @@
- [ "local_time", \&time_get_local_time ],
- [ "timezone", \&time_get_rh62_zone, [LOCAL_TIME, ZONEINFO] ],
- [ "sync", \&gst_parse_split_all_array_with_pos, NTP_CONF, "server", 0, "[ \t]+", "[ \t]+" ],
- - [ "sync_active", \&gst_service_archlinux_get_status, "ntpd" ],
- - [ "ntpinstalled", \&gst_service_rcng_installed, [ "ntpd", "openntpd" ]],
- + [ "sync_active", \&gst_service_archlinux_get_status, "ntpdate" ],
- + [ "ntpinstalled", \&gst_service_rcng_installed, [ "ntpdate", "openntpd" ]],
- ]
- },
- -
- +
- "freebsd-5" =>
- {
- fn =>
- @@ -997,10 +997,10 @@
- [ "timezone", \&time_set_archlinux_zone, [LOCAL_TIME, ZONEINFO] ],
- [ "local_time", \&time_set_local_time ],
- [ "sync", \&time_replace_ntp_servers, NTP_CONF, "server", "[ \t]+" ],
- - [ "sync_active", \&gst_service_archlinux_set_status, "ntpd", "%sync_active%" ],
- + [ "sync_active", \&gst_service_archlinux_set_status, "ntpdate", "%sync_active%" ],
- ]
- },
- -
- +
- "freebsd-5" =>
- {
- fn =>
- diff -Naur system-tools-backends-1.4.2/users-conf.in system-tools-backends-1.4.2-new/users-conf.in
- --- system-tools-backends-1.4.2/users-conf.in 2006-01-02 16:48:06.000000000 +0100
- +++ system-tools-backends-1.4.2-new/users-conf.in 2006-04-14 10:31:21.000000000 +0200
- @@ -179,13 +179,17 @@
- "adm" => _("Monitor system logs"),
- "admin" => _("Administer the system"),
- "audio" => _("Use audio devices"),
- + "camera" => _("Use Photo Camera's"),
- "cdrom" => _("Use CD-ROM drives"),
- "dialout" => _("Use modems"),
- "dip" => _("Connect to Internet using a modem"),
- "fax" => _("Send and receive faxes"),
- "floppy" => _("Use floppy drives"),
- + "optical" => _("Use optical Devices"),
- "plugdev" => _("Enable access to external storage devices automatically"),
- + "powersave" => _("Allow users to use powersave actions"),
- "scanner" => _("Use scanners"),
- + "storage" => _("Enable access to external storage devices automatically"),
- "tape" => _("Use tape drives"),
- "wheel" => _("Be able to get administrator privileges"),
- );
复制代码 |
|