#
-# 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
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