update openswan to 2.3.1
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 9 Apr 2005 19:23:32 +0000 (19:23 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 9 Apr 2005 19:23:32 +0000 (19:23 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@606 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/openswan/Makefile
package/openswan/patches/scripts.patch

index 6171656..8214e74 100644 (file)
@@ -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
index 45296f0..2ac2b57 100644 (file)
@@ -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 {