Hello community,

here is the log from the commit of package audit for openSUSE:Factory checked 
in at 2014-09-07 11:11:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/audit (Old)
 and      /work/SRC/openSUSE:Factory/.audit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "audit"

Changes:
--------
--- /work/SRC/openSUSE:Factory/audit/audit-secondary.changes    2014-08-25 
12:59:46.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.audit.new/audit-secondary.changes       
2014-09-07 11:11:39.000000000 +0200
@@ -1,0 +2,7 @@
+Tue Sep  2 17:35:12 UTC 2014 - [email protected]
+
+- Update to version 2.4. See audit.spec (libaudit1) for upstream
+  changelog
+  Drop patch: auditd-donot-start-if-kernel-cmdline-disabled.patch
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/audit/audit.changes      2014-04-22 
07:42:56.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.audit.new/audit.changes 2014-09-07 
11:11:39.000000000 +0200
@@ -1,0 +2,40 @@
+Tue Sep  2 17:33:11 UTC 2014 - [email protected]
+
+- Update to version 2.4
+
+ Changelog 2.4
+  - Optionally parse loginuids, (e)uids, & (e)gids in ausearch/report
+  - In auvirt, anomaly events don't have uuid (#1111448)
+  - Fix category handling in various records (#1120286)
+  - Fix ausearch handling of session id on 32 bit systems
+  - Set systemd startup to wait until systemd-tmpfiles-setup.service (#1097314)
+  - Interpret a0 of socketcall and ipccall syscalls
+  - Add pkgconfig file for libaudit
+  - Add go language bindings for limited use of libaudit
+  - Fix ausearch handling of exit code on 32 bit systems
+  - Fix bug in aureport string linked list handling
+  - Document week-ago time setting in ausearch/report man page
+  - Update tables for 3.16 kernel
+  - In aulast, on bad logins only record user_login proof and use it
+  - Add libaudit API for kernel features
+  - If audit=0 on kernel cmnd line, skip systemd activation (Cristian 
Rodríguez)
+  - Add checkpoint --start option to ausearch (Burn Alting)
+  - Fix arch matching in ausearch
+  - Add --loginuid-immutable option to auditctl
+  - Fix memory leak in auditd when log_format is set to NOLOG
+  - Update auditctl to display features in the status command
+  - Add ausearch_add_timestamp_item_ex() to auparse
+
+ Changelog 2.3.7
+  - Limit number of options in a rule in libaudit
+  - Auditctl cannot load rule with lots of syscalls (#1089713)
+  - In ausearch, fix checkpointing when inode is reused by new log (Burn 
Alting)
+  - Add PROCTITLE and FEATURE_CHANGE event types
+
+-------------------------------------------------------------------
+Tue Sep  2 17:33:11 UTC 2014 - [email protected]
+
+- Add support for ppc64le (bnc#891861)
+  New patch: audit-add-ppc64le-mach-support.patch
+
+-------------------------------------------------------------------

Old:
----
  audit-2.3.6.tar.gz
  auditd-donot-start-if-kernel-cmdline-disabled.patch

New:
----
  audit-2.4.tar.gz
  audit-add-ppc64le-mach-support.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ audit-secondary.spec ++++++
--- /var/tmp/diff_new_pack.oBE0cX/_old  2014-09-07 11:11:40.000000000 +0200
+++ /var/tmp/diff_new_pack.oBE0cX/_new  2014-09-07 11:11:40.000000000 +0200
@@ -30,7 +30,7 @@
 Summary:        Secondary packages for audit
 License:        GPL-2.0+
 Group:          System/Monitoring
-Version:        2.3.6
+Version:        2.4
 Release:        0
 Url:            http://people.redhat.com/sgrubb/audit/
 Source0:        
http://people.redhat.com/sgrubb/audit/%{_name}-%{version}.tar.gz
@@ -39,7 +39,6 @@
 Patch3:         audit-no_m4_dir.patch
 Patch4:         audit-allow-manual-stop.patch
 Patch5:         audit-ausearch-do-not-require-tclass.patch
-Patch6:         auditd-donot-start-if-kernel-cmdline-disabled.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  audit-devel = %{version}
 BuildRequires:  autoconf >= 2.12
@@ -97,7 +96,6 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
-%patch6 -p1
 %build
 autoreconf -fi
 export CFLAGS="%{optflags} -fno-strict-aliasing"
@@ -140,6 +138,7 @@
 rm -f $RPM_BUILD_ROOT/%{_libdir}/python%{py_ver}/site-packages/auparse.a
 rm -f $RPM_BUILD_ROOT/%{_libdir}/python%{py_ver}/site-packages/auparse.la
 rm -f 
$RPM_BUILD_ROOT/%{_libdir}/python%{py_ver}/site-packages/auparse-1.0-py%{py_ver}.egg-info
+rm -f $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/audit.pc
 # cleanup files handled by audit.spec
 rm -rf $RPM_BUILD_ROOT/%{_includedir}
 rm -f $RPM_BUILD_ROOT/%{_libdir}/lib{audit,auparse}.*

++++++ audit.spec ++++++
--- /var/tmp/diff_new_pack.oBE0cX/_old  2014-09-07 11:11:40.000000000 +0200
+++ /var/tmp/diff_new_pack.oBE0cX/_new  2014-09-07 11:11:40.000000000 +0200
@@ -20,13 +20,14 @@
 Summary:        First part of auditing package
 License:        GPL-2.0+
 Group:          System/Monitoring
-Version:        2.3.6
+Version:        2.4
 Release:        0
 Url:            http://people.redhat.com/sgrubb/audit/
 Source0:        http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
 Source1:        baselibs.conf
 Source2:        README-BEFORE-ADDING-PATCHES
 Patch1:         audit-no_m4_dir.patch
+Patch2:         audit-add-ppc64le-mach-support.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  autoconf >= 2.12
 BuildRequires:  gcc-c++
@@ -76,6 +77,7 @@
 %prep
 %setup -q -n %{name}-%{version}
 %patch1 -p1
+%patch2 -p1
 
 %build
 autoreconf -fi
@@ -137,5 +139,6 @@
 %{_includedir}/auparse.h
 %{_includedir}/auparse-defs.h
 %{_mandir}/man3/*
+%{_libdir}/pkgconfig/audit.pc
 
 %changelog

++++++ audit-2.3.6.tar.gz -> audit-2.4.tar.gz ++++++
++++ 5438 lines of diff (skipped)

++++++ audit-add-ppc64le-mach-support.patch ++++++
From: Tony Jones <[email protected]>
Subject: audit: add ppc64le mach support
References: bnc#891861
Commit-id: https://fedorahosted.org/audit/changeset/1013
Signed-off-by: Tony Jones <[email protected]>

---
 lib/libaudit.c     |    5 +++++
 lib/libaudit.h     |    6 +++++-
 lib/lookup_table.c |    3 +++
 lib/machinetab.h   |    1 +
 4 files changed, 14 insertions(+), 1 deletion(-)

--- a/lib/machinetab.h
+++ b/lib/machinetab.h
@@ -27,6 +27,7 @@ _S(MACH_X86,     "i686"   )
 _S(MACH_86_64,   "x86_64" )
 _S(MACH_IA64,    "ia64"   )
 _S(MACH_PPC64,   "ppc64"  )
+_S(MACH_PPC64LE, "ppc64le")
 _S(MACH_PPC,     "ppc"    )
 _S(MACH_S390X,   "s390x"  )
 _S(MACH_S390,    "s390"   )
--- a/lib/lookup_table.c
+++ b/lib/lookup_table.c
@@ -70,6 +70,7 @@ static const struct int_transtab elftab[
     { MACH_86_64,   AUDIT_ARCH_X86_64 },
     { MACH_IA64,    AUDIT_ARCH_IA64   },
     { MACH_PPC64,   AUDIT_ARCH_PPC64  },
+    { MACH_PPC64LE, AUDIT_ARCH_PPC64LE},
     { MACH_PPC,     AUDIT_ARCH_PPC    },
     { MACH_S390X,   AUDIT_ARCH_S390X  },
     { MACH_S390,    AUDIT_ARCH_S390   },
@@ -123,6 +124,7 @@ int audit_name_to_syscall(const char *sc
                        found = ia64_syscall_s2i(sc, &res);
                        break;
                case MACH_PPC64:
+               case MACH_PPC64LE:
                case MACH_PPC:
                        found = ppc_syscall_s2i(sc, &res);
                        break;
@@ -169,6 +171,7 @@ const char *audit_syscall_to_name(int sc
                case MACH_IA64:
                        return ia64_syscall_i2s(sc);
                case MACH_PPC64:
+               case MACH_PPC64LE:
                case MACH_PPC:
                        return ppc_syscall_i2s(sc);
                case MACH_S390X:
--- a/lib/libaudit.c
+++ b/lib/libaudit.c
@@ -1128,6 +1128,11 @@ int audit_determine_machine(const char *
                                return -6;
                        break;
 #endif
+               case MACH_PPC64LE:
+                       if (bits != __AUDIT_ARCH_64BIT)
+                               return -6;
+                       break;
+
                case MACH_86_64: /* fallthrough */
                case MACH_PPC64: /* fallthrough */
                case MACH_S390X: /* fallthrough */
--- a/lib/libaudit.h
+++ b/lib/libaudit.h
@@ -339,6 +339,9 @@ extern "C" {
 #define AUDIT_ARCH_AARCH64     (EM_AARCH64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE)
 #endif
 
+#ifndef AUDIT_ARCH_PPC64LE
+#define AUDIT_ARCH_PPC64LE     (EM_PPC64|__AUDIT_ARCH_64BIT|__AUDIT_ARCH_LE)
+#endif
 
 //////////////////////////////////////////////////////
 // This is an external ABI. Any changes in here will
@@ -418,7 +421,8 @@ typedef enum {
        MACH_S390,
        MACH_ALPHA,
        MACH_ARM,
-       MACH_AARCH64
+       MACH_AARCH64,
+       MACH_PPC64LE
 } machine_t;
 
 /* These are the valid audit failure tunable enum values */
++++++ audit-allow-manual-stop.patch ++++++
--- /var/tmp/diff_new_pack.oBE0cX/_old  2014-09-07 11:11:40.000000000 +0200
+++ /var/tmp/diff_new_pack.oBE0cX/_new  2014-09-07 11:11:40.000000000 +0200
@@ -14,10 +14,10 @@
 --- a/init.d/auditd.service
 +++ b/init.d/auditd.service
 @@ -4,7 +4,6 @@ DefaultDependencies=no
- After=local-fs.target
+ After=local-fs.target systemd-tmpfiles-setup.service
  Conflicts=shutdown.target
  Before=sysinit.target shutdown.target
 -RefuseManualStop=yes
+ ConditionKernelCommandLine=!audit=0
  
  [Service]
- ExecStart=/sbin/auditd -n

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to