From owner-freebsd-questions@FreeBSD.ORG Thu Jan 3 02:41:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5F6F44C7 for ; Thu, 3 Jan 2013 02:41:37 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 4CAD5F5F for ; Thu, 3 Jan 2013 02:41:36 +0000 (UTC) Received: from [10.0.10.3] ([173.88.197.103]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 2 Jan 2013 18:41:36 -0800 Message-ID: <50E4EFDD.5010801@a1poweruser.com> Date: Wed, 02 Jan 2013 21:41:33 -0500 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Walter Hurry Subject: Re: using /etc/portsnap.conf References: <50E46E0D.5030202@a1poweruser.com> <50E4C628.8050207@a1poweruser.com> <50E4D9A7.8070604@a1poweruser.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Jan 2013 02:41:38.0016 (UTC) FILETIME=[DA774E00:01CDE95B] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2013 02:41:37 -0000 Walter Hurry wrote: > On Wed, 02 Jan 2013 20:06:47 -0500, Fbsd8 wrote: > >> Thanks that was it. >> Sometimes your to close to the trees to see the forest. > > But you wouldn't have needed any REFUSE lines if you had followed my > suggestion and just extracted the ports you wanted. > > After doing portsnap fetch for the first time followed by "portsnap extract mis/ytree" will create an /usr/ports directory empty of the files and directories needed for the "make" command to function. But yes the /usr/ports/misc/ytree port will be there. But having a /etc/portsnap.conf with REFUSE statements for all of the ports categories will populate /usr/port directory with only the files and directories required for the "make" command to function correctly. In csup this was called the "base" category which could be selected separately in the same way other ports could be selected separately. But it's good to know that I can duplicate what I was doing with csup now with portsnap to have a ports tree trimmed to only the things required by "make" and the few major ports that I needed to recompile to change the defaults used in the packaged versions. And to address the dependents question. I used pkg_add -r to install the dependents and the "make install" compiled without any problems. So thanks for your pointer to "portsnap extract mis/ytree". It took some testing to figure out things because the man portsnap is not very clear about what is really happening.