[Setup-tool-hackers] Slackware 9.0 patch
- From: Álvaro Peña González <alvaropg mac com>
- To: setup-tool-hackers ximian com
- Subject: [Setup-tool-hackers] Slackware 9.0 patch
- Date: Mon, 21 Oct 2002 10:56:38 +0200
I attach the diff file for the Slackware 9.0, work with users, time and
boot.
regards, álvaro.
? autom4te.cache
? gnome-system-tools.spec
? slackware-9.0.diff
? stamp-h1
? backends/autom4te.cache
? backends/service-list.pl
? interfaces/runlevel.glade
? src/runlevel/Makefile
? src/runlevel/Makefile.in
? src/users/search-bar/Makefile
? src/users/search-bar/Makefile.in
Index: backends/ChangeLog
===================================================================
RCS file: /cvs/gnome/setup-tools-backends/ChangeLog,v
retrieving revision 1.498
diff -u -5 -r1.498 ChangeLog
--- backends/ChangeLog 18 Sep 2002 15:29:02 -0000 1.498
+++ backends/ChangeLog 21 Oct 2002 09:43:59 -0000
@@ -1,5 +1,23 @@
+2002-10-21 Álvaro Peña <icekooder@usuarios.retecal.es>
+
+ * platform.in: Added Slackware 9.0,
+ (check_slackware): Change the regular expresion
+
+ * time-conf.in: Added Slackware 9.0,
+ (conf_get_replace_table, conf_get_parse_table): in dist_map
+ slackware-9.0 is like debian-2.2work like debian-2.2
+
+ * users-conf.in: Added Slackware 9.0,
+ (logindefs_dist_map): slackware-9.0 using rh_logindefs_defaults
+
+ * boot-conf.in: Added Slackware 9.0
+ (verify): in dist_map, slackware-9.0 goes to "lilo"
+
+ * boot.pl.in (xst_boot_conf_get, xst_boot_conf_set): Added
+ Slackware 9.0
+
2002-09-18 Tambet Ingo <tambet@ximian.com>
* users-conf.in: Added RedHat 7.3.
* time-conf.in (conf_get_replace_table): Added RedHat 7.3.
Index: backends/boot-conf.in
===================================================================
RCS file: /cvs/gnome/setup-tools-backends/boot-conf.in,v
retrieving revision 1.51
diff -u -5 -r1.51 boot-conf.in
--- backends/boot-conf.in 14 Dec 2001 00:23:38 -0000 1.51
+++ backends/boot-conf.in 21 Oct 2002 09:43:59 -0000
@@ -70,11 +70,13 @@
"mandrake-7.1", "mandrake-7.2",
"debian-2.2", "debian-woody",
- "suse-7.0", "turbolinux-7.0");
+ "suse-7.0", "turbolinux-7.0",
+
+ "slackware-9.0");
$description =<<"end_of_description;";
Configures Boot manager (Only LILO at the moment).
end_of_description;
@@ -236,11 +238,12 @@
);
my %dist_map =
(
"lilo" => ["redhat-6.0", "redhat-6.1", "redhat-6.2" , "redhat-7.0", "redhat-7.1",
- "mandrake-7.1", "debian-2.2", "debian-woody", "suse-7.0", "turbolinux-7.0"],
+ "mandrake-7.1", "debian-2.2", "debian-woody", "suse-7.0", "turbolinux-7.0",
+ "slackware-9.0"],
"grub" => ["redhat-7.2", "mandrake-7.2"]
);
foreach $i (keys %dist_map)
{
Index: backends/boot.pl.in
===================================================================
RCS file: /cvs/gnome/setup-tools-backends/boot.pl.in,v
retrieving revision 1.57
diff -u -5 -r1.57 boot.pl.in
--- backends/boot.pl.in 13 Dec 2001 01:26:17 -0000 1.57
+++ backends/boot.pl.in 21 Oct 2002 09:44:00 -0000
@@ -195,11 +195,13 @@
"debian-2.2" => "redhat-6.2",
"debian-woody" => "redhat-6.2",
"suse-7.0" => "redhat-6.2",
- "turbolinux-7.0" => "redhat-6.2"
+ "turbolinux-7.0" => "redhat-6.2",
+
+ "slackware-9.0" => "redhat-6.2"
);
my %dist_tables =
(
"redhat-6.2" =>
@@ -382,11 +384,13 @@
"debian-2.2" => "redhat-6.2",
"debian-woody" => "redhat-6.2",
"suse-7.0" => "redhat-6.2",
- "turbolinux-7.0" => "redhat-6.2"
+ "turbolinux-7.0" => "redhat-6.2",
+
+ "slackware-9.0" => "redhat-6.2"
);
my %dist_tables =
(
"redhat-6.2" => {
Index: backends/platform.pl.in
===================================================================
RCS file: /cvs/gnome/setup-tools-backends/platform.pl.in,v
retrieving revision 1.33
diff -u -5 -r1.33 platform.pl.in
--- backends/platform.pl.in 13 Sep 2002 21:52:52 -0000 1.33
+++ backends/platform.pl.in 21 Oct 2002 09:44:00 -0000
@@ -51,10 +51,11 @@
"mandrake-7.2" => "Linux Mandrake 7.2 Odyssey",
"mandrake-8.0" => "Linux Mandrake 8.0 Traktopel",
"suse-7.0" => "SuSE Linux 7.0",
"turbolinux-7.0" => "Turbolinux 7.0",
"slackware-8.0.0" => "Slackware 8.0.0",
+ "slackware-9.0" => "Slackware 9.0",
"freebsd-4" => "FreeBSD 4",
"freebsd-5" => "FreeBSD 5"
};
sub check_lsb
@@ -173,11 +174,11 @@
{
open RELEASE, "$xst_prefix/etc/slackware-version" or return -1;
while (<RELEASE>)
{
chomp;
- if (/([0-9.]+)\s.*/)
+ if (/^Slackware ([0-9.]+)/)
{
close RELEASE;
return "slackware-$1";
}
}
Index: backends/time-conf.in
===================================================================
RCS file: /cvs/gnome/setup-tools-backends/time-conf.in,v
retrieving revision 1.77
diff -u -5 -r1.77 time-conf.in
--- backends/time-conf.in 18 Sep 2002 13:21:35 -0000 1.77
+++ backends/time-conf.in 21 Oct 2002 09:44:00 -0000
@@ -65,12 +65,12 @@
"mandrake-7.1", "mandrake-7.2",
"debian-2.2", "debian-woody",
"suse-7.0", "turbolinux-7.0",
-
- "slackware-8.0.0");
+
+ "slackware-8.0.0", "slackware-9.0");
$description =<<"end_of_description;";
Configures your system clock, timezone and time server list.
end_of_description;
@@ -427,11 +427,12 @@
"suse-7.0" => "suse-7.0",
"turbolinux-7.0" => "redhat-7.0",
- "slackware-8.0.0" => "debian-2.2"
+ "slackware-8.0.0" => "debian-2.2",
+ "slackware-9.0" => "debian-2.2"
);
my %dist_tables =
(
"redhat-6.2" =>
@@ -536,11 +537,12 @@
"suse-7.0" => "suse-7.0",
"turbolinux-7.0" => "redhat-7.0",
- "slackware-8.0.0" => "debian-2.2"
+ "slackware-8.0.0" => "debian-2.2",
+ "slackware-9.0" => "debian-2.2"
);
my %dist_tables =
(
"redhat-6.2" =>
Index: backends/users-conf.in
===================================================================
RCS file: /cvs/gnome/setup-tools-backends/users-conf.in,v
retrieving revision 1.91
diff -u -5 -r1.91 users-conf.in
--- backends/users-conf.in 18 Sep 2002 15:29:02 -0000 1.91
+++ backends/users-conf.in 21 Oct 2002 09:44:00 -0000
@@ -74,11 +74,11 @@
"debian-2.2", "debian-woody",
"suse-7.0", "turbolinux-7.0",
- "slackware-8.0.0",
+ "slackware-8.0.0", "slackware-9.0",
"freebsd-4", "freebsd-5");
$description =<<"end_of_description;";
Manages system users.
@@ -233,10 +233,11 @@
'debian-2.2' => $rh_logindefs_defaults,
'debian-woody' => $rh_logindefs_defaults,
'suse-7.0' => $rh_logindefs_defaults,
'turbolinux-7.0' => $rh_logindefs_defaults,
'slackware-8.0.0' => $rh_logindefs_defaults,
+ 'slackware-9.0' => $rh_logindefs_defaults,
'freebsd-4' => $rh_logindefs_defaults,
'freebsd-5' => $rh_logindefs_defaults,
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]