From d371ffc5982c12afd14b684adc7848fdd081fb97 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 11 Jan 2012 18:24:40 -0600 Subject: [PATCH] Update network configuration support for Slackware This closes Bug 619 --- knetworkconf/backends/network-conf.in | 1 + knetworkconf/backends/network.pl.in | 7 +++++++ knetworkconf/backends/platform.pl.in | 7 +++++++ knetworkconf/backends/service.pl.in | 7 +++++++ 4 files changed, 22 insertions(+) diff --git a/knetworkconf/backends/network-conf.in b/knetworkconf/backends/network-conf.in index 3ef92fa..2f76e9d 100755 --- a/knetworkconf/backends/network-conf.in +++ b/knetworkconf/backends/network-conf.in @@ -78,6 +78,7 @@ $version = "@VERSION@"; "vine-3.0", "vine-3.1", "ark", "slackware-9.1.0", "slackware-10.0.0", "slackware-10.1.0", "slackware-10.2.0", + "slackware-11.0.0", "slackware-12.0.0", "slackware-12.1.0", "slackware-12.2.0", "slackware-13.0.0", "slackware-13.1.0", "slackware-13.37.0", "gentoo", "vlos-1.2", "freebsd-5", "freebsd-6"); $description =<<"end_of_description;"; diff --git a/knetworkconf/backends/network.pl.in b/knetworkconf/backends/network.pl.in index 19c021a..d0a5ddd 100644 --- a/knetworkconf/backends/network.pl.in +++ b/knetworkconf/backends/network.pl.in @@ -552,6 +552,7 @@ sub gst_network_get_broadcast_ping_cmd "slackware-12.2.0" => "redhat-6.2", "slackware-13.0.0" => "redhat-6.2", "slackware-13.1.0" => "redhat-6.2", + "slackware-13.37.0" => "redhat-6.2", "gentoo" => "debian-2.2", "vlos-1.2" => "debian-2.2", "freebsd-5" => "debian-2.2", @@ -1877,6 +1878,7 @@ sub gst_network_get_file "slackware-12.2.0" => \&gst_network_deb22_get_file, "slackware-13.0.0" => \&gst_network_deb22_get_file, "slackware-13.1.0" => \&gst_network_deb22_get_file, + "slackware-13.37.0" => \&gst_network_deb22_get_file, "gentoo" => \&gst_network_deb22_get_file, "freebsd-5" => \&gst_network_deb22_get_file, "freebsd-6" => \&gst_network_deb22_get_file, @@ -4022,6 +4024,7 @@ sub gst_network_ensure_loopback_interface "slackware-12.2.0" => "", "slackware-13.0.0" => "", "slackware-13.1.0" => "", + "slackware-13.37.0" => "", "gentoo" => "", "vlos-1.2" => "", "freebsd-5" => "", @@ -4211,6 +4214,7 @@ sub gst_network_get_parse_table "slackware-12.2.0" => "slackware-9.1.0", "slackware-13.0.0" => "slackware-9.1.0", "slackware-13.1.0" => "slackware-9.1.0", + "slackware-13.37.0" => "slackware-9.1.0", "gentoo" => "gentoo", "vlos-1.2" => "gentoo", "freebsd-5" => "freebsd-5", @@ -4646,6 +4650,7 @@ sub gst_network_get_interface_parse_table "slackware-12.2.0" => "slackware-9.1.0", "slackware-13.0.0" => "slackware-9.1.0", "slackware-13.1.0" => "slackware-9.1.0", + "slackware-13.37.0" => "slackware-9.1.0", "gentoo" => "gentoo", "vlos-1.2" => "gentoo", "freebsd-5" => "freebsd-5", @@ -5505,6 +5510,7 @@ sub gst_network_get_replace_table "slackware-12.2.0" => "slackware-9.1.0", "slackware-13.0.0" => "slackware-9.1.0", "slackware-13.1.0" => "slackware-9.1.0", + "slackware-13.37.0" => "slackware-9.1.0", "gentoo" => "gentoo", "vlos-1.2" => "gentoo", "freebsd-5" => "freebsd-5", @@ -5932,6 +5938,7 @@ sub gst_network_get_interface_replace_table "slackware-12.2.0" => "slackware-9.1.0", "slackware-13.0.0" => "slackware-9.1.0", "slackware-13.1.0" => "slackware-9.1.0", + "slackware-13.37.0" => "slackware-9.1.0", "gentoo" => "gentoo", "vlos-1.2" => "gentoo", "freebsd-5" => "freebsd-5", diff --git a/knetworkconf/backends/platform.pl.in b/knetworkconf/backends/platform.pl.in index d540097..a3b52bb 100644 --- a/knetworkconf/backends/platform.pl.in +++ b/knetworkconf/backends/platform.pl.in @@ -100,6 +100,13 @@ $PLATFORM_INFO = { "slackware-10.0.0" => "Slackware 10.0.0", "slackware-10.1.0" => "Slackware 10.1.0", "slackware-10.2.0" => "Slackware 10.2.0", + "slackware-11.0.0" => "Slackware 11.0.0", + "slackware-12.0.0" => "Slackware 12.0.0", + "slackware-12.1.0" => "Slackware 12.1.0", + "slackware-12.2.0" => "Slackware 12.2.0", + "slackware-13.0.0" => "Slackware 13.0.0", + "slackware-13.1.0" => "Slackware 13.1.0", + "slackware-13.37.0" => "Slackware 13.37.0", "freebsd-4" => "FreeBSD 4", "freebsd-5" => "FreeBSD 5", "freebsd-6" => "FreeBSD 6", diff --git a/knetworkconf/backends/service.pl.in b/knetworkconf/backends/service.pl.in index abf041b..85b2cce 100644 --- a/knetworkconf/backends/service.pl.in +++ b/knetworkconf/backends/service.pl.in @@ -275,6 +275,13 @@ sub gst_service_get_runlevel_roles "slackware-10.0.0" => "slackware-9.1.0", "slackware-10.1.0" => "slackware-9.1.0", "slackware-10.2.0" => "slackware-9.1.0", + "slackware-11.0.0" => "slackware-9.1.0", + "slackware-12.0.0" => "slackware-9.1.0", + "slackware-12.1.0" => "slackware-9.1.0", + "slackware-12.2.0" => "slackware-9.1.0", + "slackware-13.0.0" => "slackware-9.1.0", + "slackware-13.1.0" => "slackware-9.1.0", + "slackware-13.37.0" => "slackware-9.1.0", "gentoo" => "gentoo", "vlos-1.2" => "gentoo",