summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/openswan/Makefile4
-rw-r--r--package/openswan/patches/scripts.patch2
2 files changed, 3 insertions, 3 deletions
diff --git a/package/openswan/Makefile b/package/openswan/Makefile
index 61716564c..8214e74c6 100644
--- a/package/openswan/Makefile
+++ b/package/openswan/Makefile
@@ -3,9 +3,9 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=openswan
-PKG_VERSION:=2.3.1dr6
+PKG_VERSION:=2.3.1
PKG_RELEASE:=1
-PKG_MD5SUM:=x
+PKG_MD5SUM:=3dcf1cd7efcbe8db3148fc288d429db1
PKG_SOURCE_URL:=http://www.openswan.org/download
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
diff --git a/package/openswan/patches/scripts.patch b/package/openswan/patches/scripts.patch
index 45296f033..2ac2b57c8 100644
--- a/package/openswan/patches/scripts.patch
+++ b/package/openswan/patches/scripts.patch
@@ -82,7 +82,7 @@ diff -uNr openswan-2.3.0.orig/programs/showhostkey/showhostkey.in openswan-2.3.0
fi
-host="`hostname --fqdn`"
-+host="`nvram get wan_hostname`"
++host="`cat /proc/sys/kernel/hostname`"
awk ' BEGIN {