New version of audit. Reworked makefile & spec file.
This commit is contained in:
parent
2c6ba58c1a
commit
654a5c922e
35
audit.spec
35
audit.spec
@ -1,18 +1,16 @@
|
|||||||
Summary: Audit user space tools for 2.6 kernel auditing.
|
Summary: User space tools for 2.6 kernel auditing.
|
||||||
Name: audit
|
Name: audit
|
||||||
Version: 0.5
|
Version: 0.5.1
|
||||||
Release: 1
|
Release: 1
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: system
|
Group: System Environment/Daemons
|
||||||
URL: http://people.redhat.com/faith/audit/
|
URL: http://people.redhat.com/faith/audit/
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
BuildRequires: pam-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
Author: Rik Faith
|
|
||||||
Maintainer: Charlie Bennett (ccb@redhat.com)
|
|
||||||
|
|
||||||
The audit package contains the user space utilities for
|
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.
|
||||||
@ -21,14 +19,16 @@ the audit subsystem in the Linux 2.6 kernel.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure
|
autoreconf -fv --install
|
||||||
|
./configure --sbindir=/sbin --mandir=%{_mandir}
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
mkdir -p %{buildroot}/sbin
|
mkdir -p $RPM_BUILD_ROOT/{sbin,etc/{sysconfig,rc.d/init.d}}
|
||||||
install -m 750 auditctl %{buildroot}/sbin/auditctl
|
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
|
||||||
install -m 750 auditd %{buildroot}/sbin/auditd
|
mkdir -p $RPM_BUILD_ROOT/lib/security
|
||||||
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -37,12 +37,21 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
%doc ChangeLog
|
||||||
|
%attr(0644,root,root) %{_mandir}/man8/*
|
||||||
%attr(750,root,root) /sbin/auditctl
|
%attr(750,root,root) /sbin/auditctl
|
||||||
%attr(750,root,root) /sbin/auditd
|
%attr(750,root,root) /sbin/auditd
|
||||||
%doc
|
#%attr(755,root,root) /lib/security/pam_audit.so
|
||||||
|
%attr(755,root,root) /etc/rc.d/init.d/auditd
|
||||||
|
%config(noreplace) %attr(640,root,root) /etc/sysconfig/auditd
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Sep 1 2004 root <root@redhat.com> -
|
* Wed Nov 10 2004 Steve Grubb <sgrubb@redhat.com> 0.5.1-1
|
||||||
|
- Added initscript pieces
|
||||||
|
- New version
|
||||||
|
|
||||||
|
* Wed Sep 1 2004 Charlie Bennett (ccb@redhat.com) 0.5-1
|
||||||
- Initial build.
|
- Initial build.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user