SPECS: audit.spec - use updated <linux/audit.h>, builds now
qboosh
qboosh at pld-linux.org
Sat Jun 18 00:05:53 CEST 2005
Author: qboosh Date: Fri Jun 17 22:05:53 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use updated <linux/audit.h>, builds now
---- Files affected:
SPECS:
audit.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/audit.spec
diff -u SPECS/audit.spec:1.2 SPECS/audit.spec:1.3
--- SPECS/audit.spec:1.2 Sat Jun 11 21:20:16 2005
+++ SPECS/audit.spec Sat Jun 18 00:05:47 2005
@@ -1,14 +1,15 @@
# $Revision$, $Date$
-# TODO: fix build with current llh
Summary: User space tools for 2.6 kernel auditing
Summary(pl): Narzędzia przestrzeni użytkownika do audytu jąder 2.6
Name: audit
-Version: 0.9.4
+Version: 0.9.7
Release: 0.1
License: GPL
Group: Daemons
Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
-# Source0-md5: d270c9226134e29b65979d19a853912e
+# Source0-md5: 8548fbe16c3c44bdcc045fba0f35a070
+# http://people.redhat.com/sgrubb/audit/audit.h
+Source1: audit.h
URL: http://people.redhat.com/sgrubb/audit/
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1.9
@@ -78,6 +79,9 @@
%prep
%setup -q
+install -D %{SOURCE1} lib/linux/audit.h
+install -D %{SOURCE1} src/mt/linux/audit.h
+
%build
%{__libtoolize}
%{__aclocal}
@@ -85,7 +89,9 @@
%{__autoheader}
%{__automake}
%configure
-%{__make}
+# override auditd_CFLAGS to avoid -fPIE unsupported by gcc 3.3
+%{__make} \
+ auditd_CFLAGS=
%install
rm -rf $RPM_BUILD_ROOT
@@ -97,7 +103,7 @@
install -d $RPM_BUILD_ROOT/%{_lib}
mv -f $RPM_BUILD_ROOT%{_libdir}/libaudit.so.* $RPM_BUILD_ROOT/%{_lib}
ln -sf $(cd $RPM_BUILD_ROOT/%{_lib} ; echo libaudit.so.*.*.*) \
- PM_BUILD_ROOT%{_libdir}/libaudit.so
+ $RPM_BUILD_ROOT%{_libdir}/libaudit.so
# We manually install this since Makefile doesn't
install -d $RPM_BUILD_ROOT%{_includedir}
@@ -160,6 +166,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2005/06/17 22:05:47 qboosh
+- use updated <linux/audit.h>, builds now
+
Revision 1.2 2005/06/11 19:20:16 qboosh
- updated to 0.9.4 (still doesn't build on llh)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/audit.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list