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 \
52 rm -vf %{BUILDROOT}/lib/libau{dit,parse}.so
53 ln -svf ../../lib/libaudit.so.1 %{BUILDROOT}/usr/lib/libaudit.so
54 ln -svf ../../lib/libauparse.so.0 %{BUILDROOT}/usr/lib/libauparse.so
56 mkdir -pv %{BUILDROOT}/usr/sbin/
57 mv -v %{BUILDROOT}/sbin/audisp*remote %{BUILDROOT}/usr/sbin/
59 mkdir -pv %{BUILDROOT}/var/log/audit
61 rm -rfv %{BUILDROOT}/etc/{rc.d,sysconfig}
67 prerequires += systemd-units
70 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
74 /bin/systemctl --no-reload disable auditd.service >/dev/null 2>&1 || :
75 /bin/systemctl stop auditd.service >/dev/null 2>&1 || :
79 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
83 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
84 /bin/systemctl try-restart auditd.service >/dev/null 2>&1 || :
96 package python-%{name}
97 summary = Python bindings for libaudit.
98 description = %{summary}
105 package %{name}-debuginfo