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; |