/[smecontribs]/rpms/smeserver-openvpn-bridge/contribs8/smeserver-openvpn-bridge-2.0-config_required.patch
ViewVC logotype

Contents of /rpms/smeserver-openvpn-bridge/contribs8/smeserver-openvpn-bridge-2.0-config_required.patch

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


Revision 1.1 - (show annotations) (download)
Sun Mar 3 21:14:33 2013 UTC (11 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-openvpn-bridge-2_0-49_el5_sme, smeserver-openvpn-bridge-2_0-55_el5_sme, smeserver-openvpn-bridge-2_0-48_el5_sme, smeserver-openvpn-bridge-2_0-56_el5_sme, smeserver-openvpn-bridge-2_0-51_el5_sme, smeserver-openvpn-bridge-2_0-52_el5_sme, smeserver-openvpn-bridge-2_0-53_el5_sme, smeserver-openvpn-bridge-2_0-54_el5_sme, smeserver-openvpn-bridge-2_0-47_el5_sme, smeserver-openvpn-bridge-2_0-50_el5_sme, HEAD
Initial import

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-openvpn-bridge-2.0/root/etc/e-smith/db/configuration/defaults/openvpn-bridge/configRequired mezzanine_patched_smeserver-openvpn-bridge-2.0/root/etc/e-smith/db/configuration/defaults/openvpn-bridge/configRequired
2 --- smeserver-openvpn-bridge-2.0/root/etc/e-smith/db/configuration/defaults/openvpn-bridge/ConfigRequired 1970-01-01 01:00:00.000000000 +0100
3 +++ mezzanine_patched_smeserver-openvpn-bridge-2.0/root/etc/e-smith/db/configuration/defaults/openvpn-bridge/ConfigRequired 2008-12-19 12:53:45.000000000 +0100
4 @@ -0,0 +1 @@
5 +disabled
6 diff -Nur -x '*.orig' -x '*.rej' smeserver-openvpn-bridge-2.0/root/etc/e-smith/templates/etc/openvpn/bridge/openvpn.conf/80clients mezzanine_patched_smeserver-openvpn-bridge-2.0/root/etc/e-smith/templates/etc/openvpn/bridge/openvpn.conf/80clients
7 --- smeserver-openvpn-bridge-2.0/root/etc/e-smith/templates/etc/openvpn/bridge/openvpn.conf/80clients 2008-12-03 14:59:46.000000000 +0100
8 +++ mezzanine_patched_smeserver-openvpn-bridge-2.0/root/etc/e-smith/templates/etc/openvpn/bridge/openvpn.conf/80clients 2008-12-19 12:52:54.000000000 +0100
9 @@ -4,12 +4,17 @@
10 my $maxClient = ${'openvpn-bridge'}{maxClients} || '20';
11 my $clientToClient = ${'openvpn-bridge'}{clientToClient} || 'disabled';
12 my $compLzo = ${'openvpn-bridge'}{compLzo} || 'enabled';
13 -
14 + my $configRequired = ${'openvpn-bridge'}{ConfigRequired} || 'disabled';
15 +
16 if ($clientToClient eq 'enabled'){
17 $OUT .= "client-to-client\n";
18 }
19
20 $OUT .= "client-config-dir ccd\n";
21 +
22 + if ($configRequired eq 'enabled'){
23 + $OUT .= 'ccd-exclusive\n';
24 + }
25
26 $OUT .= "max-clients $maxClient\n";
27

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