package/tcpdump: add SELinux module
authorMaxime Chevallier <maxime.chevallier@bootlin.com>
Mon, 28 Dec 2020 16:11:32 +0000 (17:11 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 29 Dec 2020 13:09:19 +0000 (14:09 +0100)
Support for tcpdump is added by the admin/netutils module in the SELinux
refpolicy.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/tcpdump/tcpdump.mk

index 8db35694eafea1ee6fde60a6f0689ca0e4b2265c..23e9333a8f87aa2362bbbb50bf9cf54addb9bea3 100644 (file)
@@ -17,6 +17,7 @@ TCPDUMP_CONF_OPTS = \
        --with-system-libpcap \
        $(if $(BR2_PACKAGE_TCPDUMP_SMB),--enable-smb,--disable-smb)
 TCPDUMP_DEPENDENCIES = libpcap
+TCPDUMP_SELINUX_MODULES = netutils
 
 # 0001-PPP-When-un-escaping-don-t-allocate-a-too-large-buffer.patch
 TCPDUMP_IGNORE_CVES += CVE-2020-8037