From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: x11-misc/sddm/files/, x11-misc/sddm/
Date: Thu, 22 Feb 2024 11:32:37 +0000 (UTC) [thread overview]
Message-ID: <1708597694.ca0238e2836bfc97cd7c4d3813189ff60519d2c8.asturm@gentoo> (raw)
commit: ca0238e2836bfc97cd7c4d3813189ff60519d2c8
Author: Alexander Golubev <fatzer2 <AT> gmail <DOT> com>
AuthorDate: Mon Dec 25 01:30:39 2023 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> 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 <fatzer2 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34466
Signed-off-by: Andreas Sturmlechner <asturm <AT> 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() {
next reply other threads:[~2024-02-22 11:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-22 11:32 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-10 9:13 [gentoo-commits] proj/qt:master commit in: x11-misc/sddm/files/, x11-misc/sddm/ Andreas Sturmlechner
2023-02-10 19:18 Andreas Sturmlechner
2023-02-04 13:00 Andreas Sturmlechner
2021-01-01 18:58 Andreas Sturmlechner
2016-10-28 15:31 Michael Palimaka
2015-09-24 19:25 Michael Palimaka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1708597694.ca0238e2836bfc97cd7c4d3813189ff60519d2c8.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox