diff options
author | Giuseppe Foti <foti.giuseppe@gmail.com> | 2023-11-13 21:15:05 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2023-11-14 08:52:27 +0100 |
commit | 2326b36d6c49702862bd407a6bcd979f02d793d5 (patch) | |
tree | 1cb1bf2d3e3be18882d6dbb2403bc5f741a6953f /net-analyzer/ospd-openvas | |
parent | net-analyzer/gvmd: drop 21.4.5-r5 (diff) | |
download | gentoo-2326b36d6c49702862bd407a6bcd979f02d793d5.tar.gz gentoo-2326b36d6c49702862bd407a6bcd979f02d793d5.tar.bz2 gentoo-2326b36d6c49702862bd407a6bcd979f02d793d5.zip |
net-analyzer/ospd-openvas: drop 21.4.4-r4
Signed-off-by: Giuseppe Foti <foti.giuseppe@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33802
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'net-analyzer/ospd-openvas')
-rw-r--r-- | net-analyzer/ospd-openvas/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/ospd-openvas/files/ospd-openvas.confd | 10 | ||||
-rw-r--r-- | net-analyzer/ospd-openvas/files/ospd-openvas.initd | 21 | ||||
-rw-r--r-- | net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r4.ebuild | 76 |
4 files changed, 0 insertions, 108 deletions
diff --git a/net-analyzer/ospd-openvas/Manifest b/net-analyzer/ospd-openvas/Manifest index f851a459d30e..5658746f717d 100644 --- a/net-analyzer/ospd-openvas/Manifest +++ b/net-analyzer/ospd-openvas/Manifest @@ -1,2 +1 @@ -DIST ospd-openvas-21.4.4.tar.gz 173368 BLAKE2B 4568eb45bb999d0ff2cf91652dd56000bceb967f5c37c3061735322d1c72165f9b869c8b48694b37fd6d684679fa1bbff4a5550076bbcfcee5936b470cb04700 SHA512 3981b0a9044f90243fe06f15b0d8ee5a6b1a334556f6de76955aecda0404da2f8bd1d39bf547093a31c244f0aabae819f5e45e8c518984fc7d50764a267086e9 DIST ospd-openvas-22.6.0.tar.gz 248449 BLAKE2B 83f4fc370e23249f62e358c9314341c17b39d618407c7f176b36981675707c749aacf07a1daf9e57ebd8a4673cb17b22bf2e63f7e1c3f55e2df57deab4986109 SHA512 f98e59d5898ae75bf6fbadfbcf57bb1c810143bba88bc4ffb5bc30d3780638577f73ffb265e80beaa9f3e67c6b7032264ca2c0375698c886a2f3ad101ac4310a diff --git a/net-analyzer/ospd-openvas/files/ospd-openvas.confd b/net-analyzer/ospd-openvas/files/ospd-openvas.confd deleted file mode 100644 index fc776ac49e32..000000000000 --- a/net-analyzer/ospd-openvas/files/ospd-openvas.confd +++ /dev/null @@ -1,10 +0,0 @@ -# OpenVAS Scanner command args - -# e.g --foreground -OSPD_OPENVAS_OPTIONS="" - -# Scanner listen socket -OSPD_OPENVAS_UNIX_SOCKET="--unix-socket=/tmp/ospd.sock" - -# Scanner listen mode -OSPD_OPENVAS_SOCKET_MODE="--socket-mode=0o777" diff --git a/net-analyzer/ospd-openvas/files/ospd-openvas.initd b/net-analyzer/ospd-openvas/files/ospd-openvas.initd deleted file mode 100644 index f8887d8b3431..000000000000 --- a/net-analyzer/ospd-openvas/files/ospd-openvas.initd +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -name="remotely control an OpenVAS Scanner" -command=/usr/bin/ospd-openvas -pidfile="/run/${RC_SVCNAME}.pid" -command_args="${OSPD_OPENVAS_OPTIONS} \ - ${OSPD_OPENVAS_UNIX_SOCKET} \ - ${OSPD_OPENVAS_SOCKET_MODE} \ - --pid-file ${pidfile} \ - --config /etc/openvas/ospd.conf" - -depend() { - after bootmisc - need localmount redis -} - -start_pre() { - checkpath -d /var/run/ospd -} diff --git a/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r4.ebuild b/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r4.ebuild deleted file mode 100644 index f97fa35c7a21..000000000000 --- a/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r4.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 2020-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..10} ) -DISTUTILS_USE_PEP517=poetry -inherit distutils-r1 systemd - -DESCRIPTION="This is an OSP server implementation to allow GVM to remotely control OpenVAS" -HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/ospd-openvas" -SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="AGPL-3+ GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc" - -DEPEND=" - acct-user/gvm - dev-python/defusedxml[${PYTHON_USEDEP}] - dev-python/deprecated[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - >=dev-python/packaging-20.4[${PYTHON_USEDEP}] - dev-python/paramiko[${PYTHON_USEDEP}] - >=dev-python/psutil-5.7.0[${PYTHON_USEDEP}] - >=dev-python/redis-3.5.3[${PYTHON_USEDEP}] - !net-analyzer/ospd[${PYTHON_USEDEP}] -" -RDEPEND=" - ${DEPEND} - app-admin/sudo - >=net-analyzer/openvas-scanner-${PV} -" - -distutils_enable_tests unittest - -src_prepare() { - default - - # https://github.com/greenbone/ospd-openvas/pull/649 - sed -i '/^Group=gvm/d' config/ospd-openvas.service || die - - # https://github.com/greenbone/ospd-openvas/pull/653 - sed -i 's;/usr/local/bin/;/usr/bin/;' config/ospd-openvas.service || die -} - -python_compile() { - if use doc; then - bash "${S}"/docs/generate || die - HTML_DOCS=( "${S}"/docs/. ) - fi - distutils-r1_python_compile -} - -python_install() { - distutils-r1_python_install - - insinto /etc/gvm - doins config/${PN}.conf - if ! use prefix; then - fowners -R gvm:gvm /etc/gvm - fi - - newinitd "${FILESDIR}/${PN}.initd" "${PN}" - newconfd "${FILESDIR}/${PN}.confd" "${PN}" - - systemd_dounit config/${PN}.service - - # OSPD OpenVAS attempts to call openvas via sudo as network security - # scanning often requires priviliged operations. - insinto /etc/sudoers.d - newins - openvas <<-EOF - gvm ALL = NOPASSWD: /usr/bin/openvas -EOF -} |