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

Moreover, add apache module as for now it is unconditionally used in
squid.fc

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

index b23a8d26edeab16e3bb748e907515a92068c2ad2..68eff820931d1dfeb8b8b06f8d672ff735731cb3 100644 (file)
@@ -10,6 +10,7 @@ SQUID_SITE = http://www.squid-cache.org/Versions/v4
 SQUID_LICENSE = GPL-2.0+
 SQUID_LICENSE_FILES = COPYING
 SQUID_CPE_ID_VENDOR = squid-cache
+SQUID_SELINUX_MODULES = apache squid
 SQUID_DEPENDENCIES = libcap host-libcap libtool libxml2 host-pkgconf \
        $(if $(BR2_PACKAGE_LIBNETFILTER_CONNTRACK),libnetfilter_conntrack)
 SQUID_CONF_ENV = \