summaryrefslogtreecommitdiff
blob: 42db02ac7378e30a3edf55dcc145af402d77b983 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_authn_pam/mod_authn_pam-0.0.1.ebuild,v 1.1 2008/02/07 21:34:37 hollow Exp $

inherit eutils apache-module

DESCRIPTION="PAM authentication module for Apache."
HOMEPAGE="http://mod-auth.sourceforge.net/docs/mod_authn_pam/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"

LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="sys-libs/pam"
RDEPEND="${DEPEND}"

APXS2_ARGS="-c ${PN}.c -lpam"
APACHE2_MOD_CONF="10_${PN}"
APACHE2_MOD_DEFINE="AUTHN_PAM"

need_apache2_2

src_install() {
	apache-module_src_install
	insinto /etc/pam.d
	newins "${FILESDIR}"/apache2.pam apache2
}