summaryrefslogtreecommitdiff
path: root/www-apache/mod_auth_radius/mod_auth_radius-1.6.0.ebuild
blob: 5b9ee1709fc04c09afb953103caea8121f6004fe (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
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit apache-module depend.apache eapi9-ver

DESCRIPTION="Radius authentication for Apache"
HOMEPAGE="https://freeradius.org/sub_projects/ https://github.com/FreeRADIUS/mod_auth_radius/"
SRC_URI="https://github.com/FreeRADIUS/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

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

APACHE2_MOD_DEFINE="AUTH_RADIUS"

DOCFILES="README.asciidoc"

need_apache2

# Work around Bug #616612
pkg_setup() {
	_init_apache2
	_init_apache2_late
}

pkg_postinst() {
	if ver_replacing -lt 1.6.0; then
		ewarn "Please note that upstream has changed the name of this module from"
		ewarn "    ${PN}-2.0.so"
		ewarn "to simply"
		ewarn "    ${PN}.so"
	fi
}