pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/openjdk11 openjdk11: Create JKS type cacerts file



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fffc518cd5a8
branches:  trunk
changeset: 445638:fffc518cd5a8
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Tue Jan 26 15:10:11 2021 +0000

description:
openjdk11: Create JKS type cacerts file

Fix TLS/SSL network connection.
Avoid: javax.net.ssl.SSLException: Unexpected error:
java.security.InvalidAlgorithmParameterException: the trustAnchors
parameter must be non-empty

>From jperkin@. Thank you.

diffstat:

 lang/openjdk11/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 13a30605017b -r fffc518cd5a8 lang/openjdk11/Makefile
--- a/lang/openjdk11/Makefile   Tue Jan 26 15:04:32 2021 +0000
+++ b/lang/openjdk11/Makefile   Tue Jan 26 15:10:11 2021 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.28 2020/10/26 15:16:30 ryoon Exp $
+# $NetBSD: Makefile,v 1.29 2021/01/26 15:10:11 ryoon Exp $
 
 DISTNAME=      openjdk-jdk11u-${GITHUB_TAG:C/\+/-/}
 PKGNAME=       openjdk11-1.${GITHUB_TAG:C/\+/./:C/jdk-([.0-9]+).*/\1/}
+PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=battleblow/}
 GITHUB_PROJECT=        openjdk-jdk11u
@@ -151,6 +152,7 @@
                  -keystore ${.TARGET}.tmp                              \
                  -alias `${ECHO} $$cert | sed 's,.*/\\([^/]*\\)\\.pem,\\1,'` \
                  -file $$cert                                          \
+                 -storetype jks                                        \
                  -storepass changeit;                                  \
        done
        mv ${.TARGET}.tmp ${.TARGET}



Home | Main Index | Thread Index | Old Index