From owner-freebsd-bugs@FreeBSD.ORG Mon Feb 28 18:30:15 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8195E16A4CF for ; Mon, 28 Feb 2005 18:30:15 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3062043D67 for ; Mon, 28 Feb 2005 18:30:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j1SIUFej074021 for ; Mon, 28 Feb 2005 18:30:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1SIUF0x074020; Mon, 28 Feb 2005 18:30:15 GMT (envelope-from gnats) Resent-Date: Mon, 28 Feb 2005 18:30:15 GMT Resent-Message-Id: <200502281830.j1SIUF0x074020@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Joerg Pulz Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 147B616A4CE; Mon, 28 Feb 2005 18:27:17 +0000 (GMT) Received: from mailhost.frm2.tum.de (mailhost.frm2.tum.de [129.187.179.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id B085D43D2F; Mon, 28 Feb 2005 18:27:11 +0000 (GMT) (envelope-from Joerg.Pulz@frm2.tum.de) Received: from localhost (mailhost.frm2.tum.de [129.187.179.12]) by mailhost.frm2.tum.de (8.13.1/8.13.1) with ESMTP id j1SIRAuU016593; Mon, 28 Feb 2005 19:27:10 +0100 (CET) (envelope-from jpulz@frm2.tum.de) Received: from hades.admin.frm2 (hades.admin.frm2 [172.25.1.10]) by mailhost.frm2.tum.de (8.13.1/8.13.1) with ESMTP id j1SIR9CS016589 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 28 Feb 2005 19:27:09 +0100 (CET) (envelope-from jpulz@frm2.tum.de) Received: from hades.admin.frm2 (localhost [127.0.0.1]) by hades.admin.frm2 (8.13.1/8.13.1) with ESMTP id j1SIR9pU052977; Mon, 28 Feb 2005 19:27:09 +0100 (CET) (envelope-from jpulz@frm2.tum.de) Received: (from jpulz@localhost) by hades.admin.frm2 (8.13.1/8.13.1/Submit) id j1SIR9CQ052976; Mon, 28 Feb 2005 19:27:09 +0100 (CET) (envelope-from jpulz) Message-Id: <200502281827.j1SIR9CQ052976@hades.admin.frm2> Date: Mon, 28 Feb 2005 19:27:09 +0100 (CET) From: Joerg Pulz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Ollivier Robert Subject: bin/78207: add MEINBERG clock support to the base ntpd X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Joerg Pulz List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 18:30:15 -0000 >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 >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Feb 28 18:30:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Joerg Pulz >Release: FreeBSD 5.3-RELEASE-p5 i386 >Organization: ZWE FRM-II / TU-Munich >Environment: System: FreeBSD hades.admin.frm2 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #2: Mon Jan 17 08:13:26 CET 2005 root@hades.admin.frm2:/usr/obj/usr/src/sys/HADES i386 >Description: 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 now. 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.. >How-To-Repeat: 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 >Fix: --- 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 */ +#define CLOCK_MEINBERG 1 /* EES M201 MSF receiver */ /* #undef CLOCK_MSFEES */ --- ntp_config.h.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: