Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Aug 2010 20:36:18 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Chad Perrin <perrin@apotheon.com>
Cc:        freebsd general questions <freebsd-questions@freebsd.org>
Subject:   Re: ports database
Message-ID:  <20100828203618.45fd6be8.freebsd@edvax.de>
In-Reply-To: <20100828170745.GA88025@guilt.hydra>
References:  <874453.45134.qm@web52302.mail.re2.yahoo.com> <20100826215346.7aaba141.freebsd@edvax.de> <20100828170745.GA88025@guilt.hydra>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 28 Aug 2010 11:07:45 -0600, Chad Perrin <perrin@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
extraction.

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




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



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