aboutsummaryrefslogtreecommitdiff
path: root/development/jdk/jdk.SlackBuild
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/jdk.SlackBuild
parente55182912887aaf295dd76607f1a5ab29917729e (diff)
development/jdk: Updated for version 7u17.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'development/jdk/jdk.SlackBuild')
-rw-r--r--development/jdk/jdk.SlackBuild19
1 files changed, 15 insertions, 4 deletions
diff --git a/development/jdk/jdk.SlackBuild b/development/jdk/jdk.SlackBuild
index d9885ad09240d..6ce4fa7b0a55b 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 .