Portmaster/Portupgrade | pkg2ng
Bryan Drewery
bdrewery at freebsd.org
Wed Oct 17 13:23:13 UTC 2012
On 10/17/2012 8:18 AM, Jim Trigg wrote:
> On Tue, Oct 16, 2012 at 06:51:59PM -0500, Bryan Drewery wrote:
>> On 10/16/2012 4:11 PM, Jos Chrispijn wrote:
>>> Somewhat lost here; just read UPDATING in which is reported about an
>>> additional function support of pkgng by portupgrade and portmaster:
>>>
>>> PORTMASTER
>>> # make -C /usr/ports/ports-mgmt/portmaster config build deinstall
>>> install clean
>>> # echo 'WITH_PKGNG=yes' >> /etc/make.conf
>>> # pkg2ng*
>>>
>>> PORTUPGRADE
>>> # echo 'WITH_PKGNG=yes' >> /etc/make.conf
>>> # pkg2ng*
>>> # pkgdb -fu
>>>
>>> The only issue I have is that this pkg2ng command doesn't work as this
>>> program* cannot be found so the command returns with a 'pkg2ng: Command
>>> not found.'
>>> Can someone tell me what I miss here?
>>
>> make -C /usr/ports/ports-mgmt/pkg install clean
>>
>> Sorry for the confusion. I will add that in.
>
> I think what's needed for portmaster is an explicit mention that the
> PKGNGPATCH option needs to be selected. That will cause pkg to be
> installed automatically, and installing it manually just increases the
> risk that portmaster won't have been built correctly to support it.
>
The patch will be fully merged upstream for 3.15, removing the patch option.
It will then work for both pkgng and pkg_install. The plan is to support
pkg_install until at least the last branch with pkg_install is EoL.
Currently that is 8.3 in April 2014 (www.freebsd.org/security)
> Jim
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
--
Regards,
Bryan Drewery
bdrewery at freenode/EFNet
More information about the freebsd-ports
mailing list