pkgng deviates from defaults?

Baptiste Daroussin bapt at FreeBSD.org
Sun Mar 8 13:41:49 UTC 2015


On Sun, Mar 08, 2015 at 01:46:28PM +0100, Carsten Jensen wrote:
> 
> It seems that pkgng deviates from installing the defaults.
> one of the culprits seems to be phpMyAdmin, as trying to upgrade this
> only it wants php56
> deleting phpMyAdmin just shows I have other packages needing php56 in my
> system.
> 
> is this a bug? and how can I prevent upgrading to the non-default php56?

The default settings are a ports tree setting not a pkg setting. for now the
ports are hardcoding the required version into the packages, this is a legacy of
the old system, noone has yet been working on this. so beside building your own
packages with poudriere (which will define the default you want) righ now there
is no way to avoid that.

The php case but not only php will require small changes in pkg(8) to activate
smart dependencies: depend on a>1<=2.10 and also adding provides/requires (this
is not very hard to be added in pkg.) and it should also require heavy changes
on the port side!

As far as I know noone has been working on those changes in the port side. the
pkg(8) changes are mostly pending for real use cases in the port side. Meaning
both should be coordinated.

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-ports/attachments/20150308/b0c1f2b9/attachment.sig>


More information about the freebsd-ports mailing list