[yocto] [meta-security][PATCH 1/4] samhain: depends on attr when selinux is enabled

jackie.huang at windriver.com jackie.huang at windriver.com
Fri Sep 15 00:37:25 PDT 2017


From: Jackie Huang <jackie.huang at windriver.com>

The extended attribute is required by selinux feature,
so add the dependency when selinux is enabled.

Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
---
 recipes-security/samhain/samhain.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-security/samhain/samhain.inc b/recipes-security/samhain/samhain.inc
index 83b2db2..7b71d9f 100644
--- a/recipes-security/samhain/samhain.inc
+++ b/recipes-security/samhain/samhain.inc
@@ -55,7 +55,7 @@ PACKAGECONFIG[logwatch]  = "--enable-login-watch,"" , "
 PACKAGECONFIG[mounts]  = "--enable-mounts-check","" , "
 PACKAGECONFIG[userfiles]  = "--enable-userfiles","" , "
 PACKAGECONFIG[ipv6]  = "--enable-ipv6,"--disable-ipv6","
-PACKAGECONFIG[selinux] = "--enable-selinux, --disable-selinux, libselinux"
+PACKAGECONFIG[selinux] = "--enable-selinux, --disable-selinux, libselinux attr"
 PACKAGECONFIG[acl] = " --enable-posix-acl , --disable-posix-acl, acl"
 PACKAGECONFIG[audit] = "ac_cv_header_auparse_h=yes,ac_cv_header_auparse_h=no,audit"
 PACKAGECONFIG[ps] = "--with-ps-path=${base_bindir}/ps,,,procps"
-- 
2.11.0




More information about the yocto mailing list