mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-21 15:53:49 +01:00
38 lines
828 B
Bash
38 lines
828 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python3_{5,6,7} )
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="OSP server implementation to allow GVM to remotely control an OpenVAS Scanner"
|
|
HOMEPAGE="https://www.greenbone.net/en/"
|
|
SRC_URI="https://github.com/greenbone/ospd-openvas/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
SLOT="0"
|
|
LICENSE="MIT"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="
|
|
>=net-analyzer/ospd-2.0
|
|
>=dev-python/redis-py-3.0.1[${PYTHON_USEDEP}]
|
|
dev-python/psutil"
|
|
|
|
DEPEND="
|
|
${RDEPEND}"
|
|
|
|
python_install() {
|
|
distutils-r1_python_install
|
|
|
|
dodir /etc/openvas
|
|
insinto /etc/openvas
|
|
|
|
doins "${FILESDIR}"/redis.conf.example
|
|
doins "${FILESDIR}/ospd.conf"
|
|
|
|
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
|
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
|
|
|
}
|