diff options
Diffstat (limited to 'development/OpenJDK17/OpenJDK17.SlackBuild')
-rw-r--r-- | development/OpenJDK17/OpenJDK17.SlackBuild | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/development/OpenJDK17/OpenJDK17.SlackBuild b/development/OpenJDK17/OpenJDK17.SlackBuild index bcbb342ab9..fb25bfff3a 100644 --- a/development/OpenJDK17/OpenJDK17.SlackBuild +++ b/development/OpenJDK17/OpenJDK17.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=OpenJDK17 -VERSION=${VERSION:-17.0.6} +VERSION=${VERSION:-17.0.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -87,7 +87,7 @@ export BOOT_JAVA=$TMP/$BSDIR # Unpack the jtreg package to run the tests: if [ "${TESTS:-no}" = "yes" ]; then rm -rf $TMP/jtreg{,-reports} - tar xvf $CWD/jtreg-6.1+1.tar.gz + tar xvf $CWD/jtreg-7.3.1+1.tar.gz JTREG="--with-jtreg=$TMP/jtreg" else JTREG="" @@ -132,12 +132,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 $PKG/usr/lib$LIBDIRSUFFIX/java/man $PKG/usr 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 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 \ |