/[smecontribs]/rpms/smeserver-openvpn-bridge/contribs7/smeserver-openvpn-bridge-2.0-openvpn_2_1_compat.patch
ViewVC logotype

Contents of /rpms/smeserver-openvpn-bridge/contribs7/smeserver-openvpn-bridge-2.0-openvpn_2_1_compat.patch

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


Revision 1.1 - (show annotations) (download)
Wed Mar 11 17:25:05 2009 UTC (15 years, 8 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-openvpn-bridge-2_0-43_el4_sme, smeserver-openvpn-bridge-2_0-29_el4_sme, smeserver-openvpn-bridge-2_0-39_el4_sme, smeserver-openvpn-bridge-2_0-48_el4_sme, smeserver-openvpn-bridge-2_0-19_el4_sme, smeserver-openvpn-bridge-2_0-21_el4_sme, smeserver-openvpn-bridge-2_0-33_el4_sme, smeserver-openvpn-bridge-2_0-35_el4_sme, smeserver-openvpn-bridge-2_0-47_el4_sme, smeserver-openvpn-bridge-2_0-18_el4_sme, smeserver-openvpn-bridge-2_0-27_el4_sme, smeserver-openvpn-bridge-2_0-20_el4_sme, smeserver-openvpn-bridge-2_0-23_el4_sme, smeserver-openvpn-bridge-2_0-30_el4_sme, smeserver-openvpn-bridge-2_0-42_el4_sme, smeserver-openvpn-bridge-2_0-41_el4_sme, smeserver-openvpn-bridge-2_0-36_el4_sme, smeserver-openvpn-bridge-2_0-26_el4_sme, smeserver-openvpn-bridge-2_0-46_el4_sme, smeserver-openvpn-bridge-2_0-40_el4_sme, smeserver-openvpn-bridge-2_0-32_el4_sme, smeserver-openvpn-bridge-2_0-24_el4_sme, smeserver-openvpn-bridge-2_0-38_el4_sme, smeserver-openvpn-bridge-2_0-25_el4_sme, smeserver-openvpn-bridge-2_0-45_el4_sme, smeserver-openvpn-bridge-2_0-37_el4_sme, smeserver-openvpn-bridge-2_0-34_el4_sme, HEAD
Openvpn 2.1 compatibility

1 --- smeserver-openvpn-bridge-2.0/root/etc/e-smith/templates/etc/openvpn/bridge/openvpn.conf/40userAuth.openvpn_2_1_compat 2008-12-03 10:29:13.000000000 +0100
2 +++ smeserver-openvpn-bridge-2.0/root/etc/e-smith/templates/etc/openvpn/bridge/openvpn.conf/40userAuth 2009-03-11 18:11:06.000000000 +0100
3 @@ -2,7 +2,9 @@
4 {
5 my $userAuth = ${'openvpn-bridge'}{userAuth} || 'CrtWithPass';
6 if ($userAuth eq 'CrtWithPass'){
7 - $OUT .= "plugin /usr/share/openvpn/plugin/lib/openvpn-auth-pam.so login\n";
8 + my $plugin_dir = (-d "/usr/share/openvpn/plugin/lib") ?
9 + '/usr/share/openvpn/plugin/lib':'/usr/lib/openvpn/plugin/lib';
10 + $OUT .= "plugin ".$plugin_dir."/openvpn-auth-pam.so login\n";
11 }
12 $OUT .= '';
13 }

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