From owner-freebsd-questions@FreeBSD.ORG Tue Mar 25 00:17: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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1E6B881A for ; Tue, 25 Mar 2014 00:17:41 +0000 (UTC) Received: from mail5.networktest.com (mail5.networktest.com [204.109.60.142]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E9C6ED31 for ; Tue, 25 Mar 2014 00:17:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail5.networktest.com (Postfix) with ESMTP id 3EA522FCCAA for ; Mon, 24 Mar 2014 17:17:40 -0700 (PDT) Received: from mail5.networktest.com ([127.0.0.1]) by localhost (mail5.networktest.com [127.0.0.1]) (maiad, port 10024) with ESMTP id 79551-04 for ; Mon, 24 Mar 2014 17:17:40 -0700 (PDT) Received: from dhcp131.eng.networktest.com (ns.networktest.com [205.147.16.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: dnewman@networktest.com) by mail5.networktest.com (Postfix) with ESMTPSA id 0146B2FCC96 for ; Mon, 24 Mar 2014 17:17:39 -0700 (PDT) Message-ID: <5330CB20.3090705@networktest.com> Date: Mon, 24 Mar 2014 17:17:36 -0700 From: David Newman Organization: Network Test Inc. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 CC: freebsd-questions@freebsd.org Subject: Re: Using pkg with build options References: <372190939.49499.1395582789284.JavaMail.mail@webmail12> <20140323150144.029c571e.freebsd@edvax.de> <532F15D8.10403@FreeBSD.org> <20140323185258.e389040f.freebsd@edvax.de> <5330C120.40905@networktest.com> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2014 00:17:41 -0000 On 3/24/14, 5:05 PM, Warren Block wrote: > On Mon, 24 Mar 2014, David Newman wrote: > >> I'm still quite confused over the migration to pkg. >> >> I have a mix of 9.2 and 10.0 machines. Most run at least one port >> compiled with options. >> >> Is there a guide to moving these machines to pkg and poudriere? > > Are they all using ports now? Yes. > Then just switch each to the pkg database > by adding WITH_PKGNG=yes and running pkg2ng to convert the package > information. After that, continue to use ports as normal. pkg will > keep track of them just like the old pkg_* programs did. Thanks, that's very helpful. > Using Poudriere to build binary packages of your own is not required. > But if you want to do it, there's a short section on setting up > Poudriere in the Handbook: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-poudriere.html Part of the appeal of pkg is that package binaries install much faster than waiting for 'portmaster -aD' to complete after updating the ports tree. However, if I understand that poudriere link, it would still build my custom packages from ports, and thus there isn't much time savings. Correct? Thanks again dn