1 ###############################################################################
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
6 # This program is free software: you can redistribute it and/or modify #
7 # it under the terms of the GNU General Public License as published by #
8 # the Free Software Foundation, either version 3 of the License, or #
9 # (at your option) any later version. #
11 # This program is distributed in the hope that it will be useful, #
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14 # GNU General Public License for more details. #
16 # You should have received a copy of the GNU General Public License #
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. #
19 ###############################################################################
21 ###############################################################################
23 ###############################################################################
25 include $(PKGROOT)/Include
32 PKG_GROUP = System/Daemons
33 PKG_URL = http://people.redhat.com/sgrubb/audit/
35 PKG_SUMMARY = User space tools for 2.6 kernel auditing.
37 PKG_BUILD_DEPS+= autoconf automake libcap-ng-devel libtool openldap-devel \
40 define PKG_DESCRIPTION
41 The audit package contains the user space utilities for \
42 storing and searching the audit records generate by \
43 the audit subsystem in the Linux 2.6 kernel.
46 PKG_TARBALL = $(THISAPP).tar.gz
48 PKG_PACKAGES += $(PKG_NAME)-devel $(PKG_NAME)-libs
50 CONFIGURE_OPTIONS += \
56 --enable-gssapi-krb5=no \
59 define STAGE_PREPARE_CMDS
60 cd $(DIR_APP) && autoreconf -fvi
63 define STAGE_INSTALL_CMDS
64 rm -vf $(BUILDROOT)/lib/libau{dit,parse}.so
65 ln -svf ../../lib/libaudit.so.1 $(BUILDROOT)/usr/lib/libaudit.so
66 ln -svf ../../lib/libauparse.so.0 $(BUILDROOT)/usr/lib/libauparse.so
68 -mkdir -pv $(BUILDROOT)/usr/sbin
69 mv -v $(BUILDROOT)/sbin/audisp*remote $(BUILDROOT)/usr/sbin/
71 rm -rfv $(BUILDROOT)/etc/{rc.d,sysconfig}