From owner-freebsd-questions@FreeBSD.ORG Sun Jun 26 19:16:25 2011 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D6A11065672 for ; Sun, 26 Jun 2011 19:16:25 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 1B5108FC12 for ; Sun, 26 Jun 2011 19:16:24 +0000 (UTC) Received: from [89.204.137.249] (helo=tiny.Sisis.de.) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Qauof-0005fz-UE; Sun, 26 Jun 2011 21:16:23 +0200 Received: from tiny.Sisis.de. (localhost [127.0.0.1]) by tiny.Sisis.de. (8.14.3/8.14.3) with ESMTP id p5QJHUIu001156; Sun, 26 Jun 2011 21:17:32 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de. (8.14.3/8.14.3/Submit) id p5QJHSvh001155; Sun, 26 Jun 2011 21:17:28 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de.: guru set sender to guru@unixarea.de using -f Date: Sun, 26 Jun 2011 21:17:27 +0200 From: Matthias Apitz To: wayne mitchell Message-ID: <20110626191726.GA1142@tiny> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.19 (2009-01-05) X-Con-Id: 51246 X-Originating-IP: 89.204.137.249 Cc: questions@FreeBSD.org Subject: Re: cvs vs. DVD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2011 19:16:25 -0000 El día Sunday, June 26, 2011 a las 07:02:57PM +0100, wayne mitchell escribió: > hey, > be warned, you are dealing with a 'newbie' > i have one machine that has internet access and another that does not > both machines were installed with FreeBSD_RELEASE_8_1 with a DVD > i am now using cvsup to upgrade the RELENG_8_1_RELEASE tree > > my second machine does not have working ethernet > > how do i transfer the updated ports tree to the other machine using > only storage media (DVD, USB) > > my guess (hack) is to find all relavent files/data trees and simply > copy over, then run necessary updates (portsdb, make world...) > > if that is correct then can you tell where those files are ? > > if not then how should i do this ? Hey, this is easy (because it is FreeBSD). # cd /var/db/pkg # ls > /tmp/pkgs # cd .... (you need some Gbyte of space there) # mkdir PKGDIR # cd PKGDIR # sh # while read pkgname; do pkg_create -Rnb $pkgname; done < /tmp/pkgs this will create a binary packages ready for installation of all your ports and other packages you have installed; move the result over with DVD/USB and install them with pkg_add(1M); HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/