softethervpn5: fix client, bridge pkg installation
authorAndy Walsh <redacted>
Thu, 10 Jan 2019 11:03:05 +0000 (12:03 +0100)
committerAndy Walsh <redacted>
Thu, 10 Jan 2019 11:03:05 +0000 (12:03 +0100)
* fix launcher.sh installation for client, bridge
* link libreadline as static for host helper (hamcorebuilder)

Signed-off-by: Andy Walsh <redacted>
net/softethervpn5/Makefile

index e6b58925c9281955e1967579d1365363c7366313..c0885f0bdfcbfa10bf9d86bd8032da9ad4ac557b 100644 (file)
@@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=softethervpn5
 PKG_VERSION:=5.01.9667
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_MAINTAINER:=Andy Walsh <andy.walsh44+github@gmail.com>
 PKG_LICENSE:=GPL-2.0
@@ -92,6 +92,7 @@ define Host/Prepare
        $(Host/Prepare/Default)
        $(SED) 's,SHARED,STATIC,g' $(HOST_BUILD_DIR)/src/Mayaqua/CMakeLists.txt
        $(SED) 's,SHARED,STATIC,g' $(HOST_BUILD_DIR)/src/Cedar/CMakeLists.txt
+       $(SED) 's,readline,libreadline.a,g' $(HOST_BUILD_DIR)/src/Cedar/CMakeLists.txt
 endef
 
 define Host/Compile
@@ -134,7 +135,6 @@ endef
 define Package/softethervpn5-bridge/install
        $(INSTALL_DIR) $(1)/usr/libexec/softethervpn
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/build/vpnbridge $(1)/usr/libexec/softethervpn/
-       $(INSTALL_BIN) files/launcher.sh $(1)/usr/libexec/softethervpn/
        $(INSTALL_DATA) files/dummy $(1)/usr/libexec/softethervpn/vpn_bridge.config
        $(INSTALL_DIR) $(1)/etc/init.d
        $(INSTALL_BIN) files/vpnbridge.init $(1)/etc/init.d/softethervpnbridge
@@ -143,7 +143,6 @@ endef
 define Package/softethervpn5-client/install
        $(INSTALL_DIR) $(1)/usr/libexec/softethervpn
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/build/vpnclient $(1)/usr/libexec/softethervpn/
-       $(INSTALL_BIN) files/launcher.sh $(1)/usr/libexec/softethervpn/
        $(INSTALL_DATA) files/dummy $(1)/usr/libexec/softethervpn/vpn_client.config
        $(INSTALL_DIR) $(1)/etc/init.d
        $(INSTALL_BIN) files/vpnclient.init $(1)/etc/init.d/softethervpnclient
git clone https://git.99rst.org/PROJECT