The ports collection has some serious issues

Matthew Seaman matthew at FreeBSD.org
Sun Dec 18 16:44:02 UTC 2016


On 18/12/2016 14:18, Grzegorz Junka wrote:
> Isn't poudriere automatically saving the options file when building a
> new port with default options (i.e. when no options have been
> specified)? And also, aren't the selected options available in the
> resulted pkg file, so that synth could look them up there?

Poudriere will only save options settings if you run 'poudriere options
...' -- if you're trying to build a package and you've never set any
options for it, then poudriere will silently build using the default
options for that package.  Similarly if the maintainer adds or removes
options on a port where you already set some options, poudriere will
just quietly build using the default value of any new options.

On the other hand, if you do modify options, or if the default options
settings change in the ports, poudriere will recognise this the next
time you run a 'poudriere bulk ...' or similar and will add the packages
with changed options to the rebuild queue.

Yes, the resulting pkg contains information about the options settings.
You can see this in the --full or --raw output from pkg-info(8), but it
seems there is no flag to pkg-info(8) to print out just the options
settings.  To do that, use pkg-query(8):

# pkg query '%Ok %Ov' postfix
BDB off
CDB off
DOCS on
INST_BASE off
LDAP off
LDAP_SASL off
LMDB on
MYSQL off
NIS off
PCRE on
PGSQL off
SASL on
SASLKMIT off
SASLKRB5 off
SQLITE off
TEST off
TLS on

	Cheers,

	Matthew


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20161218/c8b4dec8/attachment.sig>


More information about the freebsd-ports mailing list