view fsg.sh.in @ 2685:2663d0ce795a

PR3782: Update patch against 14.0.0 & JDK-8226374 2020-03-17 Andrew John Hughes <gnu_andrew@member.fsf.org> PR3782: Update patch against 14.0.0 & JDK-8226374 * NEWS: Updated. * fsg.sh.in: Update patch name. 2020-03-16 Petra Mikova <pmikova@redhat.com> PR3782: Update patch against 14.0.0 & JDK-8226374 * patches/pr3782.patch: Renamed from pr3755.patch. Adapt to changes in JDK-8226374: Restrict TLS signature schemes and named groups
author Andrew John Hughes <gnu_andrew@member.fsf.org>
date Wed, 18 Mar 2020 04:41:09 +0000
parents 469958c06626
children fabce78297b7
line wrap: on
line source

#!/bin/sh

echo "Further liberating OpenJDK..."

# PRx denotes bug x in the IcedTea bug database (http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=x)
# Sx denotes bug x in the Sun/Oracle bug database (https://bugs.openjdk.java.net/browse/JDK-X)

echo "Removing support for proprietary SNMP plug"
rm -rvf openjdk/jdk/src/share/classes/sun/management/snmp
rm -rvf openjdk/jdk/src/share/classes/com/sun/jmx/snmp
rm -rvf openjdk/jdk/test/com/sun/jmx/snmp

echo "Removing EC source code we don't build"
rm -rvf openjdk/jdk/src/share/native/sun/security/ec/impl

if test "x@ENABLE_NON_NSS_CURVES@" = "xno"; then
  echo "Removing non-NSS ECC curves"
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ec2.h
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ec2_163.c
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ec2_193.c
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ec2_233.c
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ec2_aff.c
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ec2_mont.c
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ecp_192.c
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ecp_224.c
  patch -Np0 < @abs_top_srcdir@/patches/pr3782.patch
fi