Install this version:
emerge -a =net-analyzer/gvm-22.4
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 22.4 | 8 | amd64 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit optfeature systemd
DESCRIPTION="Greenbone Vulnerability Management, previously named OpenVAS"
HOMEPAGE="https://www.greenbone.net"
LICENSE="AGPL-3+"
SLOT="0"
KEYWORDS="amd64"
IUSE="cli doc +gsa ldap ospd snmp radius"
RDEPEND="
>=net-analyzer/gvm-libs-${PV}[doc?,ldap?,radius?]
>=net-analyzer/gvmd-${PV}[doc?]
>=net-analyzer/openvas-scanner-${PV}[doc?,snmp?]
>=net-analyzer/greenbone-feed-sync-23.6.0
cli? ( >=net-analyzer/gvm-tools-21.10.0 )
gsa? ( >=net-analyzer/gsad-${PV}[doc?] )
ospd? ( >=net-analyzer/ospd-openvas-${PV}[doc?] )
"
src_unpack() {
mkdir "${WORKDIR}/${P}"
}
src_install() {
systemd_dounit "${FILESDIR}/${PN}.target"
newinitd "${FILESDIR}/${PN}.init" "${PN}"
}
pkg_postinst() {
optfeature "web server scanning and testing tool" net-analyzer/nikto
optfeature "IPsec VPN scanning, fingerprinting and testing tool" net-analyzer/ike-scan
optfeature "port scanner" net-analyzer/nmap
optfeature "create results from local security checks" net-analyzer/notus-scanner
optfeature "command line tool to scan for alive hosts" net-analyzer/boreas
}
Manage flags for this package:
euse -i <flag> -p net-analyzer/gvm |
euse -E <flag> -p net-analyzer/gvm |
euse -D <flag> -p net-analyzer/gvm
>=net-analyzer/gvm-libs-22.4[doc?,ldap?,radius?] >=net-analyzer/gvmd-22.4[doc?] >=net-analyzer/openvas-scanner-22.4[doc?,snmp?] >=net-analyzer/greenbone-feed-sync-23.6.0 cli? ( >=net-analyzer/gvm-tools-21.10.0 ) gsa? ( >=net-analyzer/gsad-22.4[doc?] ) ospd? ( >=net-analyzer/ospd-openvas-22.4[doc?] )