Producing a binary install

Bob bob at tania.servebbs.org
Wed Jul 12 15:05:42 UTC 2006


-----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-----


More information about the freebsd-questions mailing list