Another library that people will get from Maven Central instead of installing as a port and then burying in a local classpath directory.
Will unhook from parent dir. Will use Quirks reason 1, not useful to package. OK to attic-ify? Index: Makefile =================================================================== RCS file: Makefile diff -N Makefile --- Makefile 24 Mar 2019 22:24:13 -0000 1.7 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,34 +0,0 @@ -# $OpenBSD: Makefile,v 1.7 2019/03/24 22:24:13 sthen Exp $ - -COMMENT= BCrypt library for Java - -DISTNAME= jBCrypt-0.4 -REVISION= 1 - -CATEGORIES= security - -HOMEPAGE= http://www.mindrot.org/projects/jBCrypt/ - -MAINTAINER= Stuart Henderson <[email protected]> - -# ISC -PERMIT_PACKAGE_CDROM= Yes - -MASTER_SITES= http://www.mindrot.org/files/jBCrypt/ - -MODULES= java -MODJAVA_VER= 1.8+ -MODJAVA_BUILD= ant - -# JUnit tests exist but unsure how to handle non-ascii chars -NO_TEST= 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> Index: distinfo =================================================================== RCS file: distinfo diff -N distinfo --- distinfo 6 Feb 2015 14:11:46 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,2 +0,0 @@ -SHA256 (jBCrypt-0.4.tar.gz) = HCDVsdF5+2PZpOspX3DJbinNvbYXMVCDhUAhAhBiMFM= -SIZE (jBCrypt-0.4.tar.gz) = 15167 Index: files/build.xml =================================================================== RCS file: files/build.xml diff -N files/build.xml --- files/build.xml 23 May 2012 15:02:52 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,40 +0,0 @@ -<!-- $OpenBSD: build.xml,v 1.1.1.1 2012/05/23 15:02:52 sthen Exp $ --> - -<project name="BCrypt" default="all" basedir="."> - - <!-- Properties --> - - <property name="name" value="BCrypt"/> - <property name="src" value="src"/> - <property name="build" value="build"/> - <property name="build.classes" value="${build}/classes"/> - <property name="build.lib" value="${build}/lib"/> - <property name="packagenames" value="BCrypt.*"/> - - <target name="prepare"> - <mkdir dir="${src}"/> - <mkdir dir="${build}"/> - <mkdir dir="${build.classes}"/> - <mkdir dir="${build.lib}"/> - <copy todir="${src}"> - <fileset dir="./"> - <include name="BCrypt.java"/> - </fileset> - </copy> - </target> - - <target name="clean"> - <delete dir="${build}"/> - <delete dir="${src}"/> - </target> - - <target name="classes" depends="prepare"> - <javac srcdir="${src}/" destdir="${build.classes}" debug="off" optimize="on"/> - </target> - - <target name="all" depends="classes"> - <jar jarfile="${build.lib}/${name}.jar" basedir="${build.classes}"/> - </target> - -</project> - Index: pkg/DESCR =================================================================== RCS file: pkg/DESCR diff -N pkg/DESCR --- pkg/DESCR 23 May 2012 15:02:52 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,11 +0,0 @@ -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). Index: pkg/PLIST =================================================================== RCS file: pkg/PLIST diff -N pkg/PLIST --- pkg/PLIST 23 May 2012 15:02:52 -0000 1.1.1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,8 +0,0 @@ -@comment $OpenBSD: PLIST,v 1.1.1.1 2012/05/23 15:02:52 sthen Exp $ -share/java/ -share/java/classes/ -share/java/classes/BCrypt.jar -share/java/doc/ -share/java/doc/BCrypt/ -share/java/doc/BCrypt/LICENSE -share/java/doc/BCrypt/README
