Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-1.5.4.ebuild,v 1.2 2007/07/09 05:05:48 vapier Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-1.5.4.ebuild,v 1.2 2007/07/09 05:05:48 vapier Exp $ |
4 |
|
4 |
|
5 |
inherit autotools multilib toolchain-funcs |
5 |
inherit autotools multilib toolchain-funcs linux-info |
6 |
|
6 |
|
7 |
DESCRIPTION="Userspace utilities for storing and processing auditing records" |
7 |
DESCRIPTION="Userspace utilities for storing and processing auditing records" |
8 |
HOMEPAGE="http://people.redhat.com/sgrubb/audit/" |
8 |
HOMEPAGE="http://people.redhat.com/sgrubb/audit/" |
Lines 19-24
Link Here
|
19 |
>=sys-kernel/linux-headers-2.6.20-r2" |
19 |
>=sys-kernel/linux-headers-2.6.20-r2" |
20 |
# Do not use os-headers as this is linux specific |
20 |
# Do not use os-headers as this is linux specific |
21 |
|
21 |
|
|
|
22 |
pkg_setup() { |
23 |
if ! linux_chkconfig_present AUDIT; then |
24 |
eerror |
25 |
eerror "AUDIT kernel support is needed to run audit" |
26 |
eerror |
27 |
die "AUDIT kernel support not detected" |
28 |
fi |
29 |
} |
30 |
|
22 |
src_unpack() { |
31 |
src_unpack() { |
23 |
unpack ${A} |
32 |
unpack ${A} |
24 |
cd "${S}" |
33 |
cd "${S}" |