From a59d732d52d58803c7fdf5a4c0a704b30e50a18d Mon Sep 17 00:00:00 2001 From: David Somero Date: Mon, 25 Mar 2013 22:22:35 -0500 Subject: development/jdk: Updated for version 7u17. Signed-off-by: Erik Hanson --- development/jdk/README | 2 ++ development/jdk/jdk.SlackBuild | 19 +++++++++++++++---- development/jdk/jdk.info | 10 +++++----- 3 files changed, 22 insertions(+), 9 deletions(-) (limited to 'development/jdk') 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" -- cgit v1.2.3