summaryrefslogtreecommitdiffstats
path: root/development/openjdk8/openjdk8.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/openjdk8/openjdk8.SlackBuild')
-rw-r--r--development/openjdk8/openjdk8.SlackBuild30
1 files changed, 18 insertions, 12 deletions
diff --git a/development/openjdk8/openjdk8.SlackBuild b/development/openjdk8/openjdk8.SlackBuild
index 4b3cbdfeed..76559348f7 100644
--- a/development/openjdk8/openjdk8.SlackBuild
+++ b/development/openjdk8/openjdk8.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=openjdk8
-VERSION=${VERSION:-8u181}
+VERSION=${VERSION:-8u191}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
DVER=1.8.0_$(printf $VERSION | cut -du -f2)
-ICEDTEA=icedtea-3.9.0
+ICEDTEA=icedtea-3.10.0
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -68,14 +68,22 @@ mkdir icedtea-build
cd icedtea-build
# Set JAVA_HOME in order to avoid conflicts 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
JAVA_HOME=${BOOT_JAVA} PATH=${BOOT_JAVA}/bin:$PATH ../$ICEDTEA/configure \
+ --disable-docs \
+ --disable-downloading \
--with-jdk-home=${BOOT_JAVA} \
--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.xz" \
--with-corba-src-zip="$CWD/corba.tar.xz" \
--with-jaxp-src-zip="$CWD/jaxp.tar.xz" \
@@ -83,9 +91,7 @@ JAVA_HOME=${BOOT_JAVA} PATH=${BOOT_JAVA}/bin:$PATH ../$ICEDTEA/configure \
--with-jdk-src-zip="$CWD/jdk.tar.xz" \
--with-langtools-src-zip="$CWD/langtools.tar.xz" \
--with-nashorn-src-zip="$CWD/nashorn.tar.xz" \
- --with-hotspot-src-zip="$CWD/hotspot.tar.xz" \
- --disable-docs \
- --disable-downloading
+ --with-hotspot-src-zip="$CWD/hotspot.tar.xz"
JAVA_HOME=${BOOT_JAVA} PATH=${BOOT_JAVA}/bin:$PATH LOG=trace make
cd $PKG
@@ -95,10 +101,10 @@ cp -av $BUILD_DIR/icedtea-build/openjdk.build/images/j2sdk-image/ $PRGNAM
chown -R root.root $PKG
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/etc/profile.d
for file in $(ls "$CWD/profile.d/${PRGNAM}"*) ; do