summaryrefslogtreecommitdiff
blob: 1225b5a1c41d3abe4cf67720b60f7d86c4833e31 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam_passwdqc/pam_passwdqc-0.7.5.ebuild,v 1.5 2005/03/04 00:02:51 kugelfang Exp $


DESCRIPTION="Password strength checking for PAM aware password changing programs"
HOMEPAGE="http://www.openwall.com/passwdqc/"
SRC_URI="http://www.openwall.com/pam/modules/pam_passwdqc/${P}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="x86 ppc ~sparc ~alpha ~hppa ~mips ~amd64"

DEPEND=">=sys-libs/pam-0.72"

src_unpack() {
	unpack ${P}.tar.gz
	cd ${S}
}

src_compile() {
	emake || die "problem in compile"
}

src_install() {
	exeinto /lib/security
	doexe pam_passwdqc.so

	doman pam_passwdqc.8
	dodoc README

	echo
	einfo "To activate pam_passwdqc use pam_passwdqc.so instead"
	einfo "of pam_cracklib.so in /etc/pam.d/system-auth."
	einfo "Also, if you want to change the parameters, read up"
	einfo "on the man page."
	echo
}