/[packages]/updates/1/webmin/current/SOURCES/webmin-1.610-postgresql-fix-installing-missing-packages.patch
ViewVC logotype

Contents of /updates/1/webmin/current/SOURCES/webmin-1.610-postgresql-fix-installing-missing-packages.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 329976 - (show annotations) (download)
Wed Dec 12 21:21:22 2012 UTC (8 years, 7 months ago) by luigiwalser
File size: 1089 byte(s)
- 1.610 (fixes several security issues)
- rediff patches 1 and 33

1 --- webmin-1.610/postgresql/index.cgi.orig 2012-11-14 20:27:53.000000000 -0500
2 +++ webmin-1.610/postgresql/index.cgi 2012-12-12 15:12:06.131196406 -0500
3 @@ -281,15 +281,15 @@
4 # Check if the optional perl modules are installed
5 if (&foreign_available("cpan")) {
6 eval "use DBI";
7 - push(@needs, "DBI") if ($@);
8 + push(@needs, "perl-DBI") if ($@);
9 $nodbi++ if ($@);
10 eval "use DBD::Pg";
11 - push(@needs, "DBD::Pg") if ($@);
12 + push(@needs, "perl-DBD-Pg") if ($@);
13 if (@needs) {
14 - $needs = &urlize(join(" ", @needs));
15 - print "<center><b>",&text(@needs == 2 ? 'index_nomods' : 'index_nomod', @needs,
16 - "/cpan/download.cgi?source=3&cpan=$needs&mode=2&return=/$module_name/&returndesc=".&urlize($text{'index_return'})),
17 - "</b></center>\n";
18 + print "<center><b>Warning, the following package(s) are missing from your system\n".
19 + "for reliable access to your PostgreSQL database: <tt>@needs</tt>. To install them,\n".
20 + "you may use the graphical program <tt>rpmdrake</tt> or the commandline program\n".
21 + "<tt>urpmi</tt>. Then, re-load this page.\n";
22 }
23 }
24

  ViewVC Help
Powered by ViewVC 1.1.28