/[gentoo-x86]/net-firewall/ipsec-tools/ipsec-tools-0.6.3.ebuild
Gentoo

Contents of /net-firewall/ipsec-tools/ipsec-tools-0.6.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Apr 21 12:24:23 2007 UTC (7 years, 6 months ago) by dragonheart
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
sercurity version bump as per bug #173219. Init script enhancement as per bug #151375. bug #152971 for major enhancements to this ebuild
(Portage version: 2.1.2.2)

1 # Copyright 1999-2006 Gentoo Foundation
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.4 2006/10/25 14:30:58 blubb Exp $
4
5 inherit eutils flag-o-matic
6
7 DESCRIPTION="IPsec-Tools is a port of KAME's IPsec utilities to the Linux-2.6 IPsec implementation."
8 HOMEPAGE="http://ipsec-tools.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
10 LICENSE="BSD"
11 KEYWORDS="amd64 ~ppc x86"
12 SLOT="0"
13 IUSE="idea ipv6 pam rc5 readline selinux"
14
15 DEPEND="virtual/libc
16 !<sys-kernel/linux-headers-2.6
17 readline? ( sys-libs/readline )
18 pam? ( sys-libs/pam )
19 >=dev-libs/openssl-0.9.6"
20
21 RDEPEND="${DEPEND}
22 selinux? ( sec-policy/selinux-ipsec-tools )"
23
24 src_unpack() {
25 unpack ${A}
26 cd ${S}
27 sed -i 's:#include <sys/sysctl.h>::' src/racoon/pfkey.c src/setkey/setkey.c
28 epunt_cxx
29 }
30
31 src_compile() {
32 # Filter the c3 flag for now. Probably a GCC problem, but we'll
33 # avoid it here for now. See bug #61025
34 filter-flags -march=c3
35
36 econf \
37 --enable-hybrid \
38 --enable-dpd \
39 --enable-natt \
40 --enable-adminport \
41 --enable-frag \
42 $(use_enable idea) \
43 $(use_enable rc5) \
44 $(use_enable ipv6) \
45 $(use_with readline) \
46 $(use_with pam libpam) \
47 || die
48 # Removed due to some problems
49 # --enable-samode-unspec \
50 emake -j1 || die
51 }
52
53 src_install() {
54 einstall || die
55 keepdir /var/lib/racoon
56 insinto /etc/conf.d && newins ${FILESDIR}/racoon.conf.d racoon
57 exeinto /etc/init.d && newexe ${FILESDIR}/racoon.init.d racoon
58
59 dodoc ChangeLog README NEWS
60 dodoc ${S}/src/racoon/samples/racoon.conf.sample*
61 }

  ViewVC Help
Powered by ViewVC 1.1.20