From ccd45a4959fd93b426012bdc971a61f13f06e3de Mon Sep 17 00:00:00 2001 From: Andy Walsh Date: Fri, 1 Mar 2019 12:16:05 +0100 Subject: [PATCH] softethervpn5: switch to git (2019-02-27) * switch to git, until we can consume manual created source releases again * Fix compilation without OpenSSL ENGINE * remove unnecessary stop_service() triggers Signed-off-by: Andy Walsh --- net/softethervpn5/Makefile | 15 ++++++--------- net/softethervpn5/files/vpnbridge.init | 6 ------ net/softethervpn5/files/vpnclient.init | 6 ------ net/softethervpn5/files/vpnserver.init | 6 ------ 4 files changed, 6 insertions(+), 27 deletions(-) diff --git a/net/softethervpn5/Makefile b/net/softethervpn5/Makefile index c0885f0bdf..8eaba1dcdd 100644 --- a/net/softethervpn5/Makefile +++ b/net/softethervpn5/Makefile @@ -3,19 +3,17 @@ include $(TOPDIR)/rules.mk PKG_NAME:=softethervpn5 -PKG_VERSION:=5.01.9667 -PKG_RELEASE:=2 +PKG_RELEASE:=1 PKG_MAINTAINER:=Andy Walsh PKG_LICENSE:=GPL-2.0 PKG_LICENSE_FILES:=COPYING -PKG_SOURCE:=softether-vpn-src-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=https://github.com/SoftEtherVPN/SoftEtherVPN/releases/download/$(PKG_VERSION) -PKG_HASH:=c99142c5e55fae055955332964c56d29aba10bec9764ab961aebabf6c3ee1462 - -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) -HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL:=https://github.com/SoftEtherVPN/SoftEtherVPN.git +PKG_SOURCE_DATE:=2019-02-27 +PKG_SOURCE_VERSION:=beef8d68924916d0834c87ceb9ae8eef2c9b1d6c +PKG_MIRROR_HASH:=8cd27ee1d768c00f816501be925bb971fd62b9cef145e4ac5c731456a86d782c HOST_BUILD_DEPENDS:=ncurses/host readline/host PKG_BUILD_DEPENDS:=softethervpn5/host @@ -25,7 +23,6 @@ include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/nls.mk include $(INCLUDE_DIR)/cmake.mk -TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS) define Package/softethervpn5/Default SECTION:=net diff --git a/net/softethervpn5/files/vpnbridge.init b/net/softethervpn5/files/vpnbridge.init index 1311e652b0..955067195f 100644 --- a/net/softethervpn5/files/vpnbridge.init +++ b/net/softethervpn5/files/vpnbridge.init @@ -20,9 +20,3 @@ start_service(){ procd_set_param respawn procd_close_instance } - -stop_service(){ - logger -t 'softethervpn5' "Stopping softether bridge service." - - /var/softethervpn/vpnbridge stop -} diff --git a/net/softethervpn5/files/vpnclient.init b/net/softethervpn5/files/vpnclient.init index e4766f0fe8..743846a04e 100644 --- a/net/softethervpn5/files/vpnclient.init +++ b/net/softethervpn5/files/vpnclient.init @@ -20,9 +20,3 @@ start_service(){ procd_set_param respawn procd_close_instance } - -stop_service(){ - logger -t 'softethervpn5' "Stopping softether client service." - - /var/softethervpn/vpnclient stop -} diff --git a/net/softethervpn5/files/vpnserver.init b/net/softethervpn5/files/vpnserver.init index e6f73da315..fbc94ed451 100644 --- a/net/softethervpn5/files/vpnserver.init +++ b/net/softethervpn5/files/vpnserver.init @@ -20,9 +20,3 @@ start_service(){ procd_set_param respawn procd_close_instance } - -stop_service(){ - logger -t 'softethervpn5' "Stopping softether vpnserver service." - - /var/softethervpn/vpnserver stop -}