Proposed diff for system-tools-backends (lenny)
Hi,
I've been looking at bug #545358, it's a bug that only affects lenny, making
system-tools-backends quite useless (and also network-admin, shares-admin and
time-admin from gnome-system-tools).
By quite useless I mean, network-admin won't read nor write network
configurations from/to /etc/network/interfaces, shares-admin won't parse nor
generate /etc/samba/smb.conf, time-admin won't detect the currently defined
timezone.
The proposed patch is quite trivial. I think we should push the fixed version
to proposed-updates, what do you think?
I'm attaching a proposed diff for a 2.6.0-2lenny4 version.
Thanks,
--
"recursividad 95, 154, 156, 201, 224, 293"
-- El Lenguaje de Programacion C, pag. 293 (Kernighan & Ritchie)
Saludos /\/\ /\ >< `/
diff -u system-tools-backends-2.6.0/debian/changelog system-tools-backends-2.6.0/debian/changelog
--- system-tools-backends-2.6.0/debian/changelog
+++ system-tools-backends-2.6.0/debian/changelog
@@ -1,3 +1,12 @@
+system-tools-backends (2.6.0-2lenny4) stable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix debian definitions so it can actually interact with the system. Thanks
+ to Aldo Vizcaino y Fernando Lopez <soportelihuen@linti.unlp.edu.ar>.
+ Closes: #545358.
+
+ -- Maximiliano Curia <maxy@debian.org> Thu, 10 Dec 2009 10:46:29 -0300
+
system-tools-backends (2.6.0-2lenny3) stable; urgency=high
* NMU.
diff -u system-tools-backends-2.6.0/debian/patches/series system-tools-backends-2.6.0/debian/patches/series
--- system-tools-backends-2.6.0/debian/patches/series
+++ system-tools-backends-2.6.0/debian/patches/series
@@ -8,0 +9 @@
+61_fix-debian-var.patch
only in patch2:
unchanged:
--- system-tools-backends-2.6.0.orig/debian/patches/61_fix-debian-var.patch
+++ system-tools-backends-2.6.0/debian/patches/61_fix-debian-var.patch
@@ -0,0 +1,64 @@
+Index: system-tools-backends-2.6.0/Network/Hosts.pm
+===================================================================
+--- system-tools-backends-2.6.0.orig/Network/Hosts.pm 2009-12-07 16:53:59.000000000 -0300
++++ system-tools-backends-2.6.0/Network/Hosts.pm 2009-12-07 16:54:59.000000000 -0300
+@@ -37,6 +37,7 @@
+ {
+ my %dist_map =
+ (
++ "debian" => "debian",
+ "redhat-6.2" => "redhat-6.2",
+ "redhat-7.0" => "redhat-6.2",
+ "redhat-7.1" => "redhat-6.2",
+
+Index: system-tools-backends-2.6.0/Network/Ifaces.pm
+===================================================================
+--- system-tools-backends-2.6.0.orig/Network/Ifaces.pm 2009-12-07 16:54:08.000000000 -0300
++++ system-tools-backends-2.6.0/Network/Ifaces.pm 2009-12-07 16:55:36.000000000 -0300
+@@ -1995,6 +1995,7 @@
+ {
+ my %dist_map =
+ (
++ "debian" => "debian",
+ "redhat-6.2" => "redhat-6.2",
+ "redhat-7.0" => "redhat-6.2",
+ "redhat-7.1" => "redhat-6.2",
+
+Index: system-tools-backends-2.6.0/Share/SMB.pm
+===================================================================
+--- system-tools-backends-2.6.0.orig/Shares/SMB.pm 2009-12-07 16:58:35.000000000 -0300
++++ system-tools-backends-2.6.0/Shares/SMB.pm 2009-12-07 17:01:27.000000000 -0300
+@@ -129,6 +129,7 @@
+
+ my %dist_map =
+ (
++ "debian" => "debian",
+ "redhat-6.2" => "redhat-6.2",
+ "redhat-7.0" => "debian",
+ "redhat-7.1" => "debian",
+
+Index: system-tools-backends-2.6.0/Time/TimeDate.pm
+===================================================================
+--- system-tools-backends-2.6.0.orig/Time/TimeDate.pm 2009-12-07 16:58:35.000000000 -0300
++++ system-tools-backends-2.6.0/Time/TimeDate.pm 2009-12-07 17:02:10.000000000 -0300
+@@ -158,6 +158,7 @@
+ {
+ my %dist_map =
+ (
++ "debian" => "debian",
+ "redhat-6.2" => "redhat-6.2",
+ "redhat-7.0" => "redhat-6.2",
+ "redhat-7.1" => "redhat-6.2",
+
+Index: system-tools-backends-2.6.0/Time/Platform.pm
+===================================================================
+--- system-tools-backends-2.6.0.orig/Utils/Platform.pm 2009-12-07 16:58:35.000000000 -0300
++++ system-tools-backends-2.6.0/Utils/Platform.pm 2009-12-07 17:02:46.000000000 -0300
+@@ -115,6 +115,7 @@
+ (
+ "blackpanther-4.0" => "mandrake-9.0",
+ "conectiva-10" => "conectiva-9",
++ "debian" => "debian",
+ "mandrake-7.1" => "redhat-6.2",
+ "mandrake-7.2" => "redhat-6.2",
+ "mandrake-9.1" => "mandrake-9.0",
Reply to: