Bug 195129 - sysutils/rsyslog8 [patch] Missing ntp facility
Summary: sysutils/rsyslog8 [patch] Missing ntp facility
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Matthew Seaman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-18 04:20 UTC by rand
Modified: 2017-03-26 12:49 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rand 2014-11-18 04:20:42 UTC
Rsyslogd is missing the NTP facility. I'm not sure if it is a BSD specific
	facility or not, so I used the numeric values instead of the #define.

How-To-Repeat:
Try keeping NTP messages in their own output stream with rsyslog

Fix:
--- runtime/srutils.c.orig	2014-11-17 21:52:08.643531754 -0600
+++ runtime/srutils.c	2014-11-17 21:54:06.423524775 -0600
@@ -85,6 +85,7 @@
 	{"mail",         LOG_MAIL},
 	{"mark",         LOG_MARK},		/* INTERNAL */
 	{"news",         LOG_NEWS},
+	{"ntp",          (12<<3) },		/* NTP, perhaps BSD-specific? */
 	{"security",     LOG_AUTH},		/* DEPRECATED */
 	{"bsd_security", (13<<3) },		/* BSD-specific, unfortunatly with duplicate name... */
 	{"syslog",       LOG_SYSLOG},
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-11-23 07:20:36 UTC
To which port does this PR apply?
Comment 2 Douglas K. Rand 2014-11-23 21:10:34 UTC
The PR applies to the rsyslogd port in the sysutils category.
Comment 3 Douglas K. Rand 2014-11-23 21:15:22 UTC
Sigh, sorry.  I just now (after submitting the previous comment) understood your query. 

This applies to the rsyslogd8 port.
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2014-11-30 20:05:03 UTC
Fix Summary and assign to maintainer.
Comment 5 Matthew Seaman freebsd_committer freebsd_triage 2017-03-26 12:49:50 UTC
The OP's patch seems to have been included upstream sometime in the last three years.