-
Notifications
You must be signed in to change notification settings - Fork 2
/
fsg.sh.in
27 lines (22 loc) · 1.22 KB
/
fsg.sh.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/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/pr3823.patch
fi