From owner-freebsd-stable Wed Dec 5 20:57:29 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mta02.mail.mel.aone.net.au (mta02.mail.au.uu.net [203.2.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 6CB4537B416 for ; Wed, 5 Dec 2001 20:57:23 -0800 (PST) Received: from ausyddtp0050.ozemail.com.au ([203.166.66.104]) by mta02.mail.mel.aone.net.au with ESMTP id <20011206045713.BAUD24297.mta02.mail.mel.aone.net.au@ausyddtp0050.ozemail.com.au>; Thu, 6 Dec 2001 15:57:13 +1100 Message-Id: <5.1.0.14.2.20011206155029.03787bb0@pop.ozemail.com.au> X-Sender: rbyrnes@pop.ozemail.com.au X-Mailer: I wish it was Linux Date: Thu, 06 Dec 2001 15:57:07 +1100 To: Grzegorz Czaplinski From: Rob B Subject: Re: Stop error when compiling OpenSSH fix Cc: stable@freebsd.org 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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