Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Jan 2013 18:43:36 -0500
From:      Fbsd8 <fbsd8@a1poweruser.com>
To:        Walter Hurry <walterhurry@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: using /etc/portsnap.conf
Message-ID:  <50E4C628.8050207@a1poweruser.com>
In-Reply-To: <kc1u0e$mpk$1@ger.gmane.org>
References:  <50E46E0D.5030202@a1poweruser.com> <kc1u0e$mpk$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <security-officer@FreeBSD.org> 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50E4C628.8050207>