ports database

Polytropon freebsd at edvax.de
Sat Aug 28 18:36:21 UTC 2010

On Sat, 28 Aug 2010 11:07:45 -0600, Chad Perrin <perrin at apotheon.com> wrote:
> On Thu, Aug 26, 2010 at 09:53:46PM +0200, Polytropon wrote:
> > 
> > At least you need one machine with Internet connection to get
> > the ports update, e. g. using "portsnap fetch extract" or
> > "make update" (using csup). Once done, tar cf ports.tar /usr/ports
> > and transfer the file to the server without Internet connection;
> > finally extract it there.
> Is that supposed to say this?
>     tar -cf ports.tar /usr/port

It should be, better suited:

	# cd /usr
	# tar cf ports.tar ports

So one could do "tar xf ports.tar" in the target machine's /usr
directory which would create /usr/ports in the version obtained;
a previously existing ports/ subtree could be removed prior to

I think the - infront of the options string isn't neccessary for
tar, but it's optional in this case.

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list