blob: fdc4d21427e69761c2f856ff14be0cfa3efa962b (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit apache-module eutils
DESCRIPTION="Apache module for cookie based authentication"
HOMEPAGE="http://www.openfusion.com.au/labs/mod_auth_tkt/"
SRC_URI="http://www.openfusion.com.au/labs/dist/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-lang/perl"
RDEPEND=""
APACHE2_MOD_CONF="10_${PN}"
APACHE2_MOD_DEFINE="AUTH_TKT"
DOCFILES="README"
# test suite is completely broken
RESTRICT="test"
need_apache2
src_prepare() {
epatch "${FILESDIR}"/${P}-apache-2.4.patch
}
src_configure() {
./configure --apachever=2.2 --apxs=${APXS}
}
src_compile() {
emake
}
src_install() {
apache-module_src_install
pod2man --section=5 --release=${PV} doc/${PN}.{pod,5}
doman doc/${PN}.5
}
pkg_postinst() {
apache-module_pkg_postinst
einfo "See 'man mod_auth_tkt' for details on the individual directives."
einfo "Remember to change shared secret 'TKTAuthSecret' before using!"
einfo
}
|