${INSTALL_COOKIE} and shared /usr/ports

Andy Hauser andy-freebsd at splashground.de
Fri Sep 5 00:55:52 PDT 2003


On Fri, Sep 05, 2003 at 05:18:57AM +0200, Roman Neuhauser wrote:
> # eikemeier at fillmore-labs.com / 2003-09-05 05:12:34 +0200:
> > Roman Neuhauser wrote:
> > 
> > >Could ${INSTALL_COOKIE} include the hostname? If you do make install on
> > >one box, and then want to install the port on another one that has the
> > >/usr/ports tree nfs-mounted, it'll report that the port is already
> > >installed. [...]
> > 
> > export /usr/ports read only and put
> > WRKDIRPREFIX=/var/tmp
> > in make.conf(5)
> 
>     that would defeat the purpose: avoiding another compilation.

But then why not make a package?
portupgrade -p
or
make package
and on the slave machines you could
mount /usr/ports/packages
and do
portupgrade -PP

aha


More information about the freebsd-ports mailing list