Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 2004 11:02:07 -0800
From:      Joshua Lokken <joshua@twobirds.us>
To:        freebsd-questions@freebsd.org
Cc:        Tadimeti Keshav <keshav_tadimeti@yahoo.co.uk>
Subject:   Re: using make to use a specific mirror while building ports
Message-ID:  <20040323190207.GB1856@cs025_2k>
In-Reply-To: <20040323052926.GA26015@xor.obsecurity.org>
References:  <20040323042841.20782.qmail@web25003.mail.ukl.yahoo.com> <20040323052926.GA26015@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Kris Kennaway <kris@obsecurity.org> [2004-03-23 07:45]:
> On Tue, Mar 23, 2004 at 04:28:41AM +0000, Tadimeti Keshav wrote:
> > hi
> > 2 questions pls.
> > 
> > 1.I happened to come across a fairly fast mirror while
> > doing a CVSup.
> > How can I configure make to use this mirror (as a
> > first preference over ftp.freebsd.org) while making
> > apps from ports.
> 
> cvsup mirrors aren't FTP mirrors, but assuming you actually meant "how
> do I configure make to fetch from an alternate ftp mirror?", read the
> /etc/defaults/make.conf file (/usr/share/examples/etc/make.conf on
> 5.x) to see how.

If you want cvsup to use a particular mirror, set it with the default
host option in your supfile, like this:

*default host=cvsupxx.freebsd.org

where xx is the appropriate mirror number.


> 
> > 2. Instead of using cvsup to upgrade the ports tree,
> > is there a command to upgrade a specific port, say,
> > XMMS.
> 
> Install the portupgrade port.
> 
> Kris

it's /usr/ports/sysutils/portupgrade, and it is the best software
management tool I've used to date.  Read the man pages, too.

-- 
Joshua

No one may kill a man.  Not for any purpose.  It cannot be condoned.
		-- Kirk, "Spock's Brain", stardate 5431.6



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