EC no longer built

This commit is contained in:
Jiri Vanek 2017-10-10 12:56:11 +02:00
parent 355b83f80f
commit 39b86180e9
4 changed files with 25 additions and 14 deletions

View File

@ -114,22 +114,20 @@ done
if [ -d jdk ]; then
echo "Removing EC source code we don't build"
#mv -v jdk/src/share/native/sun/security/ec/impl/ecc_impl.h .
#rm -vrf jdk/src/share/native/sun/security/ec/impl
#mkdir jdk/src/share/native/sun/security/ec/impl
#mv -v ecc_impl.h jdk/src/share/native/sun/security/ec/impl
CRYPTO_PATH=jdk/src/jdk.crypto.ec/share/native/libsunec/impl
rm -vrf $CRYPTO_PATH
echo "Syncing EC list with NSS"
#if [ "x$PR2126" = "x" ] ; then
if [ "x$PR2126" = "x" ] ; then
# orriginally for 8:
# get pr2126.patch (from http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=8d2c9a898f50) from most correct tag
# Do not push it or publish it (see http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2126)
# wget http://icedtea.classpath.org/hg/icedtea8/raw-file/tip/patches/pr2126.patch
# patch -Np1 < pr2126.patch
# rm pr2126.patch
#else
# echo "Applying ${PR2126}"
# patch -Np1 < $PR2126
#fi;
# there is currnetly no "upstram version of this patch, hardcoding custom version
PR2126="../../pr2126-9.patch"
fi;
echo "Applying ${PR2126}"
patch -Np1 < $PR2126
fi
find . -name '*.orig' -exec rm -vf '{}' ';'

View File

@ -852,7 +852,7 @@ Provides: java-%{javaver}-%{origin}-accessiblity = %{epoch}:%{version}-%{release
Name: java-%{majorver}-%{origin}
Version: %{newjavaver}.%{buildver}
Release: 7%{?dist}
Release: 8%{?dist}
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons,
# and this change was brought into RHEL-4. java-1.5.0-ibm packages
# also included the epoch in their virtual provides. This created a
@ -1811,6 +1811,9 @@ require "copy_jdk_configs.lua"
%changelog
* Fri Oct 10 2017 Jiri Vanek <jvanek@redhat.com> - 1:1.9.0.0-8.b163
- EC no longer built
* Tue Oct 10 2017 Jiri Vanek <jvanek@redhat.com> - 1:1.9.0.0-7.b163
- now owning dir etcjavadir

View File

@ -8,3 +8,13 @@
security.provider.tbd=SunJSSE
security.provider.tbd=SunJCE
security.provider.tbd=SunJGSS
@@ -676,7 +675,7 @@
# Example:
# jdk.tls.disabledAlgorithms=MD5, SSLv3, DSA, RSA keySize < 2048
jdk.tls.disabledAlgorithms=SSLv3, RC4, MD5withRSA, DH keySize < 1024, \
- EC keySize < 224
+ EC, ECDHE, ECDH
# Legacy algorithms for Secure Socket Layer/Transport Layer Security (SSL/TLS)
# processing in JSSE implementation.

View File

@ -1,2 +1,2 @@
SHA512 (systemtap-tapset-3.1.0.tar.xz) = 0dbddb55d9e92df02b6f39ed57261d44a78fba21a9e53f9645a754a5394d322be6eaf92e98e60fa5f2f5339b89f262a3646ac341338993d83b83092d1e2a14a5
SHA512 (jdk9-jdk9-jdk-9+181.tar.xz) = dc9b20538d4d08e1ecdc7764dad1e3b308b62ba6cce7b78c754444f5b48598a73c3e64728871c9129bee51e4964daf29eaf331e89b2b06801188d562c8887940
SHA512 (jdk9-jdk9-jdk-9+181.tar.xz) = c4371204b97f208479d6419cb487b085a4b1076c10e0eed0e53555a0d7d34d7ba61a22a0be49b6cdc9d9442f9b115e94d3366523175a1f46b508a5f70a2bd920