java/bouncycastle15: install signed bcprov.jar

Previous revision 497549 switched to install bcprov.jar build from sources
instead of bundled version. However, the bundled version of JAR file is signed
that is essential as is provides an implementation of a Provider
in the Java Cryptography Architecture. For details, refer to
https://docs.oracle.com/javase/8/docs/technotes/guides/security/crypto/HowToImplAProvider.html

Partially back out that revision to install bundled bcprov.jar as before.

Thanks to Alex Dupre for reporting this.

Reported by:	ale
This commit is contained in:
Eugene Grosbein
2019-04-03 18:07:41 +00:00
parent 5650efc84a
commit bfca5d2c6e
+3
View File
@@ -3,6 +3,7 @@
PORTNAME= bouncycastle
PORTVERSION= 1.61
PORTREVISION= 1
CATEGORIES= java security
MASTER_SITES= http://www.bouncycastle.org/download/ \
http://polydistortion.net/bc/download/
@@ -55,6 +56,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/build/artifacts/jdk${JDKMVERSION}/jars/${jar}-jdk${JDKNVERSION}on-${DVERSION}.jar \
${STAGEDIR}${JAVAJARDIR}/${jar}.jar
.endfor
${INSTALL_DATA} ${WRKSRC}/jars/bcprov-jdk${JDKNVERSION}on-${DVERSION}.jar \
${STAGEDIR}${JAVAJARDIR}/bcprov.jar
.if ${PORT_OPTIONS:MZIPSRC}
@${MKDIR} ${STAGEDIR}${DATADIR}
.for jar in ${JARS_SRC}