There are several FreeBSD specific facilities not included by sysutils/eventlog which will yield "unknown facility" when using applications linked to eventlog (like syslog-ng3), for example, support of the console.info log facility. Fix: We grab the missing values from /usr/include/syslog.h and merge them into sysutils/eventlog/src/evtlog.h I leave the method integration of the patch up to the maintainer.--G0gtBf18Ho3e0pPFYB5GZGqRwvbOJ8FyhuMxFIatQDL0BoS3 Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- work/eventlog-0.2.10/src/evtlog.h 2008-10-04 07:05:42.000000000 -0400 +++ evtlog.h 2010-03-08 11:23:19.334398343 -0500 @@ -66,6 +66,9 @@ #define EVT_FAC_CRON (9<<3) /* clock daemon */ #define EVT_FAC_AUTHPRIV (10<<3) /* security/authorization messages (private) */ #define EVT_FAC_FTP (11<<3) /* ftp daemon */ +#define EVT_FAC_NTP (12<<3) +#define EVT_FAC_SECURITY (13<<3) +#define EVT_FAC_CONSOLE (14<<3) /* other codes through 15 reserved for system use */ #define EVT_FAC_LOCAL0 (16<<3) /* reserved for local use */
Maintainer of sysutils/eventlog, Please note that PR ports/144559 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/144559 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Could you elaborate on how this is going to fix anything? These defines are used neither in eventlog nor in syslog-ng3 code. The problem you're referring to is likely one of syslog-ng3 3.0.3 (version for the time this PR was submitted) had no support for these facilities. Current syslog-ng3 version, 3.1.1, should support these, judging by contens of src/syslog-names.c from syslog-ng sources. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru
Responsible Changed From-To: freebsd-ports-bugs->amdmi3 I'll take it.
State Changed From-To: feedback->open Feedback timeout
State Changed From-To: open->feedback Awaiting submitter's feedback
State Changed From-To: feedback->closed Feedback timeout; believed to be fixed.