Subject: pkg/26170: mail/fetchmail doesn't make use of Kerberos / GSSAPI code
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <j+nbsd@2004.salmi.ch>
List: pkgsrc-bugs
Date: 07/06/2004 01:28:33
>Number:         26170
>Category:       pkg
>Synopsis:       mail/fetchmail doesn't make use of Kerberos / GSSAPI code
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 05 23:29:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jukka Salmi
>Release:        NetBSD 2.0F
>Organization:
>Environment:
System: NetBSD himo.salmi.ch 2.0F NetBSD 2.0F (GENERIC) #1: Mon Jun 28 10:15:38 CEST 2004 build@himo.salmi.ch:/build/nbsd/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
Fetchmail 6.2.5 has Kerberos / GSSAPI support which is not used when building
the package from pkgsrc (if KERBEROS is defined, only Kerberos IV support is
built).
I patched configure to successfully detect the (Heimdal) Kerberos installation
on my NetBSD-current i386 system and built fetchmail with GSSAPI support.
Works fine.
>How-To-Repeat:
Build mail/fetchmail and try to use GSSAPI authentication.
>Fix:
(I'm not very familiar with pkgsrc, so I'll just state how I built the
package manually.)

I patched configure (I'll attach the diff in a minute), configured fetchmail

./configure --without-hesiod --disable-nls --with-ssl=/usr
  --with-kerberos5=/usr --with-gssapi=/usr

and built (gmake) and installed (gmake install) it.
>Release-Note:
>Audit-Trail:
>Unformatted: