/[smecontribs]/rpms/smeserver-dansguardian/contribs8/smeserver-dansguardian-2.9-lib64.patch
ViewVC logotype

Contents of /rpms/smeserver-dansguardian/contribs8/smeserver-dansguardian-2.9-lib64.patch

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


Revision 1.1 - (show annotations) (download)
Fri Nov 1 17:16:58 2013 UTC (11 years ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-dansguardian-2_9-11_el5_sme, smeserver-dansguardian-2_9-12_el5_sme, HEAD
* Fri Nov 01 2013 JP Pialasse <tests@pialasse.com> 2.9-11.sme
- lib64 patch for PAM squid auth see [SME: 7648]

1 diff -up smeserver-dansguardian-2.9/root/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramNCSA.lib64 smeserver-dansguardian-2.9/root/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramNCSA
2 --- smeserver-dansguardian-2.9/root/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramNCSA.lib64 2005-11-05 19:54:27.000000000 -0500
3 +++ smeserver-dansguardian-2.9/root/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramNCSA 2013-11-01 13:13:51.000000000 -0400
4 @@ -1,10 +1,17 @@
5 {
6 return "" unless ( ($squid{RequireAuth} || "no") eq "ncsa");
7
8 +my $usrpath='/usr/lib';
9 +
10 +if ( -d "/usr/lib64/squid" )
11 +{
12 + $usrpath='/usr/lib64';
13 +}
14 +
15 $OUT .= "
16 -auth_param basic program /usr/lib/squid/ncsa_auth /etc/proxyusers
17 +auth_param basic program $usrpath/squid/ncsa_auth /etc/proxyusers
18 auth_param basic children 5
19 auth_param basic realm squid proxy server
20 auth_param basic credentialsttl 2 hours
21 auth_param basic casesensitive off
22 -";}
23 \ Pas de fin de ligne à la fin du fichier.
24 +";}
25 diff -up smeserver-dansguardian-2.9/root/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramPamAuth.lib64 smeserver-dansguardian-2.9/root/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramPamAuth
26 --- smeserver-dansguardian-2.9/root/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramPamAuth.lib64 2006-03-11 20:05:32.000000000 -0500
27 +++ smeserver-dansguardian-2.9/root/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramPamAuth 2013-11-01 13:13:45.000000000 -0400
28 @@ -1,10 +1,17 @@
29 {
30 return "" unless ( ($squid{RequireAuth} || "no") eq "pam");
31
32 +my $usrpath='/usr/lib';
33 +
34 +if ( -d "/usr/lib64/squid" )
35 +{
36 + $usrpath='/usr/lib64';
37 +}
38 +
39 $OUT .= "
40 -auth_param basic program /usr/lib/squid/pam_auth
41 +auth_param basic program $usrpath/squid/pam_auth
42 auth_param basic children 5
43 -auth_param basic realm SME_Server_Proxy
44 +auth_param basic realm SME_Server_Proxy
45 auth_param basic credentialsttl 2 hours
46 auth_param basic casesensitive off
47 -";}
48 \ Pas de fin de ligne à la fin du fichier.
49 +";}

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