From f1d3a37833efe0f48003ac2692ee1052fe7a22fe Mon Sep 17 00:00:00 2001 From: Steve Grubb Date: Jan 10 2009 21:26:56 +0000 Subject: - New upstream release --- diff --git a/audit-1.7.11-session.patch b/audit-1.7.11-session.patch deleted file mode 100644 index 2a562b1..0000000 --- a/audit-1.7.11-session.patch +++ /dev/null @@ -1,35 +0,0 @@ -Index: /trunk/src/auditd.c -=================================================================== ---- /trunk/src/auditd.c (revision 160) -+++ /trunk/src/auditd.c (revision 213) -@@ -305,12 +305,14 @@ - /* Open stdin,out,err to /dev/null */ - fd = open("/dev/null", O_RDWR); -- if (fd < 0) -+ if (fd < 0) { -+ audit_msg(LOG_ERR, "Cannot open /dev/null"); - return -1; -- if (dup2(fd, 0) < 0) -+ } -+ if ((dup2(fd, 0) < 0) || (dup2(fd, 1) < 0) || -+ (dup2(fd, 2) < 0)) { -+ audit_msg(LOG_ERR, -+ "Cannot reassign descriptors to /dev/null"); - return -1; -- if (dup2(fd, 1) < 0) -- return -1; -- if (dup2(fd, 2) < 0) -- return -1; -+ } - close(fd); - -@@ -318,7 +320,6 @@ - chdir("/"); - -- /* Change session */ -- if (setsid() < 0) -- return -1; -+ /* Become session/process group leader */ -+ setsid(); - break; - case -1: diff --git a/audit.spec b/audit.spec index 833db92..9e2b1d4 100644 --- a/audit.spec +++ b/audit.spec @@ -1,7 +1,7 @@ -%define audit_version 1.7.10 -%define audit_release 2%{?dist} +%define audit_version 1.7.11 +%define audit_release 1%{?dist} %define sca_version 0.4.8 -%define sca_release 13 +%define sca_release 14 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Summary: User space tools for 2.6 kernel auditing @@ -12,7 +12,6 @@ License: GPLv2+ Group: System Environment/Daemons URL: http://people.redhat.com/sgrubb/audit/ Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz -Patch1: audit-1.7.11-session.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gettext-devel intltool libtool swig python-devel BuildRequires: tcp_wrappers-devel @@ -90,7 +89,6 @@ A graphical utility for editing audit configuration. %prep %setup -q -%patch1 -p2 %build %configure --sbindir=/sbin --libdir=/%{_lib} --with-prelude --with-libwrap --enable-gssapi-krb5=no @@ -261,6 +259,9 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/system-config-audit-server %changelog +* Sat Jan 10 2009 Steve Grubb 1.7.11-1 +- New upstream release + * Wed Dec 17 2008 Steve Grubb 1.7.10-2 - Fix bz 476798 - "auditd -n" does not work diff --git a/sources b/sources index f009632..ccc7d7e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ba44e750b19e6db075d5071b039e6147 audit-1.7.10.tar.gz +63c7f935e390d874142ed6095f699958 audit-1.7.11.tar.gz