New upstream bugfix release
This commit is contained in:
parent
ef23a033e5
commit
f04abfa49a
@ -1,6 +1,6 @@
|
|||||||
diff -urp audit-3.0.8.orig/bindings/swig/src/auditswig.i audit-3.0.8/bindings/swig/src/auditswig.i
|
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 2021-08-21 10:15:51.000000000 -0400
|
--- 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-02-23 14:19:18.389777267 -0500
|
+++ audit-3.0.8/bindings/swig/src/auditswig.i 2022-03-29 17:31:15.810268855 -0400
|
||||||
@@ -39,7 +39,7 @@ signed
|
@@ -39,7 +39,7 @@ signed
|
||||||
#define __attribute(X) /*nothing*/
|
#define __attribute(X) /*nothing*/
|
||||||
typedef unsigned __u32;
|
typedef unsigned __u32;
|
||||||
@ -11,8 +11,8 @@ diff -urp audit-3.0.8.orig/bindings/swig/src/auditswig.i audit-3.0.8/bindings/sw
|
|||||||
%include <stdint.i>
|
%include <stdint.i>
|
||||||
%include "../lib/libaudit.h"
|
%include "../lib/libaudit.h"
|
||||||
diff -urp audit-3.0.8.orig/lib/audit.h audit-3.0.8/lib/audit.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-02-23 13:35:24.915815547 -0500
|
--- audit-3.0.8.orig/lib/audit.h 2022-03-29 17:29:30.358211892 -0400
|
||||||
+++ audit-3.0.8/lib/audit.h 2022-02-23 13:34:46.356475888 -0500
|
+++ audit-3.0.8/lib/audit.h 2022-03-29 17:31:15.811268833 -0400
|
||||||
@@ -514,7 +514,7 @@ struct audit_rule_data {
|
@@ -514,7 +514,7 @@ struct audit_rule_data {
|
||||||
__u32 values[AUDIT_MAX_FIELDS];
|
__u32 values[AUDIT_MAX_FIELDS];
|
||||||
__u32 fieldflags[AUDIT_MAX_FIELDS];
|
__u32 fieldflags[AUDIT_MAX_FIELDS];
|
||||||
@ -23,9 +23,9 @@ diff -urp audit-3.0.8.orig/lib/audit.h audit-3.0.8/lib/audit.h
|
|||||||
|
|
||||||
#endif /* _LINUX_AUDIT_H_ */
|
#endif /* _LINUX_AUDIT_H_ */
|
||||||
diff -urp audit-3.0.8.orig/lib/libaudit.h audit-3.0.8/lib/libaudit.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-02-14 14:14:08.000000000 -0500
|
--- audit-3.0.8.orig/lib/libaudit.h 2022-03-29 16:52:34.000000000 -0400
|
||||||
+++ audit-3.0.8/lib/libaudit.h 2022-02-23 13:35:52.638340789 -0500
|
+++ audit-3.0.8/lib/libaudit.h 2022-03-29 17:31:15.812268812 -0400
|
||||||
@@ -39,7 +39,7 @@ extern "C" {
|
@@ -27,7 +27,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <linux/netlink.h>
|
#include <linux/netlink.h>
|
||||||
@ -33,4 +33,5 @@ diff -urp audit-3.0.8.orig/lib/libaudit.h audit-3.0.8/lib/libaudit.h
|
|||||||
+#include "audit.h"
|
+#include "audit.h"
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
|
#ifndef __attr_access
|
||||||
|
Only in audit-3.0.8/lib: libaudit.h.orig
|
||||||
|
@ -90,7 +90,6 @@ Management Facility) database, through an IBM Tivoli Directory Server
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
autoreconf -fv --install
|
|
||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
cp /usr/include/linux/audit.h lib/
|
cp /usr/include/linux/audit.h lib/
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
@ -132,6 +131,7 @@ touch -r ./audit.spec $RPM_BUILD_ROOT/usr/share/man/man5/libaudit.conf.5.gz
|
|||||||
cur=`pwd`
|
cur=`pwd`
|
||||||
cd $RPM_BUILD_ROOT
|
cd $RPM_BUILD_ROOT
|
||||||
patch -p0 < %{PATCH2}
|
patch -p0 < %{PATCH2}
|
||||||
|
find . -name '*.orig' -delete
|
||||||
cd $cur
|
cd $cur
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Loading…
Reference in New Issue
Block a user