Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 121919
Collapse All | Expand All

(-)ipsec-tools-0.6.3.ebuild (-7 / +13 lines)
Lines 1-21 Link Here
1
# Copyright 1999-2005 Gentoo Foundation
1
# Copyright 1999-2006 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $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 $
3
# $Header$
4
4
5
inherit eutils flag-o-matic
5
inherit eutils flag-o-matic
6
6
7
DESCRIPTION="IPsec-Tools is a port of KAME's IPsec utilities to the Linux-2.6 IPsec implementation."
7
DESCRIPTION="A port of KAME's IPsec utilities to the Linux-2.6 IPsec implementation"
8
HOMEPAGE="http://ipsec-tools.sourceforge.net/"
8
HOMEPAGE="http://ipsec-tools.sourceforge.net/"
9
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
9
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
10
LICENSE="BSD"
10
LICENSE="BSD"
11
KEYWORDS="~x86 ~amd64 ~ppc"
11
KEYWORDS="~x86 ~amd64 ~ppc"
12
SLOT="0"
12
SLOT="0"
13
IUSE="idea ipv6 pam rc5 readline selinux"
13
IUSE="idea ipv6 kerberos pam rc5 readline selinux"
14
14
15
DEPEND="virtual/libc
15
DEPEND="virtual/libc
16
	>=sys-kernel/linux-headers-2.6
16
	>=sys-kernel/linux-headers-2.6
17
	readline? ( sys-libs/readline )
17
	readline? ( sys-libs/readline )
18
	pam? ( sys-libs/pam )
18
	pam? ( sys-libs/pam )
19
	kerberos? (app-crypt/mit-krb5)
19
	>=dev-libs/openssl-0.9.6"
20
	>=dev-libs/openssl-0.9.6"
20
21
21
RDEPEND="${DEPEND}
22
RDEPEND="${DEPEND}
Lines 24-29 Link Here
24
src_unpack() {
25
src_unpack() {
25
	unpack ${A}
26
	unpack ${A}
26
	cd ${S}
27
	cd ${S}
28
	# See bug #76741
27
	sed -i 's:#include <sys/sysctl.h>::' src/racoon/pfkey.c src/setkey/setkey.c
29
	sed -i 's:#include <sys/sysctl.h>::' src/racoon/pfkey.c src/setkey/setkey.c
28
	epunt_cxx
30
	epunt_cxx
29
}
31
}
Lines 33-39 Link Here
33
	# avoid it here for now. See bug #61025
35
	# avoid it here for now. See bug #61025
34
	filter-flags -march=c3
36
	filter-flags -march=c3
35
37
36
	econf	\
38
	econf \
37
		--enable-hybrid \
39
		--enable-hybrid \
38
		--enable-dpd \
40
		--enable-dpd \
39
		--enable-natt \
41
		--enable-natt \
Lines 42-52 Link Here
42
		$(use_enable idea) \
44
		$(use_enable idea) \
43
		$(use_enable rc5) \
45
		$(use_enable rc5) \
44
		$(use_enable ipv6) \
46
		$(use_enable ipv6) \
47
		$(use_enable kerberos gssapi) \
45
		$(use_with readline) \
48
		$(use_with readline) \
46
		$(use_with pam libpam) \
49
		$(use_with pam libpam) \
47
		|| die
50
		|| die
48
		# Removed due to some problems
51
	# As of ${PN}-0.6.5 parallel make is still broken
49
		# --enable-samode-unspec \
50
	emake -j1 || die
52
	emake -j1 || die
51
}
53
}
52
54
Lines 58-61 Link Here
58
60
59
	dodoc ChangeLog README NEWS
61
	dodoc ChangeLog README NEWS
60
	dodoc ${S}/src/racoon/samples/racoon.conf.sample*
62
	dodoc ${S}/src/racoon/samples/racoon.conf.sample*
63
64
	if use kerberos; then
65
	   ewarn "NB: Kerberos support with Linux is unstable at best"
66
	fi
61
}
67
}

Return to bug 121919