Date: Tuesday, May 2, 2023 @ 07:26:39
Author: dvzrv
Revision: 476317
archrelease: copy trunk to testing-x86_64
Added:
audit/repos/testing-x86_64/PKGBUILD
(from rev 476316, audit/trunk/PKGBUILD)
audit/repos/testing-x86_64/audit-3.0.8-config_paths.patch
(from rev 476316, audit/trunk/audit-3.0.8-config_paths.patch)
audit/repos/testing-x86_64/audit-3.0.9-flex_array_workaround.patch
(from rev 476316, audit/trunk/audit-3.0.9-flex_array_workaround.patch)
audit/repos/testing-x86_64/audit-3.0.9-undo_flex_array_workaround.patch
(from rev 476316, audit/trunk/audit-3.0.9-undo_flex_array_workaround.patch)
Deleted:
audit/repos/testing-x86_64/PKGBUILD
audit/repos/testing-x86_64/audit-3.0.8-config_paths.patch
audit/repos/testing-x86_64/audit-3.0.9-flex_array_workaround.patch
audit/repos/testing-x86_64/audit-3.0.9-undo_flex_array_workaround.patch
----------------------------------------------+
PKGBUILD | 273 +++++++++++++------------
audit-3.0.8-config_paths.patch | 72 +++---
audit-3.0.9-flex_array_workaround.patch | 74 +++---
audit-3.0.9-undo_flex_array_workaround.patch | 24 +-
4 files changed, 234 insertions(+), 209 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-02 07:26:00 UTC (rev 476316)
+++ PKGBUILD 2023-05-02 07:26:39 UTC (rev 476317)
@@ -1,124 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer: David Runge <[email protected]>
-# Contributor: Christian Rebischke <[email protected]>
-# Contributor: Daniel Micay <[email protected]>
-# Contributor: <[email protected]>
-# Contributor: Massimiliano Torromeo <[email protected]>
-# Contributor: Connor Behan <[email protected]>
-# Contributor: henning mueller <[email protected]>
-
-pkgbase=audit
-_name=audit-userspace
-pkgname=(audit python-audit)
-pkgver=3.1
-pkgrel=2
-pkgdesc='Userspace components of the audit framework'
-url='https://people.redhat.com/sgrubb/audit'
-arch=(x86_64)
-makedepends=(glibc krb5 libcap-ng libldap linux-api-headers python swig)
-license=(GPL2 LGPL2.1)
-options=(emptydirs)
-source=(
- https://github.com/linux-audit/$_name/archive/v$pkgver/$_name-v$pkgver.tar.gz
- $pkgbase-3.0.8-config_paths.patch
- $pkgbase-3.0.9-flex_array_workaround.patch
- $pkgbase-3.0.9-undo_flex_array_workaround.patch
-)
-sha512sums=('c21be7da557a2f0f2576645db23626785955190599e1b417252424eaefa7284da8e2e915cf2599f28078ee507d83497eb6cbbdb1b1459a0fabd62e235b34e7b9'
-
'bc699123f810abcf9300728bf61d7fcfcc83677b75fbeb713fb24cc11b2f9edf687661aab70766acde7c3c41c6a62f8e0a54cdfb49d1c7ce2246b67fbe3feec5'
-
'442bffac895abbd0abe455c36ebc03ed5a9faee16b57347ef1f37c0d9c33777e204da917be3bbe11c56173c2ec96eed60646ac7214da47f828eef5fa104c1ebb'
-
'92ba0f9b3d3721bf64b56e2f3e2ac4e54b2b6acd9d5646a5ee97eea244cb165e19a56c362de16834925ae063c79e6505687749f1dd67dd0f2997919aea7cb2ef')
-b2sums=('62c92a933c6eefeb3dfe1ec2950de624b7bdfe6f990528314108ad07d4d5a58fb53e0e5edc2f411b1f0a0140bfe96742a7ffadc72c06d1f3f34cb3cbea4e5f4d'
-
'50be1b4f76ace20d8d14b4c57a9bb69daa3da35fd654aca8730bc287682fe38f1c1917b37469fb087daf9f309ffc15cca15f54166ece0a055f540c2604778fc6'
-
'2241c3dd29c803493ac8e85afd6031749a46b583514829b8761c24ae12061999b7c95107ec2948dd7edb239f805ca088b7b24229abb5445a4767702539779b0f'
-
'd89110c32da33c2ca9292391ead930352e4c8935aa86111640130d9e3fbc0ebe27b069a83812530dfbbf28f4ddd33545658c8061d87bfac9a9d3a6a5ff0be4b8')
-
-_pick() {
- local p="$1" f d; shift
- for f; do
- d="$srcdir/$p/${f#$pkgdir/}"
- mkdir -p "$(dirname "$d")"
- mv "$f" "$d"
- rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
- done
-}
-
-prepare() {
- # replace the use of /sbin with /usr/bin in configs
- patch -Np1 -d $pkgbase-userspace-$pkgver -i
../$pkgbase-3.0.8-config_paths.patch
-
- # fix broken userspace build due to swig:
https://listman.redhat.com/archives/linux-audit/2022-February/018843.html
- cp -v /usr/include/linux/audit.h $pkgbase-userspace-$pkgver/lib/
- patch -Np1 -d $pkgbase-userspace-$pkgver -i
../$pkgbase-3.0.9-flex_array_workaround.patch
-
- cd $_name-$pkgver
- autoreconf -fiv
-}
-
-build() {
- local configure_options=(
- --prefix=/usr
- --sbindir=/usr/bin
- --sysconfdir=/etc
- --libexecdir=/usr/lib/audit
- --enable-gssapi-krb5=yes
- --enable-systemd=yes
- --with-io_uring=yes
- --with-libcap-ng=yes
- )
-
- cd $_name-$pkgver
- ./configure "${configure_options[@]}"
- # prevent excessive overlinking due to libtool
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
- [ -n "$SOURCE_DATE_EPOCH" ] && touch -h -d @$SOURCE_DATE_EPOCH
bindings/swig/python/audit.py
-}
-
-package_audit() {
- depends=(
- glibc
- krb5 libkrb5.so libgssapi_krb5.so
- libcap-ng libcap-ng.so
- )
- provides=(libaudit.so libauparse.so)
- backup=(
- etc/libaudit.conf
- etc/audit/audit-stop.rules
- etc/audit/auditd.conf
- etc/audit/audisp-remote.conf
- etc/audit/zos-remote.conf
- etc/audit/plugins.d/af_unix.conf
- etc/audit/plugins.d/au-remote.conf
- etc/audit/plugins.d/audispd-zos-remote.conf
- etc/audit/plugins.d/syslog.conf
- )
-
- make DESTDIR="$pkgdir" install -C $_name-$pkgver
-
- # undo fix for broken swig, so that other programs may use the header file
correctly
- patch -Np0 -d "$pkgdir" -i
"$srcdir/$pkgbase-3.0.9-undo_flex_array_workaround.patch"
- rm -v "$pkgdir/usr/include/libaudit.h.orig"
-
- # add log dir
- install -vdm 700 "$pkgdir/var/log/$pkgname/"
- # add rules.d dir to satisfy augenrules
- install -vdm 755 "$pkgdir/etc/audit/rules.d/"
-
- # remove legacy files
- rm -frv "$pkgdir/usr/lib/audit"
-
- (
- cd "$pkgdir"
- _pick python-audit usr/lib/python*
- )
-}
-
-package_python-audit() {
- depends=(audit libaudit.so libauparse.so glibc python)
- pkgdesc+=' (python bindings)'
-
- mv -v $pkgname/* "$pkgdir"
-}
-
-# vim: ts=2 sw=2 et:
Copied: audit/repos/testing-x86_64/PKGBUILD (from rev 476316,
audit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-05-02 07:26:39 UTC (rev 476317)
@@ -0,0 +1,149 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Maintainer: David Runge <[email protected]>
+# Contributor: Christian Rebischke <[email protected]>
+# Contributor: Daniel Micay <[email protected]>
+# Contributor: <[email protected]>
+# Contributor: Massimiliano Torromeo <[email protected]>
+# Contributor: Connor Behan <[email protected]>
+# Contributor: henning mueller <[email protected]>
+
+pkgbase=audit
+_name=audit-userspace
+pkgname=(
+ audit
+ python-audit
+)
+pkgver=3.1.1
+pkgrel=1
+pkgdesc='Userspace components of the audit framework'
+url='https://people.redhat.com/sgrubb/audit'
+arch=(x86_64)
+license=(
+ GPL2
+ LGPL2.1
+)
+makedepends=(
+ glibc
+ krb5
+ libcap-ng
+ libldap
+ linux-api-headers
+ python
+ swig
+)
+options=(emptydirs)
+source=(
+ https://github.com/linux-audit/$_name/archive/v$pkgver/$_name-v$pkgver.tar.gz
+ $pkgbase-3.0.8-config_paths.patch
+ $pkgbase-3.0.9-flex_array_workaround.patch
+ $pkgbase-3.0.9-undo_flex_array_workaround.patch
+)
+sha512sums=('58a8bb5f4432e035f2abcd336927b92789fe1f43dd5a71c508c3d79b94cbae2f979a02d79164f813fef4e42f7ad747b0d868f186d2197dd5987b0b98234399f9'
+
'bc699123f810abcf9300728bf61d7fcfcc83677b75fbeb713fb24cc11b2f9edf687661aab70766acde7c3c41c6a62f8e0a54cdfb49d1c7ce2246b67fbe3feec5'
+
'442bffac895abbd0abe455c36ebc03ed5a9faee16b57347ef1f37c0d9c33777e204da917be3bbe11c56173c2ec96eed60646ac7214da47f828eef5fa104c1ebb'
+
'92ba0f9b3d3721bf64b56e2f3e2ac4e54b2b6acd9d5646a5ee97eea244cb165e19a56c362de16834925ae063c79e6505687749f1dd67dd0f2997919aea7cb2ef')
+b2sums=('36f632550dd34ac130be408562aeaeea07c513e3ac76ba1689eb2c588e3312772dae99510584cd8b5e3878905a1695f907fa7216b7f9ab208b48d14d0cfe5f7a'
+
'50be1b4f76ace20d8d14b4c57a9bb69daa3da35fd654aca8730bc287682fe38f1c1917b37469fb087daf9f309ffc15cca15f54166ece0a055f540c2604778fc6'
+
'2241c3dd29c803493ac8e85afd6031749a46b583514829b8761c24ae12061999b7c95107ec2948dd7edb239f805ca088b7b24229abb5445a4767702539779b0f'
+
'd89110c32da33c2ca9292391ead930352e4c8935aa86111640130d9e3fbc0ebe27b069a83812530dfbbf28f4ddd33545658c8061d87bfac9a9d3a6a5ff0be4b8')
+
+_pick() {
+ local p="$1" f d; shift
+ for f; do
+ d="$srcdir/$p/${f#$pkgdir/}"
+ mkdir -p "$(dirname "$d")"
+ mv "$f" "$d"
+ rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
+ done
+}
+
+prepare() {
+ # replace the use of /sbin with /usr/bin in configs
+ patch -Np1 -d $pkgbase-userspace-$pkgver -i
../$pkgbase-3.0.8-config_paths.patch
+
+ # fix broken userspace build due to swig:
https://listman.redhat.com/archives/linux-audit/2022-February/018843.html
+ cp -v /usr/include/linux/audit.h $pkgbase-userspace-$pkgver/lib/
+ patch -Np1 -d $pkgbase-userspace-$pkgver -i
../$pkgbase-3.0.9-flex_array_workaround.patch
+
+ cd $_name-$pkgver
+ autoreconf -fiv
+}
+
+build() {
+ local configure_options=(
+ --prefix=/usr
+ --sbindir=/usr/bin
+ --sysconfdir=/etc
+ --libexecdir=/usr/lib/audit
+ --enable-gssapi-krb5=yes
+ --enable-systemd=yes
+ --with-io_uring=yes
+ --with-libcap-ng=yes
+ )
+
+ cd $_name-$pkgver
+ ./configure "${configure_options[@]}"
+ # prevent excessive overlinking due to libtool
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+ [ -n "$SOURCE_DATE_EPOCH" ] && touch -h -d @$SOURCE_DATE_EPOCH
bindings/swig/python/audit.py
+}
+
+package_audit() {
+ depends=(
+ glibc
+ krb5 libkrb5.so libgssapi_krb5.so
+ libcap-ng libcap-ng.so
+ )
+ optdepends=(
+ 'libldap: for audispd-zos-remote'
+ 'sh: for augenrules'
+ )
+ provides=(
+ libaudit.so
+ libauparse.so
+ )
+ backup=(
+ etc/libaudit.conf
+ etc/audit/audit-stop.rules
+ etc/audit/auditd.conf
+ etc/audit/audisp-remote.conf
+ etc/audit/zos-remote.conf
+ etc/audit/plugins.d/af_unix.conf
+ etc/audit/plugins.d/au-remote.conf
+ etc/audit/plugins.d/audispd-zos-remote.conf
+ etc/audit/plugins.d/syslog.conf
+ )
+
+ make DESTDIR="$pkgdir" install -C $_name-$pkgver
+
+ # undo fix for broken swig, so that other programs may use the header file
correctly
+ patch -Np0 -d "$pkgdir" -i
"$srcdir/$pkgbase-3.0.9-undo_flex_array_workaround.patch"
+ rm -v "$pkgdir/usr/include/libaudit.h.orig"
+
+ # add log dir
+ install -vdm 700 "$pkgdir/var/log/$pkgname/"
+ # add rules.d dir to satisfy augenrules
+ install -vdm 755 "$pkgdir/etc/audit/rules.d/"
+
+ # remove legacy files
+ rm -frv "$pkgdir/usr/lib/audit"
+
+ (
+ cd "$pkgdir"
+ _pick python-audit usr/lib/python*
+ )
+}
+
+package_python-audit() {
+ pkgdesc+=' - Python bindings'
+ depends=(
+ audit libaudit.so libauparse.so
+ glibc
+ python
+ )
+
+ mv -v $pkgname/* "$pkgdir"
+}
+
+# vim: ts=2 sw=2 et:
Deleted: audit-3.0.8-config_paths.patch
===================================================================
--- audit-3.0.8-config_paths.patch 2023-05-02 07:26:00 UTC (rev 476316)
+++ audit-3.0.8-config_paths.patch 2023-05-02 07:26:39 UTC (rev 476317)
@@ -1,36 +0,0 @@
-diff -ruN a/audisp/plugins/remote/au-remote.conf
b/audisp/plugins/remote/au-remote.conf
---- a/audisp/plugins/remote/au-remote.conf 2022-03-29 22:52:34.000000000
+0200
-+++ b/audisp/plugins/remote/au-remote.conf 2022-04-21 11:11:55.685862988
+0200
-@@ -5,7 +5,7 @@
-
- active = no
- direction = out
--path = /sbin/audisp-remote
-+path = /usr/bin/audisp-remote
- type = always
- #args =
- format = string
-diff -ruN a/audisp/plugins/syslog/syslog.conf
b/audisp/plugins/syslog/syslog.conf
---- a/audisp/plugins/syslog/syslog.conf 2022-03-29 22:52:34.000000000
+0200
-+++ b/audisp/plugins/syslog/syslog.conf 2022-04-21 11:12:54.669352650
+0200
-@@ -8,7 +8,7 @@
-
- active = no
- direction = out
--path = /sbin/audisp-syslog
-+path = /usr/bin/audisp-syslog
- type = always
- args = LOG_INFO
- format = string
-diff -ruN a/audisp/plugins/zos-remote/audispd-zos-remote.conf
b/audisp/plugins/zos-remote/audispd-zos-remote.conf
---- a/audisp/plugins/zos-remote/audispd-zos-remote.conf 2022-03-29
22:52:34.000000000 +0200
-+++ b/audisp/plugins/zos-remote/audispd-zos-remote.conf 2022-04-21
11:12:26.419277793 +0200
-@@ -8,7 +8,7 @@
-
- active = no
- direction = out
--path = /sbin/audispd-zos-remote
-+path = /usr/bin/audispd-zos-remote
- type = always
- args = /etc/audit/zos-remote.conf
- format = string
Copied: audit/repos/testing-x86_64/audit-3.0.8-config_paths.patch (from rev
476316, audit/trunk/audit-3.0.8-config_paths.patch)
===================================================================
--- audit-3.0.8-config_paths.patch (rev 0)
+++ audit-3.0.8-config_paths.patch 2023-05-02 07:26:39 UTC (rev 476317)
@@ -0,0 +1,36 @@
+diff -ruN a/audisp/plugins/remote/au-remote.conf
b/audisp/plugins/remote/au-remote.conf
+--- a/audisp/plugins/remote/au-remote.conf 2022-03-29 22:52:34.000000000
+0200
++++ b/audisp/plugins/remote/au-remote.conf 2022-04-21 11:11:55.685862988
+0200
+@@ -5,7 +5,7 @@
+
+ active = no
+ direction = out
+-path = /sbin/audisp-remote
++path = /usr/bin/audisp-remote
+ type = always
+ #args =
+ format = string
+diff -ruN a/audisp/plugins/syslog/syslog.conf
b/audisp/plugins/syslog/syslog.conf
+--- a/audisp/plugins/syslog/syslog.conf 2022-03-29 22:52:34.000000000
+0200
++++ b/audisp/plugins/syslog/syslog.conf 2022-04-21 11:12:54.669352650
+0200
+@@ -8,7 +8,7 @@
+
+ active = no
+ direction = out
+-path = /sbin/audisp-syslog
++path = /usr/bin/audisp-syslog
+ type = always
+ args = LOG_INFO
+ format = string
+diff -ruN a/audisp/plugins/zos-remote/audispd-zos-remote.conf
b/audisp/plugins/zos-remote/audispd-zos-remote.conf
+--- a/audisp/plugins/zos-remote/audispd-zos-remote.conf 2022-03-29
22:52:34.000000000 +0200
++++ b/audisp/plugins/zos-remote/audispd-zos-remote.conf 2022-04-21
11:12:26.419277793 +0200
+@@ -8,7 +8,7 @@
+
+ active = no
+ direction = out
+-path = /sbin/audispd-zos-remote
++path = /usr/bin/audispd-zos-remote
+ type = always
+ args = /etc/audit/zos-remote.conf
+ format = string
Deleted: audit-3.0.9-flex_array_workaround.patch
===================================================================
--- audit-3.0.9-flex_array_workaround.patch 2023-05-02 07:26:00 UTC (rev
476316)
+++ audit-3.0.9-flex_array_workaround.patch 2023-05-02 07:26:39 UTC (rev
476317)
@@ -1,37 +0,0 @@
-diff -urp audit-3.0.8.orig/bindings/swig/src/auditswig.i
audit-3.0.8/bindings/swig/src/auditswig.i
---- audit-3.0.8.orig/bindings/swig/src/auditswig.i 2022-03-29
16:52:34.000000000 -0400
-+++ audit-3.0.8/bindings/swig/src/auditswig.i 2022-03-29 17:31:15.810268855
-0400
-@@ -39,7 +39,7 @@ signed
- #define __attribute(X) /*nothing*/
- typedef unsigned __u32;
- typedef unsigned uid_t;
--%include "/usr/include/linux/audit.h"
-+%include "../lib/audit.h"
- #define __extension__ /*nothing*/
- %include <stdint.i>
- %include "../lib/libaudit.h"
-diff -urp audit-3.0.8.orig/lib/audit.h audit-3.0.8/lib/audit.h
---- audit-3.0.8.orig/lib/audit.h 2022-03-29 17:29:30.358211892 -0400
-+++ audit-3.0.8/lib/audit.h 2022-03-29 17:31:15.811268833 -0400
-@@ -514,7 +514,7 @@ struct audit_rule_data {
- __u32 values[AUDIT_MAX_FIELDS];
- __u32 fieldflags[AUDIT_MAX_FIELDS];
- __u32 buflen; /* total length of string fields */
-- char buf[]; /* string fields buffer */
-+ char buf[0]; /* string fields buffer */
- };
-
- #endif /* _LINUX_AUDIT_H_ */
-diff -urp audit-3.0.8.orig/lib/libaudit.h audit-3.0.8/lib/libaudit.h
---- audit-3.0.8.orig/lib/libaudit.h 2022-03-29 16:52:34.000000000 -0400
-+++ audit-3.0.8/lib/libaudit.h 2022-03-29 17:31:15.812268812 -0400
-@@ -27,7 +27,7 @@
- #include <stdint.h>
- #include <sys/socket.h>
- #include <linux/netlink.h>
--#include <linux/audit.h>
-+#include "audit.h"
- #include <stdarg.h>
- #include <syslog.h>
- #ifndef __attr_access
-Only in audit-3.0.8/lib: libaudit.h.orig
Copied: audit/repos/testing-x86_64/audit-3.0.9-flex_array_workaround.patch
(from rev 476316, audit/trunk/audit-3.0.9-flex_array_workaround.patch)
===================================================================
--- audit-3.0.9-flex_array_workaround.patch (rev 0)
+++ audit-3.0.9-flex_array_workaround.patch 2023-05-02 07:26:39 UTC (rev
476317)
@@ -0,0 +1,37 @@
+diff -urp audit-3.0.8.orig/bindings/swig/src/auditswig.i
audit-3.0.8/bindings/swig/src/auditswig.i
+--- audit-3.0.8.orig/bindings/swig/src/auditswig.i 2022-03-29
16:52:34.000000000 -0400
++++ audit-3.0.8/bindings/swig/src/auditswig.i 2022-03-29 17:31:15.810268855
-0400
+@@ -39,7 +39,7 @@ signed
+ #define __attribute(X) /*nothing*/
+ typedef unsigned __u32;
+ typedef unsigned uid_t;
+-%include "/usr/include/linux/audit.h"
++%include "../lib/audit.h"
+ #define __extension__ /*nothing*/
+ %include <stdint.i>
+ %include "../lib/libaudit.h"
+diff -urp audit-3.0.8.orig/lib/audit.h audit-3.0.8/lib/audit.h
+--- audit-3.0.8.orig/lib/audit.h 2022-03-29 17:29:30.358211892 -0400
++++ audit-3.0.8/lib/audit.h 2022-03-29 17:31:15.811268833 -0400
+@@ -514,7 +514,7 @@ struct audit_rule_data {
+ __u32 values[AUDIT_MAX_FIELDS];
+ __u32 fieldflags[AUDIT_MAX_FIELDS];
+ __u32 buflen; /* total length of string fields */
+- char buf[]; /* string fields buffer */
++ char buf[0]; /* string fields buffer */
+ };
+
+ #endif /* _LINUX_AUDIT_H_ */
+diff -urp audit-3.0.8.orig/lib/libaudit.h audit-3.0.8/lib/libaudit.h
+--- audit-3.0.8.orig/lib/libaudit.h 2022-03-29 16:52:34.000000000 -0400
++++ audit-3.0.8/lib/libaudit.h 2022-03-29 17:31:15.812268812 -0400
+@@ -27,7 +27,7 @@
+ #include <stdint.h>
+ #include <sys/socket.h>
+ #include <linux/netlink.h>
+-#include <linux/audit.h>
++#include "audit.h"
+ #include <stdarg.h>
+ #include <syslog.h>
+ #ifndef __attr_access
+Only in audit-3.0.8/lib: libaudit.h.orig
Deleted: audit-3.0.9-undo_flex_array_workaround.patch
===================================================================
--- audit-3.0.9-undo_flex_array_workaround.patch 2023-05-02 07:26:00 UTC
(rev 476316)
+++ audit-3.0.9-undo_flex_array_workaround.patch 2023-05-02 07:26:39 UTC
(rev 476317)
@@ -1,12 +0,0 @@
-diff -urp usr.orig/include/libaudit.h.orig usr/include/libaudit.h
---- usr.orig/include/libaudit.h.orig 2022-02-14 14:14:08.000000000 -0500
-+++ usr/include/libaudit.h 2022-02-23 13:35:52.638340789 -0500
-@@ -39,7 +39,7 @@ extern "C" {
- #include <stdint.h>
- #include <sys/socket.h>
- #include <linux/netlink.h>
--#include "audit.h"
-+#include <linux/audit.h>
- #include <stdarg.h>
- #include <syslog.h>
-
Copied: audit/repos/testing-x86_64/audit-3.0.9-undo_flex_array_workaround.patch
(from rev 476316, audit/trunk/audit-3.0.9-undo_flex_array_workaround.patch)
===================================================================
--- audit-3.0.9-undo_flex_array_workaround.patch
(rev 0)
+++ audit-3.0.9-undo_flex_array_workaround.patch 2023-05-02 07:26:39 UTC
(rev 476317)
@@ -0,0 +1,12 @@
+diff -urp usr.orig/include/libaudit.h.orig usr/include/libaudit.h
+--- usr.orig/include/libaudit.h.orig 2022-02-14 14:14:08.000000000 -0500
++++ usr/include/libaudit.h 2022-02-23 13:35:52.638340789 -0500
+@@ -39,7 +39,7 @@ extern "C" {
+ #include <stdint.h>
+ #include <sys/socket.h>
+ #include <linux/netlink.h>
+-#include "audit.h"
++#include <linux/audit.h>
+ #include <stdarg.h>
+ #include <syslog.h>
+