diff options
author | Giuseppe Foti <foti.giuseppe@gmail.com> | 2023-07-30 12:00:39 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2023-07-31 14:57:31 +0200 |
commit | dace69ea187784545286de6c07970920a4a8ca49 (patch) | |
tree | a2cf8bfed8cf4a65a57f813c90585e852fb7467e /net-analyzer/openvas-scanner | |
parent | net-analyzer/openvas-scanner: remove automagic dependency on net-analyzer/net... (diff) | |
download | gentoo-dace69ea187784545286de6c07970920a4a8ca49.tar.gz gentoo-dace69ea187784545286de6c07970920a4a8ca49.tar.bz2 gentoo-dace69ea187784545286de6c07970920a4a8ca49.zip |
net-analyzer/openvas-scanner: fix logrotate issue
Signed-off-by: Giuseppe Foti <foti.giuseppe@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32083
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'net-analyzer/openvas-scanner')
-rw-r--r-- | net-analyzer/openvas-scanner/files/openvas.logrotate | 13 | ||||
-rw-r--r-- | net-analyzer/openvas-scanner/openvas-scanner-22.7.3-r1.ebuild | 3 |
2 files changed, 14 insertions, 2 deletions
diff --git a/net-analyzer/openvas-scanner/files/openvas.logrotate b/net-analyzer/openvas-scanner/files/openvas.logrotate new file mode 100644 index 000000000000..7d116f6fbbc0 --- /dev/null +++ b/net-analyzer/openvas-scanner/files/openvas.logrotate @@ -0,0 +1,13 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +# Daemon ignore HUP so we use 'copytruncate' instead of 'create' +# with safe file size to prevent losing log entries. + +/var/log/gvm/openvas.log { + compress + missingok + notifempty + sharedscripts + copytruncate + maxsize 10M +} diff --git a/net-analyzer/openvas-scanner/openvas-scanner-22.7.3-r1.ebuild b/net-analyzer/openvas-scanner/openvas-scanner-22.7.3-r1.ebuild index 7bff1bd30260..096f3452f3ff 100644 --- a/net-analyzer/openvas-scanner/openvas-scanner-22.7.3-r1.ebuild +++ b/net-analyzer/openvas-scanner/openvas-scanner-22.7.3-r1.ebuild @@ -5,8 +5,7 @@ EAPI=8 inherit cmake systemd tmpfiles toolchain-funcs readme.gentoo-r1 optfeature -MY_PN="openvas" -MY_DN="openvassd" +MY_DN="openvas" DESCRIPTION="Open Vulnerability Assessment Scanner" HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/openvas-scanner/" |