1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Add new port security/pam_passwdqc - A pam module to validate passwords

for quality

PR:		36597
Submitted by:	Dominic Marks <dominic_marks@btinernet.com>
This commit is contained in:
Patrick Li 2002-04-01 05:03:15 +00:00
parent 8c219f55dd
commit f4ae410928
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57112
7 changed files with 66 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (pam_passwdqc-0.4.tar.gz) = e19fbb925c7badb7033fe462a7faf205

View File

@ -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

View File

@ -0,0 +1 @@
A pam module to validate passwords for quality

View File

@ -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

View File

@ -0,0 +1 @@
lib/pam_passwdqc.so