b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2006-2015 OpenWrt.org |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # See /LICENSE for more information. |
| 6 | # |
| 7 | |
| 8 | include $(TOPDIR)/rules.mk |
| 9 | |
| 10 | PKG_NAME:=vpnc-scripts |
| 11 | PKG_VERSION:=20151220 |
| 12 | PKG_RELEASE:=2 |
| 13 | |
| 14 | include $(INCLUDE_DIR)/package.mk |
| 15 | |
| 16 | define Package/vpnc-scripts |
| 17 | SECTION:=net |
| 18 | CATEGORY:=Network |
| 19 | TITLE:=VPN configuration script for vpnc and OpenConnect |
| 20 | MAINTAINER:=Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com> |
| 21 | SUBMENU:=VPN |
| 22 | PKGARCH:=all |
| 23 | endef |
| 24 | |
| 25 | define Package/vpnc-scripts/description |
| 26 | This package contains the vpnc-script which is used by vpnc |
| 27 | and OpenConnect to configure the tunnel interface. |
| 28 | endef |
| 29 | |
| 30 | define Build/Compile |
| 31 | endef |
| 32 | |
| 33 | define Package/vpnc-scripts/install |
| 34 | $(INSTALL_DIR) $(1)/lib/netifd |
| 35 | $(INSTALL_BIN) ./files/vpnc-script $(1)/lib/netifd/ |
| 36 | endef |
| 37 | |
| 38 | $(eval $(call BuildPackage,vpnc-scripts)) |