From owner-freebsd-questions@freebsd.org Tue Feb 7 15:07:08 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CDE6DCD4DEF for ; Tue, 7 Feb 2017 15:07:08 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7CEAFAEC; Tue, 7 Feb 2017 15:07:08 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id A5E9B621DC; Tue, 7 Feb 2017 09:31:02 -0500 (EST) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id otrwVb_GmsYe; Tue, 7 Feb 2017 09:31:00 -0500 (EST) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id 1AFCD621B9; Tue, 7 Feb 2017 09:31:00 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1486477860; bh=ePn0L69JhhNMRmm/iaPU1l9Rlj2FlVtqWv4kq6QmdRY=; h=In-Reply-To:References:Date:Subject:From:To:Cc:Reply-To; b=STwX7jOUSGHmV1IQBa9nw5Q5G+1+bAONK6c6EE3vxwBDLYztLsXnJlAadHwSbDBXA /XYhG9Qh6EYXGkqozwaimqAnXyLhX/6ewYZhNTkn+MZ4WlOjP6WlzTYzH5GsP+Mg7N NROZaji933/8YEOroHCmdjHh4zkeU2SIhWNN/dOQkvHyUBOrMo7O29XEH2OCq/JZUm Ga3hi0ZZc8Ym4yl9sxCcKnkZ1IWPQp85qWRWFL2zdPom0JBCM8QzdjcuNuJ0+rlzwv 0RC1kUwReI9yv2w3ULRpMqjLvqzUBUXw1ceUO4kT4d0TYv47yt8QTydFkbyO9wzjOS 8F1Ej98+sislA== Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Tue, 7 Feb 2017 09:31:00 -0500 Message-ID: <02051c6c4dac2185943b667917f8256c.squirrel@webmail.harte-lyne.ca> In-Reply-To: References: Date: Tue, 7 Feb 2017 09:31:00 -0500 Subject: Re: display base/pkg build options From: "James B. Byrne" To: "Matthew Seaman" Cc: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-4.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Feb 2017 15:07:08 -0000 On Mon, February 6, 2017 19:20, Matthew Seaman wrote: > On 06/02/2017 21:23, James B. Byrne via freebsd-questions wrote: >> How does one view which options were used to build a particular >> application either in the base OS or as a pkg? At the moment I am >> concerned with ntpd which is in the base so pkg has nothing to say. > > It's only ports that have OPTIONS as such. The base system generally > has one preferred way of building an application, possibly with flags > you can set in src.conf to enable or disable building it in its > entirety. > > To see the options a port was built with: > > pkg query "%Ok => %Ov" pkgname > > (or pkg info -f pkgname, but that shows a lot more than just options.) > > Programs imported into base, like ntpd, generally have mechanisms like > autoconf stripped out, and are built to pre-defined settings. In the > case of ntpd, this is what there is: > > https://svnweb.freebsd.org/base/head/usr.sbin/ntp/config.h?revision=308957&view=markup > > (that's from the latest HEAD revision as of this writing -- you > can find the equivalent of any of the release branches by plunking > around in that repository. It's unlikely to be very different > on any of the currently supported release branches though.) Thank you again. Is it correct to infer from these lines from the provided reference that the __ ntpsigndsocket __ setting is supported in /etc/ntp.conf? 1415 /* Path to sign daemon rendezvous socket */ 1416 #define NTP_SIGND_PATH "/var/run/ntp_signd" I previously set this in /etc/ntp.conf without error, but that does not mean that it is recognised: # grep ntpsigndsocket /etc/ntp.conf ntpsigndsocket /usr/local/samba/var/lib/ntp_signd/ -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3