2010-03-20 12:12:57 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 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:=openconnect
|
2012-03-29 09:00:33 +00:00
|
|
|
PKG_VERSION:=3.15
|
2010-03-20 12:12:57 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=ftp://ftp.infradead.org/pub/openconnect/
|
2012-03-29 09:00:33 +00:00
|
|
|
PKG_MD5SUM:=94245f4bac42a288100becab0b4ca29a
|
2010-03-20 12:12:57 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/openconnect
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
DEPENDS:=+libxml2 +libopenssl +kmod-tun
|
|
|
|
TITLE:=VPN client for Cisco's AnyConnect SSL VPN
|
|
|
|
URL:=http://www.infradead.org/openconnect/
|
|
|
|
SUBMENU:=VPN
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/openconnect/description
|
|
|
|
A VPN client compatible with Cisco's AnyConnect SSL VPN.
|
|
|
|
|
|
|
|
OpenConnect is a client for Cisco's AnyConnect SSL VPN, which is
|
|
|
|
supported by IOS 12.4(9)T or later on Cisco SR500, 870, 880, 1800, 2800,
|
|
|
|
3800, 7200 Series and Cisco 7301 Routers.
|
|
|
|
endef
|
|
|
|
|
2012-03-29 09:00:33 +00:00
|
|
|
CONFIGURE_ARGS+=--disable-shared
|
2010-03-20 12:12:57 +00:00
|
|
|
|
|
|
|
define Package/openconnect/install
|
2012-03-29 09:00:33 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/openconnect \
|
|
|
|
$(1)/usr/sbin/
|
2010-03-20 12:12:57 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,openconnect))
|