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 894F4158041 for ; Thu, 22 Feb 2024 11:32:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 693DAE29D6; Thu, 22 Feb 2024 11:32:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 4A460E29D6 for ; Thu, 22 Feb 2024 11:32:40 +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 3AD51343023 for ; Thu, 22 Feb 2024 11:32:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 777D9B2F for ; Thu, 22 Feb 2024 11:32:37 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1708597694.ca0238e2836bfc97cd7c4d3813189ff60519d2c8.asturm@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: x11-misc/sddm/files/, x11-misc/sddm/ X-VCS-Repository: proj/qt X-VCS-Files: x11-misc/sddm/files/sddm.logrotate x11-misc/sddm/sddm-9999.ebuild X-VCS-Directories: x11-misc/sddm/ x11-misc/sddm/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: ca0238e2836bfc97cd7c4d3813189ff60519d2c8 X-VCS-Branch: master Date: Thu, 22 Feb 2024 11:32:37 +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: d9502a52-374c-4a10-a09a-b6ff7ba34107 X-Archives-Hash: 13a2fcf2c991386e32cab28432efeda4 commit: ca0238e2836bfc97cd7c4d3813189ff60519d2c8 Author: Alexander Golubev gmail com> AuthorDate: Mon Dec 25 01:30:39 2023 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Feb 22 10:28:14 2024 +0000 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=ca0238e2 x11-misc/sddm: add logrotate config Bug: https://bugs.gentoo.org/565862 Signed-off-by: Alexander Golubev gmail.com> Closes: https://github.com/gentoo/gentoo/pull/34466 Signed-off-by: Andreas Sturmlechner gentoo.org> x11-misc/sddm/files/sddm.logrotate | 5 +++++ x11-misc/sddm/sddm-9999.ebuild | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/x11-misc/sddm/files/sddm.logrotate b/x11-misc/sddm/files/sddm.logrotate new file mode 100644 index 00000000..ba6199c4 --- /dev/null +++ b/x11-misc/sddm/files/sddm.logrotate @@ -0,0 +1,5 @@ +/var/log/sddm.log { + missingok + notifempty + copytruncate +} diff --git a/x11-misc/sddm/sddm-9999.ebuild b/x11-misc/sddm/sddm-9999.ebuild index bc905539..f210629a 100644 --- a/x11-misc/sddm/sddm-9999.ebuild +++ b/x11-misc/sddm/sddm-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -101,6 +101,12 @@ src_install() { insinto /etc/sddm.conf.d/ doins "${S}"/01gentoo.conf + + # with systemd logs are sent to journald, so no point to bother in that case + if ! use systemd; then + insinto /etc/logrotate.d + newins "${FILESDIR}/sddm.logrotate" sddm + fi } pkg_postinst() {