summaryrefslogtreecommitdiff
blob: cf6aef933c7c117280114b4a5cf64870eb337e50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/rsbac-admin-1.2.1.ebuild,v 1.3 2003/02/11 12:10:33 kutsuya Exp $

IUSE="ncurses"

# RSBAC Adming packet name
ADMIN=rsbac-admin-v${PV}

S=${WORKDIR}/${P}
DESCRIPTION="Rule Set Based Access Control Admin Tools"
HOMEPAGE="http://www.rsbac.org"
SRC_URI="http://www.rsbac.org/code/rsbac-admin-v${PV}.tar.bz2" 

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"

DEPEND="sys-kernel/rsbac-sources
	dev-util/dialog"

RDEPEND=">=sys-libs/ncurses-5.2"

src_unpack() {
	cd ${WORKDIR}
	unpack ${ADMIN}.tar.bz2 || die "cannot unpack rsbac-admin tool"

}

src_compile() {

	cd ${WORKDIR}/${ADMIN}
	echo "-> Configuring and compiling RSBAC Admin Tools"
	econf || die "cannot ./configure RSBAC Admin Tools"
	emake || die "cannot make RSBAC Admin Tools"
}

src_install() {
	cd ${WORKDIR}/${ADMIN}
	einstall || die "cannot make install"
	einfo "-> RSBAC admin tools installed"
	einfo ">>> *** IMPORTANT *** <<<"
	einfo "Take a look at http://www.rsbac.org if you are not an expert of RSBAC managing"
}