summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/pam_passwdqc/pam_passwdqc-0.7.4.ebuild')
-rw-r--r--sys-libs/pam_passwdqc/pam_passwdqc-0.7.4.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/sys-libs/pam_passwdqc/pam_passwdqc-0.7.4.ebuild b/sys-libs/pam_passwdqc/pam_passwdqc-0.7.4.ebuild
new file mode 100644
index 000000000000..cf7a98b5bf80
--- /dev/null
+++ b/sys-libs/pam_passwdqc/pam_passwdqc-0.7.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# 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.1 2003/09/17 04:39:46 hhg Exp $
+
+IUSE="pam"
+
+DESCRIPTION="Password strength checking for PAM aware password changing programs. This is an alternative to the default cracklib."
+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 ~arm"
+
+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
+}