From owner-freebsd-questions@FreeBSD.ORG Sat Aug 28 18:36:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16D7510656A8 for ; Sat, 28 Aug 2010 18:36:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id CB7268FC12 for ; Sat, 28 Aug 2010 18:36:20 +0000 (UTC) Received: from r55.edvax.de (port-92-195-116-86.dynamic.qsc.de [92.195.116.86]) by mx02.qsc.de (Postfix) with ESMTP id E5E1C1EA7B; Sat, 28 Aug 2010 20:36:18 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o7SIaI3a001433; Sat, 28 Aug 2010 20:36:18 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 28 Aug 2010 20:36:18 +0200 From: Polytropon To: Chad Perrin 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> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd general questions Subject: Re: ports database X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Aug 2010 18:36:21 -0000 On Sat, 28 Aug 2010 11:07:45 -0600, Chad Perrin 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, ...