[Midnightbsd-cvs] mports: mports/security: add pecl-crack

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Oct 12 13:10:07 EDT 2007


Log Message:
-----------
add pecl-crack

Modified Files:
--------------
    mports/security:
        Makefile (r1.63 -> r1.64)

Added Files:
-----------
    mports/security/pecl-crack:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/security/Makefile,v
retrieving revision 1.63
retrieving revision 1.64
diff -Lsecurity/Makefile -Lsecurity/Makefile -u -r1.63 -r1.64
--- security/Makefile
+++ security/Makefile
@@ -53,6 +53,7 @@
     SUBDIR += p5-IO-Socket-SSL
     SUBDIR += p5-Net-SSLeay
     SUBDIR += pam_ldap
+    SUBDIR += pecl-crack
     SUBDIR += pecl-filter
     SUBDIR += pecl-hash
     SUBDIR += php5-mcrypt
--- /dev/null
+++ security/pecl-crack/pkg-descr
@@ -0,0 +1,20 @@
+This package provides an interface to the cracklib (libcrack) libraries that
+come standard on most unix-like distributions. This allows you to check
+passwords against dictionaries of words to ensure some minimal level of
+password security.
+
+From the cracklib README
+CrackLib makes literally hundreds of tests to determine whether you've
+chosen a bad password.
+
+* It tries to generate words from your username and gecos entry to tries
+to match them against what you've chosen.
+
+* It checks for simplistic patterns.
+
+* It then tries to reverse-engineer your password into a dictionary
+word, and searches for it in your dictionary.
+
+- after all that, it's PROBABLY a safe(-ish) password. 8-)
+
+WWW: http://pecl.php.net/package/crack
--- /dev/null
+++ security/pecl-crack/pkg-plist
@@ -0,0 +1,3 @@
+include/php/ext/crack/config.h
+include/php/ext/crack/php_crack.h
+ at dirrm include/php/ext/crack
--- /dev/null
+++ security/pecl-crack/Makefile
@@ -0,0 +1,30 @@
+# Ports collection makefile for:  pecl-crack
+# Date created:			  12 Oct 2007
+# Whom:				  Lucas Holt <luke at midnightbsd.org>
+#
+# $MidnightBSD: mports/security/pecl-crack/Makefile,v 1.1 2007/10/12 17:10:05 laffer1 Exp $
+#
+
+PORTNAME=	crack
+PORTVERSION=	0.4.1
+CATEGORIES=	security www
+MASTER_SITES=	http://www.osuweb.net/~ahaning/
+PKGNAMEPREFIX=	pecl-
+EXTRACT_SUFX=	.tgz
+DIST_SUBDIR=	PECL
+
+MAINTAINER=	ports at midnightbsd.org
+COMMENT=	PECL extension to cracklib
+LICENSE=	php
+
+RUN_DEPENDS=	${LOCALBASE}/libdata/cracklib/pw_dict.pwi:${PORTSDIR}/security/cracklib
+
+USE_PHP=	yes
+USE_PHPIZE=	yes
+USE_PHP_BUILD=	yes
+USE_PHPEXT=	yes
+PHP_MODNAME=	crack
+
+WRKSRC=		${WRKDIR}/crack-0.4
+
+.include <bsd.port.mk>
--- /dev/null
+++ security/pecl-crack/distinfo
@@ -0,0 +1,3 @@
+MD5 (PECL/crack-0.4.1.tgz) = e64224cef6c8181f90cc669dae5dfe17
+SHA256 (PECL/crack-0.4.1.tgz) = d9ba43b3678fb46db0eee659d9e000e9bad682bc7702d33f6d7e293d7f6f08ad
+SIZE (PECL/crack-0.4.1.tgz) = 25143


More information about the Midnightbsd-cvs mailing list