summaryrefslogtreecommitdiff
blob: b6d651e947484b3eea0406ec43aac8d75192e405 (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"

inherit autotools eutils

DESCRIPTION="Radius authentication for Apache"
HOMEPAGE="http://www.outoforder.cc/projects/apache/mod_auth_xradius/"
SRC_URI="http://www.outoforder.cc/downloads/${PN}/${P}.tar.bz2"

LICENSE="Apache-2.0"
KEYWORDS="~amd64"
SLOT="0"
IUSE=""

DEPEND="www-servers/apache"
DOCFILES="README"

src_prepare() {
	epatch "${FILESDIR}/${PV}-obsolete-autotools-syntax.diff"
	epatch "${FILESDIR}/${PV}-fallback-support.diff"
	if has_version ">=www-servers/apache-2.4"; then
		epatch "${FILESDIR}/${PV}-apache24-api-changes.diff"
	fi
	AT_M4DIR="m4" eautoreconf
}