openbsd-ports/security/py-bcrypt/Makefile
sthen e2954dfa4a import ports/security/py-bcrypt, ok benoit@
py-bcrypt is a Python wrapper of OpenBSD's Blowfish password hashing code,
as described in "A Future-Adaptable Password Scheme" by Niels Provos and
David Mazières.

This system hashes passwords using a version of Bruce Schneier's
Blowfish block cipher with modifications designed to raise the cost of
off-line password cracking and frustrate fast hardware implementation.
The computation cost of the algorithm is parametised, so it can be
increased as computers get faster. The intent is to make a compromise
of a password database less likely to result in an attacker gaining
knowledge of the plaintext passwords (e.g. using John the Ripper).
2013-03-26 21:37:26 +00:00

25 lines
498 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2013/03/26 21:37:26 sthen Exp $
COMMENT= bcrypt blowfish password hashing for Python
MODPY_EGG_VERSION= 0.3
DISTNAME= py-bcrypt-${MODPY_EGG_VERSION}
CATEGORIES= security
HOMEPAGE= https://code.google.com/p/py-bcrypt/
# ISC/BSD
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= https://py-bcrypt.googlecode.com/files/
MODULES= lang/python
MODPY_SETUPTOOLS= Yes
TEST_DEPENDS= ${BUILD_PKGPATH}
do-test:
cd ${WRKSRC}/test && ${MODPY_BIN} ./test.py
.include <bsd.port.mk>