summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrahil Yordanov <strahilski@yahoo.com>2019-02-02 00:36:18 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-02-02 00:36:18 +0700
commita6c03f298fd16d8203fa97476edd1ba24a1e912e (patch)
tree34ee9bb829fbb69bfed002fb2d6802cc90cfe16d
parentcc9200c3a1ab2ab97d82a0e2f86e86d3a814e1b2 (diff)
downloadslackbuilds-a6c03f298fd16d8203fa97476edd1ba24a1e912e.tar.gz
development/openjdk8: Updated for version 8u191.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/openjdk8/README2
-rw-r--r--development/openjdk8/openjdk8.SlackBuild30
-rw-r--r--development/openjdk8/openjdk8.info38
3 files changed, 38 insertions, 32 deletions
diff --git a/development/openjdk8/README b/development/openjdk8/README
index e11a5a72ad..ad99bc173c 100644
--- a/development/openjdk8/README
+++ b/development/openjdk8/README
@@ -16,7 +16,7 @@ about 11 GB of disk space for its temporary directory. It defaults to
TMP=/your/temporary/dir ./openjdk8.SlackBuild
-The 'cacerts' binary is a keystore containing CA certificates which
+The 'cacerts' binary is a TrustStore containing CA certificates which
are used by Java applications. It is taken from the CentOS package
'ca-certificates-2015.2.4-65.0.1.el6_6.noarch.rpm'.
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
diff --git a/development/openjdk8/openjdk8.info b/development/openjdk8/openjdk8.info
index 8a597f7b20..8820d7f81b 100644
--- a/development/openjdk8/openjdk8.info
+++ b/development/openjdk8/openjdk8.info
@@ -1,24 +1,24 @@
PRGNAM="openjdk8"
-VERSION="8u181"
+VERSION="8u191"
HOMEPAGE="http://openjdk.java.net"
-DOWNLOAD="http://icedtea.classpath.org/download/source/icedtea-3.9.0.tar.xz \
- http://icedtea.classpath.org/download/drops/icedtea8/3.9.0/openjdk.tar.xz \
- http://icedtea.classpath.org/download/drops/icedtea8/3.9.0/corba.tar.xz \
- http://icedtea.classpath.org/download/drops/icedtea8/3.9.0/jaxp.tar.xz \
- http://icedtea.classpath.org/download/drops/icedtea8/3.9.0/jaxws.tar.xz \
- http://icedtea.classpath.org/download/drops/icedtea8/3.9.0/jdk.tar.xz \
- http://icedtea.classpath.org/download/drops/icedtea8/3.9.0/langtools.tar.xz \
- http://icedtea.classpath.org/download/drops/icedtea8/3.9.0/nashorn.tar.xz \
- http://icedtea.classpath.org/download/drops/icedtea8/3.9.0/hotspot.tar.xz"
-MD5SUM="7d4b94877cde222232433201a634a918 \
- da51bd447df8551f914f8fb099bce868 \
- f79e08350fd86f4fcbf375f109e494d3 \
- b94287d6e7565da8a076f656bf1582d6 \
- 51b028fc374725e3099fc9870fc6a019 \
- 975901f03d2009ccebbd7aabb81c9390 \
- 8e5bc17e7001bb00611ce7636365fb78 \
- 02cb66948f875d74de4e051a2b061910 \
- b5be7e80c38ccc5aa60172663b185d01"
+DOWNLOAD="http://icedtea.classpath.org/download/source/icedtea-3.10.0.tar.xz \
+ http://icedtea.classpath.org/download/drops/icedtea8/3.10.0/openjdk.tar.xz \
+ http://icedtea.classpath.org/download/drops/icedtea8/3.10.0/corba.tar.xz \
+ http://icedtea.classpath.org/download/drops/icedtea8/3.10.0/jaxp.tar.xz \
+ http://icedtea.classpath.org/download/drops/icedtea8/3.10.0/jaxws.tar.xz \
+ http://icedtea.classpath.org/download/drops/icedtea8/3.10.0/jdk.tar.xz \
+ http://icedtea.classpath.org/download/drops/icedtea8/3.10.0/langtools.tar.xz \
+ http://icedtea.classpath.org/download/drops/icedtea8/3.10.0/nashorn.tar.xz \
+ http://icedtea.classpath.org/download/drops/icedtea8/3.10.0/hotspot.tar.xz"
+MD5SUM="da2edd777e4b6722d8d8d38fc9292acc \
+ 0947e53d816019d096ba0a57251b5c31 \
+ 7009e4d076a363309081d3e17052147c \
+ 10aac41eb5ca669921b65b6f57666f3a \
+ ca31c39f0e30ce947c121df7fc2a5c74 \
+ e2676fa776d0d4ea8481978dbf86677a \
+ 38b51a1f3c5fcaef4fdbd6c7ffe71ff2 \
+ 0944e7313bd2b7c9324c50626d84d9a3 \
+ 63b0e7bbf86ae742d5d77108312ef2a1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="openjdk"