ports/144559: sysutils/eventlog patch to support FreeBSD-specific log facilities
Peter C. Lai
cowbert at gmail.com
Mon Mar 8 18:00:20 UTC 2010
>Number: 144559
>Category: ports
>Synopsis: sysutils/eventlog patch to support FreeBSD-specific log facilities
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 08 18:00:17 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Peter C. Lai
>Release: 8.0-R
>Organization:
Hyperfine Informatics
>Environment:
>Description:
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.
>How-To-Repeat:
>Fix:
We grab the missing values from /usr/include/syslog.h and merge them into sysutils/eventlog/src/evtlog.h
--- 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 */
I leave the method integration of the patch up to the maintainer.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list