From owner-freebsd-questions@FreeBSD.ORG Wed Sep 10 22:07:18 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 05301D59 for ; Wed, 10 Sep 2014 22:07:18 +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 AA9C72BF for ; Wed, 10 Sep 2014 22:07:17 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id s8AM78Fl040458 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 10 Sep 2014 16:07:08 -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 s8AM78IM040455; Wed, 10 Sep 2014 16:07:08 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 10 Sep 2014 16:07:08 -0600 (MDT) From: Warren Block To: Dave Babb Subject: Re: Request for buildworld clarification In-Reply-To: <541093BB.5030808@comcast.net> Message-ID: References: <541093BB.5030808@comcast.net> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) 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]); Wed, 10 Sep 2014 16:07:08 -0600 (MDT) Cc: freebsd-questions@freebsd.org 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, 10 Sep 2014 22:07:18 -0000 On Wed, 10 Sep 2014, Dave Babb wrote: > Good Afternoon All, > > > I am requesting a clarification on make buildworld. I am junior with FreeBSD > (< 8 months)...and I am getting confused with Gentoo's definition of build > world, and FreeBSD's. > > Under Gentoo, when you rebuilt your world, everything got rebuilt. Every > package that you had installed in your system including the base. > > Am I understanding that in FreeBSD this is a two step process. "make > buildworld" simply rebuilds the base system from source. Correct. > Then to rebuild your ports....I understand that I need to call > "portmaster -af"...Am I correct, or is their a different set of > switches I need to pass to portmaster to tell it to rebuild every > installed port? Yes, but... Don't use 'portmaster -af'. It is faster to get a list of installed ports, delete them all, then reinstall. There is a procedure at the end of the portmaster man page to do that, but it still refers to the old pkg_ commands. I have a PR which updates that procedure for pkg: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191166 Or you can use ports-mgmt/poudriere to build your own packages.