From 2728a66081e1f584e73b305239b1e5796ac3deff Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Sat, 2 Apr 2016 16:04:34 +0000 Subject: Update to 5.9p1. Notable changes: * The rtable option was removed from server and servers. Users of "server * rtable X" will need to switch to launching ntpd with # setfib -F X /usr/sbin/ntpd * Various improvements to the HTTPS constraint feature (requires LibreSSL). This port reenables rtable support in the listen option on FreeBSD. Relnotes: http://www.openntpd.org/txt/release-5.9p1.txt --- net/openntpd/files/patch-compat_adjfreq__freebsd.c | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 net/openntpd/files/patch-compat_adjfreq__freebsd.c (limited to 'net/openntpd/files/patch-compat_adjfreq__freebsd.c') diff --git a/net/openntpd/files/patch-compat_adjfreq__freebsd.c b/net/openntpd/files/patch-compat_adjfreq__freebsd.c deleted file mode 100644 index e0e881df87fb..000000000000 --- a/net/openntpd/files/patch-compat_adjfreq__freebsd.c +++ /dev/null @@ -1,23 +0,0 @@ ---- compat/adjfreq_freebsd.c.orig 2015-03-12 04:42:13 UTC -+++ compat/adjfreq_freebsd.c -@@ -57,3 +57,20 @@ adjfreq(const int64_t *freq, int64_t *ol - - return 0; - } -+ -+/* -+ * The RTC is only updated if the clock is not marked as unsynced. -+ */ -+ -+void -+update_status(int synced) -+{ -+ struct timex txc = { 0 }; -+ -+ txc.modes = MOD_STATUS; -+ if (!synced) -+ txc.status = STA_UNSYNC; -+ if (ntp_adjtime(&txc) == -1) -+ log_warn("ntp_adjtime (3) failed"); -+ return; -+} -- cgit v1.2.3