Date: Mon, 19 Dec 2016 08:45:36 +0000 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-ports@freebsd.org Subject: Re: HEADSUP: FLAVORS (initial version) and subpackages proposals Message-ID: <6ff9b573-1778-5b5a-5bf5-773d20b72ff5@FreeBSD.org> In-Reply-To: <CAO%2BPfDeimDrYaz68Msitb_xdnnWfPoWv37AE6teaHZae0nBcRA@mail.gmail.com> References: <20161219003143.c2qo5wn3a5kiua3m@ivaldir.etoilebsd.net> <CAO%2BPfDeimDrYaz68Msitb_xdnnWfPoWv37AE6teaHZae0nBcRA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --SOcwckLDNWRI2LSvNShXgjC7n1DAqRbLC Content-Type: multipart/mixed; boundary="BmslJlwCIJM6vEeSXeF4Ip5rHT57MvxUQ"; protected-headers="v1" From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-ports@freebsd.org Message-ID: <6ff9b573-1778-5b5a-5bf5-773d20b72ff5@FreeBSD.org> Subject: Re: HEADSUP: FLAVORS (initial version) and subpackages proposals References: <20161219003143.c2qo5wn3a5kiua3m@ivaldir.etoilebsd.net> <CAO+PfDeimDrYaz68Msitb_xdnnWfPoWv37AE6teaHZae0nBcRA@mail.gmail.com> In-Reply-To: <CAO+PfDeimDrYaz68Msitb_xdnnWfPoWv37AE6teaHZae0nBcRA@mail.gmail.com> --BmslJlwCIJM6vEeSXeF4Ip5rHT57MvxUQ Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 19/12/2016 07:47, David Demelier wrote: >> I have been working for a while on 2 long standing feature request for= the ports >> tree: flavors and subpackages. >> >> For flavors I would like to propose a simple approach first which is m= ore like a >> rework of the slave ports for now: >> >> Examples available here: >> https://reviews.freebsd.org/D8840 (with the implementation) >> and >> https://reviews.freebsd.org/D8843 >> >> Design: introduce a 3rd level in the hierarchy and make it work a bit = like slave >> ports >> >> pros: >> - all slave ports are self hosted under the same directory: easier for= >> maintenance >> - should work with all existing tools >> > This is what I really wanted for years especially for ports like spell > checker. Some are in dedicated categories such as french/aspell while > other are in textproc/<lang>-aspell and that's a big mess. >=20 > OpenBSD ports has something like textproc/aspell/<lang> and that is > very nice and clean. If the plan is to do the same, that is definitely > a major improvement. >=20 I really like this idea, although it's going to add a lot of extra directories and very similar small Makefiles to the ports. Every python port would grow flavours to support two major versions of python just for starters, and those additional Makefiles would be almost identical across the python2 flavour and across the python3 flavour. Is it the intention that -devel or versioned ports are treated as flavours as well? So for example we could end up with lang/python/27 lang/python/33 lang/python/34 and lang/python/35 ? Why can't you have both flavoured and unflavoured variants of the same port -- eg. devel/example as well as devel/example/foo and devel/example/bar ? How well do flavours and sub-packages combine? www/nginx would make a good example there, given it now has both loadable and compiled-in modules plus a couple of slave ports that just build different module load-outs. Matthew --BmslJlwCIJM6vEeSXeF4Ip5rHT57MvxUQ-- --SOcwckLDNWRI2LSvNShXgjC7n1DAqRbLC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJYV55fXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATPLQQAKRCu0LPD/9H5EWNWDesKjuK fwV6l6fezvgskTQ+/TvtESgwRNllmhVb31s/eohCRH0Ch+GjoiXOTgDPkzMesGRP C4AU06t2SLT1RQF2eo55P0We3ySG4mQOVi2KCEUnHDNj8WrxJxCMTC3KMfleNkWQ gTttabfE92jiL/OvyhjwY09xJXUuN0fGk0CHlNBZjxrgfl+gXX2CbU3h/qD4lorJ xpWCHWDeXXFqkcQAQv1e3j+yp9IwntJS9xtvyu628JJbGX/Hvc9051gVOgR50Qae 3tVBLY6nyoRw2lfyBlmgfYBKDDx7egHPHZMpDjkErwjTr+0+Sjd3EZOX1SObrrJ+ OGx/IJ4bLvLv0U8RL7JdyfNkqerNUhHf26rWU7LuDKkYHucP46uSbfoJ6CFs0Ef/ F1gO71duevrhYCAGkKGao2ZNNcSEhAynHH5EyBjF3p4L73xsKU/xB3j1OQL+QLVW Ub/MW9/IbY1lrzCO/QTjH6jHwlTNrKuL+7xEbAZFNcgpuU3kKRGl23bALAYB6+hU q9fOAWYH/hk2FAX5CSbxYBi7jZeuSjIfotMb5A1NpqnkT8wTBbZ1hZ4IE0LXuT5v FUSk9kzuaNvqVwCz3ltsyPe604rrXOuVs21YELe7ySkudc6KTMPfkAaWSJ2CGyvW 4IKD/8PT6LbUS+KBWRnm =bo6/ -----END PGP SIGNATURE----- --SOcwckLDNWRI2LSvNShXgjC7n1DAqRbLC--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6ff9b573-1778-5b5a-5bf5-773d20b72ff5>