diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2023-03-05 14:11:06 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-03-05 14:34:38 -0800 |
commit | 836c50325949b3df9c8a790df4c151899d8a3a2d (patch) | |
tree | 9b8491d30093acf9eff00c1f4a186fcd0c9c9e17 | |
parent | ad3c5e1ab73eacabd17aa5e8371942f144ac2d31 (diff) | |
download | meta-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 | ||
18 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
19 | SRCREV = "81fa28e0e8b4be83ddba03de8b816a3df510c17e" | 19 | SRCREV = "81c813fc4ebb11bf1eca8b8bdb5b253dff31e68e" |
20 | 20 | ||
21 | inherit autotools python3native python3targetconfig update-rc.d systemd | 21 | inherit autotools python3targetconfig update-rc.d systemd |
22 | 22 | ||
23 | UPDATERCPN = "auditd" | 23 | UPDATERCPN = "auditd" |
24 | INITSCRIPT_NAME = "auditd" | 24 | INITSCRIPT_NAME = "auditd" |
@@ -74,11 +74,11 @@ CONFFILES:auditd = "${sysconfdir}/audit/audit.rules" | |||
74 | 74 | ||
75 | do_configure:prepend() { | 75 | do_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 | ||
80 | do_install:append() { | 80 | do_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 |