/[smecontribs]/rpms/smeserver-libreswan/contribs9/smeserver-libreswan-fix-masq-templates.patch
ViewVC logotype

Contents of /rpms/smeserver-libreswan/contribs9/smeserver-libreswan-fix-masq-templates.patch

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


Revision 1.1 - (show annotations) (download)
Thu Mar 10 17:26:32 2016 UTC (8 years, 7 months ago) by reetspetit
Branch: MAIN
CVS Tags: smeserver-libreswan-0_5-20_el6_sme, smeserver-libreswan-0_5-18_el6_sme, smeserver-libreswan-0_5-19_el6_sme, smeserver-libreswan-0_5-26_el6_sme, smeserver-libreswan-0_5-16_el6_sme, smeserver-libreswan-0_5-23_el6_sme, smeserver-libreswan-0_5-22_el6_sme, smeserver-libreswan-0_5-31_el6_sme, smeserver-libreswan-0_5-33_el6_sme, smeserver-libreswan-0_5-25_el6_sme, smeserver-libreswan-0_5-17_el6_sme, smeserver-libreswan-0_5-30_el6_sme, smeserver-libreswan-0_5-32_el6_sme, smeserver-libreswan-0_5-28_el6_sme, smeserver-libreswan-0_5-27_el6_sme, smeserver-libreswan-0_5-24_el6_sme, smeserver-libreswan-0_5-29_el6_sme, smeserver-libreswan-0_5-34_el6_sme, HEAD
* Thu Mar 10 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-16.sme
- Fix masq templates for missing db entries on install

1 diff -ruN smeserver-libreswan-0.5.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/40AllowIPsec smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/40AllowIPsec
2 --- smeserver-libreswan-0.5.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/40AllowIPsec 2016-02-17 14:19:42.000000000 +0100
3 +++ smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/40AllowIPsec 2016-03-10 18:24:22.476000708 +0100
4 @@ -1,5 +1,5 @@
5 {
6 - my $ipsec_access = $ipsec{access};
7 + my $ipsec_access = $ipsec{access} || '';
8
9 if ( $ipsec_access eq 'public' ) {
10 $OUT .= " # Do not NAT VPN traffic\n";
11 diff -ruN smeserver-libreswan-0.5.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/56AllowESP smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/56AllowESP
12 --- smeserver-libreswan-0.5.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/56AllowESP 2016-02-17 14:19:42.000000000 +0100
13 +++ smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/56AllowESP 2016-03-10 18:24:22.476000708 +0100
14 @@ -1,7 +1,7 @@
15 # based on /etc/e-smith/templates/etc/rc.d/init.d/masq/55AllowGRE
16
17 {
18 -my $ipsec_access = $ipsec{access};
19 +my $ipsec_access = $ipsec{access} || '';
20
21 if ($ipsec_access eq 'public') {
22
23 diff -ruN smeserver-libreswan-0.5.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustESP smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustESP
24 --- smeserver-libreswan-0.5.old/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustESP 2016-02-17 14:19:42.000000000 +0100
25 +++ smeserver-libreswan-0.5/root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustESP 2016-03-10 18:24:22.476000708 +0100
26 @@ -1,6 +1,6 @@
27 # based on /etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustGRE
28 {
29 - my $ipsec_access = $ipsec{access};
30 + my $ipsec_access = $ipsec{access} || '';
31 my $ipsec_status = $ipsec{status};
32 if ( $ipsec_access eq 'public' ) {
33

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