mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
yggdrasil: Change package configuration to UCI
Signed-off-by: George Iv <57254463+zhoreeq@users.noreply.github.com>
This commit is contained in:
+10
-2
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=yggdrasil
|
||||
PKG_VERSION:=0.3.11
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/yggdrasil-network/yggdrasil-go/tar.gz/v$(PKG_VERSION)?
|
||||
@@ -33,7 +33,7 @@ define Package/yggdrasil
|
||||
SUBMENU:=Routing and Redirection
|
||||
TITLE:=Yggdrasil supports end-to-end encrypted IPv6 networks
|
||||
URL:=https://yggdrasil-network.github.io/
|
||||
DEPENDS:=$(GO_ARCH_DEPENDS) @IPV6 +kmod-tun
|
||||
DEPENDS:=$(GO_ARCH_DEPENDS) @IPV6 +kmod-tun +dkjson +libuci-lua
|
||||
endef
|
||||
|
||||
define Package/yggdrasil/description
|
||||
@@ -46,6 +46,10 @@ define Package/yggdrasil/description
|
||||
interfaces simultaneously with much greater throughput.
|
||||
endef
|
||||
|
||||
define Package/yggdrasil/conffiles
|
||||
/etc/config/yggdrasil
|
||||
endef
|
||||
|
||||
define Package/yggdrasil/install
|
||||
$(INSTALL_DIR) \
|
||||
$(1)/etc/init.d \
|
||||
@@ -60,6 +64,10 @@ define Package/yggdrasil/install
|
||||
$(GO_PKG_BUILD_BIN_DIR)/yggdrasilctl \
|
||||
$(1)/usr/sbin
|
||||
|
||||
$(INSTALL_BIN) \
|
||||
./files/ygguci \
|
||||
$(1)/usr/sbin
|
||||
|
||||
$(INSTALL_BIN) \
|
||||
./files/yggdrasil.defaults \
|
||||
$(1)/etc/uci-defaults/yggdrasil
|
||||
|
||||
Reference in New Issue
Block a user