ALT Linux repositórios
Group :: Sistema/Servidores
RPM: strongswan
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: strongswan-4.2.10-alt-shreq.patch
Download
Download
diff -Naur strongswan-4.2.10-orig/src/_updown/_updown.in strongswan-4.2.10/src/_updown/_updown.in
--- strongswan-4.2.10-orig/src/_updown/_updown.in 2008-12-23 08:24:19 +0200
+++ strongswan-4.2.10/src/_updown/_updown.in 2009-01-10 13:00:33 +0200
@@ -207,15 +207,12 @@
if [ -z "$PLUTO_MY_SOURCEIP" ]
then
- if [ -f /etc/sysconfig/defaultsource ]
- then
- . /etc/sysconfig/defaultsource
- fi
-
- if [ -f /etc/conf.d/defaultsource ]
- then
- . /etc/conf.d/defaultsource
- fi
+ for dir in /etc/sysconfig /etc/conf.d; do
+ if [ -f "$dir/defaultsource" ]
+ then
+ . "$dir/defaultsource"
+ fi
+ done
if [ -n "$DEFAULTSOURCE" ]
then
diff -Naur strongswan-4.2.10-orig/src/_updown_espmark/_updown_espmark strongswan-4.2.10/src/_updown_espmark/_updown_espmark
--- strongswan-4.2.10-orig/src/_updown_espmark/_updown_espmark 2008-12-23 08:24:05 +0200
+++ strongswan-4.2.10/src/_updown_espmark/_updown_espmark 2009-01-10 13:00:55 +0200
@@ -201,15 +201,12 @@
if [ -z "$PLUTO_MY_SOURCEIP" ]
then
- if [ -f /etc/sysconfig/defaultsource ]
- then
- . /etc/sysconfig/defaultsource
- fi
-
- if [ -f /etc/conf.d/defaultsource ]
- then
- . /etc/conf.d/defaultsource
- fi
+ for dir in /etc/sysconfig /etc/conf.d; do
+ if [ -f "$dir/defaultsource" ]
+ then
+ . "$dir/defaultsource"
+ fi
+ done
if [ -n "$DEFAULTSOURCE" ]
then