LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-07-2008, 05:50 AM   #16
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 91

Pat decided to include the patches in -current, so those following it can just download the latest kdeadmin-3.5.10-i486-3.tgz and upgrade their system.

For those sticking with the stable 12.1 version, I made one big patch file with all changes:
Code:
*** orig/network-conf	2008-12-06 10:17:03.000000000 -0200
--- /usr/share/apps/knetworkconf/backends/network-conf	2008-12-06 10:25:17.000000000 -0200
***************
*** 78,83 ****
--- 78,84 ----
                "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",
                "gentoo", "vlos-1.2", "freebsd-5", "freebsd-6");
  
  $description =<<"end_of_description;";
*** orig/network.pl	2008-12-06 10:16:52.000000000 -0200
--- /usr/share/apps/knetworkconf/backends/network.pl	2008-12-06 21:52:53.000000000 -0200
***************
*** 541,546 ****
--- 541,550 ----
         "slackware-10.0.0" => "redhat-6.2",
         "slackware-10.1.0" => "redhat-6.2",
         "slackware-10.2.0" => "redhat-6.2",
+        "slackware-11.0.0" => "redhat-6.2",
+        "slackware-12.0.0" => "redhat-6.2",
+        "slackware-12.1.0" => "redhat-6.2",
+        "slackware-12.2.0" => "redhat-6.2",
         "gentoo"       => "debian-2.2",
         "vlos-1.2"     => "debian-2.2",
         "freebsd-5"    => "debian-2.2",
***************
*** 1855,1860 ****
--- 1859,1868 ----
            "slackware-10.0.0" => \&gst_network_deb22_get_file,
            "slackware-10.1.0" => \&gst_network_deb22_get_file,
            "slackware-10.2.0" => \&gst_network_deb22_get_file,
+           "slackware-11.0.0" => \&gst_network_deb22_get_file,
+           "slackware-12.0.0" => \&gst_network_deb22_get_file,
+           "slackware-12.1.0" => \&gst_network_deb22_get_file,
+           "slackware-12.2.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,
***************
*** 3985,3990 ****
--- 3993,4002 ----
            "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" => "",
            "gentoo"       => "",
            "vlos-1.2"     => "",
            "freebsd-5"    => "",
***************
*** 4160,4165 ****
--- 4172,4181 ----
            "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",
            "gentoo"       => "gentoo",
            "vlos-1.2"     => "gentoo",
            "freebsd-5"    => "freebsd-5",
***************
*** 4442,4447 ****
--- 4458,4464 ----
         [ "hostname",      \&gst_parse_fq_hostname, HOSTNAME ],
         [ "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_fq_domain,   HOSTNAME ],
         [ "domain",        \&gst_parse_split_first_str,   RESOLV_CONF,  "domain", "[ \t]+" ],
         [ "order",         \&gst_parse_split_first_array, HOST_CONF,    "order", "[ \t]+", ",[ \t]*" ],
         [ "hostmatch",     \&gst_parse_split_first_bool,  HOST_CONF,    "multi", "[ \t]+" ],
***************
*** 4591,4596 ****
--- 4608,4617 ----
            "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",
            "gentoo"       => "gentoo",
            "vlos-1.2"     => "gentoo",
            "freebsd-5"    => "freebsd-5",
***************
*** 5439,5444 ****
--- 5460,5469 ----
            "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",
            "gentoo"       => "gentoo",
            "vlos-1.2"     => "gentoo",
            "freebsd-5"    => "freebsd-5",
***************
*** 5719,5725 ****
         [ "smbdesc",       \&gst_replace_ini,              SMB_CONF,    "global", "server string" ],
         [ "winsserver",    \&gst_replace_ini,              SMB_CONF,    "global", "wins server" ],
         [ "winsuse",       \&gst_replace_ini_bool,         SMB_CONF,    "global", "wins support" ],
!        [ "smbuse",        \&gst_service_bsd_set_status,   "/etc/rc.d/rc.samba" ],
         [ "interface",     \&gst_network_interfaces_set,   OLD_HASH ],
         [ "gateway",       \&gst_network_route_set_default_gw, "%gatewaydev%" ]
        ]
--- 5744,5750 ----
         [ "smbdesc",       \&gst_replace_ini,              SMB_CONF,    "global", "server string" ],
         [ "winsserver",    \&gst_replace_ini,              SMB_CONF,    "global", "wins server" ],
         [ "winsuse",       \&gst_replace_ini_bool,         SMB_CONF,    "global", "wins support" ],
!        [ "smbuse",        \&gst_service_bsd_set_status,   "/etc/rc.d/rc.samba", "%smbuse%" ],
         [ "interface",     \&gst_network_interfaces_set,   OLD_HASH ],
         [ "gateway",       \&gst_network_route_set_default_gw, "%gatewaydev%" ]
        ]
***************
*** 5855,5860 ****
--- 5880,5889 ----
            "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",
            "gentoo"       => "gentoo",
            "vlos-1.2"     => "gentoo",
            "freebsd-5"    => "freebsd-5",
*** orig/platform.pl	2008-12-06 10:17:58.000000000 -0200
--- /usr/share/apps/knetworkconf/backends/platform.pl	2008-12-06 10:35:27.000000000 -0200
***************
*** 90,95 ****
--- 90,99 ----
    "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",
    "freebsd-4"       => "FreeBSD 4",
    "freebsd-5"       => "FreeBSD 5",
    "freebsd-6"       => "FreeBSD 6",
*** orig/service.pl	2008-12-06 10:16:37.000000000 -0200
--- /usr/share/apps/knetworkconf/backends/service.pl	2008-12-06 10:36:52.000000000 -0200
***************
*** 275,280 ****
--- 275,284 ----
       "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",
  
       "gentoo"         => "gentoo",
       "vlos-1.2"       => "gentoo",
Just copy & save in a file, and in a console as root do:
Code:
cd /usr/share/apps/knetworkconf/backends
patch < (your_saved_patchfile)
Like I said in the previous posts, I have tested this in 12.1 and 12.2-RC1 but it should work in previous versions as well.

Any feedback is appreciated!
 
1 members found this post helpful.
Old 12-07-2008, 02:23 PM   #17
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
I retested the latest patch. Works great. I saw no problems, but my testing was only as thorough as my previous attempt.

I'll let Pat know you updated the patch. Looks like your bug repair with rc.samba is not in his updates.
 
Old 12-07-2008, 07:15 PM   #18
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 91
ok, good to hear that everything worked fine.
I might get excited to correct other bugs in KDE
 
Old 12-08-2008, 05:37 AM   #19
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Thanks, niels. Just applied your patch, everything seems OK.

P.S.
Just tried out the new Thanks button on your post.

Last edited by brianL; 12-10-2008 at 05:11 AM.
 
Old 12-10-2008, 08:12 PM   #20
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 91
Hey, thanks for thanking me! I just noticed the new button today...
 
Old 12-11-2008, 05:31 AM   #21
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Thanks for thanks for thanks... (no need to thank for thanks for thanks for thanks )
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE Control Center SpEcIeS Linux - Software 3 03-29-2005 11:16 AM
kde control center David@330 Linux - Newbie 4 08-25-2004 11:01 PM
KDE Control Center carrierel Linux - General 5 09-08-2003 08:27 AM
problem with KDE control center marlinux Linux - Software 0 08-25-2003 04:18 AM
KDE 3.1 Control Center bax Linux - Software 2 04-06-2003 01:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration