From owner-freebsd-questions@FreeBSD.ORG Wed Oct 1 20:26:43 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 7FD07FDF for ; Wed, 1 Oct 2014 20:26:43 +0000 (UTC) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 500C41AE for ; Wed, 1 Oct 2014 20:26:43 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by gateway2.nyi.internal (Postfix) with ESMTP id 3BD0734AF for ; Wed, 1 Oct 2014 16:26:41 -0400 (EDT) Received: from web6 ([10.202.2.216]) by compute3.internal (MEProxy); Wed, 01 Oct 2014 16:26:41 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:in-reply-to :references:subject:date; s=smtpout; bh=+DxQ4R8sp/gbcT33Da3QurYk nhk=; b=ODOtuoRcV8PbSHqV1bjW1T91PE0DFFdVToKXlQn0mdRsiqgqeeiwJbv4 +JFxykTU3w32z4WfVdMO5dHJquOlcfbqRWruBS7+vIZGm5i0dz5eEuAEh1LwQUmG k2+3k42dvdXtZwN9+UR0PTFYPi8masK4/yl1ASTT2FpWT/mSiRQ= Received: by web6.nyi.internal (Postfix, from userid 99) id E9B6E5D6A2; Wed, 1 Oct 2014 16:26:40 -0400 (EDT) Message-Id: <1412195200.2514522.174078689.53C09F5F@webmail.messagingengine.com> X-Sasl-Enc: GQu8BE4OG8nnFgGHsH0YWIf90I571sPrpD5ppKtTveXG 1412195200 From: Mark Felder To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-3bf5bee3 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> Subject: Re: User and vendor packages (for pkg_* tools) Date: Wed, 01 Oct 2014 15:26:40 -0500 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 20:26:43 -0000 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.