From 5ef37656057687412cb49054c70e3b440cad1b99 Mon Sep 17 00:00:00 2001
From: short <>
Date: Fri, 17 Oct 2003 10:38:45 +0000
Subject: [PATCH] +required packages +libxml2 upgrade note
---
project/captive/Index.html.pl | 38 +++++++++++++++++++++++++++++---------
1 file changed, 29 insertions(+), 9 deletions(-)
diff --git a/project/captive/Index.html.pl b/project/captive/Index.html.pl
index dfbe40b..995305e 100755
--- a/project/captive/Index.html.pl
+++ b/project/captive/Index.html.pl
@@ -84,9 +84,8 @@ my %pkg=(
3=>[qw(captive)],
);
my %reqpkg=(
- 1=>[qw(glib2 gnome-vfs2 ORBit2 libxml2 openssl popt libgnomeui)],
- 2=>[qw(glib2 gnome-vfs2 ORBit2 libxml2 openssl popt)],
- 3=>[qw(glib2 gnome-vfs2 ORBit2 libxml2 openssl popt readline)],
+ 1 =>[qw(glib2 gnome-vfs2 ORBit2 libxml2 openssl popt readline libgnomeui)],
+ 23=>[qw(glib2 gnome-vfs2 ORBit2 libxml2 openssl popt readline)],
);
my %version=(
map(($_=>["0.9.7","0"]),qw(captive captive-lufs captive-install)),
@@ -125,6 +124,8 @@ my($file_base,$text,%args)=@_;
return a_href $file_base,$text,"size"=>($case==1),%args;
};
+my @libxml2_rh8_pkgs=qw(libxml2-2.5.4-1.i386.rpm libxml2-python-2.5.4-1.i386.rpm libxml2-devel-2.5.4-1.i386.rpm);
+
my @dist=(
{
"name"=>"Red Hat 9
Shrike i386",
@@ -138,7 +139,8 @@ my @dist=(
},
},
{
- "name"=>"Red Hat 8
Psyche i386",
+ "name"=>"Red Hat 8
Psyche i386
"
+ ."(".a_href("#libxml2_rh8","libxml2 upgrade note").")",
"out"=>sub {
my($pkg,$version_base,$version_ext)=@_;
my $file="$pkg-$version_base-$version_ext".(!$has_rh8{$pkg} ? "" : "rh8").".i386.rpm";
@@ -146,7 +148,7 @@ my @dist=(
(my $filedev=$file)=~s/^\Q$pkg\E-/${pkg}-devel-/;
$r.="
".&$a_href_arch("dist/$filedev",$filedev) if $has_devel{$pkg};
if ($pkg eq "captive-install") {
- for (qw(libxml2-2.5.4-1.i386.rpm libxml2-python-2.5.4-1.i386.rpm libxml2-devel-2.5.4-1.i386.rpm)) {
+ for (@libxml2_rh8_pkgs) {
$r.="
".&$a_href_arch('ftp://ftp.redhat.com/pub/redhat/linux/9/en/os/i386/RedHat/RPMS/'.$_,$_)." of Red Hat 9";
}
}
@@ -211,13 +213,31 @@ for my $dist (@dist) {
}
print "\n";
}
-print <<'HERE';
+print "
++ +@{[ vskip "3ex" ]} + -print <<"HERE";Red Hat 8 Psyche upgrade of libxml2 package: + Upgrade only the packages already installed on your system to prevent + many dependency requirements - do not use "
+rpm -U
", + use "rpm -F
" instead:++
rpm -F @{[ join(" ",@libxml2_rh8_pkgs) ]}
+
You should first run captive-install-acquire command to check your -- 1.8.3.1