Subject: pkg/21505: nmh does not support kerberos/heimdal
To: None <>
From: None <>
List: netbsd-bugs
Date: 05/08/2003 23:36:32
>Number:         21505
>Category:       pkg
>Synopsis:       nmh does not support kerberos/heimdal
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 08 23:37:00 UTC 2003
>Originator:     T. M. Pederson
>Release:        1.6.1
NetBSD thule.mirage 1.6.1_STABLE NetBSD 1.6.1_STABLE (SNAFU) #1: Sun May  4 13:55:56 HST 2003     gremlin@thule.mirage:/usr/src/sys/arch/i386/compile/SNAFU i386
On a Kerberos ready system, the nmh make configure stage attempts
to link against to enable KPOP functionality. On NetBSD, this results
in it failing to link against all libs needed--'roken' and 'com_err'
are missed.
Set the (environment or mk.conf) variable KERBEROS on a system
with no kerberos packages and make nmh
Apply the following patch:
--- configure.orig      Wed Mar 15 13:37:30 2000
+++ configure   Thu May  8 13:04:32 2003
@@ -3906,7 +3906,7 @@
   echo $ac_n "(cached) $ac_c" 1>&6
-LIBS="-lkrb $KRB4_LIBS -ldes $LIBS"
+LIBS="-lkrb -lroken $KRB4_LIBS -lcom_err -ldes $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 3912 "configure"
 #include "confdefs.h"
@@ -3934,7 +3934,7 @@
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
   echo "$ac_t""yes" 1>&6
-  KRB4_LIBS="$KRB4_LIBS -lkrb -ldes"
+  KRB4_LIBS="$KRB4_LIBS -lkrb -lroken -lcom_err -ldes"
   echo "$ac_t""no" 1>&6
 { echo "configure: error: Kerberos 4 libraries not found" 1>&2; exit 1; }