[yocto] [meta-selinux][PATCH 1/1] openssh: add PACKAGECONFIG data regarding audit

Joe Slater jslater at windriver.com
Fri Sep 6 10:44:04 PDT 2013


Define audit related parameters, but do not enable
audit support by default.

Signed-off-by: Joe Slater <jslater at windriver.com>
---
 .../openssh/openssh_6.2p2.bbappend                 |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/recipes-connectivity/openssh/openssh_6.2p2.bbappend b/recipes-connectivity/openssh/openssh_6.2p2.bbappend
index 43d459c..1e919b1 100644
--- a/recipes-connectivity/openssh/openssh_6.2p2.bbappend
+++ b/recipes-connectivity/openssh/openssh_6.2p2.bbappend
@@ -1,5 +1,13 @@
-PR .= ".4"
+PR .= ".selinux4"
 
 inherit with-selinux
 
 FILESEXTRAPATHS_prepend := "${@target_selinux(d, '${THISDIR}/files:')}"
+
+# There is no distro feature just for audit.  If we want it,
+# uncomment the following.
+#
+#PACKAGECONFIG += "${@target_selinux(d, 'audit')}"
+
+PACKAGECONFIG[audit] = "--with-audit=linux,--without-audit,audit,"
+
-- 
1.7.3.4




More information about the yocto mailing list