summaryrefslogtreecommitdiff
path: root/development/jdk
diff options
context:
space:
mode:
authorDavid Somero <dsomero@hotmail.com>2013-03-25 22:22:35 -0500
committerErik Hanson <erik@slackbuilds.org>2013-03-25 22:22:35 -0500
commita59d732d52d58803c7fdf5a4c0a704b30e50a18d (patch)
tree7a00f3fd6334ee4cc6a415a45cc6290aed27e044 /development/jdk
parente55182912887aaf295dd76607f1a5ab29917729e (diff)
downloadslackbuilds-a59d732d52d58803c7fdf5a4c0a704b30e50a18d.tar.gz
development/jdk: Updated for version 7u17.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'development/jdk')
-rw-r--r--development/jdk/README2
-rw-r--r--development/jdk/jdk.SlackBuild19
-rw-r--r--development/jdk/jdk.info10
3 files changed, 22 insertions, 9 deletions
diff --git a/development/jdk/README b/development/jdk/README
index ebab172620..ba073b4c4f 100644
--- a/development/jdk/README
+++ b/development/jdk/README
@@ -6,3 +6,5 @@ This will also package JRE so you will not need a separate JRE build.
You must Agree to Oracle's download agreement before this can be downloaded.
This means you have to use a web browser to download it. Sorry wget folks.
+
+The mozilla plugin is no longer activated by default.
diff --git a/development/jdk/jdk.SlackBuild b/development/jdk/jdk.SlackBuild
index d9885ad092..6ce4fa7b0a 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:-7u15}
+VERSION=${VERSION:-7u17}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,9 +80,20 @@ chmod 755 $PKG/etc/profile.d/*
ln -sf java ${PRGNAM}${DVER}
)
-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
+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 Critical Patch Update for Java SE addresses 50 security
+ vulnerabilities, 44 of which affect 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 .
diff --git a/development/jdk/jdk.info b/development/jdk/jdk.info
index 25f69abfc1..66ac28b1d3 100644
--- a/development/jdk/jdk.info
+++ b/development/jdk/jdk.info
@@ -1,10 +1,10 @@
PRGNAM="jdk"
-VERSION="7u15"
+VERSION="7u17"
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/downloads/index.html"
-DOWNLOAD="http://download.oracle.com/otn-pub/java/jdk/7u15-b03/jdk-7u15-linux-i586.tar.gz"
-MD5SUM="6ebab8e0942706af2f7f5e0195a96f2c"
-DOWNLOAD_x86_64="http://download.oracle.com/otn-pub/java/jdk/7u15-b03/jdk-7u15-linux-x64.tar.gz"
-MD5SUM_x86_64="118a16aab9ff2c3f7c7788658cc77734"
+DOWNLOAD="http://download.oracle.com/otn-pub/java/jdk/7u17-b02/jdk-7u17-linux-i586.tar.gz"
+MD5SUM="694f9592d894b86a8a3cb56bf71768e6"
+DOWNLOAD_x86_64="http://download.oracle.com/otn-pub/java/jdk/7u17-b02/jdk-7u17-linux-x64.tar.gz"
+MD5SUM_x86_64="d9b5870a94c47efa0282d6c1863d0667"
REQUIRES=""
MAINTAINER="David Somero"
EMAIL="dsomero@hotmail.com"