1 |
commit: 5494c10ef4570e427c1996f583f17b94d4a450d2 |
2 |
Author: Jonathan Davies <jpds <AT> protonmail <DOT> com> |
3 |
AuthorDate: Sun Sep 5 18:18:50 2021 +0000 |
4 |
Commit: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 13 21:16:00 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5494c10e |
7 |
|
8 |
net-vpn/wireguard: add selinux USE flag and dependency |
9 |
|
10 |
Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/22285 |
12 |
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org> |
13 |
|
14 |
net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild | 3 ++- |
15 |
1 file changed, 2 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild |
18 |
index ff9fcc1f9f9..f9e1606af59 100644 |
19 |
--- a/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild |
20 |
+++ b/net-vpn/wireguard-tools/wireguard-tools-1.0.20210424.ebuild |
21 |
@@ -18,7 +18,7 @@ fi |
22 |
|
23 |
LICENSE="GPL-2" |
24 |
SLOT="0" |
25 |
-IUSE="+wg-quick" |
26 |
+IUSE="+wg-quick selinux" |
27 |
|
28 |
BDEPEND="virtual/pkgconfig" |
29 |
DEPEND="" |
30 |
@@ -27,6 +27,7 @@ RDEPEND="${DEPEND} |
31 |
|| ( net-firewall/nftables net-firewall/iptables ) |
32 |
virtual/resolvconf |
33 |
) |
34 |
+ selinux? ( sec-policy/selinux-wireguard ) |
35 |
" |
36 |
|
37 |
wg_quick_optional_config_nob() { |