From owner-freebsd-security Mon Jul 1 5: 0:16 2002 Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 140F337B400; Mon, 1 Jul 2002 05:00:05 -0700 (PDT) Received: from smtp02.iafrica.com (smtp02.iafrica.com [196.7.0.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01A9E43E55; Mon, 1 Jul 2002 05:00:02 -0700 (PDT) (envelope-from gareth@za.uu.net) Received: from gabba.so.cpt1.za.uu.net ([196.30.72.25]) by smtp02.iafrica.com with esmtp (Exim 3.20 #1) id 17OzqL-000Pct-00; Mon, 01 Jul 2002 13:59:45 +0200 Received: from localhost ([127.0.0.1]) by gabba.so.cpt1.za.uu.net with esmtp (Exim 3.31 #1) id 17Ozq6-0003CB-00; Mon, 01 Jul 2002 13:59:31 +0200 Date: Mon, 1 Jul 2002 13:59:30 +0200 (SAST) From: Gareth Hopkins X-X-Sender: ghopkins@gabba.so.cpt1.za.uu.net To: FreeBSD user Cc: Scott Gerhardt , FreeBSD , Subject: Re: Sshd fix In-Reply-To: <20020628190711.M7121-100000@Amber.XtremeDev.com> Message-ID: <20020701135406.W11499-100000@gabba.so.cpt1.za.uu.net> X-Cell: +27 82 389 5389 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 28 Jun 2002, FreeBSD user wrote: Fu>cd /usr/ports/security/openssh-portable && make -DOPENSSH_OVERWRITE_BASE Fu>install distclean howdie, I am having trouble building this with Kerberos 5 support. make.conf looks like this USA_RESIDENT=NO MASTER_SITE_OVERRIDE=ftp://ftp3.za.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ NO_SENDMAIL= true MAKE_KERBEROS5= yes ENABLE_SUID_K5SU= yes KRB5_HOME=/usr The command I am using is [root@foobar] /usr/ports/security/openssh-portable # WITH_KERBEROS5=yes make -DOPENSSH_OVERWRITE_BASE I then get this error message. cc -o ssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o sshtty.o readconf.o clientloop.o -L. -Lopenbsd-compat/ -L/usr/lib -L/usr/lib -lssh -lopenbsd-compat -lutil -lz -lcrypto -lkrb5 -ldes -lcom_err -lasn1 -lroken /usr/lib/libkrb5.so: undefined reference to `crypt' *** Error code 1 Stop in /usr/ports/security/openssh-portable/work/openssh-3.4p1. *** Error code 1 Stop in /usr/ports/security/openssh-portable. There is a patch in the Makefile but when I run this patch from the makefile I get [root@foobar] /usr/ports/security/openssh-portable # WITH_KERBEROS5=yes make -DOPENSSH_OVERWRITE_BASE ===> Extracting for openssh-overwrite-base-3.4p1_2 >> Checksum OK for openssh-3.4p1.tar.gz. >> Checksum OK for openssh-3.4p1-gssapi-20020627.diff. ===> openssh-overwrite-base-3.4p1_2 depends on executable: autoconf - found ===> Patching for openssh-overwrite-base-3.4p1_2 ===> Applying extra patch /usr/ports/security/openssh-portable/files/servconf.c.patch ===> Applying FreeBSD patches for openssh-overwrite-base-3.4p1_2 Applying extra patch for GSS-API key-exchange... 1 out of 6 hunks failed--saving rejects to session.c.rej *** Error code 1 Stop in /usr/ports/security/openssh-portable. If I apply the patches manually from openssh-3.4p1-gssapi-20020627.diff. the patch works but then the make breaks. Anyone else having this problem? --- Gareth Hopkins Server Operations UUNET South Africa (o) +27.21.658.8700 (f) +27.21.658.8552 (m) +27.82.389.5389 http://www.uunet.co.za 08600 UUNET (08600 88638) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message