diff options
author | Vsevolod Stakhov <vsevolod@FreeBSD.org> | 2016-07-29 11:23:55 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@FreeBSD.org> | 2016-07-29 11:23:55 +0000 |
commit | be6a98c4e829c25e73489d6cfe18dd47ff035126 (patch) | |
tree | f26f62fe68c7e66abfa1f2a82b2abf009d91f746 /java/bouncycastle15 | |
parent | 7af1dda9234a96d3f4ce9c7604e9602a3f8f4a1b (diff) | |
download | ports-be6a98c4e829c25e73489d6cfe18dd47ff035126.tar.gz ports-be6a98c4e829c25e73489d6cfe18dd47ff035126.zip |
Notes
Diffstat (limited to 'java/bouncycastle15')
-rw-r--r-- | java/bouncycastle15/Makefile | 68 | ||||
-rw-r--r-- | java/bouncycastle15/distinfo | 3 | ||||
-rw-r--r-- | java/bouncycastle15/pkg-descr | 18 | ||||
-rw-r--r-- | java/bouncycastle15/pkg-plist | 10 |
4 files changed, 99 insertions, 0 deletions
diff --git a/java/bouncycastle15/Makefile b/java/bouncycastle15/Makefile new file mode 100644 index 000000000000..2378d895cc5a --- /dev/null +++ b/java/bouncycastle15/Makefile @@ -0,0 +1,68 @@ +# Created by: Eugene Grosbein <ports@grosbein.net> +# $FreeBSD$ + +PORTNAME= bouncycastle +PORTVERSION= 1.54 +CATEGORIES= java security +MASTER_SITES= http://downloads.bouncycastle.org/java/ \ + http://polydistortion.net/bc/download/ \ + http://bouncycastle.gva.es/download/ +PKGNAMESUFFIX= 15 +DISTNAME= crypto-${DVERSION} + +MAINTAINER= ports@grosbein.net +COMMENT= Cleanroom build of Java Cryptography Extensions + +LICENSE= MIT + +BUILD_DEPENDS= ${JAVALIBDIR}/activation.jar:java/jaf \ + ${JAVALIBDIR}/mail.jar:java/javamail \ + ${JAVALIBDIR}/junit.jar:java/junit +RUN_DEPENDS= ${JAVALIBDIR}/activation.jar:java/jaf \ + ${JAVALIBDIR}/mail.jar:java/javamail + +OPTIONS_DEFINE= DOCS +CONFLICTS_INSTALL= bouncycastle-1.4* +DVERSION= ${PORTVERSION:S/.//} +NO_ARCH= yes +CPE_PRODUCT= legion-of-the-bouncy-castle-java-crytography-api +CPE_VENDOR= ${PORTNAME} +USE_JAVA= yes +USES= cpe +JAVA_VERSION= 1.6+ +JDKMVERSION= 1.5 +JDKNVERSION= 15 +USE_ANT= yes +MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES +MAKE_ARGS= -f ant/jdk${JDKNVERSION}+.xml +ALL_TARGET= build-provider build zip-src + +JARS_SRC= bcmail bcpkix bcprov bcpg +JARS_DOCS= ${JARS_SRC} bctest +JARS= ${JARS_DOCS} bcprov-ext + +PORTDOCS= * + +do-install: + @${MKDIR} ${STAGEDIR}${DATADIR} +.for jar in ${JARS} + ${INSTALL_DATA} ${WRKSRC}/build/artifacts/jdk${JDKMVERSION}/jars/${jar}-jdk${JDKNVERSION}on-${DVERSION}.jar \ + ${STAGEDIR}${JAVAJARDIR}/${jar}.jar +.endfor +.for jar in ${JARS_SRC} + ${INSTALL_DATA} ${WRKSRC}/build/artifacts/jdk${JDKMVERSION}/${jar}-jdk${JDKNVERSION}on-${DVERSION}/src.zip \ + ${STAGEDIR}${DATADIR}/${jar}-src.zip +.endfor + ${INSTALL_DATA} ${WRKSRC}/jars/bcprov-jdk${JDKNVERSION}on-${DVERSION}.jar \ + ${STAGEDIR}${JAVAJARDIR}/bcprov.jar + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/*.html ${STAGEDIR}${DOCSDIR} +.for jar in ${JARS_DOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR}/${jar} + @cd ${WRKSRC}/build/artifacts/jdk${JDKMVERSION}/${jar}-jdk${JDKNVERSION}on-${DVERSION}/docs/ && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/${jar} +.endfor + +.include <bsd.port.mk> diff --git a/java/bouncycastle15/distinfo b/java/bouncycastle15/distinfo new file mode 100644 index 000000000000..1733b9db9feb --- /dev/null +++ b/java/bouncycastle15/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1467740611 +SHA256 (crypto-154.tar.gz) = b1371a91d1a87ad801ed7d7764a03310ad870e87bc1f75acf4b8feddc6eb0f98 +SIZE (crypto-154.tar.gz) = 123800176 diff --git a/java/bouncycastle15/pkg-descr b/java/bouncycastle15/pkg-descr new file mode 100644 index 000000000000..f8492eebcd66 --- /dev/null +++ b/java/bouncycastle15/pkg-descr @@ -0,0 +1,18 @@ +The Bouncy Castle Crypto APIs consist of the following: + +. A lightweight cryptography API in Java. +. A provider for the JCE and JCA. +. A clean room implementation of the JCE 1.2.1. +. A library for reading and writing encoded ASN.1 objects. +. Generators for Version 1 and Version 3 X.509 certificates, Version 2 CRLs, + and PKCS12 files. +. Generators for Version 2 X.509 attribute certificates. +. Generators/Processors for S/MIME and CMS (PKCS7). +. Generators/Processors for OCSP (RFC 2560). +. Generators/Processors for TSP (RFC 3161). +. Generators/Processors for OpenPGP (RFC 2440). +. A signed jar version suitable for JDK 1.4/1.5 and the Sun JCE. + +It's distributed under a modified X license. + +WWW: http://www.bouncycastle.org/ diff --git a/java/bouncycastle15/pkg-plist b/java/bouncycastle15/pkg-plist new file mode 100644 index 000000000000..1b31417387fa --- /dev/null +++ b/java/bouncycastle15/pkg-plist @@ -0,0 +1,10 @@ +%%JAVAJARDIR%%/bcmail.jar +%%JAVAJARDIR%%/bcpg.jar +%%JAVAJARDIR%%/bcpkix.jar +%%JAVAJARDIR%%/bcprov.jar +%%JAVAJARDIR%%/bcprov-ext.jar +%%JAVAJARDIR%%/bctest.jar +%%DATADIR%%/bcmail-src.zip +%%DATADIR%%/bcpg-src.zip +%%DATADIR%%/bcpkix-src.zip +%%DATADIR%%/bcprov-src.zip |