package/wireguard-tools: add SELinux module
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 1 Aug 2021 20:56:36 +0000 (22:56 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 1 Aug 2021 20:59:40 +0000 (22:59 +0200)
Support for wireguard-tools is added by the services/wireguard module in
the SELinux refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/wireguard-tools/wireguard-tools.mk

index d3d20698468add7b7ccee743a9fac6e1dc2142e9..d2f633be620facedefe77ceaf4ab6091a2cddfb9 100644 (file)
@@ -9,6 +9,7 @@ WIREGUARD_TOOLS_SITE = https://git.zx2c4.com/wireguard-tools/snapshot
 WIREGUARD_TOOLS_SOURCE = wireguard-tools-$(WIREGUARD_TOOLS_VERSION).tar.xz
 WIREGUARD_TOOLS_LICENSE = GPL-2.0
 WIREGUARD_TOOLS_LICENSE_FILES = COPYING
+WIREGUARD_TOOLS_SELINUX_MODULES = wireguard
 
 ifeq ($(BR2_INIT_SYSTEMD),y)
 WIREGUARD_TOOLS_MAKE_OPTS += WITH_SYSTEMDUNITS=yes