Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Oct 2014 23:12:33 +0400
From:      Boris Samorodov <bsam@passap.ru>
To:        freebsd-questions@freebsd.org
Subject:   Re: User and vendor packages (for pkg_* tools)
Message-ID:  <542C5221.4060407@passap.ru>
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
01.10.2014 19:25, Matthew Seaman пишет:
> 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.

Cool. Thanks!

> 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.

Agreed.

> Nagging the vendor to produce new style packages likely to be more
> productive in the long run.

Unfortunately, it may be a very long way for a vendor.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?542C5221.4060407>