From owner-freebsd-questions@FreeBSD.ORG Thu Jan 3 01:06:50 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 114399E9 for ; Thu, 3 Jan 2013 01:06:50 +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 F20F3D63 for ; Thu, 3 Jan 2013 01:06:49 +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 17:06:50 -0800 Message-ID: <50E4D9A7.8070604@a1poweruser.com> Date: Wed, 02 Jan 2013 20:06:47 -0500 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Michael Ross Subject: Re: using /etc/portsnap.conf References: <50E46E0D.5030202@a1poweruser.com> <50E4C628.8050207@a1poweruser.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Jan 2013 01:06:50.0854 (UTC) FILETIME=[9CA74060:01CDE94E] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Cc: freebsd-questions@freebsd.org, Walter Hurry 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 01:06:50 -0000 Michael Ross wrote: > On Thu, 03 Jan 2013 00:43:36 +0100, Fbsd8 wrote: > >> 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. >> > > Just guessing: > > Try without the spaces at the beginning of the REFUSE lines? > > Thanks that was it. Sometimes your to close to the trees to see the forest.