]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - pkgs/audit/audit.nm
PKG_GROUP -> PKG_GROUPS on all packages.
[people/ms/ipfire-3.x.git] / pkgs / audit / audit.nm
CommitLineData
c3a05990
MT
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
4# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5# #
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. #
10# #
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. #
15# #
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/>. #
18# #
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include $(PKGROOT)/Include
26
27PKG_NAME = audit
28PKG_VER = 2.0.5
29PKG_REL = 0
30
31PKG_MAINTAINER =
bb7d617c 32PKG_GROUPS = System/Daemons
c3a05990
MT
33PKG_URL = http://people.redhat.com/sgrubb/audit/
34PKG_LICENSE = GPLv2+
35PKG_SUMMARY = User space tools for 2.6 kernel auditing.
36
37PKG_BUILD_DEPS+= autoconf automake libcap-ng-devel libtool openldap-devel \
38 python-devel swig
39
40define 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.
44endef
45
46PKG_TARBALL = $(THISAPP).tar.gz
47
598293d7
MT
48PKG_PACKAGES += $(PKG_NAME)-devel $(PKG_NAME)-libs
49
c3a05990
MT
50CONFIGURE_OPTIONS += \
51 --sysconfdir=/etc \
52 --sbindir=/sbin \
53 --libdir=/lib \
54 --without-prelude \
55 --without-libwrap \
56 --enable-gssapi-krb5=no \
57 --with-libcap-ng=yes
58
59define STAGE_PREPARE_CMDS
60 cd $(DIR_APP) && autoreconf -fvi
61endef
62
63define 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
67
68 -mkdir -pv $(BUILDROOT)/usr/sbin
69 mv -v $(BUILDROOT)/sbin/audisp*remote $(BUILDROOT)/usr/sbin/
70
71 rm -rfv $(BUILDROOT)/etc/{rc.d,sysconfig}
72endef