From owner-freebsd-ports@FreeBSD.ORG Mon Jun 9 00:48:13 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AAE8F6C0 for ; Mon, 9 Jun 2014 00:48:13 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5A59D288F for ; Mon, 9 Jun 2014 00:48:13 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id s590mBqA013659 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 8 Jun 2014 18:48:12 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id s590mBFH013656; Sun, 8 Jun 2014 18:48:11 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 8 Jun 2014 18:48:11 -0600 (MDT) From: Warren Block To: Jim Pazarena Subject: Re: pkg 2 ng conversion In-Reply-To: <5394B89A.4040607@paz.bz> Message-ID: References: <5394B89A.4040607@paz.bz> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sun, 08 Jun 2014 18:48:12 -0600 (MDT) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2014 00:48:13 -0000 On Sun, 8 Jun 2014, Jim Pazarena wrote: > On 2014-06-08 10:55 AM, Warren Block wrote: >> On Sun, 8 Jun 2014, Jim Pazarena wrote: >> >> >> No. pkg is just a package manager. It does not replace ports, it just >> handles packages. Like the old package manager, binary packages can be >> downloaded and installed rather than ports, but the choice is yours. > > Ahh.. therein lies the confusion. I have been compiling ports for many > years. However the compilations began nagging about converting pkg2ng. > So I investigated, and set the appropriate "WITH_PKGNG=yes" and ran > pkg2ng. But I never use packages. I always compile from ports. > > So the warning appearing in each and every compile was & is very > misleading. Unless I am *still* confused !! The package database tracks what is installed, whether it was built from a port or downloaded as a binary package. The old package database is going away, and it's time to switch. That's what pkg2ng does, reads the old installed packages database and writes the new format.