/[smecontribs]/rpms/smeserver-subversion/contribs8/smeserver-subversion-1.5-pwauth-32-or-64-bit.patch
ViewVC logotype

Contents of /rpms/smeserver-subversion/contribs8/smeserver-subversion-1.5-pwauth-32-or-64-bit.patch

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


Revision 1.1 - (show annotations) (download)
Fri Sep 7 15:56:41 2012 UTC (12 years, 2 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-subversion-1_5-3_el5_sme, smeserver-subversion-1_5-4_el5_sme, HEAD
* Fri Sep 7 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 1.5-3.sme
- Fix location of pwauth on 64 bit systems [SME: 7093]

1 diff -up smeserver-subversion-1.5/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28SubversionContent.pwauth-32-or-64-bit smeserver-subversion-1.5/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28SubversionContent
2 --- smeserver-subversion-1.5/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28SubversionContent.pwauth-32-or-64-bit 2012-05-26 17:01:01.000000000 +0200
3 +++ smeserver-subversion-1.5/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28SubversionContent 2012-09-07 17:49:39.247896334 +0200
4 @@ -241,7 +241,12 @@
5
6 if ($port eq 443) {
7
8 - $OUT .= " AddExternalAuth pwauth /usr/lib/httpd/modules/pwauth\n";
9 + if (-f "/usr/lib64/httpd/modules/pwauth") {
10 + $OUT .= " AddExternalAuth pwauth /usr/lib64/httpd/modules/pwauth\n";
11 + } else {
12 + $OUT .= " AddExternalAuth pwauth /usr/lib/httpd/modules/pwauth\n";
13 + }
14 +
15 $OUT .= " SetExternalAuthMethod pwauth pipe\n\n";
16
17 }

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