]> git.pld-linux.org Git - packages/audit.git/commitdiff
- use updated <linux/audit.h>, builds now
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 17 Jun 2005 22:05:47 +0000 (22:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    audit.spec -> 1.3

audit.spec

index ab41ac8b27c7fa60bce012a1e2c4c1609c1816c5..437b46b1438916e27dafdde16fefe6efcfd3061b 100644 (file)
@@ -1,13 +1,14 @@
-# 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
@@ -77,6 +78,9 @@ u
 %prep
 %setup -q
 
+install -D %{SOURCE1} lib/linux/audit.h
+install -D %{SOURCE1} src/mt/linux/audit.h
+
 %build
 %{__libtoolize}
 %{__aclocal}
@@ -84,7 +88,9 @@ u
 %{__autoheader}
 %{__automake}
 %configure
-%{__make}
+# override auditd_CFLAGS to avoid -fPIE unsupported by gcc 3.3
+%{__make} \
+       auditd_CFLAGS=
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -96,7 +102,7 @@ install -d $RPM_BUILD_ROOT%{_var}/log/audit
 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}
This page took 0.863703 seconds and 4 git commands to generate.