|
@ -1,4 +1,4 @@ |
|
|
From f01d4ae55c737bdda0c4ae1c9c3749781fa7f421 Mon Sep 17 00:00:00 2001 |
|
|
|
|
|
|
|
|
From 8f37bf27e304caa46054962b6c285ad0ce0e050c Mon Sep 17 00:00:00 2001 |
|
|
From: Brent Cook <busterb@gmail.com> |
|
|
From: Brent Cook <busterb@gmail.com> |
|
|
Date: Thu, 1 Jan 2015 07:18:11 -0600 |
|
|
Date: Thu, 1 Jan 2015 07:18:11 -0600 |
|
|
Subject: [PATCH 07/12] allow overriding default user and file locations |
|
|
Subject: [PATCH 07/12] allow overriding default user and file locations |
|
@ -10,7 +10,7 @@ default user. |
|
|
1 file changed, 15 insertions(+), 3 deletions(-) |
|
|
1 file changed, 15 insertions(+), 3 deletions(-) |
|
|
|
|
|
|
|
|
diff --git a/src/usr.sbin/ntpd/ntpd.h b/src/usr.sbin/ntpd/ntpd.h
|
|
|
diff --git a/src/usr.sbin/ntpd/ntpd.h b/src/usr.sbin/ntpd/ntpd.h
|
|
|
index 1402d74..295d2b4 100644
|
|
|
|
|
|
|
|
|
index 5bdd7a7..5172c45 100644
|
|
|
--- a/src/usr.sbin/ntpd/ntpd.h
|
|
|
--- a/src/usr.sbin/ntpd/ntpd.h
|
|
|
+++ b/src/usr.sbin/ntpd/ntpd.h
|
|
|
+++ b/src/usr.sbin/ntpd/ntpd.h
|
|
|
@@ -36,10 +36,20 @@
|
|
|
@@ -36,10 +36,20 @@
|
|
@ -35,7 +35,7 @@ index 1402d74..295d2b4 100644 |
|
|
+#define DRIFTFILE LOCALSTATEDIR "/db/ntpd.drift"
|
|
|
+#define DRIFTFILE LOCALSTATEDIR "/db/ntpd.drift"
|
|
|
+#define CTLSOCKET LOCALSTATEDIR "/run/ntpd.sock"
|
|
|
+#define CTLSOCKET LOCALSTATEDIR "/run/ntpd.sock"
|
|
|
|
|
|
|
|
|
#if defined(SO_SETFIB) |
|
|
|
|
|
|
|
|
#if defined(SO_SETFIB) && defined(FREEBSD_SO_RTABLE_ENABLED) |
|
|
#define SO_RTABLE SO_SETFIB |
|
|
#define SO_RTABLE SO_SETFIB |
|
|
@@ -88,7 +98,9 @@
|
|
|
@@ -88,7 +98,9 @@
|
|
|
#define CONSTRAINT_PORT "443" /* HTTPS port */ |
|
|
#define CONSTRAINT_PORT "443" /* HTTPS port */ |
|
@ -48,5 +48,5 @@ index 1402d74..295d2b4 100644 |
|
|
enum client_state { |
|
|
enum client_state { |
|
|
STATE_NONE, |
|
|
STATE_NONE, |
|
|
--
|
|
|
--
|
|
|
2.4.3.573.g4eafbef |
|
|
|
|
|
|
|
|
2.4.5 |
|
|
|
|
|
|