1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = System/Daemons
11 url = http://people.redhat.com/sgrubb/audit/
13 summary = User space tools for 2.6 kernel auditing.
16 The audit package contains the user space utilities for
17 storing and searching the audit records generate by
18 the audit subsystem in the Linux 2.6 kernel.
21 source_dl = http://people.redhat.com/sgrubb/audit/
34 configure_options += \
40 --enable-gssapi-krb5=no \
48 rm -vf %{BUILDROOT}/%{lib}/libau{dit,parse}.so
49 ln -svf ../../%{lib}/libaudit.so.1 %{BUILDROOT}%{libdir}/libaudit.so
50 ln -svf ../../%{lib}/libauparse.so.0 %{BUILDROOT}%{libdir}/libauparse.so
52 mkdir -pv %{BUILDROOT}/usr/sbin/
53 mv -v %{BUILDROOT}/sbin/audisp*remote %{BUILDROOT}/usr/sbin/
55 mkdir -pv %{BUILDROOT}/var/log/audit
57 rm -rfv %{BUILDROOT}/etc/{rc.d,sysconfig}
63 prerequires += systemd-units
66 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
70 /bin/systemctl --no-reload disable auditd.service >/dev/null 2>&1 || :
71 /bin/systemctl stop auditd.service >/dev/null 2>&1 || :
75 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
79 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
80 /bin/systemctl try-restart auditd.service >/dev/null 2>&1 || :
91 # Just require the libs to link
94 %{name}-libs = %{thisver}
98 package python-%{name}
99 summary = Python bindings for libaudit.
100 description = %{summary}
107 package %{name}-debuginfo