diff options
author | Strahil Yordanov <strahilski@yahoo.com> | 2019-02-02 00:36:18 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-02-02 00:36:18 +0700 |
commit | a6c03f298fd16d8203fa97476edd1ba24a1e912e (patch) | |
tree | 34ee9bb829fbb69bfed002fb2d6802cc90cfe16d /development/openjdk8/openjdk8.SlackBuild | |
parent | cc9200c3a1ab2ab97d82a0e2f86e86d3a814e1b2 (diff) |
development/openjdk8: Updated for version 8u191.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/openjdk8/openjdk8.SlackBuild')
-rw-r--r-- | development/openjdk8/openjdk8.SlackBuild | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/development/openjdk8/openjdk8.SlackBuild b/development/openjdk8/openjdk8.SlackBuild index 4b3cbdfeed0b9..76559348f7fb7 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 |