mirror of
https://github.com/novatiq/packages.git
synced 2026-07-30 07:13:07 +01:00
wireguard-tools: Add netifd protocol helper
Signed-off-by: Dan Luedtke <mail@danrl.com>
This commit is contained in:
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
|
||||
PKG_NAME:=wireguard
|
||||
|
||||
PKG_VERSION:=0.0.20161110
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=WireGuard-experimental-$(PKG_VERSION).tar.xz
|
||||
# This is actually SHA256, but OpenWRT/LEDE will figure it out based on the length
|
||||
@@ -70,18 +70,20 @@ endef
|
||||
define Package/wireguard-tools
|
||||
$(call Package/wireguard/Default)
|
||||
TITLE:=Wireguard userspace control program (wg)
|
||||
DEPENDS:=+libmnl
|
||||
DEPENDS:=+libmnl +resolveip
|
||||
endef
|
||||
|
||||
define Package/wireguard-tools/description
|
||||
$(call Package/wireguard/Default/description)
|
||||
|
||||
This package provides the userspace control program for wireguard: `wg`.
|
||||
This package provides the userspace control program for wireguard, `wg`,
|
||||
and a netifd protocol helper.
|
||||
endef
|
||||
|
||||
define Package/wireguard-tools/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tools/wg $(1)/usr/bin/
|
||||
$(INSTALL_BIN) ./files/wireguard.sh $(1)/lib/netifd/proto/
|
||||
endef
|
||||
|
||||
define KernelPackage/wireguard
|
||||
|
||||
Reference in New Issue
Block a user