diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-02-28 13:30:51 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-02-28 13:30:51 +0000 |
commit | 5ee1f53cb1190bae51e43e1469a3c89f380376ee (patch) | |
tree | 9651a517795b0064548993905ffe2979e28fdd7a /package/strongswan/patches/300-openwrt.patch | |
parent | 96c42dce806b42e947a743453e09dbff20c804d7 (diff) | |
download | upstream-5ee1f53cb1190bae51e43e1469a3c89f380376ee.tar.gz upstream-5ee1f53cb1190bae51e43e1469a3c89f380376ee.tar.bz2 upstream-5ee1f53cb1190bae51e43e1469a3c89f380376ee.zip |
Add strongswan (#1330)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6429 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/strongswan/patches/300-openwrt.patch')
-rw-r--r-- | package/strongswan/patches/300-openwrt.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/package/strongswan/patches/300-openwrt.patch b/package/strongswan/patches/300-openwrt.patch new file mode 100644 index 0000000000..7386af56ab --- /dev/null +++ b/package/strongswan/patches/300-openwrt.patch @@ -0,0 +1,24 @@ +diff -ruN strongswan-2.8.1-orig/Makefile.inc strongswan-2.8.1/Makefile.inc +--- strongswan-2.8.1-orig/Makefile.inc 2007-01-11 16:42:11.000000000 -0500 ++++ strongswan-2.8.1/Makefile.inc 2007-01-17 02:42:25.961297797 -0500 +@@ -123,7 +123,7 @@ + # With a non-null DESTDIR, INC_RCDEFAULT will be used unless one of the + # INC_RCDIRS directories has been pre-created under DESTDIR. + INC_RCDIRS=/etc/rc.d/init.d /etc/rc.d /etc/init.d /sbin/init.d +-INC_RCDEFAULT=/etc/rc.d/init.d ++INC_RCDEFAULT=/etc/init.d + + # RCDIR is where boot/shutdown scripts go; FINALRCDIR is where they think + # will finally be (so utils/Makefile can create a symlink in BINDIR to the +diff -ruN strongswan-2.8.1-orig/programs/showhostkey/showhostkey.in strongswan-2.8.1/programs/showhostkey/showhostkey.in +--- strongswan-2.8.1-orig/programs/showhostkey/showhostkey.in 2004-03-15 15:35:31.000000000 -0500 ++++ strongswan-2.8.1/programs/showhostkey/showhostkey.in 2007-01-17 00:02:35.433150839 -0500 +@@ -62,7 +62,7 @@ + exit 1 + fi + +-host="`hostname --fqdn`" ++host="`cat /proc/sys/kernel/hostname`" + + awk ' BEGIN { + inkey = 0 |