Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2002 09:05:20 -0700
From:      John Reynolds~ <jreynold@sedona.ch.intel.com>
To:        Michael Lucas <mwlucas@blackhelicopters.org>
Subject:   Re: code freeze
Message-ID:  <15622.8128.314656.873511@chlx255.ch.intel.com>
In-Reply-To: <20020611115648.A84741@blackhelicopters.org>
References:  <20020611165559.A34669@pcwin002.win.tue.nl> <E17HnRS-000MCX-00@mailhost.firstcallgroup.co.uk> <20020611115648.A84741@blackhelicopters.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[ On Tuesday, June 11, Michael Lucas wrote: ]
> 
> Allow me to recommend "make package" instead of "make install" when in
> the port directory.
> 
> Compile it exactly the way you want, and build it as a package.  Then
> you can nfs-mount the package dir, and even have a shell script run
> "pkg_add" on your new machines.
> 
> All the advantages of packages, and none of the disadvantages.

Indeed you can do that, or if you're looking for a slightly cheese-ball (but
works) method, you can build and install the port and then manually delete the 

  work/.install_done.<portname>-<portversion>

file. Then if your /usr/ports is mounted on another machine you can simply
type "make install" again. I do this quite often when I let "portupgrade -a"
have its way with my server machine. I'll "portsclean -C" first (to get rid of
any "work" directories), have it churn through the build/install process to
bring my installed ports up to snuff, then I'll use "find" (or some other
command) to delete all the .install_done* files. Following that I will go to
the other machine where I want to upgrade the exact same ports and type
"portupgrade -a" again. It goes through the motions and reinstalls everything
again on another machine (this assumes that machine #2 had previously been
"synced" to the exact same ports and port versions).

Cheesey, but it works.

-Jr

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|John Reynolds       Sr. Component Design Engineer - ICG/EID/Si Engineering |
|Intel Corporation   MS: CH6-210   Phone: 480-554-9092   pgr: 602-868-6512  |
|jreynold@sedona.ch.intel.com  http://www-aec.ch.intel.com/~jreynold/       |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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