aboutsummaryrefslogtreecommitdiff
path: root/development/openjdk/openjdk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/openjdk/openjdk.SlackBuild')
-rw-r--r--development/openjdk/openjdk.SlackBuild24
1 files changed, 15 insertions, 9 deletions
diff --git a/development/openjdk/openjdk.SlackBuild b/development/openjdk/openjdk.SlackBuild
index 5ae4f2e6c7b3d..b3ee8adb15e83 100644
--- a/development/openjdk/openjdk.SlackBuild
+++ b/development/openjdk/openjdk.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for OpenJDK
-# Copyright 2018 Strahil Yordanov, Sofia, Bulgaria
+# Copyright 2019 Strahil Yordanov, Sofia, Bulgaria
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,12 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openjdk
-VERSION=${VERSION:-7u181}
+VERSION=${VERSION:-7u201}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
DVER=1.7.0_$(printf $VERSION | cut -du -f2)
-ICEDTEA=icedtea-2.6.14
+ICEDTEA=icedtea-2.6.16
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -65,25 +65,31 @@ tar -xvf $CWD/${ICEDTEA}.tar.xz
mkdir icedtea-build
cd icedtea-build
-# Set JAVA_HOME in order to avoid conflictis with other already installed JVMs.
-# cacerts taken from this CentOS package:
-# http://mirror.centos.org/centos/6/os/x86_64/Packages/ca-certificates-2015.2.4-65.0.1.el6_6.noarch.rpm
+# Set JAVA_HOME in order to avoid conflicts with other already installed JVMs.
JAVA_HOME=${BOOT_JAVA} PATH=${BOOT_JAVA}/bin:$PATH ../$ICEDTEA/configure \
+ --disable-docs \
+ --disable-downloading \
--with-jdk-home=${BOOT_JAVA} \
--without-rhino \
--disable-system-kerberos \
--disable-system-pcsc \
--disable-system-sctp \
--with-cacerts-file="$CWD/cacerts" \
+$(
+# cacerts is taken from this CentOS package:
+#+ http://mirror.centos.org/centos/6/os/x86_64/Packages/ca-certificates-2015.2.4-65.0.1.el6_6.noarch.rpm
+# You can list its contents with this command (after you install this package:)
+#+ 'keytool -v -list -keystore ./cacerts -storepass changeit'
+# It's old and some certificates inside have already expired but without it some java programs
+#+ may throw exceptions. It is meant as a dummy placehoder file.
+) \
--with-openjdk-src-zip="$CWD/openjdk.tar.bz2" \
--with-corba-src-zip="$CWD/corba.tar.bz2" \
--with-jaxp-src-zip="$CWD/jaxp.tar.bz2" \
--with-jaxws-src-zip="$CWD/jaxws.tar.bz2" \
--with-jdk-src-zip="$CWD/jdk.tar.bz2" \
--with-langtools-src-zip="$CWD/langtools.tar.bz2" \
- --with-hotspot-src-zip="$CWD/hotspot.tar.bz2" \
- --disable-docs \
- --disable-downloading
+ --with-hotspot-src-zip="$CWD/hotspot.tar.bz2"
JAVA_HOME=${BOOT_JAVA} PATH=${BOOT_JAVA}/bin:$PATH LOG=trace make
cd $PKG