summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrahil Yordanov <strahilski@yahoo.com>2019-02-01 23:02:28 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-02-01 23:02:28 +0700
commite36221a1db4aa58ed01df49a5d9d1098de84607d (patch)
tree738b13ab792397404aaa6786a9624f761a6a5247
parentaac6ae5dedd014fbd95a20f52180b7b8efe7439d (diff)
downloadslackbuilds-e36221a1db4aa58ed01df49a5d9d1098de84607d.tar.gz
development/openjdk: Updated for version 7u201.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/openjdk/README2
-rw-r--r--development/openjdk/openjdk.SlackBuild24
-rw-r--r--development/openjdk/openjdk.info34
3 files changed, 33 insertions, 27 deletions
diff --git a/development/openjdk/README b/development/openjdk/README
index 4846ff691a..a293972c1b 100644
--- a/development/openjdk/README
+++ b/development/openjdk/README
@@ -19,7 +19,7 @@ about 11 GB of disk space for its temporary directory. It defaults to
TMP=/your/temporary/dir ./openjdk.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/openjdk/openjdk.SlackBuild b/development/openjdk/openjdk.SlackBuild
index 5ae4f2e6c7..b3ee8adb15 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
diff --git a/development/openjdk/openjdk.info b/development/openjdk/openjdk.info
index 645647a2f8..d5769196cf 100644
--- a/development/openjdk/openjdk.info
+++ b/development/openjdk/openjdk.info
@@ -1,22 +1,22 @@
PRGNAM="openjdk"
-VERSION="7u181"
+VERSION="7u201"
HOMEPAGE="http://openjdk.java.net"
-DOWNLOAD="http://icedtea.classpath.org/download/source/icedtea-2.6.14.tar.xz \
- http://icedtea.classpath.org/download/drops/icedtea7/2.6.14/openjdk.tar.bz2 \
- http://icedtea.classpath.org/download/drops/icedtea7/2.6.14/corba.tar.bz2 \
- http://icedtea.classpath.org/download/drops/icedtea7/2.6.14/jaxp.tar.bz2 \
- http://icedtea.classpath.org/download/drops/icedtea7/2.6.14/jaxws.tar.bz2 \
- http://icedtea.classpath.org/download/drops/icedtea7/2.6.14/jdk.tar.bz2 \
- http://icedtea.classpath.org/download/drops/icedtea7/2.6.14/langtools.tar.bz2 \
- http://icedtea.classpath.org/download/drops/icedtea7/2.6.14/hotspot.tar.bz2"
-MD5SUM="ec7bf064e33e35dd3845d044e175a698 \
- 307abf13b695c61a8b16d9fa384277db \
- 96b72013cce3000cb46808aa9f9bce40 \
- d3c9cf8e51c043bdb0db360ffaf34d8c \
- f087bbcaffbb65906514448dc49f173e \
- 6580efb17017a4a9402a4a5043374bd7 \
- 1518c296a6125af5119aa5442d88bebf \
- b190d917e60aeba3d9b7d1c61660ea68"
+DOWNLOAD="http://icedtea.classpath.org/download/source/icedtea-2.6.16.tar.xz \
+ http://icedtea.classpath.org/download/drops/icedtea7/2.6.16/openjdk.tar.bz2 \
+ http://icedtea.classpath.org/download/drops/icedtea7/2.6.16/corba.tar.bz2 \
+ http://icedtea.classpath.org/download/drops/icedtea7/2.6.16/jaxp.tar.bz2 \
+ http://icedtea.classpath.org/download/drops/icedtea7/2.6.16/jaxws.tar.bz2 \
+ http://icedtea.classpath.org/download/drops/icedtea7/2.6.16/jdk.tar.bz2 \
+ http://icedtea.classpath.org/download/drops/icedtea7/2.6.16/langtools.tar.bz2 \
+http://icedtea.classpath.org/download/drops/icedtea7/2.6.16/hotspot.tar.bz2"
+MD5SUM="82c1aabc471ed16c090424298f94a92f \
+ c8772f0d5ad49cfbdc8d3f3f935435e6 \
+ d52246d82becea48963d041fb7517a2d \
+ 6fe3dc9becbe659a30f6d5324fc1bca1 \
+ 13b9e6fa38a1247a2557468c001bdd4d \
+ 4ff570fc382881a3b626ae7028a46d49 \
+ 813e8137abfa6a43985e587ba61a2db0 \
+ f62b66f78c1832c3cd60f3a3d03fd715"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="apache-ant"