Hello community,

here is the log from the commit of package icedtea-web for openSUSE:Factory 
checked in at 2017-09-13 22:18:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/icedtea-web (Old)
 and      /work/SRC/openSUSE:Factory/.icedtea-web.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "icedtea-web"

Wed Sep 13 22:18:40 2017 rev:19 rq:521600 version:1.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/icedtea-web/icedtea-web.changes  2017-08-24 
18:46:00.311436175 +0200
+++ /work/SRC/openSUSE:Factory/.icedtea-web.new/icedtea-web.changes     
2017-09-13 22:18:40.538094451 +0200
@@ -1,0 +2,27 @@
+Tue Sep  5 17:50:30 UTC 2017 - [email protected]
+
+- Added patch:
+  * icedtea-web-javadoc9.patch
+    - Allow building of icedtea-web-javadoc with jdk9
+
+-------------------------------------------------------------------
+Tue Sep  5 08:26:46 UTC 2017 - [email protected]
+
+- Added patch:
+  * icedtea-web-x509factory.patch
+    - Allow building of icedtea-web (with some limitations) using
+      jdk9
+
+-------------------------------------------------------------------
+Tue Sep  5 07:45:36 UTC 2017 - [email protected]
+
+- Added patch:
+  * icedtea-web-exports.patch
+    - Fixing "java.lang.IllegalAccessError: class
+      netscape.javascript.JSObject (in module jdk.jsobject) cannot
+      access class sun.applet.PluginDebug (in module java.desktop)
+      because module java.desktop does not export sun.applet to
+      module jdk.jsobject" with
+      https://www.java.com/en/download/installed8.jsp?detect=jre
+
+-------------------------------------------------------------------

New:
----
  icedtea-web-exports.patch
  icedtea-web-javadoc9.patch
  icedtea-web-x509factory.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ icedtea-web.spec ++++++
--- /var/tmp/diff_new_pack.YWI15s/_old  2017-09-13 22:18:41.074019002 +0200
+++ /var/tmp/diff_new_pack.YWI15s/_new  2017-09-13 22:18:41.078018438 +0200
@@ -17,6 +17,7 @@
 
 
 %global build_native_plugin 1
+%global build_docs 1
 %define javadir     %{_jvmdir}/java
 %define jredir      %{_jvmdir}/jre
 %define javaplugin  libjavaplugin.so.%{_arch}
@@ -36,13 +37,19 @@
 Url:            http://icedtea.classpath.org
 Source0:        
http://icedtea.classpath.org/download/source/icedtea-web-%{version}.tar.gz
 Patch0:         icedtea-web-suse-desktop-files.patch
+Patch1:         icedtea-web-exports.patch
+Patch2:         icedtea-web-x509factory.patch
+Patch3:         icedtea-web-javadoc9.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  desktop-file-utils
 BuildRequires:  fdupes
 BuildRequires:  hamcrest
-BuildRequires:  java-1_8_0-openjdk-devel
+BuildRequires:  java-devel >= 1.8
 # owns javadocdir
 BuildRequires:  javapackages-tools
 BuildRequires:  junit
+BuildRequires:  libtool
 BuildRequires:  objectweb-asm
 BuildRequires:  pkgconfig >= 0.9.0
 BuildRequires:  procps
@@ -80,6 +87,7 @@
 applets written in the Java programming language and an implementation of Java
 Web Start, originally based on the NetX project.
 
+%if %{build_docs}
 %package javadoc
 Summary:        Java Web Start and plugin implementation (API documentation)
 Group:          Documentation/Other
@@ -92,11 +100,17 @@
 This package contains API documentation for the %{name} Java Web Start
 and plugin implementation.
 
+%endif
+
 %prep
 %setup -q -n icedtea-web-%{version}
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
+autoreconf -fiv
 %configure \
        --with-jdk-home=%{javadir} \
        --with-jre-home=%{jredir} \
@@ -107,7 +121,11 @@
 %else
        --disable-native-plugin \
 %endif
+%if %{build_docs}
        --enable-docs \
+%else
+       --disable-docs \
+%endif
     --program-suffix=%{binsuffix} \
        --with-pkgversion=suse-%{release}-%{_arch}
 
