summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-02-22 10:32:00 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-02-22 10:32:00 +0000
commitf16fc3e479e548d5d13e9066954f1b359ba785ed (patch)
tree4225ac1a317300bfb62f1d8fefea94aafbe4a15a /net-mail/fetchmail
parentadding dependency to autoconf (Manifest recommit) (diff)
downloadgentoo-2-f16fc3e479e548d5d13e9066954f1b359ba785ed.tar.gz
gentoo-2-f16fc3e479e548d5d13e9066954f1b359ba785ed.tar.bz2
gentoo-2-f16fc3e479e548d5d13e9066954f1b359ba785ed.zip
Closing #28113.
Diffstat (limited to 'net-mail/fetchmail')
-rw-r--r--net-mail/fetchmail/ChangeLog5
-rw-r--r--net-mail/fetchmail/fetchmail-6.2.5.ebuild10
-rw-r--r--net-mail/fetchmail/files/fetchmail-6.2.5-kerberos.patch25
3 files changed, 36 insertions, 4 deletions
diff --git a/net-mail/fetchmail/ChangeLog b/net-mail/fetchmail/ChangeLog
index d422ab699315..98b59d622a8c 100644
--- a/net-mail/fetchmail/ChangeLog
+++ b/net-mail/fetchmail/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-mail/fetchmail
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.40 2004/01/18 22:59:02 tuxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/ChangeLog,v 1.41 2004/02/22 10:32:00 aliz Exp $
+
+ 22 Feb 2004; Daniel Ahlberg <aliz@gentoo.org> fetchmail-6.2.5.ebuild:
+ Fix kerberos5 support. Closing #28113.
18 Jan 2004; <tuxus@gentoo.org> fetchmail-6.2.3.ebuild:
Added ~mips to KEYWORDS.
diff --git a/net-mail/fetchmail/fetchmail-6.2.5.ebuild b/net-mail/fetchmail/fetchmail-6.2.5.ebuild
index 3882e9c03796..c7c088ac6786 100644
--- a/net-mail/fetchmail/fetchmail-6.2.5.ebuild
+++ b/net-mail/fetchmail/fetchmail-6.2.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/fetchmail-6.2.5.ebuild,v 1.4 2003/11/22 01:40:19 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/fetchmail/fetchmail-6.2.5.ebuild,v 1.5 2004/02/22 10:32:00 aliz Exp $
IUSE="ssl nls ipv6 kerberos krb4"
@@ -18,16 +18,20 @@ DEPEND="virtual/glibc
ssl? ( >=dev-libs/openssl-0.9.6 )
nls? ( sys-devel/gettext )
kerberos? ( virtual/krb5 )
- krb4? ( app-crypt/kth-krb )"
+ krb4? ( app-crypt/kth-krb )
+ sys-devel/autoconf"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PN}-6.2.0-gentoo.diff || die
+ epatch ${FILESDIR}/${P}-kerberos.patch
}
src_compile() {
+ autoconf
+
use amd64 && gnuconfig_update
local myconf
diff --git a/net-mail/fetchmail/files/fetchmail-6.2.5-kerberos.patch b/net-mail/fetchmail/files/fetchmail-6.2.5-kerberos.patch
new file mode 100644
index 000000000000..cdba95285b66
--- /dev/null
+++ b/net-mail/fetchmail/files/fetchmail-6.2.5-kerberos.patch
@@ -0,0 +1,25 @@
+--- /tmp/configure.in 2004-02-22 10:23:16.711353561 +0000
++++ configure.in 2004-02-22 10:26:37.916800464 +0000
+@@ -465,15 +465,13 @@
+ else
+ AC_MSG_RESULT([found])
+ ac_krblibs="-lcom_err"
+- AC_CHECK_LIB(crypto,
+- krb5_des_string_to_key,
+- libk5crypto=-lcrypto,
+- AC_CHECK_LIB(k5crypto,
+- krb5_des_string_to_key,
+- libk5crypto=-lk5crypto,
+- AC_ERROR([Kerberos 5 DES libraries not found]),
+- ${LDEFLAGS} ${ac_krblibs}),
+- ${LDEFLAGS} ${ac_krblibs})
++ AC_CHECK_LIB(crypto, krb5_des_string_to_key, libk5crypto=-lcrypto,
++ AC_CHECK_LIB(k5crypto, krb5_des_string_to_key, libk5crypto=-lk5crypto,
++ AC_CHECK_LIB(k5crypto, krb5int_des_string_to_key, libk5crypto=-lk5crypto,
++ AC_ERROR([Kerberos 5 DES libraries not found]),
++ ${LDEFLAGS} ${ac_krblibs}),
++ ${LDEFLAGS} ${ac_krblibs}),
++ ${LDEFLAGS} ${ac_krblibs})
+ fi
+ AC_CHECK_LIB(krb5, krb5_init_context,[],
+ continue,