From owner-freebsd-questions@FreeBSD.ORG Thu May 22 07:18:30 2008 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 2BAD41065679 for ; Thu, 22 May 2008 07:18:30 +0000 (UTC) (envelope-from matthias.apitz@oclc.org) Received: from hunter.Sisis.de (hunter.sisis.de [193.31.11.194]) by mx1.freebsd.org (Postfix) with ESMTP id 2E18E8FC12 for ; Thu, 22 May 2008 07:18:28 +0000 (UTC) (envelope-from matthias.apitz@oclc.org) Received: (from mail@localhost) by hunter.Sisis.de (8.8.8/8.8.8) id JAA09363; Thu, 22 May 2008 09:10:19 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) Received: from ppp-88-217-87-4.dynamic.mnet-online.de(88.217.87.4) by hunter.Sisis.de via smap (V2.1) id xma009319; Thu, 22 May 08 09:09:54 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id m4M7HROk006482; Thu, 22 May 2008 09:17:27 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Thu, 22 May 2008 09:17:27 +0200 From: Matthias Apitz To: Giorgos Keramidas Message-ID: <20080522071727.GA6009@rebelion.Sisis.de> References: <972994690801011020u60ed0a0et6d8356cdb1f6f974@mail.gmail.com> <20080102141419.GB61289@sandvine.com> <20080521143210.GA70289@rebelion.Sisis.de> <4834516F.1010002@otenet.gr> <87prre275y.fsf@kobe.laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87prre275y.fsf@kobe.laptop> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) Cc: Manolis Kiagias , "freebsd-questions@freebsd.org" Subject: Re: Asus eee 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: Thu, 22 May 2008 07:18:36 -0000 El día Thursday, May 22, 2008 a las 09:18:33AM +0300, Giorgos Keramidas escribió: ... > Alternatively, you can use `pkg_create -b' to save the installed copies > of a few ports, and move them over. Installed packages can be saved > anywhere you prefer to store them. I some times use `/usr/pkg'. > > As an example, if you have `procmail-3.22_6' installed, you can create a > package even after you clean its port build directory with: > > # cd /usr/pkg > # pkg_create -b procmail-3.22_6 > > This should save the package in `procmail-3.22_6.tbz' in the current > directory. > > Then you can move the *.tbz file(s) to the EeePC and install them with > `pkg_add', as Manolis described. Thanks for your hint concerning pkg_create. I've stumbled over this as well and we must not only create a given package, but also all the packages from which it depends with for example: # pkg_create -Rb stardict-2.4.8_5 this gave me in this example 144 packages in the current dir; I run it twice to see if pkg_create detects that a given dependency is already there or if it will rebuild the package, and it does rebuild them; this means if I run pkg_create for the 200 ports I've compiled (even if I let out what perhaps I don't need on the smaller EeePC it is a lot of stuff), it will do a lot of work twice; is there a way to let pkg_create check if the pkg is already built and there? as well one must be very carefully with modifications in the installed packages; I have, for example, just renamed /usr/local/etc/rc.d/cupsd to /usr/local/etc/rc.d/cupsd.sh and pkg_create is now complaining and stopping because the file /usr/local/etc/rc.d/cupsd is missing; I will take this in consideration from now; thx for the hint anyway; its now clear that I will go this way (and buy the beast :-)) matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ «...una sola vez, que es cuanto basta si se trata de verdades definitivas.» «...only once, which is enough if it has todo with definite truth.» José Saramago, Historia del Cerca de Lisboa