Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37837561
en ru br
ALT Linux repositórios
S:5.9.11-alt1
5.0: 4.2.17-alt0.M50.1
4.1: 4.2.17-alt0.M41.1
4.0: 4.2.17-alt0.M40.1

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


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
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009