pkg 1.5.0 is out
Baptiste Daroussin
bapt at FreeBSD.org
Sun Apr 19 11:36:10 UTC 2015
On Sun, Apr 19, 2015 at 02:22:15PM +0300, Dmitry Sivachenko wrote:
>
> > On 14 апр. 2015 г., at 23:05, Baptiste Daroussin <bapt at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20150419/d20fa6de/attachment.sig>
More information about the freebsd-current
mailing list