Add vpnc-scripts package with up-to-date script
This removes the hard-coded masquerading configuration from vpnc-script. It's possible to do it in a hook now, but it also shouldn't be necessary, because we should be invoking the hotplug scripts to plumb the interface properly anyway. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> git-svn-id: svn://svn.openwrt.org/openwrt/packages@31558 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=vpnc
|
||||
PKG_VERSION:=0.5.3
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.unix-ag.uni-kl.de/~massar/vpnc/
|
||||
@ -20,7 +20,7 @@ include $(INCLUDE_DIR)/package.mk
|
||||
define Package/vpnc
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+libgpg-error +libgcrypt +kmod-tun +ip
|
||||
DEPENDS:=+libgpg-error +libgcrypt +kmod-tun +vpnc-scripts
|
||||
TITLE:=VPN client for Cisco EasyVPN
|
||||
URL:=http://www.unix-ag.uni-kl.de/~massar/vpnc/
|
||||
SUBMENU:=VPN
|
||||
@ -36,7 +36,6 @@ endef
|
||||
|
||||
define Package/vpnc/conffiles
|
||||
/etc/vpnc/default.conf
|
||||
/etc/vpnc/vpnc-script
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
@ -57,7 +56,6 @@ define Package/vpnc/install
|
||||
$(1)/usr/sbin/
|
||||
install -d -m0700 $(1)/etc/vpnc
|
||||
$(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/vpnc/default.conf $(1)/etc/vpnc/
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/etc/vpnc/vpnc-script $(1)/etc/vpnc/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,vpnc))
|
||||
|
Reference in New Issue
Block a user