diff options
author | Igor Alexandrov <igor.alexandrov@outlook.com> | 2021-06-12 23:03:26 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-06-13 09:22:29 +0700 |
commit | 92abc86525772eeee67ca4849d923da7add6aa26 (patch) | |
tree | ab181703864abdac8b3dc4c0d693f71f51fdd772 /development | |
parent | 7c5966795bfc4079f6a1054ae29f60c973519a03 (diff) | |
download | slackbuilds-92abc86525772eeee67ca4849d923da7add6aa26.tar.gz |
development/jdk16: Updated to version 16.0.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/jdk16/README | 2 | ||||
-rw-r--r-- | development/jdk16/jdk16.SlackBuild | 17 | ||||
-rw-r--r-- | development/jdk16/jdk16.info | 8 |
3 files changed, 12 insertions, 15 deletions
diff --git a/development/jdk16/README b/development/jdk16/README index b22f907cec..32c89bd685 100644 --- a/development/jdk16/README +++ b/development/jdk16/README @@ -18,4 +18,4 @@ for Oracle Java SE to download this software https://www.oracle.com/java/technologies/javase-jdk16-downloads.html After installation you will need to log out from the system and log in back -for environment variables get updated. +for environment variables get updated. Or just run "source /etc/profile" diff --git a/development/jdk16/jdk16.SlackBuild b/development/jdk16/jdk16.SlackBuild index 4003df7cd8..7efd6bb4be 100644 --- a/development/jdk16/jdk16.SlackBuild +++ b/development/jdk16/jdk16.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=jdk16 -VERSION=${VERSION:-16.0.0} +VERSION=${VERSION:-16.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -49,25 +49,21 @@ fi LIBDIRSUFFIX=64 rm -rf $PKG -mkdir -p $TMP $OUTPUT \ - $PKG/{install,etc/profile.d,usr/{bin,lib${LIBDIRSUFFIX},doc/$PRGNAM-$VERSION,man/man1}} - +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*.tar.gz +mv $(tar -tf $CWD/jdk-${VERSION}_linux*.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 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -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 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; find $PRGNAM-$VERSION -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PRGNAM-$VERSION/man -type f -exec gzip -9q {} \; 2> /dev/null || true -for i in $(find $PRGNAM-$VERSION/man -type l 2> /dev/null); do ln -s $(readlink $i).gz $i.gz ; rm $i ; done (cd ../man/man1; find ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/man/man1 -type f -exec ln -s {} \;) (cd ../bin; find ../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/bin -type f -exec ln -s {} \;) @@ -78,6 +74,7 @@ ln -sf $PRGNAM-$VERSION/lib/libjava.so ln -sf $PRGNAM-$VERSION/lib/libawt.so ln -sf $PRGNAM-$VERSION/lib/libawt_xawt.so ln -sf $PRGNAM-$VERSION/lib/libjli.so +ln -sf $PRGNAM-$VERSION/lib/libverify.so cd ../doc/$PRGNAM-$VERSION ln -s ../../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/legal diff --git a/development/jdk16/jdk16.info b/development/jdk16/jdk16.info index c2ce3af7fb..9909c33d3b 100644 --- a/development/jdk16/jdk16.info +++ b/development/jdk16/jdk16.info @@ -1,10 +1,10 @@ PRGNAM="jdk16" -VERSION="16.0.0" -HOMEPAGE="https://www.oracle.com/technetwork/java/javase/downloads/index.html" +VERSION="16.0.1" +HOMEPAGE="https://developer.oracle.com/java" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://download.oracle.com/otn-pub/java/jdk/16+36/7863447f0ab643c585b9bdebf67c69db/jdk-16_linux-x64_bin.tar.gz" -MD5SUM_x86_64="c4432d1ace6a4af84b6b44e41dfd6879" +DOWNLOAD_x86_64="https://download.oracle.com/otn-pub/java/jdk/16.0.1+9/7147401fd7354114ac51ef3e1328291f/jdk-16.0.1_linux-x64_bin.tar.gz" +MD5SUM_x86_64="cffda8a3531e34e22ec9f9ba8d2ae60e" REQUIRES="" MAINTAINER="Igor Alexandrov" EMAIL="igor.alexandrov@outlook.com" |