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

Contents of /net-firewall/ipsec-tools/ipsec-tools-0.5_rc1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Mar 10 23:33:39 2005 UTC (9 years, 6 months ago) by latexer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove broken release candidate.
(Portage version: 2.0.51.19)

1 # Copyright 1999-2005 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.5_rc1.ebuild,v 1.2 2005/01/11 23:48:30 johnm Exp $
4
5 inherit eutils
6
7 MY_P=${P/_/-}
8
9 DESCRIPTION="IPsec-Tools is a port of KAME's IPsec utilities to the Linux-2.6 IPsec implementation."
10 HOMEPAGE="http://ipsec-tools.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
12 LICENSE="BSD"
13 KEYWORDS="~x86 ~amd64"
14 SLOT="0"
15 IUSE="ipv6 selinux"
16 S=${WORKDIR}/${MY_P}
17 DEPEND="virtual/libc
18 || ( >=sys-kernel/linux-headers-2.6 sys-kernel/linux26-headers )
19 >=dev-libs/openssl-0.9.6"
20 RDEPEND="${DEPEND}
21 selinux? ( sec-policy/selinux-ipsec-tools )"
22
23 src_unpack() {
24 unpack ${A}
25 cd ${S}
26 sed -i 's:#include <sys/sysctl.h>::' src/racoon/pfkey.c src/setkey/setkey.c
27 epunt_cxx
28 }
29
30 src_compile() {
31 econf \
32 --enable-hybrid \
33 --enable-dpd \
34 --enable-natt \
35 --enable-adminport \
36 --enable-samode-unspec \
37 --enable-frag \
38 $(use_enable ipv6) \
39 || die
40 emake -j1 || die
41 }
42
43 src_install() {
44 einstall || die
45 keepdir /var/lib/racoon
46 insinto /etc/conf.d && newins ${FILESDIR}/racoon.conf.d racoon
47 exeinto /etc/init.d && newexe ${FILESDIR}/racoon.init.d racoon
48
49 dodoc ChangeLog README NEWS
50 dodoc ${S}/src/racoon/samples/racoon.conf.sample*
51 }

  ViewVC Help
Powered by ViewVC 1.1.20