Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2000 15:48:20 -0500 (EST)
From:      ajk@iu.edu
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23392: New port: Alec Muffett's cracklib (password checking library)
Message-ID:  <200012082048.eB8KmKs23208@kobayashi.uits.iupui.edu>
Resent-Message-ID: <200012082050.eB8Ko9G02340@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         23392
>Category:       ports
>Synopsis:       New port: Alec Muffett's cracklib (password checking library)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 08 12:50:05 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Andrew J. Korty
>Release:        FreeBSD 4.2-RELEASE i386
>Organization:
IT Security Office, Indiana University
>Environment:

FreeBSD 4.2-RELEASE with current ports from HEAD branch

>Description:

Alec Muffett, author of the "crack" program, also wrote this library
that is useful for checking passwords on the fly when they are
changed.

>How-To-Repeat:

N/A

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	cracklib
#	cracklib/Makefile
#	cracklib/files
#	cracklib/files/patch-aa
#	cracklib/pkg-descr
#	cracklib/pkg-comment
#	cracklib/pkg-plist
#	cracklib/distinfo
#
echo c - cracklib
mkdir -p cracklib > /dev/null 2>&1
echo x - cracklib/Makefile
sed 's/^X//' >cracklib/Makefile << 'END-of-cracklib/Makefile'
X# New ports collection makefile for:	cracklib
X# Date created:				22 April 2000
X# Whom:					ajk@iu.edu
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cracklib
XPORTVERSION=	2.7
XCATEGORIES=	security
XMASTER_SITES=	http://www.users.dircon.co.uk/~crypto/download/
XDISTNAME=	${PORTNAME},${PORTVERSION}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	ajk@iu.edu
X
Xpre-install:
X	${INSTALL_DATA} ${WRKSRC}/cracklib/libcrack.a ${PREFIX}/lib
X	${INSTALL_SCRIPT} ${WRKSRC}/util/mkdict ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/util/packer ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/util/testlib ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/util/testnum ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/util/teststr ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/util/unpacker ${PREFIX}/bin
X	${MKDIR} ${PREFIX}/libdata/cracklib
X
X.include <bsd.port.mk>
END-of-cracklib/Makefile
echo c - cracklib/files
mkdir -p cracklib/files > /dev/null 2>&1
echo x - cracklib/files/patch-aa
sed 's/^X//' >cracklib/files/patch-aa << 'END-of-cracklib/files/patch-aa'
X--- Makefile.orig	Sat Apr 22 09:47:37 2000
X+++ Makefile	Sat Apr 22 09:48:06 2000
X@@ -9,12 +9,12 @@
X ###
X # set this to the absolute path (less extn) of compressed dict.
X 
X-DICTPATH="/usr/local/lib/pw_dict"
X+DICTPATH="/usr/local/libdata/cracklib/pw_dict"
X 
X ###
X # Set this to the path of one or more files continaing wordlists.
X 
X-SRCDICTS=/usr/dict/words
X+SRCDICTS=/usr/share/dict/words
X 
X ###
X # If you have installed the cracklib-dicts directory, use this
END-of-cracklib/files/patch-aa
echo x - cracklib/pkg-descr
sed 's/^X//' >cracklib/pkg-descr << 'END-of-cracklib/pkg-descr'
XCrackLib is a library containing a C function (well, lots of functions
Xreally, but you only need to use one of them) which may be used in a
X"passwd"-like program.
X
XThe idea is simple: try to prevent users from choosing passwords that
Xcould be guessed by "Crack" by filtering them out, at source.
X
XCrackLib is an offshoot of the the version 5 "Crack" software, and
Xcontains a considerable number of ideas nicked from the new software.
X
X
XNOTE THIS WELL: CrackLib is NOT a replacement "passwd" program.
XCrackLib is a LIBRARY.  CrackLib is what trendy marketdroid types would
Xprobably call an "enabler".
X
XThe idea is that you wire it into your _own_ "passwd" program (if you
Xhave source); alternatively, you wire it into something like "shadow"
Xfrom off of the net.  You can use it in other things, too.
X
X
XWWW: http://www.users.dircon.co.uk/~crypto/
X
XAndrew J. Korty <ajk@iu.edu>
END-of-cracklib/pkg-descr
echo x - cracklib/pkg-comment
sed 's/^X//' >cracklib/pkg-comment << 'END-of-cracklib/pkg-comment'
XPassword-checking library
END-of-cracklib/pkg-comment
echo x - cracklib/pkg-plist
sed 's/^X//' >cracklib/pkg-plist << 'END-of-cracklib/pkg-plist'
Xbin/mkdict
Xbin/packer
Xbin/testlib
Xbin/testnum
Xbin/teststr
Xbin/unpacker
Xlib/libcrack.a
Xlibdata/cracklib/pw_dict.hwm
Xlibdata/cracklib/pw_dict.pwd
Xlibdata/cracklib/pw_dict.pwi
X@dirrm libdata/cracklib
END-of-cracklib/pkg-plist
echo x - cracklib/distinfo
sed 's/^X//' >cracklib/distinfo << 'END-of-cracklib/distinfo'
XMD5 (cracklib,2.7.tgz) = 7f810e310c7f2df33d1eaa2b41ab2435
END-of-cracklib/distinfo
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012082048.eB8KmKs23208>