Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Dec 2016 16:43:44 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: The ports collection has some serious issues
Message-ID:  <e877cdfa-1015-0809-0053-f4b5bc2351df@FreeBSD.org>
In-Reply-To: <445d2a42-b6e0-4495-ce34-baed27db5461@gjunka.com>
References:  <b21222a1-4940-1a44-0693-8c7803798a58@marino.st> <58558519.3080509@abinet.ru> <b3c3d33c-439f-59cf-fa60-b025428996d4@marino.st> <445d2a42-b6e0-4495-ce34-baed27db5461@gjunka.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--TdBgIpxGWo3vNaPfALno2FniWVnvilm22
Content-Type: multipart/mixed; boundary="0JhJstTvEvsaeJIr20xn1lnUdfBKc4Mmo";
 protected-headers="v1"
From: Matthew Seaman <matthew@FreeBSD.org>
To: freebsd-ports@freebsd.org
Message-ID: <e877cdfa-1015-0809-0053-f4b5bc2351df@FreeBSD.org>
Subject: Re: The ports collection has some serious issues
References: <b21222a1-4940-1a44-0693-8c7803798a58@marino.st>
 <58558519.3080509@abinet.ru> <b3c3d33c-439f-59cf-fa60-b025428996d4@marino.st>
 <445d2a42-b6e0-4495-ce34-baed27db5461@gjunka.com>
In-Reply-To: <445d2a42-b6e0-4495-ce34-baed27db5461@gjunka.com>

--0JhJstTvEvsaeJIr20xn1lnUdfBKc4Mmo
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

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
=2E..' -- 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



--0JhJstTvEvsaeJIr20xn1lnUdfBKc4Mmo--

--TdBgIpxGWo3vNaPfALno2FniWVnvilm22
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJ8BAEBCgBmBQJYVrzGXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATef0P/0Def6A2JaCdwwviqYaXIR6v
EEBX4gSd1ppiYG3R9vA3q9BAP2prVrgJyOea4ILn3rC0v20bur0REMxhEzGtlwmq
iUG2vhhTrNb6Qa78aKl/PUq+LvdAZhKu23rhl9tQlxJiP7Er/nXeiyf+yU5FcGEF
X4bVeJDM+9D2EMQB2p1kQri7SsuUeL2tK2us9wAnoXZmyPGPOKNjUwNLQ5/RnRJe
dsXSSjzUekzeBMUidc5ctrYORR+mh0cL4W/I6SB/aV4uzMiYLZH9AIKpqvPfzyjV
tp17bFJlNJerC+RA0PYvEFUVUgak4tat+cx2b8NfAe5GQyT13dJhWc97dxDHBZWz
9ZFD//YrKzbgCIANn3O7TG69i+UBJEaqRJ/g2LMHKX9VMIyPAo8hM0OQOyJVq8Gs
x8YL/ohFfzNL6xOYTqsA/xiPAL/4x27cQy3LVK+xl3mQGGMt6Tl9QXR55w7eo1en
tQItzzTB73cU1l5AdqCSYwWtWZYiseU9FoH4BlUQWfKuCB4FGgW2bb3sasF/mlrp
l7lVcLYCxhzPBMAFHzaacfFvNCLTKkNRmIkgPXkeNp/KvmwWozJh/iW5QmK/uc5Q
UQ5PvxSViqxfCj4n6h3r+H2BG2tq9MDq+ofkxNmehM5rt56T2GMp8ZNl+ZSCxar9
YGbqH6xUpVhZXyiPw1q6
=CU8J
-----END PGP SIGNATURE-----

--TdBgIpxGWo3vNaPfALno2FniWVnvilm22--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e877cdfa-1015-0809-0053-f4b5bc2351df>