bin/78207: add MEINBERG clock support to the base ntpd

Joerg Pulz Joerg.Pulz at
Mon Feb 28 18:30:15 GMT 2005

>Number:         78207
>Category:       bin
>Synopsis:       add MEINBERG clock support to the base ntpd
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 28 18:30:14 GMT 2005
>Originator:     Joerg Pulz
>Release:        FreeBSD 5.3-RELEASE-p5 i386
ZWE FRM-II / TU-Munich
System: FreeBSD hades.admin.frm2 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #2: Mon Jan 17 08:13:26 CET 2005 root at hades.admin.frm2:/usr/obj/usr/src/sys/HADES i386

	I use two hardware clocks manufactured by Meinberg GmbH (Germany)
	to sync all our client machines and servers via NTP.
	One clock is DCF77 based and the other clock is GPS based.
	After modifying the src/usr.sbin/ntp/config.h file and recompiling
	the whole ntp stuff, these clocks are working flawlessly over month's
	My question is: is it possible to officially include support for these
	clocks in the base ntp? This would save me from modifying the file
	ever and ever again.
	Using an additional installation from ports would solve this too, but
	i'm very happy with the base ntp, so why install another one..
	FIX for now:
	Appended is a very small patch which enables support for these clocks.
	Apply the diff to src/usr.sbin/ntp/config.h.

	FIX for future ntp imports:
	Include one additional configure option when generating the config.h
	file. The necessary option is: --enable-MEINBERG



--- ntp_config.h.diff begins here ---
--- config.h.orig	Mon Feb 28 18:47:33 2005
+++ config.h	Mon Feb 28 18:47:48 2005
@@ -84,7 +84,7 @@
 #define CLOCK_LOCAL 1
 /* Meinberg clocks */
-/* #undef CLOCK_MEINBERG */
 /* EES M201 MSF receiver */
 /* #undef CLOCK_MSFEES */
--- ntp_config.h.diff ends here ---


More information about the freebsd-bugs mailing list