diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-04-01 05:03:15 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-04-01 05:03:15 +0000 |
commit | f4ae410928de80ee8cef9ffffa89c73895ba5be0 (patch) | |
tree | 39f6d7bca1384d3df750467bc44daba93139faac /security | |
parent | upgrade to 0.8.44 (diff) |
Add new port security/pam_passwdqc - A pam module to validate passwords
for quality
PR: 36597
Submitted by: Dominic Marks <dominic_marks@btinernet.com>
Notes
Notes:
svn path=/head/; revision=57112
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/pam_passwdqc/Makefile | 18 | ||||
-rw-r--r-- | security/pam_passwdqc/distinfo | 1 | ||||
-rw-r--r-- | security/pam_passwdqc/files/patch-Makefile | 36 | ||||
-rw-r--r-- | security/pam_passwdqc/pkg-comment | 1 | ||||
-rw-r--r-- | security/pam_passwdqc/pkg-descr | 8 | ||||
-rw-r--r-- | security/pam_passwdqc/pkg-plist | 1 |
7 files changed, 66 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 5b3c87876f08..dcc4665bcb27 100644 --- a/security/Makefile +++ b/security/Makefile @@ -167,6 +167,7 @@ SUBDIR += pam_alreadyloggedin SUBDIR += pam_krb5 SUBDIR += pam_ldap + SUBDIR += pam_passwdqc SUBDIR += pam_pwdfile SUBDIR += pam_smb SUBDIR += pam_ssh diff --git a/security/pam_passwdqc/Makefile b/security/pam_passwdqc/Makefile new file mode 100644 index 000000000000..ff90a5fc3b0a --- /dev/null +++ b/security/pam_passwdqc/Makefile @@ -0,0 +1,18 @@ +# New ports collection makefile for: pam_passwdqc +# Date created: 01/04/2002 +# Whom: Dominic Marks <dominic_marks@btinternet.com> +# +# $FreeBSD$ +# + +PORTNAME= pam_passwdqc +PORTVERSION= 0.4 +CATEGORIES= security +MASTER_SITES= http://www.openwall.com/passwdqc/ + +MAINTAINER= dominic_marks@btinternet.com + +do-install: + @${INSTALL_DATA} ${WRKSRC}/pam_passwdqc.so ${PREFIX}/lib + +.include <bsd.port.mk> diff --git a/security/pam_passwdqc/distinfo b/security/pam_passwdqc/distinfo new file mode 100644 index 000000000000..77475db209ed --- /dev/null +++ b/security/pam_passwdqc/distinfo @@ -0,0 +1 @@ +MD5 (pam_passwdqc-0.4.tar.gz) = e19fbb925c7badb7033fe462a7faf205 diff --git a/security/pam_passwdqc/files/patch-Makefile b/security/pam_passwdqc/files/patch-Makefile new file mode 100644 index 000000000000..0d905a63c013 --- /dev/null +++ b/security/pam_passwdqc/files/patch-Makefile @@ -0,0 +1,36 @@ +--- Makefile.orig Fri Oct 12 18:09:30 2001 ++++ Makefile Sun Mar 31 22:49:43 2002 +@@ -2,13 +2,12 @@ + # Copyright (c) 2000,2001 by Solar Designer. See LICENSE. + # + +-CC = gcc + LD = ld + RM = rm -f + MKDIR = mkdir -p + INSTALL = install +-CFLAGS = -c -Wall -fPIC -DHAVE_SHADOW -O2 +-LDFLAGS = -s -lpam -lcrypt --shared ++CFLAGS += -c -Wall -fPIC ++LDFLAGS = -lpam -lcrypt -shared + LDFLAGS_SUN = -s -lpam -lcrypt -G + + TITLE = pam_passwdqc +@@ -20,15 +19,8 @@ + PROJ = $(LIBSHARED) + OBJS = pam_passwdqc.o passwdqc_check.o passwdqc_random.o wordset_4k.o + +-all: +- if [ "`uname -s`" = "SunOS" ]; then \ +- make LDFLAGS="$(LDFLAGS_SUN)" $(PROJ); \ +- else \ +- make $(PROJ); \ +- fi +- +-$(LIBSHARED): $(OBJS) +- $(LD) $(LDFLAGS) $(OBJS) -o $(LIBSHARED) ++all: $(OBJS) ++ $(CC) $(OBJS) -o $(LIBSHARED) $(LDFLAGS) + + .c.o: + $(CC) $(CFLAGS) $*.c diff --git a/security/pam_passwdqc/pkg-comment b/security/pam_passwdqc/pkg-comment new file mode 100644 index 000000000000..5f9ea6555395 --- /dev/null +++ b/security/pam_passwdqc/pkg-comment @@ -0,0 +1 @@ +A pam module to validate passwords for quality diff --git a/security/pam_passwdqc/pkg-descr b/security/pam_passwdqc/pkg-descr new file mode 100644 index 000000000000..ec2fd5aa8e1c --- /dev/null +++ b/security/pam_passwdqc/pkg-descr @@ -0,0 +1,8 @@ +This PAM module validates passwords for resistance against password +attacks. It examines passwords in the same way as cracking tools examine +the password hash. + +WWW: http://www.openwall.com/passwdqc/ + +- Dominic +dominic_marks@btinternet.com diff --git a/security/pam_passwdqc/pkg-plist b/security/pam_passwdqc/pkg-plist new file mode 100644 index 000000000000..91adab93b0c8 --- /dev/null +++ b/security/pam_passwdqc/pkg-plist @@ -0,0 +1 @@ +lib/pam_passwdqc.so |