git: 8ca406b29d8f - main - java/bouncycastle15: Update to 1.71

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Tue, 28 Jun 2022 08:33:29 UTC
The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8ca406b29d8f0a7a717e0bc3c753665104f4c9cc

commit 8ca406b29d8f0a7a717e0bc3c753665104f4c9cc
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2022-06-28 08:25:32 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2022-06-28 08:28:03 +0000

    java/bouncycastle15: Update to 1.71
    
    Changes:        https://www.bouncycastle.org/releasenotes.html#r1rv71
---
 java/bouncycastle15/Makefile | 8 ++++----
 java/bouncycastle15/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/java/bouncycastle15/Makefile b/java/bouncycastle15/Makefile
index 472af5a4a0d4..b5e9a4b95f36 100644
--- a/java/bouncycastle15/Makefile
+++ b/java/bouncycastle15/Makefile
@@ -1,8 +1,7 @@
 # Created by: Eugene Grosbein <ports@grosbein.net>
 
 PORTNAME=	bouncycastle
-PORTVERSION=	1.69
-PORTREVISION=	2
+PORTVERSION=	1.71
 CATEGORIES=	java security
 MASTER_SITES=	http://www.bouncycastle.org/download/ \
 		http://polydistortion.net/bc/download/
@@ -47,6 +46,7 @@ ARTIFACTSDIR=	${WRKSRC}/build/artifacts/jdk${JDKMVERSION}
 DVERSION=	${PORTVERSION:S/.//}
 JDKMVERSION=	1.5
 JDKNVERSION=	15
+JARSUFFIX=	-jdk${JDKNVERSION}to18-${DVERSION}.jar
 
 .include <bsd.port.options.mk>
 
@@ -56,14 +56,14 @@ EXTRA_PATCHES+=	${FILESDIR}/armv6-patch-bc+-build.xml
 .endif
 
 do-install:
-	for src in $$(${FIND} ${ARTIFACTSDIR}/jars -name "*-jdk${JDKNVERSION}on-${DVERSION}.jar"); do \
+	for src in $$(${FIND} ${ARTIFACTSDIR}/jars -name "*${JARSUFFIX}"); do \
 		dst="$${src##*/}"; \
 		dst="$${dst%%-jdk*}.jar"; \
 		${INSTALL_DATA} "$$src" "${STAGEDIR}/${JAVAJARDIR}/$${dst}"; \
 	done
 # Install the bundlded version of bcprov.jar because we need a signed JAR.
 # See bfca5d2c6e01d757f1f37c141c22645c2835104b for details.
-	${INSTALL_DATA} ${WRKSRC}/jars/bcprov-jdk${JDKNVERSION}on-${DVERSION}.jar \
+	${INSTALL_DATA} ${WRKSRC}/jars/bcprov${JARSUFFIX} \
 		${STAGEDIR}${JAVAJARDIR}/bcprov.jar
 
 do-install-DOCS-on:
diff --git a/java/bouncycastle15/distinfo b/java/bouncycastle15/distinfo
index 2616a7575bb5..7924a434da2c 100644
--- a/java/bouncycastle15/distinfo
+++ b/java/bouncycastle15/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1629419659
-SHA256 (crypto-169.tar.gz) = 363671c7f35d7df97c43939428f869029880a48c37337866bdfb8ea740644b2b
-SIZE (crypto-169.tar.gz) = 357820367
+TIMESTAMP = 1656156462
+SHA256 (crypto-171.tar.gz) = 4b2b2be9a416c2fa4b26c64b69fe3ae7af075874b3df029cd82fdb4c49d4449e
+SIZE (crypto-171.tar.gz) = 239271294