openswan: Fix compile on linux-2.6.36
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23353 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -1,13 +1,19 @@
|
||||
---
|
||||
programs/_plutorun/_plutorun.in | 2 +-
|
||||
programs/_realsetup/_realsetup.in | 2 +-
|
||||
programs/loggerfix | 5 +++++
|
||||
3 files changed, 7 insertions(+), 2 deletions(-)
|
||||
|
||||
--- /dev/null
|
||||
+++ b/programs/loggerfix
|
||||
+++ openswan-2.6.29/programs/loggerfix
|
||||
@@ -0,0 +1,5 @@
|
||||
+#!/bin/sh
|
||||
+# use filename instead of /dev/null to log, but dont log to flash or ram
|
||||
+# pref. log to nfs mount
|
||||
+echo "$*" >> /dev/null
|
||||
+exit 0
|
||||
--- a/programs/_plutorun/_plutorun.in
|
||||
+++ b/programs/_plutorun/_plutorun.in
|
||||
--- openswan-2.6.29.orig/programs/_plutorun/_plutorun.in
|
||||
+++ openswan-2.6.29/programs/_plutorun/_plutorun.in
|
||||
@@ -155,7 +155,7 @@ then
|
||||
exit 1
|
||||
fi
|
||||
@ -17,9 +23,9 @@
|
||||
then
|
||||
echo Cannot write to directory to create \"$stderrlog\".
|
||||
exit 1
|
||||
--- a/programs/_realsetup/_realsetup.in
|
||||
+++ b/programs/_realsetup/_realsetup.in
|
||||
@@ -283,7 +283,7 @@ case "$1" in
|
||||
--- openswan-2.6.29.orig/programs/_realsetup/_realsetup.in
|
||||
+++ openswan-2.6.29/programs/_realsetup/_realsetup.in
|
||||
@@ -290,7 +290,7 @@ case "$1" in
|
||||
|
||||
# misc pre-Pluto setup
|
||||
|
||||
|
Reference in New Issue
Block a user