blob: 878aebee4c0e0ebc80da3f9a34e8680e2ddffb95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
inherit apache-module eutils
DESCRIPTION="Radius authentication for Apache"
HOMEPAGE="http://freeradius.org/mod_auth_radius/"
SRC_URI="ftp://ftp.freeradius.org/pub/radius/${P}.tar"
LICENSE="Apache-2.0"
KEYWORDS="~amd64"
SLOT="0"
IUSE=""
APACHE2_MOD_FILE=".libs/mod_auth_radius-2.0.so"
APACHE2_MOD_DEFINE="AUTH_RADIUS"
APXS2_ARGS="-c ${PN}-2.0.c"
DOCFILES="README"
need_apache2
src_prepare() {
epatch "${FILESDIR}/${PV}-includes.patch"
if has_version ">=www-servers/apache-2.4"; then
epatch "${FILESDIR}/${PV}-remote_ip-obsolete.patch"
fi
}
src_compile() {
apache-module_src_compile
}
src_install() {
apache-module_src_install
}
|