Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2002 03:39:33 -0700
From:      Darren Pilgrim <dmp@pantherdragon.org>
To:        pjklist@ekahuna.com
Cc:        security@FreeBSD.ORG, Robin Smith <rasmith@aristotle.tamu.edu>
Subject:   Re: Installing openssh-portable 3.4
Message-ID:  <3D1AEB65.D29CF5BD@pantherdragon.org>
References:  <20020627103110488.AAA796@empty1.ekahuna.com@pc02.ekahuna.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Philip J. Koenig" wrote:
> > From: Robin Smith <rasmith@aristotle.tamu.edu>
> > The port does just about the whole job (creates user/group sshd, dir /var/empty)
> > and (with the option -D OPENSSH_OVERWRITE_BASE) puts all the stuff in the right
> > places, except for the sample rc script, which it tries to drop into /usr/etc/rc.d.
> > Since that's not part of the standard FreeBSD layout, the make then dies (so symlink
> > /usr/etc->/usr/local/etc).  Otherwise, all I had to do was edit and install the config
> > files.
> 
> Re: this -D option, I've rarely if ever had to use options when
> building ports - where do I use that argument: on the "make" or the
> "make install" command line or both?  IE should it be:
> 
> #cd /usr/ports/security/openssh-portable
> #make -DOPENSSH_OVERWRITE_BASE
> #make install

Issue it as one line:

#make -DOPENSSH_OVERWRITE_BASE all install clean

> Should I pkg_delete the openssh-overwrite-base-3.3p_1 first, or just
> fix things in pkgdb afterwards?

Use the -DFORCE_PKG_REGISTER option:

#make -DOPENSSH_OVERWRITE_BASE -DFORCE_PKG_REGISTER all install clean

Someone please double-check me on this!

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




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