1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Use LOG_NTP syslog facility.

PR:		114191
Submitted by:	Robert Archer <freebsd@deathbeforedecaf.net>
This commit is contained in:
Christian Weisgerber 2007-07-08 15:05:27 +00:00
parent 9e8ae7a562
commit 93d8125205
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195222
2 changed files with 26 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= openntpd
PORTVERSION= 3.9p1
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= net
MASTER_SITES= ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/ \

View File

@ -0,0 +1,25 @@
$FreeBSD$
--- log.c.orig
+++ log.c
@@ -28,6 +28,10 @@
#include "ntpd.h"
+#ifndef LOG_NTP
+#define LOG_NTP LOG_DAEMON
+#endif
+
int debug;
void logit(int, const char *, ...);
@@ -40,7 +44,7 @@
debug = n_debug;
if (!debug)
- openlog(__progname, LOG_PID | LOG_NDELAY, LOG_DAEMON);
+ openlog(__progname, LOG_PID | LOG_NDELAY, LOG_NTP);
tzset();
}