import py-crack;

This module brings to Python programs the capability of evaluating password
    strength. To achieve this noble aim it uses the well known cracklib toolkit,
    hence the name.

    ok ajacoutot@, thanks!
This commit is contained in:
benoit 2009-05-26 08:13:04 +00:00
parent b6d4c74467
commit ef46a38ee8
5 changed files with 88 additions and 0 deletions

View File

@ -0,0 +1,40 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/05/26 08:13:04 benoit Exp $
COMMENT = Python bindings for cracklib
MODPY_EGG_VERSION = 0.5.1
DISTNAME = python-crack-${MODPY_EGG_VERSION}
PKGNAME = py-crack-${MODPY_EGG_VERSION}
CATEGORIES = security devel
HOMEPAGE = http://www.nongnu.org/python-crack/
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# MIT/X Consortium License
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://download.savannah.gnu.org/releases/python-crack/
MODULES = lang/python
LIB_DEPENDS = crack::security/cracklib
MAKE_FLAGS = CC="${CC}" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_STYLE = autoconf no-autoheader
CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib" \
DEFAULT_DICTPATH="${LOCALBASE}/share/cracklib/cracklib-small"
AUTOCONF_VERSION = 2.59
post-install:
find ${WRKINST} -name \*.egg-info -exec rm {} \;
NO_REGRESS = Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (python-crack-0.5.1.tar.gz) = CgytyGeejcsFLdnCKl4DLg==
RMD160 (python-crack-0.5.1.tar.gz) = yQmi+LXNdsCJCwQ+zGzIAi8rKmo=
SHA1 (python-crack-0.5.1.tar.gz) = K9tDBHKYI0DVfQqL5pvNA+p/Kng=
SHA256 (python-crack-0.5.1.tar.gz) = MWTvBypAW1u40CN2C/edRltCV0SBiItGamalrre8A+g=
SIZE (python-crack-0.5.1.tar.gz) = 120990

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure_ac,v 1.1.1.1 2009/05/26 08:13:04 benoit Exp $
--- configure.ac.orig Mon Apr 10 10:30:43 2006
+++ configure.ac Tue May 26 10:05:59 2009
@@ -7,7 +7,7 @@ dnl First some basic init macros
AC_INIT
AM_MAINTAINER_MODE
-AM_INIT_AUTOMAKE(python-crack, 0.5.1)
+AM_INIT_AUTOMAKE(py-crack, 0.5.1)
AC_SUBST(DATE, [`date +"%b%e, %Y"`])
AC_CHECK_LIB([crack], [FascistCheck], [], [AC_MSG_ERROR([you need to install cracklib2 development files])])

View File

@ -0,0 +1,3 @@
This module brings to Python programs the capability of evaluating password
strength. To achieve this noble aim it uses the well known cracklib toolkit,
hence the name.

View File

@ -0,0 +1,28 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/05/26 08:13:04 benoit Exp $
lib/python${MODPY_VERSION}/site-packages/_crack.so
lib/python${MODPY_VERSION}/site-packages/crack.py
lib/python${MODPY_VERSION}/site-packages/crack.pyc
lib/python${MODPY_VERSION}/site-packages/crack.pyo
share/doc/py-crack/
share/doc/py-crack/README
share/doc/py-crack/checkpass.py
share/doc/py-crack/html/
share/doc/py-crack/html/about.html
share/doc/py-crack/html/contents.html
share/doc/py-crack/html/crack-api.html
share/doc/py-crack/html/crack-example.html
share/doc/py-crack/html/front.html
share/doc/py-crack/html/icons/
share/doc/py-crack/html/icons/blank.png
share/doc/py-crack/html/icons/contents.png
share/doc/py-crack/html/icons/index.png
share/doc/py-crack/html/icons/modules.png
share/doc/py-crack/html/icons/next.png
share/doc/py-crack/html/icons/previous.png
share/doc/py-crack/html/icons/up.png
share/doc/py-crack/html/index.html
share/doc/py-crack/html/manual.css
share/doc/py-crack/html/requirements.html
share/doc/py-crack/html/security.html
share/doc/py-crack/html/what.html
share/doc/py-crack/html/why.html