[package] update vtun to 3.0.2 (#6412)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@18965 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2009-12-29 18:59:56 +00:00
parent c6a38c1ef6
commit 148cc5f7ac
2 changed files with 20 additions and 23 deletions

View File

@ -8,19 +8,19 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=vtun
PKG_VERSION:=3.0.1
PKG_VERSION:=3.0.2
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/vtun
PKG_MD5SUM:=c342ffe77055d4248a38f0b380f28c1b
PKG_MD5SUM:=d3d8bc4d58886498a1c338670eab9315
include $(INCLUDE_DIR)/package.mk
define Package/vtun
SECTION:=net
CATEGORY:=Network
DEPENDS:=+kmod-tun +liblzo +libopenssl +zlib
DEPENDS:=+kmod-tun +liblzo +libopenssl
TITLE:=VPN tunneling daemon
URL:=http://vtun.sourceforge.net
SUBMENU:=VPN
@ -30,18 +30,16 @@ define Package/vtun/conffiles
/etc/vtund.conf
endef
define Build/Configure
$(call Build/Configure/Default, \
--with-lzo-headers="$(STAGING_DIR)/usr/include/lzo" \
--with-lzo-lib="$(STAGING_DIR)/usr/lib/" \
--with-ssl-headers="$(STAGING_DIR)/usr/include/openssl" \
, \
LIBS="$(TARGET_LDFLAGS)" \
BLOWFISH_HDR_DIR="$(STAGING_DIR)/usr/include/openssl" \
LZO_HDR_DIR="$(STAGING_DIR)/usr/include/lzo" \
SSL_HDR_DIR="$(STAGING_DIR)/usr/include/openssl" \
)
endef
CONFIGURE_ARGS += \
--with-lzo-headers="$(STAGING_DIR)/usr/include/lzo" \
--with-lzo-lib="$(STAGING_DIR)/usr/lib/" \
--with-ssl-headers="$(STAGING_DIR)/usr/include/openssl" \
CONFIGURE_VARS += \
LIBS="$(TARGET_LDFLAGS)" \
BLOWFISH_HDR_DIR="$(STAGING_DIR)/usr/include/openssl" \
LZO_HDR_DIR="$(STAGING_DIR)/usr/include/lzo" \
SSL_HDR_DIR="$(STAGING_DIR)/usr/include/openssl" \
define Build/Compile
$(call Build/Compile/Default,vtund)

View File

@ -1,7 +1,6 @@
diff -urN vtun-3.0.1/configure vtun-3.0.1.new/configure
--- vtun-3.0.1/configure 2006-12-11 08:55:06.000000000 +0100
+++ vtun-3.0.1.new/configure 2008-03-27 19:10:22.000000000 +0100
@@ -5459,7 +5459,7 @@
--- a/configure
+++ b/configure
@@ -5459,7 +5459,7 @@ echo $ECHO_N "checking \"for lzo_asm.h\"
fi
echo "$as_me:$LINENO: result: ($dir) yes " >&5
echo "${ECHO_T}($dir) yes " >&6
@ -10,7 +9,7 @@ diff -urN vtun-3.0.1/configure vtun-3.0.1.new/configure
else
echo "$as_me:$LINENO: result: \"no\"" >&5
echo "${ECHO_T}\"no\"" >&6
@@ -5504,8 +5504,7 @@
@@ -5504,8 +5504,7 @@ echo "${ECHO_T}($dir) yes " >&6
echo "$as_me:$LINENO: result: \"no\"" >&5
echo "${ECHO_T}\"no\"" >&6
{ { echo "$as_me:$LINENO: error: LZO library not found. " >&5
@ -20,7 +19,7 @@ diff -urN vtun-3.0.1/configure vtun-3.0.1.new/configure
fi
@@ -5598,13 +5597,11 @@
@@ -5598,13 +5597,11 @@ fi
done
if test $havelzo = 0; then
{ { echo "$as_me:$LINENO: error: LZO library not found. " >&5