Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jul 2005 17:06:36 +0400
From:      Vsevolod Stakhov <vsevolod@highsecure.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/83603: New port: security/py-crack - Python bindings to cracklib
Message-ID:  <E1Du8qq-0009gv-Jj@spray.anyhost.ru>
Resent-Message-ID: <200507171310.j6HDA1BO021191@freefall.freebsd.org>

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

>Number:         83603
>Category:       ports
>Synopsis:       New port: security/py-crack - Python bindings to cracklib
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 17 13:10:00 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vsevolod Stakhov
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
>Description:
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.  

>How-To-Repeat:
>Fix:

--- py24-pycrack-0.5.shar begins here ---
# 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:
#
#	py-crack
#	py-crack/pkg-descr
#	py-crack/Makefile
#	py-crack/distinfo
#	py-crack/files
#	py-crack/files/patch-_crack.c.in
#
echo c - py-crack
mkdir -p py-crack > /dev/null 2>&1
echo x - py-crack/pkg-descr
sed 's/^X//' >py-crack/pkg-descr << 'END-of-py-crack/pkg-descr'
XThis module brings to Python programs the capability of evaluating password
Xstrength. To achieve this noble aim it uses the well known cracklib toolkit,
Xhence the name.  
X
XWWW: http://www.nongnu.org/python-crack/
END-of-py-crack/pkg-descr
echo x - py-crack/Makefile
sed 's/^X//' >py-crack/Makefile << 'END-of-py-crack/Makefile'
X# New ports collection makefile for:	py-crack
X# Date created:		2005-07-17
X# Whom:			Vsevolod Stakhov <vsevolod@highsecure.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pycrack
XPORTVERSION=	0.5
XCATEGORIES=	security python
XMASTER_SITES=	${MASTER_SITE_SAVANNAH}
XMASTER_SITE_SUBDIR=	python-crack/Stable.pkg/${PORTVERSION}
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	python-crack-${PORTVERSION}
X
XMAINTAINER=	vsevolod@highsecure.ru
XCOMMENT=	Python bindings to cracklib
X
XBUILD_DEPENDS=	${LOCALBASE}/lib/libcrack.a:${PORTSDIR}/security/cracklib
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=	yes
XPYSETUP=	distutil.py
XGNU_CONFIGURE=	yes
X
XPLIST_FILES:=	${PYTHONPREFIX_SITELIBDIR:S,${PREFIX}/,,}/_crack.so \
X		${PYTHONPREFIX_SITELIBDIR:S,${PREFIX}/,,}/crack.py
X
XCONFIGURE_ENV=	"CPPFLAGS=-I${LOCALBASE}/include" \
X		"LDFLAGS=-L${LOCALBASE}/lib" \
X		"DEFAULT_DICTPATH=${LOCALBASE}/libdata/cracklib/pw_dict"
X
XMAKE_ENV=	"CPPFLAGS=-I${LOCALBASE}/include -fPIC" \
X		"LDFLAGS=-L${LOCALBASE}/lib"
X
Xpost-install:
X	${INSTALL_DATA} ${WRKSRC}/crack.py ${PYTHONPREFIX_SITELIBDIR}
X
X.include <bsd.port.mk>
END-of-py-crack/Makefile
echo x - py-crack/distinfo
sed 's/^X//' >py-crack/distinfo << 'END-of-py-crack/distinfo'
XMD5 (python-crack-0.5.tar.gz) = ac76cf42e1d2074305141194883bff15
XSIZE (python-crack-0.5.tar.gz) = 120377
END-of-py-crack/distinfo
echo c - py-crack/files
mkdir -p py-crack/files > /dev/null 2>&1
echo x - py-crack/files/patch-_crack.c.in
sed 's/^X//' >py-crack/files/patch-_crack.c.in << 'END-of-py-crack/files/patch-_crack.c.in'
X--- _crack.c.in.orig	Sun Jul 17 16:23:35 2005
X+++ _crack.c.in	Sun Jul 17 16:23:45 2005
X@@ -19,7 +19,7 @@
X  */
X 
X #include <Python.h>
X-#include <crack.h>
X+#include <packer.h>
X #include <stdio.h>
X 
X #define FILENAME_MAXLEN 512
END-of-py-crack/files/patch-_crack.c.in
exit
--- py24-pycrack-0.5.shar ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Du8qq-0009gv-Jj>