[packages] openvpn-devel: update to 201120 (#9341), thanks Stefan Hellermann, use...
authorStephen Walker <stephendwalker@gmail.com>
Sun, 15 May 2011 08:26:18 +0000 (08:26 +0000)
committerStephen Walker <stephendwalker@gmail.com>
Sun, 15 May 2011 08:26:18 +0000 (08:26 +0000)
SVN-Revision: 26894

net/openvpn-devel/Makefile

index 9c7c663..2261f6c 100644 (file)
@@ -1,16 +1,20 @@
 #
-# Makefile for openvpn-devel
+# Copyright (C) 2010-2011 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
 #
 
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=openvpn-devel
-PKG_VERSION:=201045
+PKG_VERSION:=201120
 PKG_RELEASE:=1
 
 PKG_SOURCE:=openvpn-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=ftp://ftp.secure-computing.net/pub/FreeBSD/ports/openvpn-devel/
-PKG_MD5SUM:=0c54fe19381e8756f40bc1050d7016d8
+PKG_SOURCE_URL:=ftp://ftp.secure-computing.net/pub/FreeBSD/ports/openvpn-devel \
+       ftp://ftp2.secure-computing.net/pub/FreeBSD/ports/openvpn-devel
+PKG_MD5SUM:=58d219359d5e086cc7749f23428c0bb0
 
 PKG_INSTALL:=1
 PKG_BUILD_PARALLEL:=1
@@ -35,22 +39,18 @@ define Package/openvpn-devel/description
         Open source VPN solution using SSL - DEVEL VERSION, Week $(PKG_VERSION)
 endef
 
-define Build/Configure
-       $(call Build/Configure/Default, \
-               --disable-pthread \
-               --disable-debug \
-               --disable-plugins \
-               --enable-management \
-               --enable-small \
-               --disable-socks \
-               --enable-password-save \
-               --enable-iproute2 \
-               --enable-small \
-               --with-iproute-path=/usr/sbin/ip \
-               ,\
-               ac_cv_func_epoll_create=no \
-       )
-endef
+CONFIGURE_ARGS += \
+       --disable-debug \
+       --disable-plugins \
+       --enable-management \
+       --enable-small \
+       --disable-socks \
+       --enable-password-save \
+       --enable-iproute2 \
+       --with-iproute-path=/usr/sbin/ip
+
+CONFIGURE_VARS += \
+       ac_cv_func_epoll_create=no
 
 define Package/openvpn-devel/install
        $(INSTALL_DIR) $(1)/usr/sbin