From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 19:12:41 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1514935A for ; Wed, 1 Oct 2014 19:12:41 +0000 (UTC) Received: from forward8l.mail.yandex.net (forward8l.mail.yandex.net [84.201.143.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C484493A for ; Wed, 1 Oct 2014 19:12:40 +0000 (UTC) Received: from smtp2h.mail.yandex.net (smtp2h.mail.yandex.net [84.201.187.145]) by forward8l.mail.yandex.net (Yandex) with ESMTP id 8C41D1A410B7 for ; Wed, 1 Oct 2014 23:12:34 +0400 (MSK) Received: from smtp2h.mail.yandex.net (localhost [127.0.0.1]) by smtp2h.mail.yandex.net (Yandex) with ESMTP id 2A1881705931 for ; Wed, 1 Oct 2014 23:12:34 +0400 (MSK) Received: from 78.108.204.68.tel.ru (78.108.204.68.tel.ru [78.108.204.68]) by smtp2h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id B2X8ivGGUO-CXlCVKjK; Wed, 1 Oct 2014 23:12:33 +0400 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 7c5e7300-1eed-42f4-a0de-5a908b6b13b8 Message-ID: <542C5221.4060407@passap.ru> Date: Wed, 01 Oct 2014 23:12:33 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: User and vendor packages (for pkg_* tools) References: <542BF06B.1070603@passap.ru> <1412166837.1994524.173874785.5FEDC463@webmail.messagingengine.com> <542C1CD8.4030907@infracaninophile.co.uk> In-Reply-To: <542C1CD8.4030907@infracaninophile.co.uk> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2014 19:12:41 -0000 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