Lines 1-6
Link Here
|
1 |
# Copyright 1999-2010 Gentoo Foundation |
1 |
# Copyright 1999-2011 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.7.3-r1.ebuild,v 1.2 2010/01/10 05:10:27 mr_bones_ Exp $ |
3 |
# $Header$ |
|
|
4 |
|
5 |
EAPI=2 |
4 |
|
6 |
|
5 |
inherit eutils flag-o-matic autotools linux-info |
7 |
inherit eutils flag-o-matic autotools linux-info |
6 |
|
8 |
|
Lines 10-22
Link Here
|
10 |
|
12 |
|
11 |
LICENSE="BSD" |
13 |
LICENSE="BSD" |
12 |
SLOT="0" |
14 |
SLOT="0" |
13 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
15 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" |
14 |
IUSE="idea ipv6 pam rc5 readline selinux ldap kerberos nat hybrid iconv selinux" |
16 |
IUSE="idea ipv6 pam rc5 readline selinux ldap kerberos nat hybrid iconv selinux" |
15 |
|
17 |
|
16 |
DEPEND_COMMON=" |
18 |
DEPEND_COMMON=" |
17 |
selinux? ( sys-libs/libselinux ) |
19 |
selinux? ( sys-libs/libselinux ) |
18 |
readline? ( sys-libs/readline ) |
20 |
readline? ( sys-libs/readline ) |
19 |
pam? ( sys-libs/pam ) |
21 |
pam? ( virtual/pam ) |
20 |
ldap? ( net-nds/openldap ) |
22 |
ldap? ( net-nds/openldap ) |
21 |
kerberos? ( virtual/krb5 ) |
23 |
kerberos? ( virtual/krb5 ) |
22 |
>=dev-libs/openssl-0.9.8 |
24 |
>=dev-libs/openssl-0.9.8 |
Lines 27-33
Link Here
|
27 |
selinux? ( sec-policy/selinux-ipsec-tools )" |
29 |
selinux? ( sec-policy/selinux-ipsec-tools )" |
28 |
|
30 |
|
29 |
DEPEND="${DEPEND_COMMON} |
31 |
DEPEND="${DEPEND_COMMON} |
30 |
>=sys-kernel/linux-headers-2.6.30" |
32 |
kernel_linux? ( >=sys-kernel/linux-headers-2.6.30 )" |
31 |
|
33 |
|
32 |
pkg_setup() { |
34 |
pkg_setup() { |
33 |
get_version |
35 |
get_version |
Lines 74-82
Link Here
|
74 |
fi |
76 |
fi |
75 |
} |
77 |
} |
76 |
|
78 |
|
77 |
src_unpack() { |
79 |
src_prepare() { |
78 |
unpack ${A} |
|
|
79 |
cd "${S}" |
80 |
# fix for bug #76741 |
80 |
# fix for bug #76741 |
81 |
sed -i 's:#include <sys/sysctl.h>::' src/racoon/pfkey.c src/setkey/setkey.c |
81 |
sed -i 's:#include <sys/sysctl.h>::' src/racoon/pfkey.c src/setkey/setkey.c |
82 |
# fix for bug #124813 |
82 |
# fix for bug #124813 |