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

(-)freeradius.orig//freeradius-2.1.12.ebuild (-2 / +6 lines)
Lines 4-10 Link Here
4
4
5
EAPI="4"
5
EAPI="4"
6
6
7
inherit eutils multilib pam autotools libtool
7
inherit eutils multilib pam autotools libtool python
8
8
9
DESCRIPTION="Highly configurable free RADIUS server"
9
DESCRIPTION="Highly configurable free RADIUS server"
10
SRC_URI="ftp://ftp.freeradius.org/pub/radius/${PN}-server-${PV}.tar.gz"
10
SRC_URI="ftp://ftp.freeradius.org/pub/radius/${PN}-server-${PV}.tar.gz"
Lines 30-36 Link Here
30
	ssl? ( dev-libs/openssl )
30
	ssl? ( dev-libs/openssl )
31
	ldap? ( net-nds/openldap )
31
	ldap? ( net-nds/openldap )
32
	kerberos? ( virtual/krb5 )
32
	kerberos? ( virtual/krb5 )
33
	frxp? ( dev-lang/python )"
33
	frxp? ( >=dev-lang/python-2.4 )"
34
DEPEND="${RDEPEND}"
34
DEPEND="${RDEPEND}"
35
35
36
REQUIRED_USE="frxp? ( threads )"
36
REQUIRED_USE="frxp? ( threads )"
Lines 38-43 Link Here
38
S="${WORKDIR}/${PN}-server-${PV}"
38
S="${WORKDIR}/${PN}-server-${PV}"
39
39
40
pkg_setup() {
40
pkg_setup() {
41
        if use frxp; then
42
                python_pkg_setup
43
        fi
44
41
	if use edirectory && ! use ldap ; then
45
	if use edirectory && ! use ldap ; then
42
		eerror "Cannot add integration with Novell's eDirectory without having LDAP support!"
46
		eerror "Cannot add integration with Novell's eDirectory without having LDAP support!"
43
		eerror "Either you select ldap USE flag or remove edirectory"
47
		eerror "Either you select ldap USE flag or remove edirectory"

Return to bug 315091