mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-28 09:40:59 +02:00
the 3.x release of openvas should replace nessus in pentoo I've not completely covered the deps of these ebuilds but here is a start
30 lines
757 B
Bash
30 lines
757 B
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header
|
|
|
|
inherit eutils
|
|
|
|
DESCRIPTION="A client for the openvas vulnerability scanner"
|
|
HOMEPAGE="http://www.openvas.org/"
|
|
SRC_URI="http://wald.intevation.org/frs/download.php/685/${P}.tar.gz"
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc x86"
|
|
IUSE="gtk"
|
|
|
|
DEPEND="net-libs/gnutls
|
|
gtk? ( >=x11-libs/gtk+-2.8.8 )
|
|
>=net-analyzer/openvas-libraries-3.0.5"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_compile() {
|
|
econf $(use_enable gtk) || die "econf failed"
|
|
emake || die "emake failed"
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" install || die "install failed"
|
|
dodoc AUTHORS CHANGES README TODO || die "dodoc failed"
|
|
|
|
make_desktop_entry OpenVAS-Client "OpenVAS Client"
|
|
}
|