Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2008 09:17:27 +0200
From:      Matthias Apitz <matthias.apitz@oclc.org>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        Manolis Kiagias <sonicy@otenet.gr>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Asus eee
Message-ID:  <20080522071727.GA6009@rebelion.Sisis.de>
In-Reply-To: <87prre275y.fsf@kobe.laptop>
References:  <972994690801011020u60ed0a0et6d8356cdb1f6f974@mail.gmail.com> <20080102141419.GB61289@sandvine.com> <p06240807c3b721bd576d@[128.113.24.47]> <20080521143210.GA70289@rebelion.Sisis.de> <4834516F.1010002@otenet.gr> <87prre275y.fsf@kobe.laptop>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <matthias.apitz@oclc.org> - 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



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