Bug 260158

Summary: sysutils/rsyslog8 pkg message is outdated
Product: Ports & Packages Reporter: Mark Johnston <markj>
Component: Individual Port(s)Assignee: Matthew Seaman <matthew>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (matthew)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Mark Johnston freebsd_committer 2021-12-01 17:57:29 UTC
Installing rsyslog, I get this message:

It's recommended to copy syslog.conf(5) to                                                                                                                                                                    
/usr/local/etc/rsyslog.conf and edit it there. Otherwise add                                                                                                                                                  


But if I do that and start rsyslogd I get:

rsyslogd: BSD-style blocks are no longer supported in rsyslog, see https://www.rsyslog.com/g/BSD for details and a solution (Block '!-devd') [v8.2110.0 try https://www.rsyslog.com/e/2304 ]
Comment 1 commit-hook freebsd_committer 2021-12-03 18:15:26 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2a74583ea36bedf5f56c4cffcaa88ad317679104

commit 2a74583ea36bedf5f56c4cffcaa88ad317679104
Author:     Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2021-12-03 18:10:10 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2021-12-03 18:14:18 +0000

    sysutils/rsyslog8: update pkg-message and add sample config file

    Upstream changes mean that the advice formerly given in pkg-message to
    modify the default /etc/syslog.conf file as the basis of a new
    ${PREFIX}/etc/rsyslog.conf are now less useful and confusing to end

    Therefore, update the pkg-message accordingly, and install a sample
    config file which should duplicated the functionality of the base

    PR:             260158
    Reported by:    Mark Johnston

 sysutils/rsyslog8/Makefile                 |  5 ++++
 sysutils/rsyslog8/files/pkg-message.in     | 19 +++++-------
 sysutils/rsyslog8/files/rsyslog.conf (new) | 47 ++++++++++++++++++++++++++++++
 sysutils/rsyslog8/pkg-plist                |  2 ++
 4 files changed, 61 insertions(+), 12 deletions(-)
Comment 2 Matthew Seaman freebsd_committer 2021-12-03 18:17:09 UTC
Thank you for the report!