openbsd-ports/java/jBCrypt/Makefile
sthen 2cf3cc047b import java/jBCrypt, ok okan@
jBCrypt is a Java implementation of OpenBSD's Blowfish password
hashing code, compatible with the canonical C implementation of the
bcrypt algorithm.

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).
2012-05-23 15:02:52 +00:00

38 lines
855 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/05/23 15:02:52 sthen Exp $
COMMENT= BCrypt library for Java
DISTNAME= jBCrypt-0.3
CATEGORIES= security
HOMEPAGE= http://www.mindrot.org/projects/jBCrypt/
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# ISC
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.mindrot.org/files/jBCrypt/
MODULES= java
MODJAVA_VER= 1.5+
MODJAVA_JRERUN= yes
MODJAVA_BUILD= ant
# JUnit tests exist but unsure how to handle non-ascii chars
NO_REGRESS= Yes
do-configure:
cp ${FILESDIR}/build.xml ${WRKSRC}/
do-install:
${INSTALL_DATA_DIR} ${MODJAVA_JAR_DIR} ${MODJAVA_DOC_DIR}/BCrypt
${INSTALL_DATA} ${WRKSRC}/build/lib/BCrypt.jar ${MODJAVA_JAR_DIR}
${INSTALL_DATA} ${WRKSRC}/{README,LICENSE} ${MODJAVA_DOC_DIR}/BCrypt
.include <bsd.port.mk>