fetchmail-friends
[Top] [All Lists]

[fetchmail][PATCH] Fetchmail kerberos build cleanup

2001-04-11 12:35:33
On Tue, 10 Apr 2001, ESR wrote:
Nalin Dahyabai has sent me a Kerberos patch that appears to address this.
I'm evaluating it now.

Ok. I spent quite a lot of time trying to get fetchmail and kerberos to
properly build in Debian, and in the process I've cleaned up a lot of the
cruft in the configure.in side of things. I don't know how well the work I
did will mix with Nalin's, though.

Here is the patch. This addresses the follwing issues:

* Build correctly under Heimdal kerberos if it is compiled with db2 and
  OpenSSL support (Debian's is)
* Build the kerberos.c stuff (KPOP) only for kerberosIV, to avoid breakage.
  I don't know if this is 100% correct, but now at least IMAP and POP3
  behave the same way regarding kerberosV.
* Build without any fuss for both kerberosIV and V at the same time.
* Move all the kerberos header mess to kerberos.h, and #include that
  in driver.c and kerberos.c.

Tested using the Heimdal Kerberos V libs, Kungliga Tekniska Högskolan (the
Royal Institute of Technology in Stockholm, Sweden)'s kerberos IV libs, and
the MIT reference implementation of KerberosV (all as packaged in Debian).

I tried not to break the build in any of the platforms, but it would be
advisable to test it.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

Attachment: kerberos.h
Description: Text Data

Attachment: kerberos.diff
Description: Text document

Attachment: pgpQfFzk5bRxs.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>