Created attachment 221498 [details]
revert ports r555726
It's need to revert syslog-ng.conf.sample after ports r555726.
The commit contains some errors:
1) The system() source contains a syslog-protocol flag by default ( https://github.com/syslog-ng/syslog-ng/blob/2d594f664a5d8c01081c96c966ac3d05ef8675d4/modules/system-source/system-source.c#L57 ) for a long time now.
2) The system() source contains unix-dgram("/var/run/logpriv" perm(0600)); also ( https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.21/administration-guide/25#TOPIC-1180460 ). Omitted by the commit.
3) There're no a no-parse flag on file("/dev/klog") in the commit.
4) The udp() source is omitted by the commit.
P.S. Added the LICENSE section to Makefile also.
Without the patch syslog-ng is crippled on FreeBSD 12+ that support RFC 5424, the default.
What specific problem are you experiencing?
(In reply to Cy Schubert from comment #1)
Syslog-ng works correctly on FreeBSD 12+ that support RFC 5424, because the system() source already contains flags(syslog-protocol) by default. The previous commit is meaningless.
Specific problem is logpriv-socket absence.