rpms/audit/devel .cvsignore, 1.103, 1.104 audit.spec, 1.214, 1.215 sources, 1.127, 1.128

Steve Grubb sgrubb at fedoraproject.org
Wed Aug 19 18:51:56 UTC 2009


Author: sgrubb

Update of /cvs/pkgs/rpms/audit/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27163

Modified Files:
	.cvsignore audit.spec sources 
Log Message:
add temporary compat package



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/audit/devel/.cvsignore,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -p -r1.103 -r1.104
--- .cvsignore	18 Aug 2009 18:13:00 -0000	1.103
+++ .cvsignore	19 Aug 2009 18:51:56 -0000	1.104
@@ -100,3 +100,4 @@ audit-1.7.11.tar.gz
 audit-1.7.12.tar.gz
 audit-1.7.13.tar.gz
 audit-2.0.tar.gz
+audit-1.8.tar.gz


Index: audit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/audit/devel/audit.spec,v
retrieving revision 1.214
retrieving revision 1.215
diff -u -p -r1.214 -r1.215
--- audit.spec	18 Aug 2009 18:13:00 -0000	1.214
+++ audit.spec	19 Aug 2009 18:51:56 -0000	1.215
@@ -3,11 +3,12 @@
 Summary: User space tools for 2.6 kernel auditing
 Name: audit
 Version: 2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 Group: System Environment/Daemons
 URL: http://people.redhat.com/sgrubb/audit/
 Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
+Source1: %{name}-1.8.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: swig python-devel
 BuildRequires: tcp_wrappers-devel libcap-ng-devel 
@@ -68,12 +69,25 @@ interface to the audit system, audispd. 
 like relay events to remote machines or analyze events for suspicious
 behavior.
 
+%package libs-compat
+Summary: Dynamic library for libaudit
+License: LGPLv2+
+Group: Development/Libraries
+
+%description libs-compat
+The audit-libs-compat package contains the dynamic libraries needed for 
+applications to use the audit 1.0 framework.
+
 %prep
 %setup -q
+tar -xzf %{SOURCE1}
 
 %build
 %configure --sbindir=/sbin --libdir=/%{_lib} --with-prelude --with-libwrap --enable-gssapi-krb5=no --with-libcap-ng=yes
 make %{?_smp_mflags}
+cd ../audit-1.8
+%configure --sbindir=/sbin --libdir=/%{_lib} --with-prelude --with-libwrap --enable-gssapi-krb5=no --with-libcap-ng=yes
+make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -82,6 +96,9 @@ mkdir -p $RPM_BUILD_ROOT/%{_mandir}/{man
 mkdir -p $RPM_BUILD_ROOT/%{_lib}
 mkdir -p $RPM_BUILD_ROOT/%{_libdir}/audit
 mkdir -p $RPM_BUILD_ROOT/%{_var}/log/audit
+cd ../audit-1.8
+make DESTDIR=$RPM_BUILD_ROOT %{?_smp_mflags} install
+cd ../%{name}-%{version}
 make DESTDIR=$RPM_BUILD_ROOT %{?_smp_mflags} install
 
 mkdir -p $RPM_BUILD_ROOT/%{_libdir}
@@ -90,9 +107,9 @@ mv $RPM_BUILD_ROOT/%{_lib}/libaudit.a $R
 mv $RPM_BUILD_ROOT/%{_lib}/libauparse.a $RPM_BUILD_ROOT%{_libdir}
 curdir=`pwd`
 cd $RPM_BUILD_ROOT/%{_libdir}
-LIBNAME=`basename \`ls $RPM_BUILD_ROOT/%{_lib}/libaudit.so.*.*.*\``
+LIBNAME=`basename \`ls $RPM_BUILD_ROOT/%{_lib}/libaudit.so.1.*.*\``
 ln -s ../../%{_lib}/$LIBNAME libaudit.so
-LIBNAME=`basename \`ls $RPM_BUILD_ROOT/%{_lib}/libauparse.so.*.*.*\``
+LIBNAME=`basename \`ls $RPM_BUILD_ROOT/%{_lib}/libauparse.so.0.*.*\``
 ln -s ../../%{_lib}/$LIBNAME libauparse.so
 cd $curdir
 # Remove these items so they don't get picked up.
@@ -136,9 +153,14 @@ if [ $1 -ge 1 ]; then
    /sbin/service auditd condrestart > /dev/null 2>&1 || :
 fi
 
+%files libs-compat
+%defattr(-,root,root,-)
+%attr(755,root,root) /%{_lib}/libaudit.so.0*
+%config(noreplace) %attr(640,root,root) /etc/libaudit.conf
+
 %files libs
 %defattr(-,root,root,-)
-%attr(755,root,root) /%{_lib}/libaudit.*
+%attr(755,root,root) /%{_lib}/libaudit.so.1*
 %attr(755,root,root) /%{_lib}/libauparse.*
 %config(noreplace) %attr(640,root,root) /etc/libaudit.conf
 
@@ -216,7 +238,7 @@ fi
 %attr(644,root,root) %{_mandir}/man8/audisp-remote.8.gz
 
 %changelog
-* Tue Aug 18 2009 Steve Grubb <sgrubb at redhat.com> 2.0-1
+* Wed Aug 19 2009 Steve Grubb <sgrubb at redhat.com> 2.0-2
 - New upstream release
 
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.7.13-2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/audit/devel/sources,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -p -r1.127 -r1.128
--- sources	18 Aug 2009 18:13:00 -0000	1.127
+++ sources	19 Aug 2009 18:51:56 -0000	1.128
@@ -1 +1,2 @@
 d0c064c4646f8fe5c50de789c627f2da  audit-2.0.tar.gz
+26a74bb90c7f8c28705a90aed01e1ff2  audit-1.8.tar.gz




More information about the fedora-extras-commits mailing list