Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Oct 2014 15:26:40 -0500
From:      Mark Felder <feld@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: User and vendor packages (for pkg_* tools)
Message-ID:  <1412195200.2514522.174078689.53C09F5F@webmail.messagingengine.com>
In-Reply-To: <542C1CD8.4030907@infracaninophile.co.uk>
References:  <542BF06B.1070603@passap.ru> <1412166837.1994524.173874785.5FEDC463@webmail.messagingengine.com> <542C1CD8.4030907@infracaninophile.co.uk>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help


On Wed, Oct 1, 2014, at 10:25, Matthew Seaman wrote:
> On 10/01/14 13:33, Mark Felder wrote:
> > On Wed, Oct 1, 2014, at 07:15, Boris Samorodov wrote:
> >> > Hi All,
> >> > 
> >> > A user has License to use an App and uses pkgng. The vendor has
> >> > only packages for pkg_* tools.
> >> > 
> >> > What the user should do? Is there a tool to convert old packages to
> >> > new format?
> >> > 
> > There is no such tool. You would have to manually convert it to the new
> > package format by making a port for it. I think a skeleton port that
> > asked the user a few questions could do this automatically. I will
> > consider taking a stab at this, but I will have to locate an example to
> > test with.
> 
> Actually there kind-of is such a tool.  pkg-convert(8)
> 
> It's not ideal, in that you have to install the old-style package
> *before* converting it.  Making pkg-convert able to read either old- or
> new- style package tarballs and output to the alternate format tarball
> would be an interesting project.
> 

You can't install the old-style package if you don't have pkg_tools.
They were also removed from the ports tree. This is now a wild goose
chase if you aren't on an OS that natively came with pkg_tools. If a
vendor supplied an old pkg that would run fine on FreeBSD 10 with
compat4x and you want to run on a modern kernel/OS this is now a very
high learning curve. I hope we can fix this in the near future.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?1412195200.2514522.174078689.53C09F5F>