summaryrefslogtreecommitdiffstats
path: root/net-analyzer/openvas-scanner/openvas-scanner-3.0.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/openvas-scanner/openvas-scanner-3.0.1.ebuild')
-rw-r--r--net-analyzer/openvas-scanner/openvas-scanner-3.0.1.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/net-analyzer/openvas-scanner/openvas-scanner-3.0.1.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-3.0.1.ebuild
new file mode 100644
index 0000000..1f328f9
--- /dev/null
+++ b/net-analyzer/openvas-scanner/openvas-scanner-3.0.1.ebuild
@@ -0,0 +1,46 @@
+# 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.3.ebuild,v 1.2 2009/11/07 20:18:04 volkmar Exp $
+
+DESCRIPTION="A remote security scanner for Linux (openvas-scanner)"
+HOMEPAGE="http://www.openvas.org/"
+SRC_URI="http://wald.intevation.org/frs/download.php/696/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="tcpd gtk debug prelude"
+
+DEPEND=">=net-analyzer/openvas-libraries-3.0.3
+ tcpd? ( sys-apps/tcp-wrappers )
+ gtk? ( =x11-libs/gtk+-2* )
+ prelude? ( dev-libs/libprelude )
+ !net-analyzer/openvas-libnasl
+ !net-analyzer/openvas-plugins
+ !net-analyzer/openvas-server
+ "
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ econf \
+ $(use_enable tcpd tcpwrappers) \
+ $(use_enable debug) \
+ $(use_enable gtk) \
+ || die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ einstall || die "einstall failed"
+
+ dodoc doc/*.txt || die
+
+ doinitd "${FILESDIR}"/openvasd || die "doinitd failed"
+ keepdir /var/lib/openvas/logs
+ keepdir /var/lib/openvas/users
+}
+
+pkg_postinst() {
+ ewarn "1. Call 'openvas-nvt-sync' to download plugins"
+ ewarn "2. Call 'openvas-mkcert' to generate server certificate"
+ ewarn "3. Call 'openvas-adduser' to create a user"
+}