@@ -134,11 +152,6 @@
 
 rm -rf %{buildroot}%{_mandir}/*/man1
 
-%check
-# This directory is needed by make %{?_smp_mflags} check
-mkdir -p tests.build
-make %{?_smp_mflags} check
-
 %post
 %if %{build_native_plugin}
 update-alternatives \
@@ -191,9 +204,12 @@
 %{_libdir}/%{name}/IcedTeaPlugin.so
 %endif
 
+%if %{build_docs}
 %files javadoc
 %doc NEWS README COPYING
 %dir %{_javadocdir}/%{name}
 %{_javadocdir}/%{name}/*
 
+%endif
+
 %changelog

++++++ icedtea-web-exports.patch ++++++
--- a/launcher/launchers.in     Thu Jul 20 18:10:10 2017 +0200
+++ b/launcher/launchers.in     Tue Sep 05 19:23:52 2017 +0200
@@ -157,7 +157,7 @@
 k=$((k+1))
 COMMAND[k]="--add-exports"
 k=$((k+1))
-COMMAND[k]="java.desktop/sun.applet=ALL-UNNAMED,java.desktop"
+COMMAND[k]="java.desktop/sun.applet=ALL-UNNAMED,java.desktop,jdk.jsobject"
 k=$((k+1))
 COMMAND[k]="--add-exports"
 k=$((k+1))
--- a/plugin/icedteanp/IcedTeaNPPlugin.cc       Thu Jul 20 18:10:10 2017 +0200
+++ b/plugin/icedteanp/IcedTeaNPPlugin.cc       Tue Sep 05 19:23:52 2017 +0200
@@ -1586,7 +1586,7 @@
     "java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop",
     "java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop",
     "java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop",
-    "java.desktop/sun.applet=ALL-UNNAMED,java.desktop",
+    "java.desktop/sun.applet=ALL-UNNAMED,java.desktop,jdk.jsopbject",
     "java.base/sun.security.action=ALL-UNNAMED,java.desktop",
     "java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop"
 };
++++++ icedtea-web-javadoc9.patch ++++++
--- a/Makefile.am       Thu Jul 20 18:10:10 2017 +0200
+++ b/Makefile.am       Tue Sep 05 19:23:52 2017 +0200
@@ -218,6 +218,9 @@
 if ENABLE_DOCS
 JAVADOC_OPTS=-use -keywords -encoding UTF-8 -splitIndex \
  -bottom '<font size="-1"> <a 
href="http://icedtea.classpath.org/bugzilla";>Submit a bug or feature</a></font>'
+if HAVE_JAVA9
+JAVADOC_OPTS+=-source $(IT_LANGUAGE_SOURCE_VERSION)
+endif
 if JAVADOC_SUPPORTS_J_OPTIONS
 JAVADOC_MEM_OPTS=-J-Xmx1024m -J-Xms128m
 endif
++++++ icedtea-web-x509factory.patch ++++++
--- a/configure.ac      Thu Jul 20 18:10:10 2017 +0200
+++ b/configure.ac      Tue Sep 05 19:23:52 2017 +0200
@@ -95,7 +95,6 @@
 IT_CHECK_FOR_CLASS(JAVA_NET_HTTPCOOKIE, [java.net.HttpCookie], [some.pkg], [])
 IT_CHECK_FOR_CLASS(JAVA_NET_COOKIEHANDLER, [java.net.CookieHandler], 
[some.pkg], [])
 # in jdk9, those classes are using internal apis, must be enabled via module 
cheats
-IT_CHECK_FOR_CLASS(SUN_SECURITY_PROVIDER_X509FACTORY, 
[sun.security.provider.X509Factory], [some.pkg], [$JAVA_BASE])
 IT_CHECK_FOR_CLASS(SUN_SECURITY_UTIL_SECURITYCONSTANTS, 
[sun.security.util.SecurityConstants], [some.pkg], [$JAVA_BASE])
 IT_CHECK_FOR_CLASS(SUN_SECURITY_UTIL_HOSTNAMECHECKER, 
[sun.security.util.HostnameChecker], [some.pkg], [$JAVA_BASE])
 IT_CHECK_FOR_CLASS(SUN_SECURITY_X509_X500NAME, [sun.security.x509.X500Name], 
[some.pkg], [$JAVA_BASE])
--- a/netx/net/sourceforge/jnlp/security/CertificateUtils.java  Thu Jul 20 
18:10:10 2017 +0200
+++ b/netx/net/sourceforge/jnlp/security/CertificateUtils.java  Tue Sep 05 
19:23:52 2017 +0200
@@ -58,7 +58,6 @@
 import net.sourceforge.jnlp.runtime.Translator;
 import net.sourceforge.jnlp.util.logging.OutputController;
 import net.sourceforge.jnlp.util.replacements.BASE64Encoder;
-import sun.security.provider.X509Factory;
 
 /**
  * Common utilities to manipulate certificates. Provides methods to add
@@ -193,9 +192,9 @@
             CertificateException {
 
         BASE64Encoder encoder = new BASE64Encoder();
-        out.println(X509Factory.BEGIN_CERT);
+        out.println("-----BEGIN CERTIFICATE-----");
         encoder.encodeBuffer(cert.getEncoded(), out);
-        out.println(X509Factory.END_CERT);
+        out.println("-----END CERTIFICATE-----");
     }
 
     public static void dumpPKCS12(String alias, File file, KeyStore ks, char[] 
password)

Reply via email to