Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904562 - app-admin/syslog-ng-4.1.1: replace stats_freq with stats(freq())
Summary: app-admin/syslog-ng-4.1.1: replace stats_freq with stats(freq())
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-04-19 07:47 UTC by Tomáš Mózes
Modified: 2023-04-21 10:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2023-04-19 07:47:06 UTC
Replace in standard/hardened config:

 * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
[2023-04-19T07:39:46.478014] WARNING: Your configuration file uses an obsoleted keyword, please update your configuration; keyword='stats_freq', change='U
se the stats() block. E.g. stats(freq(1));', location='/etc/syslog-ng/syslog-ng.conf:16:2'
 [ ok ]
 * Starting syslog-ng ...
[2023-04-19T07:39:46.701931] WARNING: Your configuration file uses an obsoleted keyword, please update your configuration; keyword='stats_freq', change='U
se the stats() block. E.g. stats(freq(1));', location='/etc/syslog-ng/syslog-ng.conf:16:2'
Comment 1 Larry the Git Cow gentoo-dev 2023-04-21 10:21:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c544ba3ea49cdb14ca5ce07eebc39c75758a1cf

commit 0c544ba3ea49cdb14ca5ce07eebc39c75758a1cf
Author:     Tomáš Mózes <hydrapolic@gmail.com>
AuthorDate: 2023-04-21 09:59:03 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2023-04-21 10:21:12 +0000

    app-admin/syslog-ng: replace obsolete stats_freq with stats(freq())
    
    Closes: https://bugs.gentoo.org/904562
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/30675
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 .../files/syslog-ng.conf.gentoo.hardened.in-r1     | 115 +++++++++++++
 .../syslog-ng/files/syslog-ng.conf.gentoo.in-r1    |  36 ++++
 app-admin/syslog-ng/syslog-ng-4.1.1-r2.ebuild      | 183 +++++++++++++++++++++
 3 files changed, 334 insertions(+)