diff options
-rw-r--r-- | security/py-crack/DESCR | 3 | ||||
-rw-r--r-- | security/py-crack/Makefile | 26 | ||||
-rw-r--r-- | security/py-crack/PLIST | 2 | ||||
-rw-r--r-- | security/py-crack/distinfo | 5 | ||||
-rw-r--r-- | security/py-crack/patches/patch-aa | 19 |
5 files changed, 55 insertions, 0 deletions
diff --git a/security/py-crack/DESCR b/security/py-crack/DESCR new file mode 100644 index 00000000000..0ee39411f6e --- /dev/null +++ b/security/py-crack/DESCR @@ -0,0 +1,3 @@ +Pycrack is a simple Python extension module for interfacing with cracklib. +Cracklib is a library which protects against weak passwords by checking, for +example, that they are not too short or easily guessable by dictionary attacks. diff --git a/security/py-crack/Makefile b/security/py-crack/Makefile new file mode 100644 index 00000000000..796594db758 --- /dev/null +++ b/security/py-crack/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/11/12 11:29:52 darcy Exp $ +# + +DISTNAME= pycrack-0.01 +PKGNAME= ${PYPKGPREFIX}-pycrack +CATEGORIES= security python +MASTER_SITES= http://www.digitalevacuation.org/pycrack/ + +MAINTAINER= darcy@NetBSD.org +HOMEPAGE= http://www.digitalevacuation.org/pycrack/ +COMMENT= Python interface to cracklib + +DEPENDS+= crack>=5.0:../../security/crack + +MAKE_ENV+= MANDIR=${LOCALBASE}/man +MAKE_ENV+= BINDIR=${LOCALBASE}/bin +USE_BUILDLINK3= yes +USE_GNU_TOOLS+= make + +PYDISTUTILSPKG= yes +PYBINMODULE= yes +PY_PATCHPLIST= yes + +.include "../../lang/python/extension.mk" +.include "../../security/libcrack/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/py-crack/PLIST b/security/py-crack/PLIST new file mode 100644 index 00000000000..f487225301b --- /dev/null +++ b/security/py-crack/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/12 11:29:52 darcy Exp $ +${PYSITELIB}/pycrack.so diff --git a/security/py-crack/distinfo b/security/py-crack/distinfo new file mode 100644 index 00000000000..337047231ca --- /dev/null +++ b/security/py-crack/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/11/12 11:29:52 darcy Exp $ + +SHA1 (pycrack-0.01.tar.gz) = 44b318795cb74f5a06896d9d7d64322e9164438b +Size (pycrack-0.01.tar.gz) = 9195 bytes +SHA1 (patch-aa) = c380953b710db0f0eeb26f54f2ded55e36014719 diff --git a/security/py-crack/patches/patch-aa b/security/py-crack/patches/patch-aa new file mode 100644 index 00000000000..37e8a921dba --- /dev/null +++ b/security/py-crack/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/11/12 11:29:52 darcy Exp $ + +--- src/pycrack.c.orig 2003-04-02 16:22:03.000000000 -0500 ++++ src/pycrack.c +@@ -1,12 +1,12 @@ + /* + * Include Python API + */ +-#include "python2.2/Python.h" ++#include <Python.h> + + /* + * Include cracklib API + */ +-#include "crack.h" ++#include <cracklib/crack.h> + + /* + * Simple wrapper for cracklib's FascistCheck function |