# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/openswan/openswan-2.6.38.ebuild,v 1.1 2012/04/07 02:44:16 floppym Exp $ EAPI="4" inherit eutils linux-info toolchain-funcs flag-o-matic DESCRIPTION="Open Source implementation of IPsec for the Linux operating system (was SuperFreeS/WAN)." HOMEPAGE="http://www.openswan.org/" SRC_URI="http://download.openswan.org/openswan/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="caps curl ldap pam ssl extra-algorithms weak-algorithms nocrypto-algorithms ms-bad-proposal nss" RESTRICT="test" # requires user mode linux setup COMMON_DEPEND="!net-misc/strongswan dev-libs/gmp dev-lang/perl caps? ( sys-libs/libcap-ng ) curl? ( net-misc/curl ) ldap? ( net-nds/openldap ) nss? ( dev-libs/nss ) ssl? ( dev-libs/openssl )" DEPEND="${COMMON_DEPEND} virtual/linux-sources app-text/xmlto app-text/docbook-xml-dtd:4.1.2" # see bug 237132 RDEPEND="${COMMON_DEPEND} || ( sys-apps/net-tools[old-output]