Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jul 2002 13:59:30 +0200 (SAST)
From:      Gareth Hopkins <gareth@za.uu.net>
To:        FreeBSD user <freebsd@XtremeDev.com>
Cc:        Scott Gerhardt <scott@gerhardt-it.com>, FreeBSD <freebsd-questions@FreeBSD.ORG>, <freebsd-security@FreeBSD.ORG>
Subject:   Re: Sshd fix
Message-ID:  <20020701135406.W11499-100000@gabba.so.cpt1.za.uu.net>
In-Reply-To: <20020628190711.M7121-100000@Amber.XtremeDev.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020701135406.W11499-100000>