SPECS: audit.spec - updated to 1.0.8 - pie as bcond

qboosh qboosh at pld-linux.org
Fri Oct 28 20:52:00 CEST 2005


Author: qboosh                       Date: Fri Oct 28 18:52:00 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.0.8
- pie as bcond

---- Files affected:
SPECS:
   audit.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/audit.spec
diff -u SPECS/audit.spec:1.10 SPECS/audit.spec:1.11
--- SPECS/audit.spec:1.10	Mon Oct  3 21:03:22 2005
+++ SPECS/audit.spec	Fri Oct 28 20:51:55 2005
@@ -1,13 +1,17 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	pie	# auditd as PIE binary
+#
 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:	1.0.3
-Release:	1.1
+Version:	1.0.8
+Release:	1
 License:	GPL
 Group:		Daemons
 Source0:	http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
-# Source0-md5:	950daad97adfa3134289aa5b4e885f8f
+# Source0-md5:	9719236e6631ca66965c42b7207c5715
 # http://people.redhat.com/sgrubb/audit/audit.h
 Source1:	audit.h
 Source2:	%{name}d.init
@@ -15,7 +19,7 @@
 URL:		http://people.redhat.com/sgrubb/audit/
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake >= 1.9
-BuildRequires:	gcc >= 5:3.4
+%{?with_pie:BuildRequires:	gcc >= 5:3.4}
 BuildRequires:	libtool
 BuildRequires:	linux-libc-headers >= 2.6.11
 Requires:	rc-scripts
@@ -93,7 +97,9 @@
 %{__autoheader}
 %{__automake}
 %configure
-%{__make}
+# override auditd_{C,LD}FLAGS to avoid -fPIE unsupported by gcc 3.3
+%{__make} \
+	%{!?with_pie:auditd_CFLAGS= auditd_LDFLAGS=}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -141,6 +147,7 @@
 %doc AUTHORS ChangeLog README THANKS TODO sample.rules
 %attr(750,root,root) %{_sbindir}/auditctl
 %attr(750,root,root) %{_sbindir}/auditd
+%attr(750,root,root) %{_sbindir}/aureport
 %attr(750,root,root) %{_sbindir}/ausearch
 %attr(750,root,root) %{_sbindir}/autrace
 %attr(754,root,root) /etc/rc.d/init.d/auditd
@@ -171,6 +178,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2005/10/28 18:51:55  qboosh
+- updated to 1.0.8
+- pie as bcond
+
 Revision 1.10  2005/10/03 19:03:22  qboosh
 - one verify() is enough
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/audit.spec?r1=1.10&r2=1.11&f=u




More information about the pld-cvs-commit mailing list