/[gentoo-x86]/sys-fs/trustees/trustees-2.10.ebuild
Gentoo

Contents of /sys-fs/trustees/trustees-2.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Tue Sep 2 13:38:28 2008 UTC (6 years, 11 months ago) by darkside
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
removing sys-fs/trustees from the tree, bug #105919

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-fs/trustees/trustees-2.10.ebuild,v 1.9 2007/04/28 13:25:06 tove Exp $
4
5 inherit flag-o-matic toolchain-funcs
6
7 DESCRIPTION="Advanced permission management system (ACLs) for Linux"
8 HOMEPAGE="http://trustees.sourceforge.net/"
9 SRC_URI="http://trustees.sourceforge.net/download/${PN}.${PV}.tgz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="x86"
14 IUSE=""
15
16 DEPEND="virtual/libc
17 virtual/linux-sources"
18
19 S="${WORKDIR}"
20
21 src_compile() {
22 if [ ! -e "${ROOT}/usr/src/linux/include/linux/trustee_struct.h" ] ; then
23 eerror
24 eerror "Your currently linked kernel (/usr/src/linux) hasn't"
25 eerror "been patched for trustees support."
26 eerror
27 die "kernel not patched for trustees support"
28 fi
29
30 append-flags -I${ROOT}/usr/src/linux/include -include errno.h
31
32 $(tc-getCC) ${CFLAGS} set-trustee.c -o settrustee || die "compile problem"
33 }
34
35 src_install() {
36 dosbin settrustee || die
37 dodoc README
38 newdoc trustee.conf trustee.conf.example
39
40 newinitd "${FILESDIR}/trustees.rc6" trustees
41 newconfd "${FILESDIR}/trustees.conf" trustees
42 }

  ViewVC Help
Powered by ViewVC 1.1.20