RFE: Portable OpenSSH

Damien Miller djm at mindrot.org
Wed Mar 28 10:40:25 EST 2001


On Tue, 27 Mar 2001, Dan Kaminsky wrote:

> > ./confugure [whatever]
> > make
> > make install DESTDIR=./fakeroot
> > cd fakeroot
> > tar xvf - ./* | gzip -9 > ../ssh-bin.tar.gz
> > cd ..
> > rm -rf fakeroot
>
> Excellent.  But I can't run out of that fakeroot; I *have* to
> install from it.  At the point of the make install, all the ETCDIR
> et al definitions are already set at pathnames.h (or earlier).
>
> This is actually the right thing to do, but it does leave
> ssh_prng_cmds 's path totally broken. That makes the ssh client only
> function after a rootswitch.

No, you just untar the above in the root directory. Setting DESTDIR in
make install disables all the path modifications.

-d

-- 
| Damien Miller <djm at mindrot.org> \ ``E-mail attachments are the poor man's
| http://www.mindrot.org          /   distributed filesystem'' - Dan Geer




More information about the openssh-unix-dev mailing list