The following is a patch for the fetchmail 6.2.2-rc2 ebuild that adds support for kerberos authentication based on the USE variable (kerberos & krb4): *** fetchmail-6.2.2-r2.ebuild Sat Jun 14 16:27:37 2003 --- fetchmail-6.2.2-r3.ebuild Sat Jun 14 16:31:00 2003 *************** *** 11,17 **** SLOT="0" LICENSE="GPL-2 public-domain" KEYWORDS="x86 ~alpha" ! IUSE="ssl nls ipv6i" DEPEND="virtual/glibc ssl? ( >=dev-libs/openssl-0.9.6 ) --- 11,17 ---- SLOT="0" LICENSE="GPL-2 public-domain" KEYWORDS="x86 ~alpha" ! IUSE="ssl nls ipv6i kerberos krb4" DEPEND="virtual/glibc ssl? ( >=dev-libs/openssl-0.9.6 ) *************** *** 29,34 **** --- 29,36 ---- use ssl && myconf="${myconf} --with-ssl=/usr" use nls || myconf="${myconf} --disable-nls" use ipv6 && myconf="${myconf} --enable-inet6" + use kerberos && myconf="${myconf} --with-gssapi=/usr/include --with-kerberos5=/usr" + use krb4 && myconf="${myconf} --with-kerberos=/usr" econf \ --enable-RPA \ --enable-NTLM \ I have tested this patch on my own machine and it works fine for me.
fetchmail-6.2.4 has been added to portage with kerberos and krb4 support. Please test and let me know how things work for you.