From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3A6A015800A for ; Mon, 31 Jul 2023 12:58:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A488E0C7D; Mon, 31 Jul 2023 12:58:01 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3112FE0C7D for ; Mon, 31 Jul 2023 12:58:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AE8FA33F698 for ; Mon, 31 Jul 2023 12:57:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 04536E9E for ; Mon, 31 Jul 2023 12:57:58 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1690808251.dace69ea187784545286de6c07970920a4a8ca49.flow@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-scanner/files/, net-analyzer/openvas-scanner/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/openvas-scanner/files/openvas.logrotate net-analyzer/openvas-scanner/openvas-scanner-22.7.3-r1.ebuild X-VCS-Directories: net-analyzer/openvas-scanner/ net-analyzer/openvas-scanner/files/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: dace69ea187784545286de6c07970920a4a8ca49 X-VCS-Branch: master Date: Mon, 31 Jul 2023 12:57:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4399ebf3-2061-4e8c-b94a-9f8c8d137be0 X-Archives-Hash: f4a6389a77b20176fdcb2585210cbe3b commit: dace69ea187784545286de6c07970920a4a8ca49 Author: Giuseppe Foti gmail com> AuthorDate: Sun Jul 30 10:00:39 2023 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Mon Jul 31 12:57:31 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dace69ea net-analyzer/openvas-scanner: fix logrotate issue Signed-off-by: Giuseppe Foti gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32083 Signed-off-by: Florian Schmaus gentoo.org> net-analyzer/openvas-scanner/files/openvas.logrotate | 13 +++++++++++++ .../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/"