From owner-freebsd-ports@freebsd.org Sun Dec 18 16:44:02 2016 Return-Path: Delivered-To: freebsd-ports@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 4365CC87881 for ; Sun, 18 Dec 2016 16:44:02 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C652B1FE2 for ; Sun, 18 Dec 2016 16:44:01 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:1c1d:86a1:a200:b700]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 498D5A12D for ; Sun, 18 Dec 2016 16:43:50 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/498D5A12D; dkim=none; dkim-atps=neutral Subject: Re: The ports collection has some serious issues To: freebsd-ports@freebsd.org References: <58558519.3080509@abinet.ru> <445d2a42-b6e0-4495-ce34-baed27db5461@gjunka.com> From: Matthew Seaman Message-ID: Date: Sun, 18 Dec 2016 16:43:44 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <445d2a42-b6e0-4495-ce34-baed27db5461@gjunka.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TdBgIpxGWo3vNaPfALno2FniWVnvilm22" X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2016 16:44:02 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --TdBgIpxGWo3vNaPfALno2FniWVnvilm22 Content-Type: multipart/mixed; boundary="0JhJstTvEvsaeJIr20xn1lnUdfBKc4Mmo"; protected-headers="v1" From: Matthew Seaman To: freebsd-ports@freebsd.org Message-ID: Subject: Re: The ports collection has some serious issues References: <58558519.3080509@abinet.ru> <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--