From owner-freebsd-questions@FreeBSD.ORG Wed Jan 2 23:43:38 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D123FB40 for ; Wed, 2 Jan 2013 23:43:38 +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 B4C43A65 for ; Wed, 2 Jan 2013 23:43:38 +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 15:43:39 -0800 Message-ID: <50E4C628.8050207@a1poweruser.com> Date: Wed, 02 Jan 2013 18:43:36 -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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 02 Jan 2013 23:43:39.0337 (UTC) FILETIME=[FD7A3390:01CDE942] 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: Wed, 02 Jan 2013 23:43:38 -0000 Walter Hurry wrote: > On Wed, 02 Jan 2013 12:27:41 -0500, Fbsd8 wrote: > >> When issuing the portsnap command will it automatically read the >> /etc/portsnap.conf file or is the -f option mandatory? > > It will use /etc/portsnap.conf by default. No need for -f unless you need > to use a different config file. > > By the way, in answer to your question in another thread, you don't have > to extract the whole tree if you don't want to. Use 'portsnap fetch' the > first time around, and then portsnap extract the port you want. See 'man > portsnap', and remember to cater for the dependencies. > My /ect/portsnap.conf looks like this. # $FreeBSD: src/etc/portsnap.conf,v 1.5.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $ # Default directory where compressed snapshots are stored. # WORKDIR=/var/db/portsnap # Default location of the ports tree # (target for "update" and "extract"). # PORTSDIR=/usr/ports # Server or server pool from which to fetch updates. You can change # this to point at a specific server if you want, but in most cases # using a "nearby" server won't provide a measurable improvement in # performance. SERVERNAME=portsnap.FreeBSD.org # Trusted keyprint. Changing this is a Bad Idea unless you've received # a PGP-signed email from telling you to # change it and explaining why. KEYPRINT=9b5feee6d69f170e3dd0a2c8e469ddbd64f13f978f2f3aede40c98633216c330 # List of INDEX files to build and the DESCRIBE file to use for each #INDEX INDEX-6 DESCRIBE.6 #INDEX INDEX-7 DESCRIBE.7 INDEX INDEX-8 DESCRIBE.8 # Example of ignoring parts of the ports tree. If you know that you # absolutely will not need certain parts of the tree, this will save # some bandwidth and disk space. See the manual page for more details. # # WARNING: Working with an incomplete ports tree is not supported and # can cause problems due to missing dependencies. If you have REFUSE # directives and experience problems, remove them and update your tree # before asking for help on the mailing lists. # REFUSE arabic chinese french german hebrew hungarian japanese REFUSE korean polish portuguese russian ukrainian vietnamese # # The following is complete list of all the port categories . # # REFUSE accessibility archivers astro audio benchmarks biology cad # REFUSE comms converters databases deskutils devel dns editors emulators # REFUSE finance ftp games graphics irc java lang mail math mbone misc # REFUSE multimedia net net-im net-mgmt net-p2p news palm ports-mgmt print # REFUSE science security shells textproc www # REFUSE x11 x11-clocks x11-drivers x11-fm x11-fonts x11-servers # REFUSE x11-themes x11-toolkits x11-wm # REFUSE sysutils # REFUSE accessibility archivers astro audio benchmarks biology cad REFUSE comms converters databases deskutils devel dns editors emulators REFUSE finance ftp games graphics irc java lang mail math mbone misc REFUSE multimedia net net-im net-mgmt net-p2p news palm ports-mgmt print REFUSE science security shells textproc www REFUSE x11 x11-clocks x11-drivers x11-fm x11-fonts x11-servers REFUSE x11-themes x11-toolkits x11-wm # REFUSE sysutils This should only populate /usr/ports/sysutils But its not being used because everything is being populated in /usr/ports. I do portsnap fetch followed by portsnap extract What am I doing wrong here? I even tried portsnap extract -f /etc/portsnap.conf with no joy.