Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Apr 2019 18:07:41 +0000 (UTC)
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r497741 - head/java/bouncycastle15
Message-ID:  <201904031807.x33I7gw7088761@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eugen
Date: Wed Apr  3 18:07:41 2019
New Revision: 497741
URL: https://svnweb.freebsd.org/changeset/ports/497741

Log:
  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

Modified:
  head/java/bouncycastle15/Makefile

Modified: head/java/bouncycastle15/Makefile
==============================================================================
--- head/java/bouncycastle15/Makefile	Wed Apr  3 18:05:21 2019	(r497740)
+++ head/java/bouncycastle15/Makefile	Wed Apr  3 18:07:41 2019	(r497741)
@@ -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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904031807.x33I7gw7088761>