aboutsummaryrefslogtreecommitdiff
path: root/development/jdk
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2017-10-30 00:44:31 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-11-01 07:34:31 +0700
commitea1b4d80980f38d46b74ecf301c12c53f14d7b6a (patch)
tree7faa2fa51580d9fbceda4a5a5c39c5a1f42716a6 /development/jdk
parent28a70a3fd7f23135cd53520e89df857be7c5eb10 (diff)
development/jdk: Updated for version 8u152.
Thanks to bifferos on LQ for the jce_policy addition. This is the last Java 8 release that will be available to the general public. I'll push a git branch for testing of Java 9 soon... Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/jdk')
-rw-r--r--development/jdk/jdk.SlackBuild25
-rw-r--r--development/jdk/jdk.info14
2 files changed, 16 insertions, 23 deletions
diff --git a/development/jdk/jdk.SlackBuild b/development/jdk/jdk.SlackBuild
index 5bfe1b91f18f8..5eb76ef868766 100644
--- a/development/jdk/jdk.SlackBuild
+++ b/development/jdk/jdk.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=jdk
-VERSION=${VERSION:-8u144}
+VERSION=${VERSION:-8u152}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,21 +80,6 @@ chmod 755 $PKG/etc/profile.d/*
ln -sf java ${PRGNAM}${DVER}
)
-if [ ${EXPLOIT_ME:-"no"} = "YES" ] ;then
- mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins
- cd $PKG/usr/lib${LIBDIRSUFFIX}/mozilla/plugins
- ln -sf /usr/lib${LIBDIRSUFFIX}/java/jre/lib/${LIB_ARCH}/libnpjp2.so libnpjp2.so
-else
- echo "
- The February 2013 Critical Patch Update for Java SE addressed 50
- security vulnerabilities, 44 of which affected the use of Java
- as a plug-in for Web browers.
-
- !! THE MOZILLA PLUGIN IS NO LONGER ACTIVATED BY DEFAULT !!
- "
- sleep 5
-fi
-
cd $PKG/usr/lib${LIBDIRSUFFIX}
ln -sf ./java/jre/lib/${LIB_ARCH}/server/libjvm.so .
@@ -152,6 +137,14 @@ cp -a $PKG/usr/lib${LIBDIRSUFFIX}/java/jre/lib/desktop/icons/hicolor \
cp -a $PKG/usr/lib${LIBDIRSUFFIX}/java/jre/lib/desktop/mime/packages \
$PKG/usr/share/mime/
+# Install the unlimited strength JCE policy files
+# if the zip file is also in the build directory
+ENCRYPTION_POLICY_ZIP="$CWD/jce_policy-*.zip"
+if [ -r $ENCRYPTION_POLICY_ZIP ]; then
+ unzip -jo $ENCRYPTION_POLICY_ZIP -x README.txt \
+ -d $PKG/usr/lib${LIBDIRSUFFIX}/java/jre/lib/security
+fi
+
# Java may not expect compressed manpages, so don't compress them.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
diff --git a/development/jdk/jdk.info b/development/jdk/jdk.info
index 34e64e2c0b968..5e3473a31f9c5 100644
--- a/development/jdk/jdk.info
+++ b/development/jdk/jdk.info
@@ -1,10 +1,10 @@
PRGNAM="jdk"
-VERSION="8u144"
+VERSION="8u152"
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/downloads/index.html"
-DOWNLOAD="http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-i586.tar.gz"
-MD5SUM="13d771707f326b02e2497c99e0a2ca37"
-DOWNLOAD_x86_64="http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-x64.tar.gz"
-MD5SUM_x86_64="2d59a3add1f213cd249a67684d4aeb83"
+DOWNLOAD="http://download.oracle.com/otn-pub/java/jdk/8u152-b16/aa0333dd3019491ca4f6ddbe78cdb6d0/jdk-8u152-linux-i586.tar.gz"
+MD5SUM="0c70ea43ad5baf0349a16c734bc2fb41"
+DOWNLOAD_x86_64="http://download.oracle.com/otn-pub/java/jdk/8u152-b16/aa0333dd3019491ca4f6ddbe78cdb6d0/jdk-8u152-linux-x64.tar.gz"
+MD5SUM_x86_64="20dddd28ced3179685a5f58d3fcbecd8"
REQUIRES=""
-MAINTAINER="David Somero"
-EMAIL="dsomero@hotmail.com"
+MAINTAINER="Robby Workman"
+EMAIL="rworkman@slackbuilds.org"