From vsevolod@highsecure.ru  Sun Jul 17 13:06:40 2005
Return-Path: <vsevolod@highsecure.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3244716A41C
	for <freebsd-gnats-submit@freebsd.org>; Sun, 17 Jul 2005 13:06:40 +0000 (GMT)
	(envelope-from vsevolod@highsecure.ru)
Received: from waterwall.inec.ru (waterwall.inec.ru [213.148.3.225])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A1E7943D45
	for <freebsd-gnats-submit@freebsd.org>; Sun, 17 Jul 2005 13:06:39 +0000 (GMT)
	(envelope-from vsevolod@highsecure.ru)
Received: from waterwall.inec.ru (root@localhost)
  by waterwall.inec.ru (8.13.1/8.12.6) with SMTP id j6HD7mml065519
    for <freebsd-gnats-submit@freebsd.org>; Sun, 17 Jul 2005 17:07:48 +0400 (MSD)
Received: from core (postbox.inec.ru [213.148.3.226])
  by waterwall.inec.ru (8.13.1/8.12.6) with ESMTP id j6HD7lur065514
    for <FreeBSD-gnats-submit@freebsd.org>; Sun, 17 Jul 2005 17:07:47 +0400 (MSD)
Received: from [213.219.249.64] (helo=spray.anyhost.ru)
	by core with esmtp (Exim 4.51 (FreeBSD))
	id 1Du8qK-000P7l-0y
	for FreeBSD-gnats-submit@freebsd.org; Sun, 17 Jul 2005 17:06:04 +0400
Received: from cebka by spray.anyhost.ru with local (Exim 4.51 (FreeBSD))
	id 1Du8qq-0009gv-Jj
	for FreeBSD-gnats-submit@freebsd.org; Sun, 17 Jul 2005 17:06:36 +0400
Message-Id: <E1Du8qq-0009gv-Jj@spray.anyhost.ru>
Date: Sun, 17 Jul 2005 17:06:36 +0400
From: Vsevolod Stakhov <vsevolod@highsecure.ru>
Sender: Vsevolod Stakhov <vsevolod@highsecure.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: security/py-crack - Python bindings to cracklib
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 17 13:10:00 GMT 2005
>Closed-Date:    Mon Jul 18 16:30:26 GMT 2005
>Last-Modified:  Mon Jul 18 16:30:26 GMT 2005
>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:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Mon Jul 18 16:30:18 GMT 2005 
State-Changed-Why:  
New port added, thank you! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=83603 
>Unformatted:
