diff options
Diffstat (limited to 'development/jdk/jdk.SlackBuild')
-rw-r--r-- | development/jdk/jdk.SlackBuild | 19 |
1 files changed, 15 insertions, 4 deletions
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 . |