Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Apr 2016 08:18:44 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Sane way to resolve potential conflicts in the system
Message-ID:  <571DC4D4.7070502@FreeBSD.org>
In-Reply-To: <20160425035928.edcaaa42.freebsd@edvax.de>
References:  <CAAdA2WPZiBYxK9XL_ToAvWtQOiJ0Da7fqVBinyq10%2BMC10zz6A@mail.gmail.com> <CAOc73CC57yjqteXrZZd%2Bs2Z353r9AycG39mf9f136hGaY=iTzQ@mail.gmail.com> <CAAdA2WMJc%2Bt=mw9FZ5ScPBxg0K5t-J7VHozBPBjd_-1TzunCZw@mail.gmail.com> <20160423162910.7cd2ede2@curlew.lan> <BLU436-SMTP13BF30CFA35882760E7E8080600@phx.gbl> <CAAdA2WNJ1ru4NunPZ1aZkndXYnK218ojB-3673FDtoBcAH-OJA@mail.gmail.com> <BLU436-SMTP216A4769A78511EFEBCDFB280600@phx.gbl> <571C294B.3020907@ShaneWare.Biz> <BLU437-SMTP19DE12341BE14C4FEBED0B80610@phx.gbl> <20160425013028.GA47422@neutralgood.org> <20160425035928.edcaaa42.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--v7u5B9lh6JTpGqHGsWjC4tos5KUp368BM
Content-Type: multipart/mixed; boundary="ebElwMbcPSRLvf9Uc6WmiakLNvMsHecme"
From: Matthew Seaman <matthew@FreeBSD.org>
To: freebsd-questions@freebsd.org
Message-ID: <571DC4D4.7070502@FreeBSD.org>
Subject: Re: Sane way to resolve potential conflicts in the system
References: <CAAdA2WPZiBYxK9XL_ToAvWtQOiJ0Da7fqVBinyq10+MC10zz6A@mail.gmail.com>
 <CAOc73CC57yjqteXrZZd+s2Z353r9AycG39mf9f136hGaY=iTzQ@mail.gmail.com>
 <CAAdA2WMJc+t=mw9FZ5ScPBxg0K5t-J7VHozBPBjd_-1TzunCZw@mail.gmail.com>
 <20160423162910.7cd2ede2@curlew.lan>
 <BLU436-SMTP13BF30CFA35882760E7E8080600@phx.gbl>
 <CAAdA2WNJ1ru4NunPZ1aZkndXYnK218ojB-3673FDtoBcAH-OJA@mail.gmail.com>
 <BLU436-SMTP216A4769A78511EFEBCDFB280600@phx.gbl>
 <571C294B.3020907@ShaneWare.Biz>
 <BLU437-SMTP19DE12341BE14C4FEBED0B80610@phx.gbl>
 <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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?571DC4D4.7070502>