summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Davies <jpds@protonmail.com>2021-09-05 19:18:50 +0100
committerJason A. Donenfeld <zx2c4@gentoo.org>2021-09-13 23:16:00 +0200
commit5494c10ef4570e427c1996f583f17b94d4a450d2 (patch)
tree76c8ee3a0c9812ab79c4066388cf892bbcd7403c
parentdev-python/pypy: Bump to 7.3.6_rc1 (diff)
downloadgentoo-5494c10ef4570e427c1996f583f17b94d4a450d2.tar.gz
gentoo-5494c10ef4570e427c1996f583f17b94d4a450d2.tar.bz2
gentoo-5494c10ef4570e427c1996f583f17b94d4a450d2.zip
net-vpn/wireguard: add selinux USE flag and dependency
Signed-off-by: Jonathan Davies <jpds@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/22285 Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
-rw-r--r--net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
index ff9fcc1f9f9..f9e1606af59 100644
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild
@@ -18,7 +18,7 @@ fi
LICENSE="GPL-2"
SLOT="0"
-IUSE="+wg-quick"
+IUSE="+wg-quick selinux"
BDEPEND="virtual/pkgconfig"
DEPEND=""
@@ -27,6 +27,7 @@ RDEPEND="${DEPEND}
|| ( net-firewall/nftables net-firewall/iptables )
virtual/resolvconf
)
+ selinux? ( sec-policy/selinux-wireguard )
"
wg_quick_optional_config_nob() {