/[smeserver]/rpms/e-smith-manager/sme7/e-smith-manager-1.14.0-lib64.patch
ViewVC logotype

Contents of /rpms/e-smith-manager/sme7/e-smith-manager-1.14.0-lib64.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Tue Oct 7 18:44:02 2008 UTC (15 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New streams

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-manager-1.14.0/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/20Manager mezzanine_patched_e-smith-manager-1.14.0/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/20Manager
2 --- e-smith-manager-1.14.0/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/20Manager 2007-05-18 21:36:44.000000000 -0600
3 +++ mezzanine_patched_e-smith-manager-1.14.0/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/20Manager 2007-05-18 21:22:16.000000000 -0600
4 @@ -49,7 +49,8 @@
5 ssl
6 ))
7 {
8 - next unless -f "/usr/lib/httpd/modules/mod_${_}.so";
9 + next unless -f "/usr/lib/httpd/modules/mod_${_}.so" ||
10 + -f "/usr/lib64/httpd/modules/mod_${_}.so";
11 $OUT .= "LoadModule ${_}_module modules/mod_${_}.so\n";
12 }
13
14 diff -Nur -x '*.orig' -x '*.rej' e-smith-manager-1.14.0/root/etc/e-smith/web/common/cgi-bin/login mezzanine_patched_e-smith-manager-1.14.0/root/etc/e-smith/web/common/cgi-bin/login
15 --- e-smith-manager-1.14.0/root/etc/e-smith/web/common/cgi-bin/login 2007-05-18 21:36:44.000000000 -0600
16 +++ mezzanine_patched_e-smith-manager-1.14.0/root/etc/e-smith/web/common/cgi-bin/login 2007-05-18 21:23:39.000000000 -0600
17 @@ -53,7 +53,8 @@
18 sub validate
19 {
20 my ($username, $password) = @_;
21 - unless (open(PWAUTH, "|/usr/lib/httpd/modules/pwauth"))
22 + my $pwauth = -f "/usr/lib64/httpd/modules/pwauth" ? "/usr/lib64/httpd/modules/pwauth" : "/usr/lib/httpd/modules/pwauth";
23 + unless (open(PWAUTH, "|$pwauth"))
24 {
25 warn "Could not open pipe to pwauth: $!";
26 return 0;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed