summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2023-03-05 14:11:06 +0800
committerKhem Raj <raj.khem@gmail.com>2023-03-05 14:34:38 -0800
commit836c50325949b3df9c8a790df4c151899d8a3a2d (patch)
tree9b8491d30093acf9eff00c1f4a186fcd0c9c9e17
parentad3c5e1ab73eacabd17aa5e8371942f144ac2d31 (diff)
downloadmeta-openembedded-836c50325949b3df9c8a790df4c151899d8a3a2d.tar.gz
audit: upgrade 3.0.9 -> 3.1
ChangeLog: https://github.com/linux-audit/audit-userspace/releases/tag/v3.1 Major features: Add new record types Add io_uring support Add support for new FANOTIFY record fields * Remove redundant python3native as it is already inherited by python3targetconfig * Fix indentation Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-security/audit/audit_3.1.bb (renamed from meta-oe/recipes-security/audit/audit_3.0.9.bb)8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-oe/recipes-security/audit/audit_3.0.9.bb b/meta-oe/recipes-security/audit/audit_3.1.bb
index 9621d9e33..8bd81791e 100644
--- a/meta-oe/recipes-security/audit/audit_3.0.9.bb
+++ b/meta-oe/recipes-security/audit/audit_3.1.bb
@@ -16,9 +16,9 @@ SRC_URI = "git://github.com/linux-audit/${BPN}-userspace.git;branch=master;proto
16" 16"
17 17
18S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
19SRCREV = "81fa28e0e8b4be83ddba03de8b816a3df510c17e" 19SRCREV = "81c813fc4ebb11bf1eca8b8bdb5b253dff31e68e"
20 20
21inherit autotools python3native python3targetconfig update-rc.d systemd 21inherit autotools python3targetconfig update-rc.d systemd
22 22
23UPDATERCPN = "auditd" 23UPDATERCPN = "auditd"
24INITSCRIPT_NAME = "auditd" 24INITSCRIPT_NAME = "auditd"
@@ -74,11 +74,11 @@ CONFFILES:auditd = "${sysconfdir}/audit/audit.rules"
74 74
75do_configure:prepend() { 75do_configure:prepend() {
76 sed -e 's|buf\[];|buf[0];|g' ${STAGING_INCDIR}/linux/audit.h > ${S}/lib/audit.h 76 sed -e 's|buf\[];|buf[0];|g' ${STAGING_INCDIR}/linux/audit.h > ${S}/lib/audit.h
77 sed -i -e 's|#include <linux/audit.h>|#include "audit.h"|g' ${S}/lib/libaudit.h 77 sed -i -e 's|#include <linux/audit.h>|#include "audit.h"|g' ${S}/lib/libaudit.h
78} 78}
79 79
80do_install:append() { 80do_install:append() {
81 sed -i -e 's|#include "audit.h"|#include <linux/audit.h>|g' ${D}${includedir}/libaudit.h 81 sed -i -e 's|#include "audit.h"|#include <linux/audit.h>|g' ${D}${includedir}/libaudit.h
82 82
83 rm -f ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.a 83 rm -f ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.a
84 rm -f ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.la 84 rm -f ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.la