Updated to new release.
This commit is contained in:
parent
c5201dccfb
commit
72b1292f70
21
audit.spec
21
audit.spec
@ -1,17 +1,16 @@
|
|||||||
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.3
|
Version: 0.5.4
|
||||||
Release: 1
|
Release: 1
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://people.redhat.com/sgrubb/audit/
|
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: pam-devel
|
BuildRequires: glibc-kernheaders pam-devel libtool
|
||||||
Requires: chkconfig
|
Requires: chkconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
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.
|
||||||
@ -20,7 +19,7 @@ the audit subsystem in the Linux 2.6 kernel.
|
|||||||
Summary: Header files and libraries for libaudit
|
Summary: Header files and libraries for libaudit
|
||||||
License: LGPL
|
License: LGPL
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: libselinux = %{version}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The audit-devel package contains the static libraries and header files
|
The audit-devel package contains the static libraries and header files
|
||||||
@ -33,6 +32,12 @@ libraries.
|
|||||||
%build
|
%build
|
||||||
autoreconf -fv --install
|
autoreconf -fv --install
|
||||||
./configure --sbindir=/sbin --mandir=%{_mandir} --libdir=/lib --with-pam=yes
|
./configure --sbindir=/sbin --mandir=%{_mandir} --libdir=/lib --with-pam=yes
|
||||||
|
|
||||||
|
# This is crazy hack until I solve the dependency problem libtool/automake
|
||||||
|
# seems to have making a dynamicly created source file.
|
||||||
|
#cd lib
|
||||||
|
#make syscalltab.h
|
||||||
|
#cd ..
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -47,11 +52,13 @@ mkdir -p $RPM_BUILD_ROOT/%{_includedir}
|
|||||||
mkdir -p $RPM_BUILD_ROOT/%{_libdir}
|
mkdir -p $RPM_BUILD_ROOT/%{_libdir}
|
||||||
install -m 0644 lib/libaudit.h $RPM_BUILD_ROOT/%{_includedir}
|
install -m 0644 lib/libaudit.h $RPM_BUILD_ROOT/%{_includedir}
|
||||||
install -m 0644 lib/libaudit.a $RPM_BUILD_ROOT/%{_libdir}
|
install -m 0644 lib/libaudit.a $RPM_BUILD_ROOT/%{_libdir}
|
||||||
|
#install -m 0644 lib/libaudit.so $RPM_BUILD_ROOT/%{_libdir}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
/sbin/ldconfig 2>/dev/null
|
||||||
if [ $1 = 1 ]; then
|
if [ $1 = 1 ]; then
|
||||||
/sbin/chkconfig --add auditd
|
/sbin/chkconfig --add auditd
|
||||||
fi
|
fi
|
||||||
@ -63,6 +70,7 @@ if [ $1 = 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
|
/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
|
||||||
@ -71,7 +79,7 @@ fi
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libaudit.a
|
%{_libdir}/libaudit.a
|
||||||
%{_includedir}/libaudit.h
|
%{_includedir}/libaudit.h
|
||||||
#%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -87,6 +95,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 03 2004 Steve Grubb <sgrubb@redhat.com> 0.5.4-1
|
||||||
|
- New version
|
||||||
|
|
||||||
* Mon Nov 22 2004 Steve Grubb <sgrubb@redhat.com> 0.5.3-1
|
* Mon Nov 22 2004 Steve Grubb <sgrubb@redhat.com> 0.5.3-1
|
||||||
- New version
|
- New version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user