Date: Tue, 7 Feb 2017 09:31:00 -0500 From: "James B. Byrne" <byrnejb@harte-lyne.ca> To: "Matthew Seaman" <matthew@FreeBSD.org> Cc: freebsd-questions@freebsd.org Subject: Re: display base/pkg build options Message-ID: <02051c6c4dac2185943b667917f8256c.squirrel@webmail.harte-lyne.ca> In-Reply-To: <mailman.98.1486468802.21252.freebsd-questions@freebsd.org> References: <mailman.98.1486468802.21252.freebsd-questions@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02051c6c4dac2185943b667917f8256c.squirrel>