blob: 8a5c259bbb000d7a8a28b9acdb566ea8162f029f (
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-2004 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.4.ebuild,v 1.4 2004/06/24 23:08:33 agriffis 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"
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
}
|