summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2008-02-08 13:08:17 +0000
committerHanno Böck <hanno@gentoo.org>2008-02-08 13:08:17 +0000
commit4ca3bd6ea653adeb76e9184cc0934a61ebe8241b (patch)
tree3b525db10f7d80da6f93d7da3c751268dcb69a51 /net-analyzer/openvas-server
parentinitial commit of openvas-libnasl (diff)
downloadgentoo-2-4ca3bd6ea653adeb76e9184cc0934a61ebe8241b.tar.gz
gentoo-2-4ca3bd6ea653adeb76e9184cc0934a61ebe8241b.tar.bz2
gentoo-2-4ca3bd6ea653adeb76e9184cc0934a61ebe8241b.zip
initial openvas-server commit
(Portage version: 2.1.4.1)
Diffstat (limited to 'net-analyzer/openvas-server')
-rw-r--r--net-analyzer/openvas-server/ChangeLog10
-rw-r--r--net-analyzer/openvas-server/Manifest5
-rw-r--r--net-analyzer/openvas-server/files/openvasd26
-rw-r--r--net-analyzer/openvas-server/metadata.xml6
-rw-r--r--net-analyzer/openvas-server/openvas-server-1.0.0.ebuild41
5 files changed, 88 insertions, 0 deletions
diff --git a/net-analyzer/openvas-server/ChangeLog b/net-analyzer/openvas-server/ChangeLog
new file mode 100644
index 000000000000..39deaeadb5d7
--- /dev/null
+++ b/net-analyzer/openvas-server/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-analyzer/openvas-server
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-server/ChangeLog,v 1.1 2008/02/08 13:08:16 hanno Exp $
+
+*openvas-server-1.0.0 (08 Feb 2008)
+
+ 08 Feb 2008; Hanno Boeck <hanno@gentoo.org> +files/openvasd,
+ +metadata.xml, +openvas-server-1.0.0.ebuild:
+ Initial commit of openvas.
+
diff --git a/net-analyzer/openvas-server/Manifest b/net-analyzer/openvas-server/Manifest
new file mode 100644
index 000000000000..dcd0a6195406
--- /dev/null
+++ b/net-analyzer/openvas-server/Manifest
@@ -0,0 +1,5 @@
+AUX openvasd 553 RMD160 d2d80072791debcad2d30a0a24ba4fa486400789 SHA1 927a096595afc22ae9f0a7f16a06708f744c7788 SHA256 8773f2775777d3c06c523f31c118f00cd09f86af7d4fa60f37221ec85c407af3
+DIST openvas-server-1.0.0.tar.gz 289660 RMD160 c2153cadd596df5e0e92567820e637a672d3a908 SHA1 b7d452ed3679383687b46aa23e154b5b82e5663a SHA256 72ee788c0e79934d3a8220a2acff80851324227093f91fc37564097a2e44b68b
+EBUILD openvas-server-1.0.0.ebuild 1056 RMD160 a22dc4a6b5e075c61f0020ef912855c844bb43c3 SHA1 27fb584efb752114219339c8295295df62f933c6 SHA256 2d12df3027f49e50f8e92f6600fffd792d273f2b9f18eef20d143259b851ce25
+MISC ChangeLog 305 RMD160 0b637d71e67a6b4b1c9c35be296a0c179c3c7137 SHA1 0c1354fbb95748f9f280a5cf77b8770e2a9bdd85 SHA256 fa63d3fc57db08def45215e617669c68a327a9d4747d0fa95766adf7312e7680
+MISC metadata.xml 217 RMD160 3b01d5dab901ee93217f72b711954d3cccbb1717 SHA1 e304788b60dd2cf214d360a21d267e8635474d98 SHA256 2f5dfc1eb79d2d9ee02663da6e1449f499c3a37b7f4cc2391e18d7789a314669
diff --git a/net-analyzer/openvas-server/files/openvasd b/net-analyzer/openvas-server/files/openvasd
new file mode 100644
index 000000000000..ec184598dc85
--- /dev/null
+++ b/net-analyzer/openvas-server/files/openvasd
@@ -0,0 +1,26 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-server/files/openvasd,v 1.1 2008/02/08 13:08:17 hanno Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting openvasd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/openvasd -- -D --quiet
+ eend $?
+}
+
+stop() {
+ ebegin "Stop openvasd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/openvasd
+ einfo "Waiting for the environment to be sane"
+ while [ -n "$RUNNING" ] ; do
+ sleep 1
+ RUNNING=$(ps aux | grep -m 1 openvasd: | grep -v grep)
+ done
+ sleep 3
+ eend $?
+}
diff --git a/net-analyzer/openvas-server/metadata.xml b/net-analyzer/openvas-server/metadata.xml
new file mode 100644
index 000000000000..efa54454de71
--- /dev/null
+++ b/net-analyzer/openvas-server/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>hanno@gentoo.org</email></maintainer>
+</pkgmetadata>
diff --git a/net-analyzer/openvas-server/openvas-server-1.0.0.ebuild b/net-analyzer/openvas-server/openvas-server-1.0.0.ebuild
new file mode 100644
index 000000000000..b0c3f5d356ad
--- /dev/null
+++ b/net-analyzer/openvas-server/openvas-server-1.0.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/openvas-server/openvas-server-1.0.0.ebuild,v 1.1 2008/02/08 13:08:16 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/407/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="tcpd gtk debug prelude"
+
+DEPEND="net-analyzer/openvas-libraries
+ net-analyzer/openvas-libnasl
+ tcpd? ( sys-apps/tcp-wrappers )
+ gtk? ( =x11-libs/gtk+-2* )
+ prelude? ( dev-libs/libprelude )"
+MAKEOPTS="${MAKEOPTS} -j1"
+
+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"
+
+ # net-analyzer/openvas-libraries provides includes.h
+ rm "${D}"/usr/include/openvas/includes.h
+
+ dodoc TODO CHANGES || die
+ dodoc doc/*.txt doc/ntp/* || die
+
+ doinitd "${FILESDIR}"/openvasd || die "doinitd failed"
+ keepdir /var/lib/openvas/logs
+ keepdir /var/lib/openvas/users
+}