From 3b355d219e6e5ee4f47dc7c166f1ac55c58f60ba Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Sat, 7 Mar 2015 20:33:08 +0000 Subject: [PATCH] vpnc-scripts: moved to github Signed-off-by: Luka Perkov SVN-Revision: 44625 --- net/vpnc-scripts/Makefile | 56 ------------------- .../files/etc/vpnc/connect.d/ifstate | 7 --- 2 files changed, 63 deletions(-) delete mode 100644 net/vpnc-scripts/Makefile delete mode 100644 net/vpnc-scripts/files/etc/vpnc/connect.d/ifstate diff --git a/net/vpnc-scripts/Makefile b/net/vpnc-scripts/Makefile deleted file mode 100644 index 7481dea5c6..0000000000 --- a/net/vpnc-scripts/Makefile +++ /dev/null @@ -1,56 +0,0 @@ -# -# 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:=vpnc-scripts -PKG_VERSION:=20120423 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=ftp://ftp.infradead.org/pub/vpnc-scripts/ -PKG_MD5SUM:=3265dc7fe57ae9b4c905961a28699c4c - -include $(INCLUDE_DIR)/package.mk - -define Package/vpnc-scripts - SECTION:=net - CATEGORY:=Network - DEPENDS:=+ip - TITLE:=VPN configuration script for vpnc and OpenConnect - URL:=http://www.infradead.org/openconnect/vpnc-script.html - SUBMENU:=VPN -endef - -define Package/vpnc/vpnc-scripts - This package contains the vpnc-script which is used by vpnc - and OpenConnect to configure the tunnel interface. -endef - -define Package/vpnc-scripts/conffiles -/etc/vpnc/connect.d/ -/etc/vpnc/post-connect.d/ -/etc/vpnc/disconnect.d/ -/etc/vpnc/post-connect.d/ -/etc/vpnc/reconnect.d/ -endef - -define Build/Compile -endef - -define Package/vpnc-scripts/install - $(INSTALL_DIR) $(1)/etc/vpnc - $(INSTALL_DIR) $(1)/etc/vpnc/connect.d - $(INSTALL_DIR) $(1)/etc/vpnc/post-connect.d - $(INSTALL_DIR) $(1)/etc/vpnc/disconnect.d - $(INSTALL_DIR) $(1)/etc/vpnc/post-disconnect.d - $(INSTALL_DIR) $(1)/etc/vpnc/reconnect.d - $(INSTALL_BIN) ./files/etc/vpnc/connect.d/ifstate $(1)/etc/vpnc/connect.d/ - $(INSTALL_BIN) $(PKG_BUILD_DIR)/vpnc-script $(1)/etc/vpnc/ -endef - -$(eval $(call BuildPackage,vpnc-scripts)) diff --git a/net/vpnc-scripts/files/etc/vpnc/connect.d/ifstate b/net/vpnc-scripts/files/etc/vpnc/connect.d/ifstate deleted file mode 100644 index 8d2a157e4a..0000000000 --- a/net/vpnc-scripts/files/etc/vpnc/connect.d/ifstate +++ /dev/null @@ -1,7 +0,0 @@ -if [ -r /etc/openwrt_release ] && [ -n "$OPENWRT_INTERFACE" ]; then - uci_set_state network "$OPENWRT_INTERFACE" banner "$CISCO_BANNER" - uci_set_state network "$OPENWRT_INTERFACE" ifname "$TUNDEV" - [ -n "$INTERNAL_IP4_ADDRESS" ] && uci_set_state network "$OPENWRT_INTERFACE" ipaddr "$INTERNAL_IP4_ADDRESS" - [ -n "$INTERNAL_IP6_NETMASK" ] && uci_set_state network "$OPENWRT_INTERFACE" ip6addr "$INTERNAL_IP6_NETMASK" - env -i ACTION="ifup" INTERFACE="$OPENWRT_INTERFACE" DEVICE="$TUNDEV" PROTO=openconnect /sbin/hotplug-call "iface" -fi -- 2.30.2