From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/syslog-ng/files/, app-admin/syslog-ng/
Date: Wed, 13 Aug 2025 11:12:46 +0000 (UTC) [thread overview]
Message-ID: <1755083524.31ca2d17a19b61fa4c9bb56398718f40a6b2fa90.sam@gentoo> (raw)
commit: 31ca2d17a19b61fa4c9bb56398718f40a6b2fa90
Author: Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Wed Aug 13 11:06:57 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 13 11:12:04 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31ca2d17
app-admin/syslog-ng: remove deprecated marking configuration
As explained on the linked bug marking has been deprecated for a
long time and is disabled by default.
Closes: https://bugs.gentoo.org/905366
Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Part-of: https://github.com/gentoo/gentoo/pull/43248
Closes: https://github.com/gentoo/gentoo/pull/43248
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../syslog-ng/files/syslog-ng.conf.gentoo.in-r2 | 31 ++++++++++++++++++++++
app-admin/syslog-ng/syslog-ng-4.9.0.ebuild | 2 +-
2 files changed, 32 insertions(+), 1 deletion(-)
diff --git a/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.in-r2 b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.in-r2
new file mode 100644
index 000000000000..925d3b661e56
--- /dev/null
+++ b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.in-r2
@@ -0,0 +1,31 @@
+@version: @SYSLOGNG_VERSION@
+#
+# Syslog-ng default configuration file for Gentoo Linux
+
+# https://bugs.gentoo.org/426814
+@include "scl.conf"
+
+options {
+ threaded(yes);
+ chain_hostnames(no);
+
+ # The default action of syslog-ng is to log a STATS line
+ # to the file every 10 minutes. That's pretty ugly after a while.
+ # Change it to every 12 hours so you get a nice daily update of
+ # how many messages syslog-ng missed (0).
+ stats(freq(43200));
+};
+
+source src { system(); internal(); };
+
+destination messages { file("/var/log/messages"); };
+
+# By default messages are logged to tty12...
+destination console_all { file("/dev/tty12"); };
+# ...if you intend to use /dev/console for programs like xconsole
+# you can comment out the destination line above that references /dev/tty12
+# and uncomment the line below.
+#destination console_all { file("/dev/console"); };
+
+log { source(src); destination(messages); };
+log { source(src); destination(console_all); };
diff --git a/app-admin/syslog-ng/syslog-ng-4.9.0.ebuild b/app-admin/syslog-ng/syslog-ng-4.9.0.ebuild
index 65eb877ad254..f7d2334d5b55 100644
--- a/app-admin/syslog-ng/syslog-ng-4.9.0.ebuild
+++ b/app-admin/syslog-ng/syslog-ng-4.9.0.ebuild
@@ -104,7 +104,7 @@ src_prepare() {
done
for f in syslog-ng.conf.gentoo.hardened.in-r1 \
- syslog-ng.conf.gentoo.in-r1; do
+ syslog-ng.conf.gentoo.in-r2; do
sed -e "s/@SYSLOGNG_VERSION@/$(ver_cut 1-2)/g" "${FILESDIR}/${f}" > "${T}/${f/.in-r1/}" || die
done
next reply other threads:[~2025-08-13 11:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-13 11:12 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-04-21 10:21 [gentoo-commits] repo/gentoo:master commit in: app-admin/syslog-ng/files/, app-admin/syslog-ng/ Florian Schmaus
2021-07-05 23:35 Sam James
2021-04-13 22:37 Sam James
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=1755083524.31ca2d17a19b61fa4c9bb56398718f40a6b2fa90.sam@gentoo \
--to=sam@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