forked from freifunk-franken/firmware
The OpenWrt function get_mac_label resides in /lib/functions/system.sh,
so it has to be included, if we want to use this function.
This include was missing in the fff-wireguard layer3 configuration
script, so it is added here.
Fixes: 68c7d75a1b
("treewide: exploit label MAC address from OpenWrt")
Signed-off-by: Fabian Bläse <fabian@blaese.de>
Reviewed-by: Christian Dresel <freifunk@dresel.systems>
Reviewed-by: Johannes Kimmel <fff@bareminimum.eu>
35 lines
669 B
Makefile
35 lines
669 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=fff-wireguard
|
|
PKG_RELEASE:=8
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/fff-wireguard
|
|
SECTION:=base
|
|
CATEGORY:=Freifunk
|
|
TITLE:=Freifunk-Franken wireguard
|
|
URL:=https://www.freifunk-franken.de
|
|
DEPENDS:= \
|
|
+kmod-wireguard \
|
|
+owipcalc \
|
|
+wireguard-tools \
|
|
+fff-babeld \
|
|
+fff-network
|
|
endef
|
|
|
|
define Package/fff-wireguard/description
|
|
This is the Freifunk Franken Firmware wireguard package.
|
|
This package provides configuration scripts for wireguard tunnels.
|
|
endef
|
|
|
|
define Build/Compile
|
|
# nothing
|
|
endef
|
|
|
|
define Package/fff-wireguard/install
|
|
$(CP) ./files/* $(1)/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,fff-wireguard))
|