You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/www-apache/mod_auth_radius/mod_auth_radius-1.5.8.ebuild

41 lines
895 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_auth_radius/mod_auth_radius-1.5.8.ebuild,v 1.2 2013/05/13 13:31:43 chainsaw Exp $
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
}