2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.unix-ag.uni-kl.de
/~massar
/vpnc
/
17 PKG_MD5SUM
:=7a8e94dbe94f39a4fd89b72e0125f66f
19 include $(INCLUDE_DIR
)/package.mk
24 DEPENDS
:=+libgpg-error
+libgcrypt
+kmod-tun
+ip
25 TITLE
:=VPN client for Cisco EasyVPN
26 URL
:=http
://www.unix-ag.uni-kl.de
/~massar
/vpnc
/
30 define Package
/vpnc
/description
31 A VPN client compatible with Cisco
's EasyVPN equipment.
33 Supports IPSec (ESP) with Mode Configuration and Xauth. Supports only
34 shared-secret IPSec authentication with Xauth, AES (256, 192, 128),
35 3DES, 1DES, MD5, SHA1, DH1/2/5 and IP tunneling.
38 define Package/vpnc/conffiles
39 /etc/vpnc/default.conf
44 $(call Build/Compile/Default, \
45 OFLAGS="$(TARGET_CFLAGS)" \
47 STAGING_DIR="$(STAGING_DIR)" \
48 DESTDIR="$(PKG_INSTALL_DIR)" \
54 define Package/vpnc/install
55 $(INSTALL_DIR) $(1)/usr/sbin
56 $(CP) $(PKG_INSTALL_DIR)/usr/sbin/vpnc \
57 $(PKG_INSTALL_DIR)/usr/sbin/vpnc-disconnect \
59 install -d -m0700 $(1)/etc/vpnc
60 $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/vpnc/default.conf $(1)/etc/vpnc/
61 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/etc/vpnc/vpnc-script $(1)/etc/vpnc/
64 $(eval $(call BuildPackage,vpnc))