diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2021-03-02 16:52:02 +0800 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2021-03-03 13:55:58 -0500 |
commit | 77009a63dbb0f7b4d37512161d10a543a388b08b (patch) | |
tree | d29916436eeac38aefddaa971f31e92d93acfe74 | |
parent | 63ad5e2f75c9d0f447d662c8cbddf5bf81feaaf8 (diff) | |
download | meta-selinux-77009a63dbb0f7b4d37512161d10a543a388b08b.tar.gz |
audit: move audisp-* to audispd-plugins package
The audisp-* files should be in audispd-plugins package rather than
auditd package.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
-rw-r--r-- | recipes-security/audit/audit_3.0.bb | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/recipes-security/audit/audit_3.0.bb b/recipes-security/audit/audit_3.0.bb index c7776c3..88174b8 100644 --- a/recipes-security/audit/audit_3.0.bb +++ b/recipes-security/audit/audit_3.0.bb | |||
@@ -59,10 +59,13 @@ PACKAGES =+ "audispd-plugins" | |||
59 | PACKAGES += "auditd ${PN}-python" | 59 | PACKAGES += "auditd ${PN}-python" |
60 | 60 | ||
61 | FILES_${PN} = "${sysconfdir}/libaudit.conf ${base_libdir}/libaudit.so.1* ${base_libdir}/libauparse.so.*" | 61 | FILES_${PN} = "${sysconfdir}/libaudit.conf ${base_libdir}/libaudit.so.1* ${base_libdir}/libauparse.so.*" |
62 | FILES_auditd += "${bindir}/* ${base_sbindir}/* ${sysconfdir}/* ${datadir}/audit/*" | 62 | FILES_auditd = "${bindir}/* ${base_sbindir}/* ${sysconfdir}/* ${datadir}/audit/*" |
63 | FILES_audispd-plugins += "${sysconfdir}/audisp/audisp-remote.conf \ | 63 | FILES_audispd-plugins = "${sysconfdir}/audit/audisp-remote.conf \ |
64 | ${sysconfdir}/audisp/plugins.d/au-remote.conf \ | 64 | ${sysconfdir}/audit/plugins.d/au-remote.conf \ |
65 | ${sbindir}/audisp-remote ${localstatedir}/spool/audit \ | 65 | ${sysconfdir}/audit/plugins.d/syslog.conf \ |
66 | ${base_sbindir}/audisp-remote \ | ||
67 | ${base_sbindir}/audisp-syslog \ | ||
68 | ${localstatedir}/spool/audit \ | ||
66 | " | 69 | " |
67 | FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/*/.debug" | 70 | FILES_${PN}-dbg += "${libdir}/python${PYTHON_BASEVERSION}/*/.debug" |
68 | FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}" | 71 | FILES_${PN}-python = "${libdir}/python${PYTHON_BASEVERSION}" |
@@ -101,4 +104,7 @@ do_install_append() { | |||
101 | 104 | ||
102 | # Based on the audit.spec "Copy default rules into place on new installation" | 105 | # Based on the audit.spec "Copy default rules into place on new installation" |
103 | cp ${D}/etc/audit/rules.d/audit.rules ${D}/etc/audit/audit.rules | 106 | cp ${D}/etc/audit/rules.d/audit.rules ${D}/etc/audit/audit.rules |
107 | |||
108 | # Create /var/spool/audit directory for audisp-remote | ||
109 | install -m 0700 -d ${D}${localstatedir}/spool/audit | ||
104 | } | 110 | } |