From 576b6208d6defe240bfa2477d6dd19f1ed83bfaf Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 2 Sep 2019 05:23:45 +0200 Subject: Cleaned most of outdated stuff --- net-analyzer/openvas-scanner/Manifest | 3 -- net-analyzer/openvas-scanner/files/openvasd | 27 ------------- .../openvas-scanner/openvas-scanner-3.0.1.ebuild | 46 ---------------------- 3 files changed, 76 deletions(-) delete mode 100644 net-analyzer/openvas-scanner/Manifest delete mode 100644 net-analyzer/openvas-scanner/files/openvasd delete mode 100644 net-analyzer/openvas-scanner/openvas-scanner-3.0.1.ebuild (limited to 'net-analyzer/openvas-scanner') diff --git a/net-analyzer/openvas-scanner/Manifest b/net-analyzer/openvas-scanner/Manifest deleted file mode 100644 index 9e0ba4a..0000000 --- a/net-analyzer/openvas-scanner/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -AUX openvasd 602 RMD160 aa1bf12f2543128298405f4f076b9bf5c19c0ec9 SHA1 45df319e7c4753ec60dd4ddf11e81393cc3f37e1 SHA256 37d5c6cc7daca833c2520f840524f15f7f13f67838c552943455ded3902ab802 -DIST openvas-scanner-3.0.1.tar.gz 551036 RMD160 8b3007d94c0f6953156ac7c547b3a3db08684fa8 SHA1 a744da841c9c52f5bc74f51287602f958e4c7e01 SHA256 965bdb37d8925e56e779c1299f08c63436675f2e7b3715860433c37684d10df0 -EBUILD openvas-scanner-3.0.1.ebuild 1309 RMD160 8313ac4b4e46ec056acb8ca68accf1cc8630b85b SHA1 7ef8e3606dbb5c96d5cc2ff1b9a2cb3a28fd95a4 SHA256 9cedbce645c8acb2204056d387709185f273d9fdaf6d6a146ff06d78d971cee6 diff --git a/net-analyzer/openvas-scanner/files/openvasd b/net-analyzer/openvas-scanner/files/openvasd deleted file mode 100644 index 0883487..0000000 --- a/net-analyzer/openvas-scanner/files/openvasd +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: - -depend() { - need net -} - -start() { - ebegin "Starting openvassd" - start-stop-daemon --start --quiet -n openvassd --exec /usr/sbin/openvassd -- --quiet - eend $? -} - -stop() { - ebegin "Stop openvassd" - start-stop-daemon --stop --quiet -n openvassd - - einfo "Waiting for the environment to be sane" - RUNNING=$(ps aux | grep -m 1 openvassd: | grep -v grep) - while [ -n "$RUNNING" ] ; do - sleep 1 - RUNNING=$(ps aux | grep -m 1 openvassd: | grep -v grep) - done - eend $? -} diff --git a/net-analyzer/openvas-scanner/openvas-scanner-3.0.1.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-3.0.1.ebuild deleted file mode 100644 index 1f328f9..0000000 --- a/net-analyzer/openvas-scanner/openvas-scanner-3.0.1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# 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" -} -- cgit v1.2.3