summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2024-05-01 13:58:02 +0200
committer Willy Sudiarto Raharjo2024-05-04 16:45:09 +0200
commitcd626bd07a61ce6c4c9bf268998ce435ffc8ad16 (patch)
tree0316239634e3e7c6f38c313197e8ee3c29384ec8
parent7666a514a944e86258a4558456136bdc28a21374 (diff)
downloadslackbuilds-cd626bd07a61ce6c4c9bf268998ce435ffc8ad16.tar.gz
development/jdk11: Updated for version 11.0.22.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/jdk11/README7
-rw-r--r--development/jdk11/jdk11.SlackBuild9
-rw-r--r--development/jdk11/jdk11.info6
3 files changed, 9 insertions, 13 deletions
diff --git a/development/jdk11/README b/development/jdk11/README
index 2b77c7fb6f..cdb6241f70 100644
--- a/development/jdk11/README
+++ b/development/jdk11/README
@@ -8,15 +8,14 @@ The JDK is a development environment for building applications,
applets and components that can be deployed with the
Java Platform Standard Edition Runtime Environment.
-More details:
-https://developer.oracle.com/java/
-
This SlackBuild will repackage official Oracle JDK archive.
You must accept the Oracle Technology Network License Agreement
for Oracle Java SE to download this software
-https://www.oracle.com/java/technologies/javase-jdk11-downloads.html
+https://www.oracle.com/java/technologies/javase/jdk11-archive-downloads.html
After installation you will need to log out from the system and log
in back for environment variables get updated. Or just run "source
/etc/profile"
+
+NOTE: This version of JDK is considered End of Life (EOL)
diff --git a/development/jdk11/jdk11.SlackBuild b/development/jdk11/jdk11.SlackBuild
index 272f86d660..bd17ab104e 100644
--- a/development/jdk11/jdk11.SlackBuild
+++ b/development/jdk11/jdk11.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=jdk11
-VERSION=${VERSION:-11.0.12}
+VERSION=${VERSION:-11.0.22}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -61,8 +58,8 @@ LIBDIRSUFFIX=64
rm -rf $PKG
mkdir -p $TMP $OUTPUT $PKG/{install,etc/profile.d,usr/{bin,lib${LIBDIRSUFFIX},doc/$PRGNAM-$VERSION,man/man1}}
cd $PKG/usr/lib${LIBDIRSUFFIX}
-tar -xvf $CWD/jdk-${VERSION}_linux*.tar.gz
-mv $(tar -tf $CWD/jdk-${VERSION}_linux*.tar.gz | head -1 | cut -d/ -f1) $PRGNAM-$VERSION
+tar -xvf $CWD/jdk-${VERSION}_linux-x64_bin.tar.gz
+mv $(tar -tf $CWD/jdk-${VERSION}_linux-x64_bin.tar.gz | head -1 | cut -d/ -f1) $PRGNAM-$VERSION
chown -R root:root $PRGNAM-$VERSION
find -L $PRGNAM-$VERSION \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/development/jdk11/jdk11.info b/development/jdk11/jdk11.info
index 61610c0225..9eacf2946b 100644
--- a/development/jdk11/jdk11.info
+++ b/development/jdk11/jdk11.info
@@ -1,10 +1,10 @@
PRGNAM="jdk11"
-VERSION="11.0.12"
+VERSION="11.0.22"
HOMEPAGE="https://developer.oracle.com/java"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://download.oracle.com/otn/java/jdk/11.0.12+8/f411702ca7704a54a79ead0c2e0942a3/jdk-11.0.12_linux-x64_bin.tar.gz?AuthParam=1630328792_80e3bfc8ea574dfdd3391fd65ea454d3"
-MD5SUM_x86_64="ce9d5fecc743ab9f808415132938addb"
+DOWNLOAD_x86_64="https://download.oracle.com/otn/java/jdk/11.0.22+9/8662aac2120442c2a89b1ee9c67d7069/jdk-11.0.22_linux-x64_bin.tar.gz"
+MD5SUM_x86_64="1d0ca55b8121d35a69a4666ce49c5381"
REQUIRES=""
MAINTAINER="Igor Alexandrov"
EMAIL="igor.alexandrov@outlook.com"