pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/py-crack Initial import of pycrack 0.01



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6a8704fc9057
branches:  trunk
changeset: 483452:6a8704fc9057
user:      darcy <darcy%pkgsrc.org@localhost>
date:      Fri Nov 12 11:29:52 2004 +0000

description:
Initial import of pycrack 0.01
Python interface to cracklib

diffstat:

 security/py-crack/DESCR            |   3 +++
 security/py-crack/Makefile         |  26 ++++++++++++++++++++++++++
 security/py-crack/PLIST            |   2 ++
 security/py-crack/distinfo         |   5 +++++
 security/py-crack/patches/patch-aa |  19 +++++++++++++++++++
 5 files changed, 55 insertions(+), 0 deletions(-)

diffs (75 lines):

diff -r a534678ff971 -r 6a8704fc9057 security/py-crack/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-crack/DESCR   Fri Nov 12 11:29:52 2004 +0000
@@ -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 -r a534678ff971 -r 6a8704fc9057 security/py-crack/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-crack/Makefile        Fri Nov 12 11:29:52 2004 +0000
@@ -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@localhost
+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 -r a534678ff971 -r 6a8704fc9057 security/py-crack/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-crack/PLIST   Fri Nov 12 11:29:52 2004 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/12 11:29:52 darcy Exp $
+${PYSITELIB}/pycrack.so
diff -r a534678ff971 -r 6a8704fc9057 security/py-crack/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-crack/distinfo        Fri Nov 12 11:29:52 2004 +0000
@@ -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 -r a534678ff971 -r 6a8704fc9057 security/py-crack/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-crack/patches/patch-aa        Fri Nov 12 11:29:52 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index