Subject: Re: Kerberos library problem.
To: Szymański <dawszy@arhea.net>
From: Johan Danielsson <joda@pdc.kth.se>
List: tech-pkg
Date: 04/30/2002 14:35:27
Dawid Szyma=F1ski <dawszy@arhea.net> writes:
> I'm trying to get openssh from pkgsrc compiled with kerberos, but I
> get strange problem, configure script can't find -lkrb or -lkrb5.
Index: Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/security/openssh/Makefile,v
retrieving revision 1.66
diff -u -w -r1.66 Makefile
--- Makefile 2002/04/24 05:43:08 1.66
+++ Makefile 2002/04/30 12:33:47
@@ -65,10 +65,11 @@
#.endif
=20
# XXX: <krb.h>
-#.if defined(KERBEROS)
-#USE_KERBEROS=3D yes
-#CONFIGURE_ARGS+=3D --with-kerberos4=3D/usr
-#.endif
+.if defined(KERBEROS)
+USE_KERBEROS=3D yes
+CONFIGURE_ARGS+=3D --with-kerberos4=3D/usr
+CPPFLAGS+=3D -I/usr/include/kerberosIV
+.endif
=20
# Don't install "ssh" setuid
.if !defined(SSH_SUID) || ${SSH_SUID} !=3D YES
Index: distinfo
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/security/openssh/distinfo,v
retrieving revision 1.15
diff -u -w -r1.15 distinfo
--- distinfo 2002/04/23 13:32:56 1.15
+++ distinfo 2002/04/30 12:33:47
@@ -2,6 +2,6 @@
=20
SHA1 (openssh-3.1p1.tar.gz) =3D e9d5e66b6820df1293550cfe3349a76a5229fb32
Size (openssh-3.1p1.tar.gz) =3D 803104 bytes
-SHA1 (patch-aa) =3D 55661dc26444845376f4245d3538d9ed633906e4
+SHA1 (patch-aa) =3D cc5e89dcc71ce8c010e45b5ddd91713c8088658c
SHA1 (patch-ab) =3D 328ebbb3b1f08f50d89e41f2237d57db268bfdd6
SHA1 (patch-ah) =3D 98eb4b53cef20acb751dabb7a60be3902c33e604
cvs server: Diffing files
cvs server: Diffing patches
Index: patches/patch-aa
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/security/openssh/patches/patch-aa,v
retrieving revision 1.22
diff -u -w -r1.22 patch-aa
--- patches/patch-aa 2002/04/23 13:32:57 1.22
+++ patches/patch-aa 2002/04/30 12:33:47
@@ -32,6 +32,24 @@
#include <tcpd.h>
int deny_severity =3D 0, allow_seve=
rity =3D 0;
=20=20
+@@ -13653,7 +13653,7 @@
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=3D$LIBS
+-LIBS=3D"-lkrb $LIBS"
++LIBS=3D"-lkrb -lcom_err -lroken -lcrypto $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ #line 13653 "configure"
+ #include "confdefs.h"
+@@ -13700,7 +13700,7 @@
+ #define HAVE_LIBKRB 1
+ _ACEOF
+=20
+- LIBS=3D"-lkrb $LIBS"
++ LIBS=3D"-lkrb -lcom_err -lroken -lcrypto $LIBS"
+=20
+ fi
+=20
@@ -16007,7 +16012,7 @@
echo " User binaries: $B"
echo " System binaries: $C"