1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit apache-module eutils
7 DESCRIPTION="Apache module for cookie based authentication"
8 HOMEPAGE="http://www.openfusion.com.au/labs/mod_auth_tkt/"
9 SRC_URI="http://www.openfusion.com.au/labs/dist/${PN}/${P}.tar.gz"
13 KEYWORDS="~amd64 ~x86"
16 DEPEND="dev-lang/perl"
19 APACHE2_MOD_CONF="10_${PN}"
20 APACHE2_MOD_DEFINE="AUTH_TKT"
24 # test suite is completely broken
30 epatch "${FILESDIR}"/${P}-apache-2.4.patch
34 ./configure --apachever=2.2 --apxs=${APXS}
42 apache-module_src_install
43 pod2man --section=5 --release=${PV} doc/${PN}.{pod,5}
48 apache-module_pkg_postinst
49 einfo "See 'man mod_auth_tkt' for details on the individual directives."
50 einfo "Remember to change shared secret 'TKTAuthSecret' before using!"