Репозитории ALT
S: | 5.9.11-alt1 |
5.1: | 4.3.7-alt1.M51.1 |
4.1: | 4.2.17-alt0.M41.1 |
4.0: | 4.2.17-alt0.M40.1 |
Группа :: Система/Серверы
Пакет: strongswan
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: strongswan-4.2.10-alt-shreq.patch
Скачать
Скачать
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