diff options
Diffstat (limited to 'development/jdk/jdk.SlackBuild')
-rw-r--r-- | development/jdk/jdk.SlackBuild | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/development/jdk/jdk.SlackBuild b/development/jdk/jdk.SlackBuild index 5bfe1b91f1..5eb76ef868 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 \ |