From owner-freebsd-questions@FreeBSD.ORG Thu Jan 3 00:21:31 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 9364FEF for ; Thu, 3 Jan 2013 00:21:31 +0000 (UTC) (envelope-from gmx@ross.cx) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) by mx1.freebsd.org (Postfix) with ESMTP id 339F9B81 for ; Thu, 3 Jan 2013 00:21:30 +0000 (UTC) Received: from [88.70.112.46] (helo=michael-think) by www81.your-server.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.74) (envelope-from ) id 1TqYBc-0006k5-GJ; Thu, 03 Jan 2013 00:57:28 +0100 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "Walter Hurry" , Fbsd8 Subject: Re: using /etc/portsnap.conf References: <50E46E0D.5030202@a1poweruser.com> <50E4C628.8050207@a1poweruser.com> Date: Thu, 03 Jan 2013 00:57:20 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: <50E4C628.8050207@a1poweruser.com> User-Agent: Opera Mail/12.12 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.97.5/16308/Wed Jan 2 23:55:22 2013) 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 00:21:31 -0000 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? Michael