blob: 3c8d65ee7bb318fd495884cfb318a741b6936a03 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-server/openvas-server-2.0.1-r1.ebuild,v 1.1 2009/03/13 19:29:30 hanno Exp $
DESCRIPTION="A remote security scanner for Linux (openvas-server)"
HOMEPAGE="http://www.openvas.org/"
SRC_URI="http://wald.intevation.org/frs/download.php/562/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="tcpd gtk debug prelude"
DEPEND=">=net-analyzer/openvas-libnasl-2.0.1
tcpd? ( sys-apps/tcp-wrappers )
gtk? ( =x11-libs/gtk+-2* )
prelude? ( dev-libs/libprelude )"
RDEPEND="${DEPEND}"
src_compile() {
econf --localstatedir=/var \
$(use_enable tcpd tcpwrappers) \
$(use_enable debug) \
$(use_enable gtk) \
|| die "configure failed"
emake || die "emake failed"
}
src_install() {
einstall localstatedir="${D}"/var || die "install failed"
dodoc TODO CHANGES || die
dodoc doc/*.txt || die
doinitd "${FILESDIR}"/openvasd || die "doinitd failed"
keepdir /var/lib/openvas/logs
keepdir /var/lib/openvas/users
}
|