development/jdk11: Updated for version 11.0.22.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2024-05-01 18:58:02 +07:00
parent 7666a514a9
commit cd626bd07a
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 9 additions and 13 deletions

View file

@ -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)

View file

@ -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 \

View file

@ -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"