[packages] openswan: update to 2.6.28 (closes: #7544, #7725, #7782)
[openwrt/svn-archive/archive.git] / net / openswan / patches / 110-scripts.patch
1 --- /dev/null
2 +++ b/programs/loggerfix
3 @@ -0,0 +1,5 @@
4 +#!/bin/sh
5 +# use filename instead of /dev/null to log, but dont log to flash or ram
6 +# pref. log to nfs mount
7 +echo "$*" >> /dev/null
8 +exit 0
9 --- a/programs/_plutorun/_plutorun.in
10 +++ b/programs/_plutorun/_plutorun.in
11 @@ -155,7 +155,7 @@ then
12 exit 1
13 fi
14 else
15 - if test ! -w "`dirname $stderrlog`"
16 + if test ! -w "`echo $stderrlog | sed -r 's/(^.*\/)(.*$)/\1/'`"
17 then
18 echo Cannot write to directory to create \"$stderrlog\".
19 exit 1