From owner-freebsd-questions@freebsd.org Mon Apr 25 07:19:11 2016 Return-Path: Delivered-To: freebsd-questions@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 6993FB1C57C for ; Mon, 25 Apr 2016 07:19:11 +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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EE7741433 for ; Mon, 25 Apr 2016 07:19:10 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (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 DC5C64567 for ; Mon, 25 Apr 2016 07:18:59 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/DC5C64567; dkim=none; dkim-atps=neutral Subject: Re: Sane way to resolve potential conflicts in the system To: freebsd-questions@freebsd.org References: <20160423162910.7cd2ede2@curlew.lan> <571C294B.3020907@ShaneWare.Biz> <20160425013028.GA47422@neutralgood.org> <20160425035928.edcaaa42.freebsd@edvax.de> From: Matthew Seaman Message-ID: <571DC4D4.7070502@FreeBSD.org> Date: Mon, 25 Apr 2016 08:18:44 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <20160425035928.edcaaa42.freebsd@edvax.de> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="v7u5B9lh6JTpGqHGsWjC4tos5KUp368BM" X-Virus-Scanned: clamav-milter 0.99.1 at smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,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-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2016 07:19:11 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --v7u5B9lh6JTpGqHGsWjC4tos5KUp368BM Content-Type: multipart/mixed; boundary="ebElwMbcPSRLvf9Uc6WmiakLNvMsHecme" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: <571DC4D4.7070502@FreeBSD.org> Subject: Re: Sane way to resolve potential conflicts in the system References: <20160423162910.7cd2ede2@curlew.lan> <571C294B.3020907@ShaneWare.Biz> <20160425013028.GA47422@neutralgood.org> <20160425035928.edcaaa42.freebsd@edvax.de> In-Reply-To: <20160425035928.edcaaa42.freebsd@edvax.de> --ebElwMbcPSRLvf9Uc6WmiakLNvMsHecme Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 25/04/2016 02:59, Polytropon wrote: > On Sun, 24 Apr 2016 21:30:28 -0400, Kevin P. Neal wrote: >> > I'm curious what a system would look like that lets you customize >> > compile time settings but doesn't require you to recompile if you wa= nt >> > to change said compile time settings. Yes, I think it is widely recognised that FreeBSD packages are a bit too rigid; both in the strictness of their dependencies and in forcing a choice between alternate implementations of dependencies at compile-time rather than package install-time. There are plans and ideas on how to ameliorate that, but the main obstacle to implementation is lack of developer time. > As far as I understand, package "flavors" can do this to some extent. > However, for n options, 2^n packages would be needed (in worst case), > plus a method to derive their correct name. :-) Package "flavors" is a concept from OpenBSD ports -- amongst others, but that's where the "flavors" terminology is most widely used. In fact, FreeBSD ports already has this to a limited extent. There are a number of slave ports that exist solely to build a package with alternative options settings. It is not applied anywhere nearly as systematically as the OpenBSD equivalent, and it does rely on the presence of those slave ports. However, the thinking at the moment is that sub-packages will account for a large fraction of the different permutations: specifically those where setting an option just adds some extra files to a package. Cheers, Matthew --ebElwMbcPSRLvf9Uc6WmiakLNvMsHecme-- --v7u5B9lh6JTpGqHGsWjC4tos5KUp368BM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJXHcTaXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATdw8P/A7L892qBBhMdGQ6qELt+h2H PEYs4t0r/WMLUznPDt5ftQYVUbAGlMu3pGn+ncHRexJALa3dxlz5NHRZ+O7OPMJg K3mKu/FLyJfqhLhGozDxv0PIQnNKQePUsTDfvA/9WpUcVIbjIvWZqsPr2TjAD2hs +cM9uAXjg+Edlr0TJgjqGGB8W7jl9r7ECebcnjfnCbYl+HIOQnYl5RPdaxNCP9gy UbZSLORlnqkeML5e02mmjz1WL/8I6y25gM3Fi9jpkdpsASHUdDczSxHIZ5t+iaHZ 3xrC2oW8fGfHcITBRJ1CxlbUed3Zex3pos/d9qzTUqX8F214qvzU9betkai5rhep h0mckN+D9N9T6Tts+nJlUAmD+On5J19ua7hD2LN14Lg2u8jXHila55Lia+ADmIi0 afqppJaIb9hDMNaTEsNTc+vKkbdH+pYKHB1o72/jb4ZcK25rrkimIKHGwuKowAhy 4yf5bT72+oq2WAAiAvuYmeSYFyDzGAjRvwbHCHDJfiOqnRdeTOkCW74f1l3d2f75 kFRm9FfCma89pu1CzsY4ambXBw3FQ5vumZwuoB7kdnrmZrnhEgDrYTPEYD4pzuJV 4qKd26BKteXd4vmG2k8lSyXTe6M4prA03mdd67uap0NdM26P3jD/pIr3bw8yICsF LwCgSEnKwtsjIG1JFMty =QnEx -----END PGP SIGNATURE----- --v7u5B9lh6JTpGqHGsWjC4tos5KUp368BM--