- Add disk full and low disk space detection and handling routines
- Add max log file size detection and handling routines - Add raw log format routine - Many code cleanups, reorgs, and bug fixing.
This commit is contained in:
parent
aad93127c6
commit
75f48032cc
47
audit.spec
47
audit.spec
@ -1,6 +1,6 @@
|
|||||||
Summary: User space tools for 2.6 kernel auditing.
|
Summary: User space tools for 2.6 kernel auditing.
|
||||||
Name: audit
|
Name: audit
|
||||||
Version: 0.5.6
|
Version: 0.6
|
||||||
Release: 1
|
Release: 1
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -8,6 +8,7 @@ URL: http://people.redhat.com/sgrubb/audit/
|
|||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
BuildRequires: glibc-kernheaders pam-devel libtool
|
BuildRequires: glibc-kernheaders pam-devel libtool
|
||||||
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
Requires: chkconfig
|
Requires: chkconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -15,16 +16,25 @@ The audit package contains the user space utilities for
|
|||||||
storing and processing the audit records generate by
|
storing and processing the audit records generate by
|
||||||
the audit subsystem in the Linux 2.6 kernel.
|
the audit subsystem in the Linux 2.6 kernel.
|
||||||
|
|
||||||
%package devel
|
%package libs
|
||||||
Summary: Header files and libraries for libaudit
|
Summary: Dynamic library for libaudit
|
||||||
License: LGPL
|
License: LGPL
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description devel
|
%description libs
|
||||||
The audit-devel package contains the static libraries and header files
|
The audit-libs package contains the dynamic libraries needed for
|
||||||
needed for developing applications that need to use the audit framework
|
applications to use the audit framework.
|
||||||
libraries.
|
|
||||||
|
%package libs-devel
|
||||||
|
Summary: Header files and static library for libaudit
|
||||||
|
License: LGPL
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
|
|
||||||
|
%description libs-devel
|
||||||
|
The audit-libs-devel package contains the static libraries and header
|
||||||
|
files needed for developing applications that need to use the audit
|
||||||
|
framework libraries.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -52,6 +62,9 @@ mv $RPM_BUILD_ROOT/lib/libaudit.la $RPM_BUILD_ROOT%{_libdir}
|
|||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%post libs
|
||||||
|
/sbin/ldconfig 2>/dev/null
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig 2>/dev/null
|
/sbin/ldconfig 2>/dev/null
|
||||||
if [ $1 = 1 ]; then
|
if [ $1 = 1 ]; then
|
||||||
@ -64,19 +77,25 @@ if [ $1 = 0 ]; then
|
|||||||
/sbin/chkconfig --del auditd
|
/sbin/chkconfig --del auditd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
%postun libs
|
||||||
|
/sbin/ldconfig 2>/dev/null
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig 2>/dev/null
|
/sbin/ldconfig 2>/dev/null
|
||||||
if [ $1 -ge 1 ]; then
|
if [ $1 -ge 1 ]; then
|
||||||
/sbin/service auditd condrestart > /dev/null 2>&1
|
/sbin/service auditd condrestart > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%files devel
|
%files libs
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%attr(755,root,root) /lib/libaudit.*
|
||||||
|
|
||||||
|
%files libs-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libaudit.*
|
%{_libdir}/libaudit.*
|
||||||
%{_includedir}/libaudit.h
|
%{_includedir}/libaudit.h
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc ChangeLog
|
%doc ChangeLog
|
||||||
@ -84,15 +103,17 @@ fi
|
|||||||
%attr(750,root,root) /sbin/auditctl
|
%attr(750,root,root) /sbin/auditctl
|
||||||
%attr(750,root,root) /sbin/auditd
|
%attr(750,root,root) /sbin/auditd
|
||||||
%attr(755,root,root) /lib/security/pam_audit.so
|
%attr(755,root,root) /lib/security/pam_audit.so
|
||||||
%attr(755,root,root) /lib/libaudit.*
|
|
||||||
%attr(755,root,root) /etc/rc.d/init.d/auditd
|
%attr(755,root,root) /etc/rc.d/init.d/auditd
|
||||||
%config(noreplace) %attr(640,root,root) /etc/auditd.conf
|
%config(noreplace) %attr(640,root,root) /etc/auditd.conf
|
||||||
%config(noreplace) %attr(640,root,root) /etc/sysconfig/auditd
|
%config(noreplace) %attr(640,root,root) /etc/sysconfig/auditd
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Dec 17 2004 Steve Grubb <sgrubb@redhat.com> 0.5.6-1
|
* Wed Jan 05 2005 Steve Grubb <sgrubb@redhat.com> 0.6-1
|
||||||
|
- New version
|
||||||
|
- Split package up to libs, libs-devel, and audit.
|
||||||
|
|
||||||
|
* Mon Dec 13 2004 Steve Grubb <sgrubb@redhat.com> 0.5.6-1
|
||||||
- New version
|
- New version
|
||||||
|
|
||||||
* Fri Dec 10 2004 Steve Grubb <sgrubb@redhat.com> 0.5.5-1
|
* Fri Dec 10 2004 Steve Grubb <sgrubb@redhat.com> 0.5.5-1
|
||||||
|
Loading…
Reference in New Issue
Block a user