NetBSD Problem Report #21505

Received: (qmail 23083 invoked by uid 605); 8 May 2003 23:36:34 -0000
Message-Id: <20030508233632.B618911154@narn.netbsd.org>
Date: Thu,  8 May 2003 23:36:32 +0000 (UTC)
From: gremlin+pr@glasseye.bag.plethora.net
Sender: gnats-bugs-owner@netbsd.org
Reply-To: gremlin+pr@glasseye.bag.plethora.net
To: gnats-bugs@gnats.netbsd.org
Subject: nmh does not support kerberos/heimdal
X-Send-Pr-Version: www-1.0

>Number:         21505
>Category:       pkg
>Synopsis:       nmh does not support kerberos/heimdal
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lha
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 08 23:37:00 +0000 2003
>Closed-Date:    Fri May 09 14:15:32 +0000 2003
>Last-Modified:  Fri May 09 14:15:32 +0000 2003
>Originator:     T. M. Pederson
>Release:        1.6.1
>Organization:
>Environment:
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
>Description:
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.
>How-To-Repeat:
Set the (environment or mk.conf) variable KERBEROS on a system
with no kerberos packages and make nmh
>Fix:
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
 else
   ac_save_LIBS="$LIBS"
-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 @@
 fi
 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"
 else
   echo "$ac_t""no" 1>&6
 { echo "configure: error: Kerberos 4 libraries not found" 1>&2; exit 1; }
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: lha 
State-Changed-When: Fri May 9 13:36:35 UTC 2003 
State-Changed-Why:  
patch that doesn't require a patch suggested 
it kerberos, its mine 
. 


Responsible-Changed-From-To: pkg-manager->lha 
Responsible-Changed-By: lha 
Responsible-Changed-When: Fri May 9 13:36:35 UTC 2003 
Responsible-Changed-Why:  
it kerberos, its mine 

From: Love <lha@netbsd.org>
To: gremlin+pr@glasseye.bag.plethora.net
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/21505: nmh does not support kerberos/heimdal
Date: Fri, 09 May 2003 15:36:03 +0200

 gremlin+pr@glasseye.bag.plethora.net writes:

 >>Number:         21505
 >>Category:       pkg
 >>Synopsis:       nmh does not support kerberos/heimdal

 This is a simpler patch (i think).

 I've cc the maintainer of the package, ok to commit ?

 Love

 --- Makefile.~1.49.~	2002-11-21 10:59:52.000000000 +0100
 +++ Makefile	2003-05-09 15:35:32.000000000 +0200
 @@ -42,6 +42,9 @@

  .if defined(KERBEROS)
  PKG_USE_KERBEROS=	# defined
 +.if ${OPSYS} == "NetBSD"
 +LIBS=			-lroken -lcom_err -lcrypt
 +.endif
  CONFIGURE_ARGS+=	--with-krb4
  .else
  CONFIGURE_ARGS+=	--without-krb4

From: Kimmo Suominen <kim@tac.nyc.ny.us>
To: Love <lha@netbsd.org>
Cc: gremlin+pr@glasseye.bag.plethora.net, gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/21505: nmh does not support kerberos/heimdal
Date: Fri, 09 May 2003 09:54:09 -0400

 Please do.

 Thanks,
 + Kim


 | From:    Love <lha@netbsd.org>
 | Date:    Fri, 09 May 2003 15:36:03 +0200
 |
 | gremlin+pr@glasseye.bag.plethora.net writes:
 |
 | >>Number:         21505
 | >>Category:       pkg
 | >>Synopsis:       nmh does not support kerberos/heimdal
 |
 | This is a simpler patch (i think).
 |
 | I've cc the maintainer of the package, ok to commit ?
 |
 | Love
 |
 | --- Makefile.~1.49.~	2002-11-21 10:59:52.000000000 +0100
 | +++ Makefile	2003-05-09 15:35:32.000000000 +0200
 | @@ -42,6 +42,9 @@
 |
 |  .if defined(KERBEROS)
 |  PKG_USE_KERBEROS=	# defined
 | +.if ${OPSYS} == "NetBSD"
 | +LIBS=			-lroken -lcom_err -lcrypt
 | +.endif
 |  CONFIGURE_ARGS+=	--with-krb4
 |  .else
 |  CONFIGURE_ARGS+=	--without-krb4
 |
State-Changed-From-To: feedback->closed 
State-Changed-By: lha 
State-Changed-When: Fri May 9 14:15:02 UTC 2003 
State-Changed-Why:  
patch commited 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.