rpms/audit/FC-4 audit-1.0.12-sendmail.patch, NONE, 1.1 audit.spec, 1.50, 1.51

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Nov 8 22:22:13 UTC 2005


Author: sgrubb

Update of /cvs/dist/rpms/audit/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv15941

Modified Files:
	audit.spec 
Added Files:
	audit-1.0.12-sendmail.patch 
Log Message:
* Tue Nov 8 2005 Steve Grubb <sgrubb at redhat.com> 1.0.12-2
- Fix sendmail error handler. Bug report from Dustin Kirkland of IBM.


audit-1.0.12-sendmail.patch:
 auditd-sendmail.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE audit-1.0.12-sendmail.patch ---
diff -ur audit-1.0.12.orig/src/auditd-sendmail.c audit-1.0.12/src/auditd-sendmail.c
--- audit-1.0.12.orig/src/auditd-sendmail.c	2005-10-22 08:22:43.000000000 -0400
+++ audit-1.0.12/src/auditd-sendmail.c	2005-11-08 17:11:10.526118720 -0500
@@ -48,7 +48,7 @@
 		if (fd < 0) 
 			return 1;
 		mail = fdopen(fd, "w");
-		if (fd < 0) {
+		if (mail == NULL) {
 			kill(pid, SIGKILL);
 			close(fd);
 			audit_msg(LOG_ERR, "Error - starting mail"); 


Index: audit.spec
===================================================================
RCS file: /cvs/dist/rpms/audit/FC-4/audit.spec,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- audit.spec	7 Nov 2005 23:06:21 -0000	1.50
+++ audit.spec	8 Nov 2005 22:22:10 -0000	1.51
@@ -1,12 +1,13 @@
 Summary: User space tools for 2.6 kernel auditing.
 Name: audit
 Version: 1.0.12
-Release: 1.fc4
+Release: 2.fc4
 License: GPL
 Group: System Environment/Daemons
 URL: http://people.redhat.com/sgrubb/audit/
 Source0: %{name}-%{version}.tar.gz
 Patch0: audit-0.9.14-header.patch
+Patch1: audit-1.0.12-sendmail.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: libtool
 BuildRequires: glibc-kernheaders = 2.4-9.1.94
@@ -44,6 +45,7 @@
 %prep
 %setup -q
 %patch -p1
+%patch1 -p1
 
 %build
 autoreconf -fv --install
@@ -124,6 +126,9 @@
 
 
 %changelog
+* Tue Nov 8 2005 Steve Grubb <sgrubb at redhat.com> 1.0.12-2
+- Fix sendmail error handler. Bug report from Dustin Kirkland of IBM.
+
 * Mon Nov 7 2005 Steve Grubb <sgrubb at redhat.com> 1.0.12-1
 - Add 2 more summary reports
 - Add 2 more message types




More information about the fedora-cvs-commits mailing list