view fsg.sh.in @ 2686:fabce78297b7 default tip

PR3788: Update elliptic curve patch to include jdk.disabled.namedCurves 2020-05-18 Andrew John Hughes <gnu_andrew@member.fsf.org> PR3788: Update elliptic curve patch to include jdk.disabled.namedCurves * AUTHORS: Add Martin Balao. * NEWS: Updated. * fsg.sh.in: Update patch name. 2020-04-01 Martin Balao <mbalao@redhat.com> PR3788: Update elliptic curve patch to include jdk.disabled.namedCurves * patches/pr3788.patch: Renamed from pr3782.patch. Remove unsupported curves from the jdk.disabled.namedCurves property.
author Andrew John Hughes <gnu_andrew@member.fsf.org>
date Mon, 18 May 2020 13:34:03 +0100
parents 2663d0ce795a
children
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/pr3788.patch
fi