diff options
author | Florian Schmaus <flow@gentoo.org> | 2022-05-08 20:32:05 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2022-05-08 20:32:40 +0200 |
commit | 9ccb149cc7f7a87df6ceab715db8b3bfde38f25c (patch) | |
tree | 4fe2ce219141a470bd8ea812e6b3d5560f6f2c08 /net-analyzer/ospd-openvas | |
parent | net-misc/gnome-connections: Add new package, version 42.1.2 (diff) | |
download | gentoo-9ccb149cc7f7a87df6ceab715db8b3bfde38f25c.tar.gz gentoo-9ccb149cc7f7a87df6ceab715db8b3bfde38f25c.tar.bz2 gentoo-9ccb149cc7f7a87df6ceab715db8b3bfde38f25c.zip |
net-analyzer/ospd-openvas: use upstream config and systemd service
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'net-analyzer/ospd-openvas')
-rw-r--r-- | net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r2.ebuild (renamed from net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r1.ebuild) | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r1.ebuild b/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r2.ebuild index 7b1a313ff2e8..83fcc3b84069 100644 --- a/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r1.ebuild +++ b/net-analyzer/ospd-openvas/ospd-openvas-21.4.4-r2.ebuild @@ -17,7 +17,6 @@ KEYWORDS="~amd64 ~x86" IUSE="doc" DEPEND=" - acct-group/gvm acct-user/gvm dev-python/defusedxml[${PYTHON_USEDEP}] dev-python/deprecated[${PYTHON_USEDEP}] @@ -35,6 +34,13 @@ RDEPEND=" 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 +} + python_compile() { if use doc; then bash "${S}"/docs/generate || die @@ -49,12 +55,11 @@ python_install() { dodoc "${FILESDIR}"/redis.conf.example insinto /etc/openvas - doins "${FILESDIR}"/ospd.conf - + doins config/${PN}.conf fowners -R gvm:gvm /etc/openvas newinitd "${FILESDIR}/${PN}.initd" "${PN}" newconfd "${FILESDIR}/${PN}.confd" "${PN}" - systemd_dounit "${FILESDIR}/${PN}.service" + systemd_dounit config/${PN}.service } |