From owner-freebsd-questions@FreeBSD.ORG Wed Jul 12 15:05:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D977B16A4DD for ; Wed, 12 Jul 2006 15:05:42 +0000 (UTC) (envelope-from bob@tania.servebbs.org) Received: from mail3.panix.com (mail3.panix.com [166.84.1.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C10243D49 for ; Wed, 12 Jul 2006 15:05:42 +0000 (GMT) (envelope-from bob@tania.servebbs.org) Received: from mailspool3.panix.com (mailspool3.panix.com [166.84.1.78]) by mail3.panix.com (Postfix) with ESMTP id 7743213A8AA for ; Wed, 12 Jul 2006 11:05:41 -0400 (EDT) Received: from [192.168.1.100] (pool-71-247-40-190.nycmny.east.verizon.net [71.247.40.190]) by mailspool3.panix.com (Postfix) with ESMTP id 25EC2EA91A1 for ; Wed, 12 Jul 2006 11:05:36 -0400 (EDT) Message-ID: <44B50FB8.2040006@tania.servebbs.org> Date: Wed, 12 Jul 2006 11:05:28 -0400 From: Bob User-Agent: Thunderbird 1.5 (X11/20060628) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <44B3E1AD.3080409@tania.servebbs.org> <44B3EDC3.7010104@ywave.com> <200607112036.24775.kruptos@mlinux.org> In-Reply-To: <200607112036.24775.kruptos@mlinux.org> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=B2BF9879 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Producing a binary install X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2006 15:05:42 -0000 -----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 ; 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-----