Re: pkg 1.5.0 is out

From: Baptiste Daroussin <>
Date: Sun, 19 Apr 2015 13:36:05 +0200
On Sun, Apr 19, 2015 at 02:22:15PM +0300, Dmitry Sivachenko wrote:
> > On 14 апр. 2015 г., at 23:05, Baptiste Daroussin <> 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

Best regards,

Received on Sun Apr 19 2015 - 09:36:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:57 UTC