Summary: | net-mail/fetchmail heimdal support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rafał Mużyło <galtgendo> |
Component: | New packages | Assignee: | Net-Mail Packages <net-mail+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | matthias.andree |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Patch I needed to build it.
diff for net-mail/fetchmail/fetchmail-6.3.8.ebuild to support heimdal as kerberos 5 fetchmail-6.3.8-r1.ebuild-heimdal.patch patch for fetchmail configure.ac to remove the check for MD5_Init. updated ebuild patch for fetchmail |
Description
Rafał Mużyło
2007-07-17 13:19:44 UTC
Created attachment 125160 [details, diff]
Patch I needed to build it.
If you want this fixed, bug upstream, not Gentoo. http://www.catb.org/~esr/fetchmail/fetchmail-FAQ.html#K4 The longer I read the link contents, the more I fail to see how it relates to this bug. Although, yes part of it should be upstreamed, strict dependency on MIT Kerberos is definitely a Gentoo bug. Fixing the way it look for kerberos is for upstream, dependency on MIT is not. It doesn't even compile again heimdal without a patch, not to mention that it's unsupported by upstream? How's this a Gentoo bug? Oh, goody. A tennis match. Why do you claim heimdal is not supported upstream, when fetchmail's configure.ac claims otherwise ? Did you even bother to read it ? It checks for a kerberos implementation, recognizing heimdal by finding roken.h, then checking for MD5_Init. However it looks for roken.h in a wrong directory and tries libssl for MD5_Init when it's in libcrypto, final change is again related to incorrect include path seek. Created attachment 125879 [details, diff] diff for net-mail/fetchmail/fetchmail-6.3.8.ebuild to support heimdal as kerberos 5 I install new heimdal (Bug #185899), ebuild version derived from Harald Barth's work. Harald Barth uses an installation directory separate from the main system tree, my choice is /usr/heimdal prefix. The package includes krb5-config utility that should be used to configure dependend packages correctly: this patch changes the net-mail/fetchmail-6.3.8 ebuild to allow virtual/krb5 dependency instead of the hardwired app-crypt/mit-krb5 and to use krb5-config to configure the package for compilation. No upstream changes, sources patching or configuration scripts patching are needed. Created attachment 154937 [details, diff] fetchmail-6.3.8-r1.ebuild-heimdal.patch At least with heimdal-1.x installed into standard directories (see the bug #185899 or the Kerberos Overlay at http://git.overlays.gentoo.org/gitweb/?p=proj/kerberos.git;a=summary ), nothing more than changing the dependency from app-crypt/mit-krb5 to virtual/krb5 is needed to compile fetchmail against heimdal anymore. You seem to have missed the second part: ...tries libssl for MD5_Init when it's in libcrypto That's a bug in fetchmail. Created attachment 160094 [details, diff]
patch for fetchmail configure.ac to remove the check for MD5_Init.
patch for fetchmail configure.ac to remove the check for MD5_Init.
the patch works with "kerberos ssl", "kerberos -ssl" and of course "-kerberos
ssl".
Created attachment 160096 [details, diff]
updated ebuild patch for fetchmail
The question is: does it still work, when '-Wl,--as-needed' is added ? And one more: what was the purpose of that check ? Hi, As the fetchmail upstream maintainer, I'd suggest to forward such "does anyone know" kind of questions to the fetchmail mailing lists, such as fetchmail-devel@ - we're open to distributor input, comments, concerns, questions, remarks. Thank you. I'm adding myself to Cc: and hope to address this bug for fetchmail 6.3.12. (In reply to comment #2) > If you want this fixed, bug upstream, not Gentoo. > > http://www.catb.org/~esr/fetchmail/fetchmail-FAQ.html#K4 That would be http://www.fetchmail.info/fetchmail-FAQ.html#K4 - ESR's fetchmail site is no longer maintained, but he apparently isn't redirecting deep links. fetchmail-6.3.13 is in the tree and should support heimdal. |