diff mbox series

[meta-oe,1/2] audit: upgrade 3.0.9 -> 3.1

Message ID 20230305061107.2351567-1-yi.zhao@windriver.com
State Under Review
Headers show
Series [meta-oe,1/2] audit: upgrade 3.0.9 -> 3.1 | expand

Commit Message

Yi Zhao March 5, 2023, 6:11 a.m. UTC
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>
---
 .../audit/{audit_3.0.9.bb => audit_3.1.bb}                | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-oe/recipes-security/audit/{audit_3.0.9.bb => audit_3.1.bb} (92%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-security/audit/audit_3.0.9.bb b/meta-oe/recipes-security/audit/audit_3.1.bb
similarity index 92%
rename from meta-oe/recipes-security/audit/audit_3.0.9.bb
rename to 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
 "
 
 S = "${WORKDIR}/git"
-SRCREV = "81fa28e0e8b4be83ddba03de8b816a3df510c17e"
+SRCREV = "81c813fc4ebb11bf1eca8b8bdb5b253dff31e68e"
 
-inherit autotools python3native python3targetconfig update-rc.d systemd
+inherit autotools python3targetconfig update-rc.d systemd
 
 UPDATERCPN = "auditd"
 INITSCRIPT_NAME = "auditd"
@@ -74,11 +74,11 @@  CONFFILES:auditd = "${sysconfdir}/audit/audit.rules"
 
 do_configure:prepend() {
 	sed -e 's|buf\[];|buf[0];|g'  ${STAGING_INCDIR}/linux/audit.h > ${S}/lib/audit.h
-        sed -i -e 's|#include <linux/audit.h>|#include "audit.h"|g' ${S}/lib/libaudit.h
+	sed -i -e 's|#include <linux/audit.h>|#include "audit.h"|g' ${S}/lib/libaudit.h
 }
 
 do_install:append() {
-        sed -i -e 's|#include "audit.h"|#include <linux/audit.h>|g' ${D}${includedir}/libaudit.h
+	sed -i -e 's|#include "audit.h"|#include <linux/audit.h>|g' ${D}${includedir}/libaudit.h
 
 	rm -f ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.a
 	rm -f ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages/*.la