Changed project over to generate .so libs and added man page for

auditd.conf
This commit is contained in:
Steve Grubb 2004-12-13 19:27:06 +00:00
parent fb052c51f4
commit aad93127c6

View File

@ -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.5 Version: 0.5.6
Release: 1 Release: 1
License: GPL License: GPL
Group: System Environment/Daemons Group: System Environment/Daemons
@ -32,12 +32,6 @@ 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,12 +41,13 @@ mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
mkdir -p $RPM_BUILD_ROOT/lib/security mkdir -p $RPM_BUILD_ROOT/lib/security
make DESTDIR=$RPM_BUILD_ROOT install make DESTDIR=$RPM_BUILD_ROOT install
# We manually install these since Makefile doesn't
mkdir -p $RPM_BUILD_ROOT/%{_includedir} mkdir -p $RPM_BUILD_ROOT/%{_includedir}
mkdir -p $RPM_BUILD_ROOT/%{_libdir} mkdir -p $RPM_BUILD_ROOT/%{_libdir}
# We manually install this since Makefile doesn't
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} # This winds up in the wrong place when libtool is involved
#install -m 0644 lib/libaudit.so $RPM_BUILD_ROOT/%{_libdir} mv $RPM_BUILD_ROOT/lib/libaudit.a $RPM_BUILD_ROOT%{_libdir}
mv $RPM_BUILD_ROOT/lib/libaudit.la $RPM_BUILD_ROOT%{_libdir}
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -77,7 +72,7 @@ fi
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libaudit.a %{_libdir}/libaudit.*
%{_includedir}/libaudit.h %{_includedir}/libaudit.h
%{_mandir}/man3/* %{_mandir}/man3/*
@ -89,6 +84,7 @@ 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
@ -96,6 +92,9 @@ fi
%changelog %changelog
* Fri Dec 17 2004 Steve Grubb <sgrubb@redhat.com> 0.5.6-1
- 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
- New version - New version