summaryrefslogtreecommitdiff
blob: 2cf5b2b486a7902bc41497e6e8d15436483f3576 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/pwauth/pwauth-2.3.1-r1.ebuild,v 1.1 2005/03/03 18:18:19 hollow Exp $

inherit eutils

DESCRIPTION="A Unix Web Authenticator"
HOMEPAGE="http://www.unixpapa.com/pwauth/"
SRC_URI="http://www.unixpapa.com/software/${P}.tar.gz"

DEPEND="sys-libs/pam"
LICENSE="Apache-1.1"
KEYWORDS="~x86"
IUSE=""
SLOT="0"

src_unpack() {
	unpack ${A} || die "unpack failed"
	cd ${S} || die "cd to $s failed"
	sed -ie 's:SERVER_UIDS 72:SERVER_UIDS 81:' config.h
}

src_install() {
	dosbin pwauth unixgroup
	insinto /etc/pam.d/
	newins ${FILESDIR}/pwauth.pam pwauth
	dodoc CHANGES FORM_AUTH INSTALL README
}