Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2003 13:11:11 +0200
From:      Simon Barner <barner@in.tum.de>
To:        Jim Xochellis <dxoch@escape.gr>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Obtaining ports collection
Message-ID:  <20030620111111.GA2412@zi025.glhnet.mhn.de>
In-Reply-To: <3D4AF698-A30D-11D7-92B0-003065C4E486@escape.gr>
References:  <3D4AF698-A30D-11D7-92B0-003065C4E486@escape.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> I have a very slow connection an I want to update the ports collection 
> of my FreeBSD 4.7(i386) Release box. Somehow I have managed to download 
> the collection from the 
> "ftp://ftp.FreeBSD.org/pub/FreeBSD/branches/-current/ports.tar.gz" and 
> I have expanded it into a new "/usr/ports/" directory, renaming my old 
> collection to "/usr/ports.bak/" To you think that this "trick" will 
> actually work, or am I violating some rules?

While this will of course work, there is no need to download the whole
collection via ftp. CVSup might have been a faster alternative:

   http://www.freebsd.org/handbook/cvsup.html

As a supfile, you should use modified copy of
/usr/share/examples/cvsup/ports-supfile

You can als re-use your source tar-balls from you old ports tree (the
are in /usr/ports.bak/distfiles now

More information about the p.c. can be found here:
   
   http://www.freebsd.org/handbook/ports-using.html
   
> Is the ports collection of 
> the "current" branch appropriate for my FreeBSD 4.7 box or not?

Yes, there is only a current branch of the ports collection. While it is
recommended to use a -STABLE box with an up-to-date p.c., most of the
ports should work on your 4.7 box.

Simon



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