rpms/audit/devel audit-1.6-audispd.patch, NONE, 1.1 audit.spec, 1.143, 1.144

Steve Grubb (sgrubb) fedora-extras-commits at redhat.com
Wed Aug 29 17:18:55 UTC 2007


Author: sgrubb

Update of /cvs/pkgs/rpms/audit/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4321

Modified Files:
	audit.spec 
Added Files:
	audit-1.6-audispd.patch 
Log Message:
* Wed Aug 29 2007 Steve Grubb <sgrubb at redhat.com> 1.6-3
- Add newline to audispd string formatted events


audit-1.6-audispd.patch:

--- NEW FILE audit-1.6-audispd.patch ---
diff -urp audit-1.6.orig/audisp/audispd.c audit-1.6/audisp/audispd.c
--- audit-1.6.orig/audisp/audispd.c	2007-08-29 12:57:42.000000000 -0400
+++ audit-1.6/audisp/audispd.c	2007-08-29 12:58:19.000000000 -0400
@@ -306,10 +306,10 @@ static void event_loop(void)
 		}
 
 		if (daemon_config.node_name_format != N_NONE) {
-			asprintf(&v, "node=%s type=%s msg=%.*s", 
+			asprintf(&v, "node=%s type=%s msg=%.*s\n", 
 				name, type, e->hdr.size, e->data);
 		} else
-			asprintf(&v, "type=%s msg=%.*s", 
+			asprintf(&v, "type=%s msg=%.*s\n", 
 				type, e->hdr.size, e->data);
 
 		// Got event, now distribute it to the plugins - builtins first


Index: audit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/audit/devel/audit.spec,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -r1.143 -r1.144
--- audit.spec	28 Aug 2007 23:38:25 -0000	1.143
+++ audit.spec	29 Aug 2007 17:18:22 -0000	1.144
@@ -1,15 +1,16 @@
 %define sca_version 0.4.3
-%define sca_release 1
+%define sca_release 2
 
 Summary: User space tools for 2.6 kernel auditing
 Name: audit
 Version: 1.6
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2+
 Group: System Environment/Daemons
 URL: http://people.redhat.com/sgrubb/audit/
 Source0: %{name}-%{version}.tar.gz
 Patch1: s-c-audit-0.4.3.patch
+Patch2: audit-1.6-audispd.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: gettext-devel intltool libtool swig python-devel
 BuildRequires: kernel-headers >= 2.6.18
@@ -69,10 +70,10 @@
 %prep
 %setup -q
 %patch1 -p1
-
-(cd system-config-audit; ./autogen.sh)
+%patch2 -p1
 
 %build
+(cd system-config-audit; ./autogen.sh)
 aclocal && autoconf && autoheader && automake
 %configure --sbindir=/sbin --libdir=/%{_lib}
 make
@@ -211,6 +212,9 @@
 %config(noreplace) %{_sysconfdir}/security/console.apps/system-config-audit-server
 
 %changelog
+* Wed Aug 29 2007 Steve Grubb <sgrubb at redhat.com> 1.6-3
+- Add newline to audispd string formatted events
+
 * Tue Aug 28 2007 Steve Grubb <sgrubb at redhat.com> 1.6-2
 - spec file cleanups
 - Update to s-c-audit 0.4.3




More information about the fedora-extras-commits mailing list