[package] update vtun to 3.0.2 (#6412)
[openwrt/svn-archive/archive.git] / net / vtun / Makefile
index 6fb7a5e..730e6f4 100644 (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,24 +30,22 @@ 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   
+define Build/Compile
        $(call Build/Compile/Default,vtund)
 endef
 
-define Package/vtun/install    
+define Package/vtun/install
        $(INSTALL_DIR) $(1)/etc
        $(INSTALL_CONF) $(PKG_BUILD_DIR)/vtund.conf $(1)/etc/
        $(INSTALL_DIR) $(1)/usr/sbin