Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2006 11:05:28 -0400
From:      Bob <bob@tania.servebbs.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Producing a binary install
Message-ID:  <44B50FB8.2040006@tania.servebbs.org>
In-Reply-To: <200607112036.24775.kruptos@mlinux.org>
References:  <44B3E1AD.3080409@tania.servebbs.org> <44B3EDC3.7010104@ywave.com> <200607112036.24775.kruptos@mlinux.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kevin Brunelle wrote:

>> Otherwise doing a 'make package' after the port has been installed will
>> create a package for you. You should then be able to install the package
>> on the other machine using pkg_add.
>>
>> HTH,
>> Micah
> 
> If you've already done make clean... you're going to end up rebuilding if you 
> use make package.  Since that's not what you're looking to do, use pkg_create 
> instead.
> 
> pkg_create -b jdk-1.5.0p3_1
> 

Thanks folks!

I had not done a make clean when I did the "make package" and it created
a binary package in short order. The created package then installed and
worked flawlessly on the new machine! This is great! So I did as you
suggested, and exported /usr/ports/ to the new machine,
(/usr/local/net/ports/) this way when I need something over there I can
just pkg_create and then pkg_add to the other Work Station

I am sure there is a way to include the nfs-mounted /usr/local/net/ports
in the search-path on that Work Stations "portupgrade" facility, so that
if Kelly wants to install something independently on her machine, and
does a "portupgrade -NRP <package-name>; portupgrade will look for and
use the needed files in /usr/local/net/ports first, but still upgrade
and maintain it's own database. This will require some more digging in
the very fine manual....

This is a gorgeous OS!

Thanks again for all the help!

Bob

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtQ+3AexE5bK/mHkRAtl6AJ9PwYQjDJKydoi+HdEtUKSemmPnFgCfUMvp
Dn1Uyn+dnKVIaNB1fCcZw6E=
=gNyK
-----END PGP SIGNATURE-----



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