diff options
Diffstat (limited to 'development/OpenJDK11/OpenJDK11.SlackBuild')
-rw-r--r-- | development/OpenJDK11/OpenJDK11.SlackBuild | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/development/OpenJDK11/OpenJDK11.SlackBuild b/development/OpenJDK11/OpenJDK11.SlackBuild index 95c93e24f5..c8f24532fc 100644 --- a/development/OpenJDK11/OpenJDK11.SlackBuild +++ b/development/OpenJDK11/OpenJDK11.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=OpenJDK11 -VERSION=${VERSION:-11.0.18} +VERSION=${VERSION:-11.0.23} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -127,12 +127,13 @@ sh configure \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --with-giflib=system \ - --with-harfbuzz=system \ + --with-harfbuzz=bundled \ --with-lcms=system \ --with-libjpeg=system \ --with-libpng=system \ - --with-zlib=system \ + --with-zlib=bundled \ --disable-precompiled-headers \ + --enable-libffi-bundling \ --enable-unlimited-crypto \ --disable-warnings-as-errors \ --with-native-debug-symbols=none \ @@ -189,6 +190,14 @@ mv ja_JP.UTF-8 ja ) find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +# Thanks to AlienBOB for this part! +# Generate a cacerts file from the certificates installed by ca-certificates +# in Slackware - the "cacerts" in the OpenJDK sources may be outdated. +# This requires 'trust' program from p11-kit: +rm -f $PKG/usr/lib${LIBDIRSUFFIX}/java/lib/security/cacerts +trust extract --format=java-cacerts --filter=ca-anchors --purpose=server-auth \ + $PKG/usr/lib${LIBDIRSUFFIX}/java/lib/security/cacerts + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ LICENSE ADDITIONAL_LICENSE_INFO ASSEMBLY_EXCEPTION README.md \ |