Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Dec 2001 15:57:07 +1100
From:      Rob B <rbyrnes@ozemail.com.au>
To:        Grzegorz Czaplinski <gregory@prioris.mini.pw.edu.pl>
Cc:        stable@freebsd.org
Subject:   Re: Stop error when compiling OpenSSH fix
Message-ID:  <5.1.0.14.2.20011206155029.03787bb0@pop.ozemail.com.au>
In-Reply-To: <20011205193834.A94027@prioris.mini.pw.edu.pl>
References:  <5.1.0.14.2.20011205171558.00a7c020@pop.ozemail.com.au> <5.1.0.14.2.20011205171558.00a7c020@pop.ozemail.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
At 05:38 6/12/2001, Grzegorz Czaplinski sent this up the stick:
>Ohh, go on. Don't read security and bugs?

Read security, yes, bugs, no ... I get enough email and spam reading 
security, questions and stable.  Wonder why incorrect security 
announcements don't get reposted?

>First of all, applay the patch, then do:
>
>     cd /usr/src/secure/lib/libssh
>         make depend && make all
>then
>     cd /usr/src/secure/usr.sbin/sshd
>         make clean && make depend && make all install.
>That should solve the problem.
>         gregory


Here is an extract from the security bulletin:

>2) FreeBSD 4.x systems prior to the correction date:
>
>The following patch has been verified to apply to FreeBSD
>4.3-RELEASE, 4.4-RELEASE, and 4.4-STABLE dated prior to the
>correction date.  It may or may not apply to older, unsupported
>versions of FreeBSD.
>
>Download the patch and the detached PGP signature from the following
>locations, and verify the signature using your PGP utility.
>
># fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-01:63/sshd.patch
># fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-01:63/sshd.patch.asc
>
>Execute the following commands as root:
>
># cd /usr/src/crypto/openssh
># patch < /path/to/sshd.patch
># cd /usr/src/secure/usr.sbin/sshd
># make depend && make all install

This is what I did.  Nowhere in the bulletin did it say to run make in 
/usr/src/secure/lib/libssh.  However, thanks for the tip and yes, it did 
work doing it the way you suggested.

Cheers,
Rob



>On Wed, Dec 05, 2001 at 05:20:13PM +1100, Rob B wrote:
> > Hi all,
> >
> > Downloaded and patched the OpenSSH source on my box today, but I'm getting
> > the following error when compiling:
> >
> > /usr/src/secure/usr.sbin/sshd> # make depend && make all install
> > <...compile compile...>
> > cc -O -pipe -mcpu=ev56 -DLIBWRAP -DHAVE_LOGIN_CAP -DLOGIN_ACCESS
> > -I/usr/src/secure/usr.sbin/sshd/../../../usr.bin/login -DUSE_PAM
> > -DHAVE_PAM_GETENVLIST -DSKEY -DXAUTH_PATH=\"/usr/X11R6/bin/xauth\"     -o
> > sshd sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o sshpty.o
> > sshlogin.o servconf.o serverloop.o auth.o auth1.o auth2.o auth-options.o
> > session.o auth-chall.o auth2-chall.o auth-pam.o login_access.o
> > groupaccess.o  -lopie -lmd
> > /usr/src/secure/usr.sbin/sshd/../../lib/libssh/libssh.a -lcrypt -lcrypto
> > -lutil -lz -lwrap -lpam
> > cc: /usr/src/secure/usr.sbin/sshd/../../lib/libssh/libssh.a: No such file
> > or directory
> > *** Error code 1
> >
> > Stop in /usr/src/secure/usr.sbin/sshd.
> >
> >
> > This is 4.4-STABLE on Alpha, and to think I built and installed world only
> > three days ago :)
> >
> > Cheers,
> > Rob

--
Hey! Welcome back to Kansas!

[15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian
This is random quote 471 of a collection of 1191


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?5.1.0.14.2.20011206155029.03787bb0>