diff options
author | Hanno Boeck <hanno@gentoo.org> | 2008-02-08 13:08:17 +0000 |
---|---|---|
committer | Hanno Boeck <hanno@gentoo.org> | 2008-02-08 13:08:17 +0000 |
commit | 0089f6283c342e0ef717578f3191a75afacecc3e (patch) | |
tree | 84c108ae53009a853bff12a65d6974a72fd3d5de /net-analyzer/openvas-server | |
parent | initial commit of openvas-libnasl (diff) | |
download | historical-0089f6283c342e0ef717578f3191a75afacecc3e.tar.gz historical-0089f6283c342e0ef717578f3191a75afacecc3e.tar.bz2 historical-0089f6283c342e0ef717578f3191a75afacecc3e.zip |
initial openvas-server commit
Package-Manager: portage-2.1.4.1
Diffstat (limited to 'net-analyzer/openvas-server')
-rw-r--r-- | net-analyzer/openvas-server/ChangeLog | 10 | ||||
-rw-r--r-- | net-analyzer/openvas-server/Manifest | 15 | ||||
-rw-r--r-- | net-analyzer/openvas-server/files/openvasd | 26 | ||||
-rw-r--r-- | net-analyzer/openvas-server/metadata.xml | 6 | ||||
-rw-r--r-- | net-analyzer/openvas-server/openvas-server-1.0.0.ebuild | 41 |
5 files changed, 98 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..f5979dd6f617 --- /dev/null +++ b/net-analyzer/openvas-server/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX openvasd 656 RMD160 fbaf9a98efca8e452688af8d2537aebe3a6626db SHA1 b10cea808bacbbaf41390d1613f4e35bd3fe1493 SHA256 dea1bf5445056ef12f365c30c5d00fb140d6e3a80cf4989912d5fce15307359b +DIST openvas-server-1.0.0.tar.gz 289660 RMD160 c2153cadd596df5e0e92567820e637a672d3a908 SHA1 b7d452ed3679383687b46aa23e154b5b82e5663a SHA256 72ee788c0e79934d3a8220a2acff80851324227093f91fc37564097a2e44b68b +EBUILD openvas-server-1.0.0.ebuild 1172 RMD160 0b59abbc53245dfc5c236793b06887559d9a8eda SHA1 60b96c88584c55765d120b0befc99c08ad28ce93 SHA256 6f10dfd6e6c6b3ad9f21e362419d87423bed947d5188b60b7ac7f45930fccd04 +MISC ChangeLog 403 RMD160 28519812635b59fba7376f34dcd8ffd315ea124f SHA1 a9f929ec168d3e0eb17a4a77aa1de81362293cd4 SHA256 b03a9debae324a91f832483a18d5e142c52c86845c05034cb09e9c7db512baea +MISC metadata.xml 217 RMD160 3b01d5dab901ee93217f72b711954d3cccbb1717 SHA1 e304788b60dd2cf214d360a21d267e8635474d98 SHA256 2f5dfc1eb79d2d9ee02663da6e1449f499c3a37b7f4cc2391e18d7789a314669 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFHrFRWr2QksT29OyARAoBbAJ9BxXu7FulTOdr1hB3PEbzsaQFWrACfc/mX +Jx1YUOhNWsvtL4FHgBFLWZA= +=gIIo +-----END PGP SIGNATURE----- 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 +} |