Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2015 13:36:05 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Dmitry Sivachenko <demon@FreeBSD.org>
Cc:        ports@FreeBSD.org, current@FreeBSD.org, stable@FreeBSD.org
Subject:   Re: pkg 1.5.0 is out
Message-ID:  <20150419113605.GE960@ivaldir.etoilebsd.net>
In-Reply-To: <3F18CCA1-53B8-4590-9CD3-78FB63590D51@FreeBSD.org>
References:  <20150414200459.GE39658@ivaldir.etoilebsd.net> <3F18CCA1-53B8-4590-9CD3-78FB63590D51@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Sun, Apr 19, 2015 at 02:22:15PM +0300, Dmitry Sivachenko wrote:
> 
> > On 14 апр. 2015 г., at 23:05, Baptiste Daroussin <bapt@FreeBSD.org> wrote:
> > 
> > Final pkg 1.5.0 has been released.
> > 
> 
> Thank a lot for working on pkg!
> 
> > 
> > For pkg 1.6.0 among other things and depending on the time, here is what we do
> > plan to work on:
> > - <please add here you personal ideas>
> > 
> 
> 
> What I really miss a lot is support for package "profiles": an ability to build the same port with different OPTIONs combination.
> For example:
> minimal nginx version;
> nginx version with passenger module (for puppet server)
> nginx version with some other rare options turned on for custom application.
> 
> Right now I achieve this with manually renaming /var/db/ports/*/options files and some manipulations in /usr/ports/packages/All.
> But a framework to automatically handle this would be very useful.
> 
> Thanks.
> 
This is already supported on pkg side, the work needs to be done in ports side,
what you call profiles, I usually call it flavours but that is the same.

Dependencies made on provides/requires allows to handle dependencies in this:

For example
A can depend on nginx (whatever profile):
so it requires "nginx"
B can only depend on nginx-passenger:
so it requires nginx-passenger

nginx itself provides: nginx
nginx-passenger provides: nginx and nginx-passenger

that should do what you want unfortunatly that mean both nginx nginx-passenger
both have one origin: www/nginx and this will break
portupgrade/portmaster/tinderbox/poudriere (I can easily make poudriere friendly
for that but I can't for the others).

So most of the work is now on ports land (and maybe a couple of bug fixes in
pkg)

Best regards,
Bapt

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlUzkyUACgkQ8kTtMUmk6EyhnACePcqViIXH5vcnBh1NyQC2CofM
rG4AoIxTOvXkgcDDEDICnCDgbWmnlhN4
=PPVO
-----END PGP SIGNATURE-----

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