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@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@gentoo.org>
This commit is contained in:
Holger Hoffstätte 2025-08-13 13:06:57 +02:00 committed by Sam James
parent c76516c716
commit 31ca2d17a1
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 32 additions and 1 deletions

View File

@ -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); };

View File

@ -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