--- ipsec-tools-0.6.3.ebuild 2005-12-02 18:02:20.000000000 +0900 +++ ipsec-tools-0.6.5.ebuild 2006-02-07 12:52:04.000000000 +0900 @@ -1,21 +1,22 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-firewall/ipsec-tools/ipsec-tools-0.6.3.ebuild,v 1.1 2005/12/02 09:02:20 latexer Exp $ +# $Header$ inherit eutils flag-o-matic -DESCRIPTION="IPsec-Tools is a port of KAME's IPsec utilities to the Linux-2.6 IPsec implementation." +DESCRIPTION="A port of KAME's IPsec utilities to the Linux-2.6 IPsec implementation" HOMEPAGE="http://ipsec-tools.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" LICENSE="BSD" KEYWORDS="~x86 ~amd64 ~ppc" SLOT="0" -IUSE="idea ipv6 pam rc5 readline selinux" +IUSE="idea ipv6 kerberos pam rc5 readline selinux" DEPEND="virtual/libc >=sys-kernel/linux-headers-2.6 readline? ( sys-libs/readline ) pam? ( sys-libs/pam ) + kerberos? (app-crypt/mit-krb5) >=dev-libs/openssl-0.9.6" RDEPEND="${DEPEND} @@ -24,6 +25,7 @@ src_unpack() { unpack ${A} cd ${S} + # See bug #76741 sed -i 's:#include ::' src/racoon/pfkey.c src/setkey/setkey.c epunt_cxx } @@ -33,7 +35,7 @@ # avoid it here for now. See bug #61025 filter-flags -march=c3 - econf \ + econf \ --enable-hybrid \ --enable-dpd \ --enable-natt \ @@ -42,11 +44,11 @@ $(use_enable idea) \ $(use_enable rc5) \ $(use_enable ipv6) \ + $(use_enable kerberos gssapi) \ $(use_with readline) \ $(use_with pam libpam) \ || die - # Removed due to some problems - # --enable-samode-unspec \ + # As of ${PN}-0.6.5 parallel make is still broken emake -j1 || die } @@ -58,4 +60,8 @@ dodoc ChangeLog README NEWS dodoc ${S}/src/racoon/samples/racoon.conf.sample* + + if use kerberos; then + ewarn "NB: Kerberos support with Linux is unstable at best" + fi }