diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-12-04 10:29:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-12-04 10:29:43 -0600 |
commit | 8d0dc05b1ce1468a5b45e83074d5bf7bfbf2dd8a (patch) | |
tree | 61bfec83dc537ecb7f0f371dcb5979e68322a424 /knetworkconf | |
parent | 4f798549677ef927c9a9a69b63e264861d117776 (diff) | |
download | tdeadmin-8d0dc05b1ce1468a5b45e83074d5bf7bfbf2dd8a.tar.gz tdeadmin-8d0dc05b1ce1468a5b45e83074d5bf7bfbf2dd8a.zip |
Add new distributions to TDE network configuration utilityr14.0.0
Diffstat (limited to 'knetworkconf')
-rwxr-xr-x | knetworkconf/backends/network-conf.in | 15 | ||||
-rw-r--r-- | knetworkconf/backends/network.pl.in | 170 | ||||
-rw-r--r-- | knetworkconf/backends/platform.pl.in | 59 | ||||
-rw-r--r-- | knetworkconf/backends/service.pl.in | 106 |
4 files changed, 316 insertions, 34 deletions
diff --git a/knetworkconf/backends/network-conf.in b/knetworkconf/backends/network-conf.in index ffea2cf..0f5e52d 100755 --- a/knetworkconf/backends/network-conf.in +++ b/knetworkconf/backends/network-conf.in @@ -63,24 +63,25 @@ $name = "network"; $version = "@VERSION@"; @platforms = ("redhat-5.2", "redhat-6.0", "redhat-6.1", "redhat-6.2", "redhat-7.0", "redhat-7.1", "redhat-7.2", "redhat-8.0", "redhat-9", - "rhel-5", "rhel-6", + "rhel-5", "rhel-6", "rhel-7", "openna-1.0", "mandrake-7.1", "mandrake-7.2", "mandrake-9.0", "mandrake-9.1", "mandrake-9.2", "mandrake-10.0", "mandrake-10.1","mandrake-10.2", "mandriva-2006.0", "mandriva-2006.1", "mandriva-2007.0", "mandriva-2007.1", "yoper-2.2", "blackpanther-4.0", - "debian-2.2", "debian-3.0", "debian-3.1", "debian-4.0", "debian-5.0", "debian-6.0", "debian-7.0", "debian-testing", - "ubuntu-5.04", "ubuntu-5.10", "ubuntu-6.06", "ubuntu-6.10", "ubuntu-7.04", "ubuntu-7.10", "ubuntu-8.04", "ubuntu-8.10", "ubuntu-9.04", "ubuntu-9.10", "ubuntu-10.04", "ubuntu-10.10", "ubuntu-11.04", "ubuntu-11.10", "ubuntu-12.04", "ubuntu-12.10", "ubuntu-13.04", "ubuntu-13.10", - "suse-7.0", "suse-9.0", "suse-9.1", - "turbolinux-7.0", "fedora-1", "fedora-2", "fedora-3", "fedora-4", "fedora-5", "rpath", "fedora-15", "fedora-16", "fedora-17", - "pld-1.0", "pld-1.1", "pld-1.99", + "debian-2.2", "debian-3.0", "debian-3.1", "debian-4.0", "debian-5.0", "debian-6.0", "debian-7.0", "debian-8.0", "debian-testing", + "ubuntu-5.04", "ubuntu-5.10", "ubuntu-6.06", "ubuntu-6.10", "ubuntu-7.04", "ubuntu-7.10", "ubuntu-8.04", "ubuntu-8.10", "ubuntu-9.04", "ubuntu-9.10", "ubuntu-10.04", "ubuntu-10.10", "ubuntu-11.04", "ubuntu-11.10", "ubuntu-12.04", "ubuntu-12.10", "ubuntu-13.04", "ubuntu-13.10", "ubuntu-14.04", "ubuntu-14.10", "ubuntu-15.04", + "suse-7.0", "suse-9.0", "suse-9.1", "suse-10.0", "suse-10.1", "suse-10.2", "suse-10.3", "suse-10.4", "suse-11.0", "suse-11.1", "suse-11.2", "suse-11.3", + "turbolinux-7.0", "fedora-1", "fedora-2", "fedora-3", "fedora-4", "fedora-5", "rpath", "fedora-15", "fedora-16", "fedora-17", "fedora-18", "fedora-19", "fedora-20", "fedora-21", + "pld-1.0", "pld-1.1", "pld-1.99", "pld-2.0", "pld-3.0", "conectiva-9", "conectiva-10", "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", "slackware-14.0.0", - "slackware-14.1.0", "gentoo", "vlos-1.2", "freebsd-5", "freebsd-6"); + "slackware-14.1.0", "gentoo", "vlos-1.2", + "freebsd-5", "freebsd-6", "freebsd-7", "freebsd-8", "freebsd-9", "freebsd-10"); $description =<<"end_of_description;"; Configures all network parameters and interfaces. diff --git a/knetworkconf/backends/network.pl.in b/knetworkconf/backends/network.pl.in index 1e117b2..74f164a 100644 --- a/knetworkconf/backends/network.pl.in +++ b/knetworkconf/backends/network.pl.in @@ -494,6 +494,7 @@ sub gst_network_get_broadcast_ping_cmd "redhat-9" => "redhat-6.2", "rhel-5" => "redhat-6.2", "rhel-6" => "redhat-6.2", + "rhel-7" => "redhat-6.2", "openna-1.0" => "redhat-6.2", "debian-2.2" => "debian-2.2", "debian-3.0" => "debian-2.2", @@ -502,6 +503,7 @@ sub gst_network_get_broadcast_ping_cmd "debian-5.0" => "debian-2.2", "debian-6.0" => "debian-2.2", "debian-7.0" => "debian-2.2", + "debian-8.0" => "debian-2.2", "debian-testing" => "debian-2.2", "ubuntu-5.04" => "debian-2.2", "ubuntu-5.10" => "debian-2.2", @@ -521,6 +523,9 @@ sub gst_network_get_broadcast_ping_cmd "ubuntu-12.10" => "debian-2.2", "ubuntu-13.04" => "debian-2.2", "ubuntu-13.10" => "debian-2.2", + "ubuntu-14.04" => "debian-2.2", + "ubuntu-14.10" => "debian-2.2", + "ubuntu-15.04" => "debian-2.2", "mandrake-7.1" => "debian-2.2", "mandrake-7.2" => "debian-2.2", "mandrake-9.0" => "debian-2.2", @@ -538,9 +543,20 @@ sub gst_network_get_broadcast_ping_cmd "suse-7.0" => "debian-2.2", "suse-9.0" => "redhat-6.2", "suse-9.1" => "redhat-6.2", + "suse-10.0" => "redhat-6.2", + "suse-10.1" => "redhat-6.2", + "suse-10.2" => "redhat-6.2", + "suse-10.3" => "redhat-6.2", + "suse-10.4" => "redhat-6.2", + "suse-11.0" => "redhat-6.2", + "suse-11.1" => "redhat-6.2", + "suse-11.2" => "redhat-6.2", + "suse-11.3" => "redhat-6.2", "pld-1.0" => "redhat-6.2", "pld-1.1" => "redhat-6.2", "pld-1.99" => "redhat-6.2", + "pld-2.0" => "redhat-6.2", + "pld-3.0" => "redhat-6.2", "conectiva-9" => "debian-2.2", "conectiva-10" => "debian-2.2", "fedora-1" => "redhat-6.2", @@ -551,6 +567,10 @@ sub gst_network_get_broadcast_ping_cmd "fedora-15" => "redhat-6.2", "fedora-16" => "redhat-6.2", "fedora-17" => "redhat-6.2", + "fedora-18" => "redhat-6.2", + "fedora-19" => "redhat-6.2", + "fedora-20" => "redhat-6.2", + "fedora-21" => "redhat-6.2", "rpath" => "redhat-6.2", "vine-3.0" => "redhat-6.2", "vine-3.1" => "redhat-6.2", @@ -572,6 +592,10 @@ sub gst_network_get_broadcast_ping_cmd "vlos-1.2" => "debian-2.2", "freebsd-5" => "debian-2.2", "freebsd-6" => "debian-2.2", + "freebsd-7" => "debian-2.2", + "freebsd-8" => "debian-2.2", + "freebsd-9" => "debian-2.2", + "freebsd-10" => "debian-2.2", ); return $cmd_map{$dist_map{$gst_dist}}; @@ -1834,6 +1858,7 @@ sub gst_network_get_file "redhat-9" => \&gst_network_rh72_get_file, "rhel-5" => \&gst_network_rh72_get_file, "rhel-6" => \&gst_network_rh72_get_file, + "rhel-7" => \&gst_network_rh72_get_file, "openna-1.0" => \&gst_network_rh62_get_file, "mandrake-7.2" => \&gst_network_rh62_get_file, "mandrake-7.1" => \&gst_network_rh62_get_file, @@ -1858,6 +1883,7 @@ sub gst_network_get_file "debian-5.0" => \&gst_network_deb22_get_file, "debian-6.0" => \&gst_network_deb22_get_file, "debian-7.0" => \&gst_network_deb22_get_file, + "debian-8.0" => \&gst_network_deb22_get_file, "debian-testing" => \&gst_network_deb22_get_file, "ubuntu-5.04" => \&gst_network_deb22_get_file, "ubuntu-5.10" => \&gst_network_deb22_get_file, @@ -1877,13 +1903,27 @@ sub gst_network_get_file "ubuntu-12.10" => \&gst_network_deb22_get_file, "ubuntu-13.04" => \&gst_network_deb22_get_file, "ubuntu-13.10" => \&gst_network_deb22_get_file, + "ubuntu-14.04" => \&gst_network_deb22_get_file, + "ubuntu-14.10" => \&gst_network_deb22_get_file, + "ubuntu-15.04" => \&gst_network_deb22_get_file, "suse-7.0" => \&gst_network_suse70_get_file, "suse-9.0" => \&gst_network_deb22_get_file, "suse-9.1" => \&gst_network_deb22_get_file, + "suse-10.0" => \&gst_network_deb22_get_file, + "suse-10.1" => \&gst_network_deb22_get_file, + "suse-10.2" => \&gst_network_deb22_get_file, + "suse-10.3" => \&gst_network_deb22_get_file, + "suse-10.4" => \&gst_network_deb22_get_file, + "suse-11.0" => \&gst_network_deb22_get_file, + "suse-11.1" => \&gst_network_deb22_get_file, + "suse-11.2" => \&gst_network_deb22_get_file, + "suse-11.3" => \&gst_network_deb22_get_file, "turbolinux-7.0" => \&gst_network_rh62_get_file, "pld-1.0" => \&gst_network_pld10_get_file, "pld-1.1" => \&gst_network_pld10_get_file, "pld-1.99" => \&gst_network_pld10_get_file, + "pld-2.0" => \&gst_network_pld10_get_file, + "pld-3.0" => \&gst_network_pld10_get_file, "fedora-1" => \&gst_network_rh72_get_file, "fedora-2" => \&gst_network_rh72_get_file, "fedora-3" => \&gst_network_rh72_get_file, @@ -1892,6 +1932,10 @@ sub gst_network_get_file "fedora-15" => \&gst_network_rh72_get_file, "fedora-16" => \&gst_network_rh72_get_file, "fedora-17" => \&gst_network_rh72_get_file, + "fedora-18" => \&gst_network_rh72_get_file, + "fedora-19" => \&gst_network_rh72_get_file, + "fedora-20" => \&gst_network_rh72_get_file, + "fedora-21" => \&gst_network_rh72_get_file, "rpath" => \&gst_network_rh72_get_file, "vine-3.0" => \&gst_network_rh62_get_file, "vine-3.1" => \&gst_network_rh62_get_file, @@ -1912,6 +1956,10 @@ sub gst_network_get_file "gentoo" => \&gst_network_deb22_get_file, "freebsd-5" => \&gst_network_deb22_get_file, "freebsd-6" => \&gst_network_deb22_get_file, + "freebsd-7" => \&gst_network_deb22_get_file, + "freebsd-8" => \&gst_network_deb22_get_file, + "freebsd-9" => \&gst_network_deb22_get_file, + "freebsd-10" => \&gst_network_deb22_get_file, ); $proc = $dist_map{$gst_dist}; @@ -3995,6 +4043,7 @@ sub gst_network_ensure_loopback_interface "redhat-9" => "", "rhel-5" => "", "rhel-6" => "", + "rhel-7" => "", "openna-1.0" => "lo", "mandrake-7.1" => "lo", "mandrake-7.2" => "lo", @@ -4019,6 +4068,7 @@ sub gst_network_ensure_loopback_interface "debian-5.0" => "lo", "debian-6.0" => "lo", "debian-7.0" => "lo", + "debian-8.0" => "lo", "debian-testing" => "lo", "ubuntu-5.04" => "lo", "ubuntu-5.10" => "lo", @@ -4038,13 +4088,27 @@ sub gst_network_ensure_loopback_interface "ubuntu-12.10" => "lo", "ubuntu-13.04" => "lo", "ubuntu-13.10" => "lo", + "ubuntu-14.04" => "lo", + "ubuntu-14.10" => "lo", + "ubuntu-15.04" => "lo", "suse-7.0" => "", "suse-9.0" => "", "suse-9.1" => "", + "suse-10.0" => "", + "suse-10.1" => "", + "suse-10.2" => "", + "suse-10.3" => "", + "suse-10.4" => "", + "suse-11.0" => "", + "suse-11.1" => "", + "suse-11.2" => "", + "suse-11.3" => "", "turbolinux-7.0" => "lo", "pld-1.0" => "lo", "pld-1.1" => "lo", "pld-1.99" => "lo", + "pld-2.0" => "lo", + "pld-3.0" => "lo", "fedora-1" => "", "fedora-2" => "", "fedora-3" => "", @@ -4053,6 +4117,10 @@ sub gst_network_ensure_loopback_interface "fedora-15" => "", "fedora-16" => "", "fedora-17" => "", + "fedora-18" => "", + "fedora-19" => "", + "fedora-20" => "", + "fedora-21" => "", "rpath" => "", "vine-3.0" => "lo", "vine-3.1" => "lo", @@ -4074,6 +4142,10 @@ sub gst_network_ensure_loopback_interface "vlos-1.2" => "", "freebsd-5" => "", "freebsd-6" => "", + "freebsd-7" => "", + "freebsd-8" => "", + "freebsd-9" => "", + "freebsd-10" => "", ); $dev = $dist_map {$gst_dist}; @@ -4200,6 +4272,7 @@ sub gst_network_get_parse_table "redhat-9" => "redhat-7.2", "rhel-5" => "redhat-7.2", "rhel-6" => "redhat-7.2", + "rhel-7" => "redhat-7.2", "openna-1.0" => "redhat-6.2", "mandrake-7.1" => "redhat-6.2", "mandrake-7.2" => "redhat-6.2", @@ -4224,6 +4297,7 @@ sub gst_network_get_parse_table "debian-5.0" => "debian-2.2", "debian-6.0" => "debian-2.2", "debian-7.0" => "debian-2.2", + "debian-8.0" => "debian-2.2", "debian-testing" => "debian-2.2", "ubuntu-5.04" => "debian-2.2", "ubuntu-5.10" => "debian-2.2", @@ -4243,13 +4317,27 @@ sub gst_network_get_parse_table "ubuntu-12.10" => "debian-2.2", "ubuntu-13.04" => "debian-2.2", "ubuntu-13.10" => "debian-2.2", + "ubuntu-14.04" => "debian-2.2", + "ubuntu-14.10" => "debian-2.2", + "ubuntu-15.04" => "debian-2.2", "suse-7.0" => "suse-7.0", "suse-9.0" => "suse-9.0", "suse-9.1" => "suse-9.0", + "suse-10.0" => "suse-9.0", + "suse-10.1" => "suse-9.0", + "suse-10.2" => "suse-9.0", + "suse-10.3" => "suse-9.0", + "suse-10.4" => "suse-9.0", + "suse-11.0" => "suse-9.0", + "suse-11.1" => "suse-9.0", + "suse-11.2" => "suse-9.0", + "suse-11.3" => "suse-9.0", "turbolinux-7.0" => "redhat-7.0", "pld-1.0" => "pld-1.0", "pld-1.1" => "pld-1.0", "pld-1.99" => "pld-1.0", + "pld-2.0" => "pld-1.0", + "pld-3.0" => "pld-1.0", "fedora-1" => "redhat-7.2", "fedora-2" => "redhat-7.2", "fedora-3" => "redhat-7.2", @@ -4258,6 +4346,10 @@ sub gst_network_get_parse_table "fedora-15" => "redhat-7.2", "fedora-16" => "redhat-7.2", "fedora-17" => "redhat-7.2", + "fedora-18" => "redhat-7.2", + "fedora-19" => "redhat-7.2", + "fedora-20" => "redhat-7.2", + "fedora-21" => "redhat-7.2", "rpath" => "redhat-7.2", "vine-3.0" => "redhat-7.0", "vine-3.1" => "redhat-7.0", @@ -4279,6 +4371,10 @@ sub gst_network_get_parse_table "vlos-1.2" => "gentoo", "freebsd-5" => "freebsd-5", "freebsd-6" => "freebsd-5", + "freebsd-7" => "freebsd-5", + "freebsd-8" => "freebsd-5", + "freebsd-9" => "freebsd-5", + "freebsd-10" => "freebsd-5", ); my %dist_tables = @@ -4651,6 +4747,7 @@ sub gst_network_get_interface_parse_table "redhat-9" => "redhat-8.0", "rhel-5" => "redhat-8.0", "rhel-6" => "redhat-8.0", + "rhel-7" => "redhat-8.0", "openna-1.0" => "redhat-6.2", "mandrake-7.1" => "redhat-6.2", "mandrake-7.2" => "redhat-6.2", @@ -4675,6 +4772,7 @@ sub gst_network_get_interface_parse_table "debian-5.0" => "debian-3.0", "debian-6.0" => "debian-3.0", "debian-7.0" => "debian-3.0", + "debian-8.0" => "debian-3.0", "debian-testing" => "debian-3.0", "ubuntu-5.04" => "debian-3.0", "ubuntu-5.10" => "debian-3.0", @@ -4694,13 +4792,27 @@ sub gst_network_get_interface_parse_table "ubuntu-12.10" => "debian-3.0", "ubuntu-13.04" => "debian-3.0", "ubuntu-13.10" => "debian-3.0", + "ubuntu-14.04" => "debian-3.0", + "ubuntu-14.10" => "debian-3.0", + "ubuntu-15.04" => "debian-3.0", "suse-7.0" => "suse-7.0", "suse-9.0" => "suse-9.0", "suse-9.1" => "suse-9.0", + "suse-10.0" => "suse-9.0", + "suse-10.1" => "suse-9.0", + "suse-10.2" => "suse-9.0", + "suse-10.3" => "suse-9.0", + "suse-10.4" => "suse-9.0", + "suse-11.0" => "suse-9.0", + "suse-11.1" => "suse-9.0", + "suse-11.2" => "suse-9.0", + "suse-11.3" => "suse-9.0", "turbolinux-7.0" => "redhat-6.2", "pld-1.0" => "pld-1.0", "pld-1.1" => "pld-1.0", "pld-1.99" => "pld-1.0", + "pld-2.0" => "pld-1.0", + "pld-3.0" => "pld-1.0", "fedora-1" => "redhat-7.2", "fedora-2" => "redhat-7.2", "fedora-3" => "redhat-7.2", @@ -4709,6 +4821,10 @@ sub gst_network_get_interface_parse_table "fedora-15" => "redhat-7.2", "fedora-16" => "redhat-7.2", "fedora-17" => "redhat-7.2", + "fedora-18" => "redhat-7.2", + "fedora-19" => "redhat-7.2", + "fedora-20" => "redhat-7.2", + "fedora-21" => "redhat-7.2", "rpath" => "redhat-7.2", "vine-3.0" => "vine-3.0", "vine-3.1" => "vine-3.0", @@ -4730,6 +4846,10 @@ sub gst_network_get_interface_parse_table "vlos-1.2" => "gentoo", "freebsd-5" => "freebsd-5", "freebsd-6" => "freebsd-5", + "freebsd-7" => "freebsd-5", + "freebsd-8" => "freebsd-5", + "freebsd-9" => "freebsd-5", + "freebsd-10" => "freebsd-5", ); my %dist_tables = @@ -5527,6 +5647,7 @@ sub gst_network_get_replace_table "redhat-9" => "redhat-7.2", "rhel-5" => "redhat-7.2", "rhel-6" => "redhat-7.2", + "rhel-7" => "redhat-7.2", "mandrake-7.1" => "redhat-6.2", "mandrake-7.2" => "redhat-6.2", "mandrake-9.0" => "redhat-7.0", @@ -5550,6 +5671,7 @@ sub gst_network_get_replace_table "debian-5.0" => "debian-2.2", "debian-6.0" => "debian-2.2", "debian-7.0" => "debian-2.2", + "debian-8.0" => "debian-2.2", "debian-testing" => "debian-2.2", "ubuntu-5.04" => "debian-2.2", "ubuntu-5.10" => "debian-2.2", @@ -5569,13 +5691,27 @@ sub gst_network_get_replace_table "ubuntu-12.10" => "debian-2.2", "ubuntu-13.04" => "debian-2.2", "ubuntu-13.10" => "debian-2.2", + "ubuntu-14.04" => "debian-2.2", + "ubuntu-14.10" => "debian-2.2", + "ubuntu-15.04" => "debian-2.2", "suse-7.0" => "suse-7.0", "suse-9.0" => "suse-9.0", "suse-9.1" => "suse-9.0", - "turbolinux-7.0" => "redhat-7.0", + "suse-10.0" => "suse-9.0", + "suse-10.1" => "suse-9.0", + "suse-10.2" => "suse-9.0", + "suse-10.3" => "suse-9.0", + "suse-10.4" => "suse-9.0", + "suse-11.0" => "suse-9.0", + "suse-11.1" => "suse-9.0", + "suse-11.2" => "suse-9.0", + "suse-11.3" => "suse-9.0", + "turbolinux-7.0" => "redhat-7.0", "pld-1.0" => "pld-1.0", "pld-1.1" => "pld-1.0", "pld-1.99" => "pld-1.0", + "pld-2.0" => "pld-1.0", + "pld-3.0" => "pld-1.0", "fedora-1" => "redhat-7.2", "fedora-2" => "redhat-7.2", "fedora-3" => "redhat-7.2", @@ -5584,6 +5720,10 @@ sub gst_network_get_replace_table "fedora-15" => "redhat-7.2", "fedora-16" => "redhat-7.2", "fedora-17" => "redhat-7.2", + "fedora-18" => "redhat-7.2", + "fedora-19" => "redhat-7.2", + "fedora-20" => "redhat-7.2", + "fedora-21" => "redhat-7.2", "rpath" => "redhat-7.2", "vine-3.0" => "redhat-7.0", "vine-3.1" => "redhat-7.0", @@ -5605,6 +5745,10 @@ sub gst_network_get_replace_table "vlos-1.2" => "gentoo", "freebsd-5" => "freebsd-5", "freebsd-6" => "freebsd-5", + "freebsd-7" => "freebsd-5", + "freebsd-8" => "freebsd-5", + "freebsd-9" => "freebsd-5", + "freebsd-10" => "freebsd-5", ); my %dist_tables = @@ -5970,6 +6114,7 @@ sub gst_network_get_interface_replace_table "redhat-9" => "redhat-8.0", "rhel-5" => "redhat-8.0", "rhel-6" => "redhat-8.0", + "rhel-7" => "redhat-8.0", "mandrake-7.1" => "redhat-6.2", "mandrake-7.2" => "redhat-6.2", "mandrake-9.0" => "mandrake-9.0", @@ -5993,6 +6138,7 @@ sub gst_network_get_interface_replace_table "debian-5.0" => "debian-3.0", "debian-6.0" => "debian-3.0", "debian-7.0" => "debian-3.0", + "debian-8.0" => "debian-3.0", "debian-testing" => "debian-3.0", "ubuntu-5.04" => "debian-3.0", "ubuntu-5.10" => "debian-3.0", @@ -6012,13 +6158,27 @@ sub gst_network_get_interface_replace_table "ubuntu-12.10" => "debian-3.0", "ubuntu-13.04" => "debian-3.0", "ubuntu-13.10" => "debian-3.0", + "ubuntu-14.04" => "debian-3.0", + "ubuntu-14.10" => "debian-3.0", + "ubuntu-15.04" => "debian-3.0", "suse-7.0" => "suse-7.0", "suse-9.0" => "suse-9.0", "suse-9.1" => "suse-9.0", + "suse-10.0" => "suse-9.0", + "suse-10.1" => "suse-9.0", + "suse-10.2" => "suse-9.0", + "suse-10.3" => "suse-9.0", + "suse-10.4" => "suse-9.0", + "suse-11.0" => "suse-9.0", + "suse-11.1" => "suse-9.0", + "suse-11.2" => "suse-9.0", + "suse-11.3" => "suse-9.0", "turbolinux-7.0" => "redhat-6.2", "pld-1.0" => "pld-1.0", "pld-1.1" => "pld-1.0", "pld-1.99" => "pld-1.0", + "pld-2.0" => "pld-1.0", + "pld-3.0" => "pld-1.0", "fedora-1" => "redhat-7.2", "fedora-2" => "redhat-7.2", "fedora-3" => "redhat-7.2", @@ -6027,6 +6187,10 @@ sub gst_network_get_interface_replace_table "fedora-15" => "redhat-7.2", "fedora-16" => "redhat-7.2", "fedora-17" => "redhat-7.2", + "fedora-18" => "redhat-7.2", + "fedora-19" => "redhat-7.2", + "fedora-20" => "redhat-7.2", + "fedora-21" => "redhat-7.2", "rpath" => "redhat-7.2", "vine-3.0" => "vine-3.0", "vine-3.1" => "vine-3.0", @@ -6048,6 +6212,10 @@ sub gst_network_get_interface_replace_table "vlos-1.2" => "gentoo", "freebsd-5" => "freebsd-5", "freebsd-6" => "freebsd-5", + "freebsd-7" => "freebsd-5", + "freebsd-8" => "freebsd-5", + "freebsd-9" => "freebsd-5", + "freebsd-10" => "freebsd-5", ); my %dist_tables = diff --git a/knetworkconf/backends/platform.pl.in b/knetworkconf/backends/platform.pl.in index 0e60dcd..76eebca 100644 --- a/knetworkconf/backends/platform.pl.in +++ b/knetworkconf/backends/platform.pl.in @@ -45,24 +45,29 @@ $PLATFORM_INFO = { "debian-5.0" => "Debian GNU/Linux 5.0 Lenny", "debian-6.0" => "Debian GNU/Linux 6.0 Squeeze", "debian-7.0" => "Debian GNU/Linux 7.0 Wheezy", + "debian-8.0" => "Debian GNU/Linux 8.0 Jessie", "debian-testing" => "Debian GNU/Linux Testing/Unstable", - "ubuntu-5.04" => "Kubuntu 5.04, Hoary Hedgehog", - "ubuntu-5.10" => "Kubuntu 5.10, Breezy Badger", - "ubuntu-6.06" => "Kubuntu 6.06, Dapper Drake", - "ubuntu-6.10" => "Kubuntu 6.10, Edgy Eft", - "ubuntu-7.04" => "Kubuntu 7.04, Feisty Fawn", - "ubuntu-7.10" => "Kubuntu 7.10, Gutsy Gibbon", - "ubuntu-8.04" => "Kubuntu 8.04, Hardy Heron", - "ubuntu-8.10" => "Kubuntu 8.10, Intrepid Ibex", - "ubuntu-9.04" => "Kubuntu 9.04, Jaunty Jackalope", - "ubuntu-9.10" => "Kubuntu 9.10, Karmic Koala", - "ubuntu-10.04" => "Kubuntu 10.04, Lucid Lynx", - "ubuntu-10.10" => "Kubuntu 10.10, Maverick Meerkat", - "ubuntu-11.04" => "Kubuntu 11.04, Natty Narwhal", - "ubuntu-11.10" => "Kubuntu 11.10, Oneiric Ocelot", - "ubuntu-12.04" => "Kubuntu 12.04, Precise Pangolin", - "ubuntu-12.10" => "Kubuntu 12.10, Quantal Quetzal", - "ubuntu-13.04" => "Kubuntu 13.04, Raring Ringtail", + "ubuntu-5.04" => "Ubuntu 5.04, Hoary Hedgehog", + "ubuntu-5.10" => "Ubuntu 5.10, Breezy Badger", + "ubuntu-6.06" => "Ubuntu 6.06, Dapper Drake", + "ubuntu-6.10" => "Ubuntu 6.10, Edgy Eft", + "ubuntu-7.04" => "Ubuntu 7.04, Feisty Fawn", + "ubuntu-7.10" => "Ubuntu 7.10, Gutsy Gibbon", + "ubuntu-8.04" => "Ubuntu 8.04, Hardy Heron", + "ubuntu-8.10" => "Ubuntu 8.10, Intrepid Ibex", + "ubuntu-9.04" => "Ubuntu 9.04, Jaunty Jackalope", + "ubuntu-9.10" => "Ubuntu 9.10, Karmic Koala", + "ubuntu-10.04" => "Ubuntu 10.04, Lucid Lynx", + "ubuntu-10.10" => "Ubuntu 10.10, Maverick Meerkat", + "ubuntu-11.04" => "Ubuntu 11.04, Natty Narwhal", + "ubuntu-11.10" => "Ubuntu 11.10, Oneiric Ocelot", + "ubuntu-12.04" => "Ubuntu 12.04, Precise Pangolin", + "ubuntu-12.10" => "Ubuntu 12.10, Quantal Quetzal", + "ubuntu-13.04" => "Ubuntu 13.04, Raring Ringtail", + "ubuntu-13.10" => "Ubuntu 13.10, Saucy Salamander", + "ubuntu-14.04" => "Ubuntu 14.04, Trusty Tahr", + "ubuntu-14.10" => "Ubuntu 14.10, Utopic Unicorn", + "ubuntu-15.04" => "Ubuntu 15.04, Vivid Vervet", "redhat-5.2" => "Red Hat Linux 5.2 Apollo", "redhat-6.0" => "Red Hat Linux 6.0 Hedwig", "redhat-6.1" => "Red Hat Linux 6.1 Cartman", @@ -75,6 +80,7 @@ $PLATFORM_INFO = { "redhat-9" => "Red Hat Linux 9.0 Shrike", "rhel-5" => "Enterprise Linux 5", "rhel-6" => "Enterprise Linux 6", + "rhel-7" => "Enterprise Linux 7", "openna-1.0" => "OpenNA Linux 1.0 VSLC", "mandrake-7.1" => "Linux Mandrake 7.1", "mandrake-7.2" => "Linux Mandrake 7.2 Odyssey", @@ -96,6 +102,15 @@ $PLATFORM_INFO = { "suse-7.0" => "SuSE Linux 7.0", "suse-9.0" => "SuSE Linux 9.0", "suse-9.1" => "SuSE Linux 9.1", + "suse-10.0" => "SuSE Linux 10.0", + "suse-10.1" => "SuSE Linux 10.1", + "suse-10.2" => "SuSE Linux 10.2", + "suse-10.3" => "SuSE Linux 10.3", + "suse-10.4" => "SuSE Linux 10.4", + "suse-11.0" => "SuSE Linux 11.0", + "suse-11.1" => "SuSE Linux 11.1", + "suse-11.2" => "SuSE Linux 11.2", + "suse-11.3" => "SuSE Linux 11.3", "turbolinux-7.0" => "Turbolinux 7.0", "slackware-8.0.0" => "Slackware 8.0.0", "slackware-8.1" => "Slackware 8.1", @@ -116,12 +131,18 @@ $PLATFORM_INFO = { "freebsd-4" => "FreeBSD 4", "freebsd-5" => "FreeBSD 5", "freebsd-6" => "FreeBSD 6", + "freebsd-7" => "FreeBSD 7", + "freebsd-8" => "FreeBSD 8", + "freebsd-9" => "FreeBSD 9", + "freebsd-10" => "FreeBSD 10", "gentoo" => "Gentoo Linux", "vlos-1.2" => "Vida Linux OS 1.2", "archlinux" => "Arch Linux", "pld-1.0" => "PLD 1.0 Ra", "pld-1.1" => "PLD 1.1 Ra", "pld-1.99" => "PLD 1.99 Ac-pre", + "pld-2.0" => "PLD 2.0 Ac", + "pld-3.0" => "PLD 3.0 Th", "vine-3.0" => "Vine Linux 3.0", "vine-3.1" => "Vine Linux 3.1", "fedora-1" => "Fedora Core 1 (Yarrow)", @@ -132,6 +153,10 @@ $PLATFORM_INFO = { "fedora-15" => "Fedora 15 (LoveLock)", "fedora-16" => "Fedora 16 (Verne)", "fedora-17" => "Fedora 17 (Beefy Miracle)", + "fedora-18" => "Fedora 18 (Spherical Cow)", + "fedora-19" => "Fedora 19 (Schrödinger's Cat)", + "fedora-20" => "Fedora 20 (Heisenbug)", + "fedora-21" => "Fedora 21", "rpath" => "rPath Linux", "ark" => "Ark Linux", }; diff --git a/knetworkconf/backends/service.pl.in b/knetworkconf/backends/service.pl.in index 018bb49..f92151f 100644 --- a/knetworkconf/backends/service.pl.in +++ b/knetworkconf/backends/service.pl.in @@ -59,9 +59,10 @@ sub gst_service_sysv_get_paths "redhat-8.0" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], "redhat-9" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], "openna-1.0" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], - + "rhel-5" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], "rhel-6" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], + "rhel-7" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], "mandrake-7.1" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], "mandrake-7.2" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], @@ -89,6 +90,7 @@ sub gst_service_sysv_get_paths "debian-5.0" => ["$gst_prefix/etc", "$gst_prefix/etc/init.d", "../init.d"], "debian-6.0" => ["$gst_prefix/etc", "$gst_prefix/etc/init.d", "../init.d"], "debian-7.0" => ["$gst_prefix/etc", "$gst_prefix/etc/init.d", "../init.d"], + "debian-8.0" => ["$gst_prefix/etc", "$gst_prefix/etc/init.d", "../init.d"], "debian-testing" => ["$gst_prefix/etc", "$gst_prefix/etc/init.d", "../init.d"], "ubuntu-5.04" => ["$gst_prefix/etc", "$gst_prefix/etc/init.d", "../init.d"], "ubuntu-5.10" => ["$gst_prefix/etc", "$gst_prefix/etc/init.d", "../init.d"], @@ -107,16 +109,31 @@ sub gst_service_sysv_get_paths "ubuntu-12.04" => ["$gst_prefix/etc", "$gst_prefix/etc/init.d", "../init.d"], "ubuntu-12.10" => ["$gst_prefix/etc", "$gst_prefix/etc/init.d", "../init.d"], "ubuntu-13.04" => ["$gst_prefix/etc", "$gst_prefix/etc/init.d", "../init.d"], - + "ubuntu-13.10" => ["$gst_prefix/etc", "$gst_prefix/etc/init.d", "../init.d"], + "ubuntu-14.04" => ["$gst_prefix/etc", "$gst_prefix/etc/init.d", "../init.d"], + "ubuntu-14.10" => ["$gst_prefix/etc", "$gst_prefix/etc/init.d", "../init.d"], + "ubuntu-15.04" => ["$gst_prefix/etc", "$gst_prefix/etc/init.d", "../init.d"], + "suse-7.0" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d", "../"], "suse-9.0" => ["$gst_prefix/etc/init.d", "$gst_prefix/etc/init.d", "../"], "suse-9.1" => ["$gst_prefix/etc/init.d", "$gst_prefix/etc/init.d", "../"], + "suse-10.0" => ["$gst_prefix/etc/init.d", "$gst_prefix/etc/init.d", "../"], + "suse-10.1" => ["$gst_prefix/etc/init.d", "$gst_prefix/etc/init.d", "../"], + "suse-10.2" => ["$gst_prefix/etc/init.d", "$gst_prefix/etc/init.d", "../"], + "suse-10.3" => ["$gst_prefix/etc/init.d", "$gst_prefix/etc/init.d", "../"], + "suse-10.4" => ["$gst_prefix/etc/init.d", "$gst_prefix/etc/init.d", "../"], + "suse-11.0" => ["$gst_prefix/etc/init.d", "$gst_prefix/etc/init.d", "../"], + "suse-11.1" => ["$gst_prefix/etc/init.d", "$gst_prefix/etc/init.d", "../"], + "suse-11.2" => ["$gst_prefix/etc/init.d", "$gst_prefix/etc/init.d", "../"], + "suse-11.3" => ["$gst_prefix/etc/init.d", "$gst_prefix/etc/init.d", "../"], "turbolinux-7.0" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], "pld-1.0" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], "pld-1.1" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], "pld-1.99" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], + "pld-2.0" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], + "pld-2.0" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], "fedora-1" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], "fedora-2" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], @@ -128,6 +145,10 @@ sub gst_service_sysv_get_paths "fedora-15" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], "fedora-16" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], "fedora-17" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], + "fedora-18" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], + "fedora-19" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], + "fedora-20" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], + "fedora-21" => ["$gst_prefix/etc/rc.d", "$gst_prefix/etc/rc.d/init.d", "../init.d"], "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"], @@ -160,6 +181,7 @@ sub gst_service_sysv_get_runlevels "rhel-5" => [3, 5], "rhel-6" => [3, 5], + "rhel-7" => [3, 5], "mandrake-7.1" => [3, 5], "mandrake-7.2" => [3, 5], @@ -188,6 +210,7 @@ sub gst_service_sysv_get_runlevels "debian-5.0" => [2, 3], "debian-6.0" => [2, 3], "debian-7.0" => [2, 3], + "debian-8.0" => [2, 3], "debian-testing" => [2, 3], "ubuntu-5.04" => [2, 3], "ubuntu-5.10" => [2, 3], @@ -206,16 +229,31 @@ sub gst_service_sysv_get_runlevels "ubuntu-12.04" => [2, 3], "ubuntu-12.10" => [2, 3], "ubuntu-13.04" => [2, 3], - + "ubuntu-13.10" => [2, 3], + "ubuntu-14.04" => [2, 3], + "ubuntu-14.10" => [2, 3], + "ubuntu-15.04" => [2, 3], + "suse-7.0" => [3, 5], "suse-9.0" => [3, 5], "suse-9.1" => [3, 5], + "suse-10.0" => [3, 5], + "suse-10.1" => [3, 5], + "suse-10.2" => [3, 5], + "suse-10.3" => [3, 5], + "suse-10.4" => [3, 5], + "suse-11.0" => [3, 5], + "suse-11.1" => [3, 5], + "suse-11.2" => [3, 5], + "suse-11.3" => [3, 5], "turbolinux-7.0" => [3, 5], "pld-1.0" => [3, 5], "pld-1.1" => [3, 5], "pld-1.99" => [3, 5], + "pld-2.0" => [3, 5], + "pld-3.0" => [3, 5], "fedora-1" => [3, 5], "fedora-2" => [3, 5], @@ -227,7 +265,11 @@ sub gst_service_sysv_get_runlevels "fedora-15" => [3, 5], "fedora-16" => [3, 5], "fedora-17" => [3, 5], - + "fedora-18" => [3, 5], + "fedora-19" => [3, 5], + "fedora-20" => [3, 5], + "fedora-21" => [3, 5], + "vine-3.0" => [3, 5], "vine-3.1" => [3, 5], "ark" => [3, 5], @@ -255,9 +297,10 @@ sub gst_service_get_runlevel_roles "redhat-8.0" => "redhat-5.2", "redhat-9" => "redhat-5.2", "openna-1.0" => "redhat-5.2", - + "rhel-5" => "redhat-5.2", "rhel-6" => "redhat-5.2", + "rhel-7" => "redhat-5.2", "mandrake-7.1" => "redhat-5.2", "mandrake-7.2" => "redhat-5.2", @@ -278,7 +321,7 @@ sub gst_service_get_runlevel_roles "conectiva-9" => "redhat-5.2", "conectiva-10" => "redhat-5.2", - + "debian-2.2" => "debian-2.2", "debian-3.0" => "debian-2.2", "debian-3.1" => "debian-2.2", @@ -286,6 +329,7 @@ sub gst_service_get_runlevel_roles "debian-5.0" => "debian-2.2", "debian-6.0" => "debian-2.2", "debian-7.0" => "debian-2.2", + "debian-8.0" => "debian-2.2", "debian-testing" => "debian-2.2", "ubuntu-5.04" => "debian-2.2", "ubuntu-5.10" => "debian-2.2", @@ -304,11 +348,24 @@ sub gst_service_get_runlevel_roles "ubuntu-12.04" => "debian-2.2", "ubuntu-12.10" => "debian-2.2", "ubuntu-13.04" => "debian-2.2", - + "ubuntu-13.10" => "debian-2.2", + "ubuntu-14.04" => "debian-2.2", + "ubuntu-14.10" => "debian-2.2", + "ubuntu-15.04" => "debian-2.2", + "suse-7.0" => "redhat-5.2", "suse-9.0" => "redhat-5.2", "suse-9.1" => "redhat-5.2", - + "suse-10.0" => "redhat-5.2", + "suse-10.1" => "redhat-5.2", + "suse-10.2" => "redhat-5.2", + "suse-10.3" => "redhat-5.2", + "suse-10.4" => "redhat-5.2", + "suse-11.0" => "redhat-5.2", + "suse-11.1" => "redhat-5.2", + "suse-11.2" => "redhat-5.2", + "suse-11.3" => "redhat-5.2", + "turbolinux-7.0" => "redhat-5.2", "pld-1.0" => "redhat-5.2", "pld-1.1" => "redhat-5.2", @@ -323,6 +380,10 @@ sub gst_service_get_runlevel_roles "fedora-15" => "redhat-5.2", "fedora-16" => "redhat-5.2", "fedora-17" => "redhat-5.2", + "fedora-18" => "redhat-5.2", + "fedora-19" => "redhat-5.2", + "fedora-20" => "redhat-5.2", + "fedora-21" => "redhat-5.2", "vine-3.0" => "redhat-5.2", "vine-3.1" => "redhat-5.2", @@ -348,6 +409,10 @@ sub gst_service_get_runlevel_roles "archlinux" => "freebsd-5", "freebsd-5" => "freebsd-5", "freebsd-6" => "freebsd-5", + "freebsd-7" => "freebsd-5", + "freebsd-8" => "freebsd-5", + "freebsd-9" => "freebsd-5", + "freebsd-10" => "freebsd-5", ); %runlevels= @@ -1793,6 +1858,7 @@ sub gst_service_get_status "debian-5.0" => \&gst_service_debian_get_status, "debian-6.0" => \&gst_service_debian_get_status, "debian-7.0" => \&gst_service_debian_get_status, + "debian-8.0" => \&gst_service_debian_get_status, "debian-testing" => \&gst_service_debian_get_status, "ubuntu-5.04" => \&gst_service_debian_get_status, "ubuntu-5.10" => \&gst_service_debian_get_status, @@ -1811,7 +1877,11 @@ sub gst_service_get_status "ubuntu-12.04" => \&gst_service_debian_get_status, "ubuntu-12.10" => \&gst_service_debian_get_status, "ubuntu-13.04" => \&gst_service_debian_get_status, - + "ubuntu-13.10" => \&gst_service_debian_get_status, + "ubuntu-14.04" => \&gst_service_debian_get_status, + "ubuntu-14.10" => \&gst_service_debian_get_status, + "ubuntu-15.04" => \&gst_service_debian_get_status, + "redhat-5.2" => \&gst_service_redhat_get_status, "redhat-6.0" => \&gst_service_redhat_get_status, "redhat-6.1" => \&gst_service_redhat_get_status, @@ -1824,6 +1894,7 @@ sub gst_service_get_status "redhat-9" => \&gst_service_redhat_get_status, "rhel-5" => \&gst_service_redhat_get_status, "rhel-6" => \&gst_service_redhat_get_status, + "rhel-7" => \&gst_service_redhat_get_status, "mandrake-7.2" => \&gst_service_redhat_get_status, "fedora-1" => \&gst_service_redhat_get_status, "fedora-2" => \&gst_service_redhat_get_status, @@ -1833,17 +1904,34 @@ sub gst_service_get_status "fedora-15" => \&gst_service_redhat_get_status, "fedora-16" => \&gst_service_redhat_get_status, "fedora-17" => \&gst_service_redhat_get_status, + "fedora-18" => \&gst_service_redhat_get_status, + "fedora-19" => \&gst_service_redhat_get_status, + "fedora-20" => \&gst_service_redhat_get_status, + "fedora-21" => \&gst_service_redhat_get_status, "rpath" => \&gst_service_redhat_get_status, "suse-9.0" => \&gst_service_suse_get_status, "suse-9.1" => \&gst_service_suse_get_status, + "suse-10.0" => \&gst_service_suse_get_status, + "suse-10.1" => \&gst_service_suse_get_status, + "suse-10.2" => \&gst_service_suse_get_status, + "suse-10.3" => \&gst_service_suse_get_status, + "suse-10.4" => \&gst_service_suse_get_status, + "suse-11.0" => \&gst_service_suse_get_status, + "suse-11.1" => \&gst_service_suse_get_status, + "suse-11.2" => \&gst_service_suse_get_status, + "suse-11.3" => \&gst_service_suse_get_status, "archlinux" => \&gst_service_archlinux_get_status, "gentoo" => \&gst_service_gentoo_get_status, "vlos-1.2" => \&gst_service_gentoo_get_status, "freebsd-5" => \&gst_service_rcng_get_status, "freebsd-6" => \&gst_service_rcng_get_status, + "freebsd-7" => \&gst_service_rcng_get_status, + "freebsd-8" => \&gst_service_rcng_get_status, + "freebsd-9" => \&gst_service_rcng_get_status, + "freebsd-10" => \&gst_service_rcng_get_status, ); my $proc; |