Date: Tue, 7 Feb 2017 00:20:21 +0000 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: display base/pkg build options Message-ID: <08cd9242-48cb-0988-575b-16c54dba16af@FreeBSD.org> In-Reply-To: <87059e06748997fb59f8f65d18d1eaa5.squirrel@webmail.harte-lyne.ca> References: <87059e06748997fb59f8f65d18d1eaa5.squirrel@webmail.harte-lyne.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --mILU9uUGgJHM7M1H0U1vNntXSJe6fhl8r Content-Type: multipart/mixed; boundary="H95HrMTlmT88mHmw8LNAiocse0EJ4qF4x"; protected-headers="v1" From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Message-ID: <08cd9242-48cb-0988-575b-16c54dba16af@FreeBSD.org> Subject: Re: display base/pkg build options References: <87059e06748997fb59f8f65d18d1eaa5.squirrel@webmail.harte-lyne.ca> In-Reply-To: <87059e06748997fb59f8f65d18d1eaa5.squirrel@webmail.harte-lyne.ca> --H95HrMTlmT88mHmw8LNAiocse0EJ4qF4x Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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 =3D> %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=3D308= 957&view=3Dmarkup (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.) Cheers, Matthew --H95HrMTlmT88mHmw8LNAiocse0EJ4qF4x-- --mILU9uUGgJHM7M1H0U1vNntXSJe6fhl8r Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJYmRLFXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATTYUP/iIIal/HRGRb0FfNevKRgQWb T5HO/lMAJYblJ08x9rJk6J//Edmu6V7zNb8ujjxFjPGXsGRJNGzSgJgTSwe27OBL F5IckWFEKQX85363yBkrEczVblKp1dVe7qIorMA4kQgnQtsRhT+y7Mc2JEDAcjZm xvgmhBZNAIG/PWoV7AJ3/roF/R3gfIUUuyyY54nOj1/XcYOL8HAxaZFwXG+VMaQh lrWf4SabXW49hNifSRqwCFY17YKqnEv4nyuGU9Iga3G3r6EAibH1ASKHjH6dyKP/ 5dpzgEoebrI/75FgkttbUTEyB+TgzWD7ZPZpC+pYf7M35CkRBcCrYGMj4od0Aqcd RsLIbW/s8utYB4I6HUCpsly16x1NdTAbcZVV8EKn1RHS9R8w9zsIc4cUKjvMp8xQ YXMn31yR2Xakwwt1tx4IqMWCRlOOZm71Ef8mOtYOQ9HuX94/xCi4DIN6HvGv/U1N UCUZb6PXS6cD91PP7kf4/6EDr5l5MOKfrXNKExno0xWBMmynxwYIG02skdrNzLIc g4fSkKnZOptIyN5rUVI5WT6PRueCR2lGv7Wf5DzgsVAf6iHr4FfeC4rpumMhXdtd Imsvh/PfI79OXa+Et2aVPx9pW8x41XFXl+i3f2310I6WaZXIiMG13/PENyYptfoT qo6USCkqavItG931WwWK =7xp/ -----END PGP SIGNATURE----- --mILU9uUGgJHM7M1H0U1vNntXSJe6fhl8r--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?08cd9242-48cb-0988-575b-16c54dba16af>