Hello community, here is the log from the commit of package icedtea-web for openSUSE:Factory checked in at 2017-08-24 18:45:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/icedtea-web (Old) and /work/SRC/openSUSE:Factory/.icedtea-web.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "icedtea-web" Thu Aug 24 18:45:26 2017 rev:18 rq:514501 version:1.7 Changes: -------- --- /work/SRC/openSUSE:Factory/icedtea-web/icedtea-web.changes 2017-02-22 13:55:23.348483570 +0100 +++ /work/SRC/openSUSE:Factory/.icedtea-web.new/icedtea-web.changes 2017-08-24 18:46:00.311436175 +0200 @@ -1,0 +2,100 @@ +Fri Jul 28 05:52:00 UTC 2017 - [email protected] + +- Update to 1.7 + * PR3366 - bash completion file was split to three, and is + setup-able by bashcompdir environment variable + * added experimental support for windows + * added experimental support for java 9 (linux only) + * added experimental support for jnlp protocol (see + https://bugs.openjdk.java.net/browse/JDK-8055464) + * restricted to JDK8 and higher + * all connection restrictions now consider also port + * Enabled Entry-Point attribute check + * permissions sandbox and signed app and unsigned app with + permissions all-permissions now run in sandbox instead of not + at all. + * fixed DownloadService + * PR2779: html-gen.sh: Don't try to call hg if .hg directory + isn't present + * PR2591 - IcedTea-Web request resources twice for meta + informations and causes ClientAbortException on tomcat in + conjunction with JnlpDownloadServlet + * PR2690 - Can't run BOM into JNLP file + * PR2669 - remove bash-specific syntax from top level Makefile.am + * PR2489 - various NPEs when codebase is null + * PR2855 - configure.ac: Remove unnecessary checks for libX11 and + zlib + * PR878 - (http-511) Handle HTTP error 511 Network Authentication + Required (standard secure proxy authentification/captive portal + detection) + * PR1190 - unuseable javaws cache handling + * PR3227 - can not save file with query longer then (together + with name) then 255 chars + * comments in deployment.properties now should persists load/save + * fixed bug in caching of files with query + * fixed issues with recreating of existing shortcut + * trustAll/trustNone now processed correctly + * headless no longer shows dialogues + * RH1231441 Unable to read the text of the buttons of the + security dialogue + * Fixed RH1233697 icedtea-web: applet origin spoofing + * Fixed RH1233667 icedtea-web: unexpected permanent authorization + of unsigned applets + * FIXED PR3263 - Cannot retrieve JavaScript Engine using + ScriptEngineManager.getEngineByName + * fixed fatal impact of initialization error of FileLog + * MissingALACAdialog made available also for unsigned applications + (but ignoring actual manifest value) and fixed + * more dialogs got remember me possibility + - MissingALACAttributePanel + - AccessWarning + - MissingPermissionsAttributePanel + - MatchingALACAttributePanel + - UnsignedAppletTrustWarningPanel + - PartiallySignedAppTrustWarningPanel + * Itw-settings + - All rememberable dialogues can have saved value modified + * NetX + - fixed issues with -html shortcuts + - fixed issue with -html receiving garbage in width and height + - main-class attribute trimmed by default + - in strict mode, main-class attribute checked for invalid + characters + - added -browser switch as workaround around most uttermost + http authentications cornercases + * PolicyEditor + - Entry list is sorted, entries will appear with consistent + ordering + - file flag made to work when used standalone + - file flag cannot be used in combination with main argument + - defaultfile flag added + - support for SignedBy and Principals along with existing + Codebase + * Plugin + - RH1273691 - Escaped equals signs in deployment.properties not + un-escaped when used + - PR2746 - IcedTea-Web Plugin 1.6.1: + net.sourceforge.jnlp.LaunchException + - PR2714 - IcedTea-Web plugin sends uninitialized memory + garbage across a pipe when NPN_GetValueForURL call fails + - PR3198 - Error in webmin + - PR2968 - IcedTea-Web crashes on Dell EqualLogic SAN + +------------------------------------------------------------------- +Thu Jun 29 07:33:20 UTC 2017 - [email protected] + +- Handle the plugin with alternatives +- Register icedtea-web's javaws as default handler for jnlp and + jnlps protocols + +------------------------------------------------------------------- +Fri Jun 23 07:38:11 UTC 2017 - [email protected] + +- Remove the java-*-openjdk-plugin.spec files +- Build only one version of plugin and javaws, that works with the + default java alternative +- Name the package back icedtea-web +- Depend on tagsoup to handle the majority badly formed html out + there + +------------------------------------------------------------------- Old: ---- icedtea-web-1.6.2.tar.gz java-1_7_0-openjdk-plugin.changes java-1_7_0-openjdk-plugin.spec java-1_8_0-openjdk-plugin.changes java-1_8_0-openjdk-plugin.spec pre_checkin.sh New: ---- icedtea-web-1.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ icedtea-web.spec ++++++ --- /var/tmp/diff_new_pack.6QBI69/_old 2017-08-24 18:46:01.531264420 +0200 +++ /var/tmp/diff_new_pack.6QBI69/_new 2017-08-24 18:46:01.551261604 +0200 @@ -16,28 +16,63 @@ # -%define sdkdir java -%define jredir %{sdkdir}/jre +%global build_native_plugin 1 +%define javadir %{_jvmdir}/java +%define jredir %{_jvmdir}/jre +%define javaplugin libjavaplugin.so.%{_arch} +%define binsuffix .itweb +# Alternatives priority +%define priority 18000 +# jnlp prorocol gnome registry keys +%define gurlhandler /desktop/gnome/url-handlers +%define jnlphandler %{gurlhandler}/jnlp +%define jnlpshandler %{gurlhandler}/jnlps Name: icedtea-web -Version: 1.6.2 +Version: 1.7 Release: 0 -Summary: Java Web Start and plugin implementation +Summary: Java Web Start implementation License: GPL-2.0-with-classpath-exception Group: Development/Languages/Java Url: http://icedtea.classpath.org Source0: http://icedtea.classpath.org/download/source/icedtea-web-%{version}.tar.gz +Patch0: icedtea-web-suse-desktop-files.patch +BuildRequires: desktop-file-utils BuildRequires: fdupes -BuildRequires: java-devel >= 1.7 -BuildRequires: zip -BuildRequires: zlib-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch +BuildRequires: hamcrest +BuildRequires: java-1_8_0-openjdk-devel # owns javadocdir -# javapackages-tools now includes jpackage-utils -%if 0%{?suse_version} > 1230 BuildRequires: javapackages-tools -%else -BuildRequires: jpackage-utils +BuildRequires: junit +BuildRequires: objectweb-asm +BuildRequires: pkgconfig >= 0.9.0 +BuildRequires: procps +BuildRequires: rhino +BuildRequires: tagsoup +BuildRequires: zip +Requires: java >= 1.8 +Requires: rhino +Requires: tagsoup +Requires(post): gconf2 +Requires(post): update-alternatives +Requires(postun): gconf2 +Requires(postun): update-alternatives +Suggests: %{name}-javadoc +# bnc#737105/FATE#313084/bsc#929464 +Supplements: java >= 1.8.0 +Provides: java-plugin = 1.8.0 +Obsoletes: java-plugin < 1.8.0 +Provides: java-1_6_0-openjdk-plugin = %{version}-%{release} +Obsoletes: java-1_6_0-openjdk-plugin < %{version}-%{release} +Provides: java-1_7_0-openjdk-plugin = %{version}-%{release} +Obsoletes: java-1_7_0-openjdk-plugin < %{version}-%{release} +Provides: java-1_8_0-openjdk-plugin = %{version}-%{release} +Obsoletes: java-1_8_0-openjdk-plugin < %{version}-%{release} +Provides: java-1_9_0-openjdk-plugin = %{version}-%{release} +Obsoletes: java-1_9_0-openjdk-plugin < %{version}-%{release} +%if %{build_native_plugin} +BuildRequires: gcc-c++ +BuildRequires: glib2-devel +BuildRequires: npapi-sdk %endif %description @@ -48,6 +83,7 @@ %package javadoc Summary: Java Web Start and plugin implementation (API documentation) Group: Documentation/Other +BuildArch: noarch %description javadoc The IcedTea-Web project provides a Free Software web browser plugin running @@ -58,30 +94,104 @@ %prep %setup -q -n icedtea-web-%{version} +%patch0 -p1 %build %configure \ - --with-jdk-home=%{_jvmdir}/%{sdkdir} \ - --with-jre-home=%{_jvmdir}/%{jredir} \ - --docdir=%{_javadocdir}/icedtea-web \ - --disable-plugin \ + --with-jdk-home=%{javadir} \ + --with-jre-home=%{jredir} \ + --docdir=%{_javadocdir}/%{name} \ +%if %{build_native_plugin} + --enable-native-plugin \ + --libdir=%{_libdir}/%{name} \ +%else + --disable-native-plugin \ +%endif --enable-docs \ - GLIB_CFLAGS=dummy GLIB_LIBS=dummy \ - MOZILLA_CFLAGS=dummy MOZILLA_LIBS=dummy \ - X11_CFLAGS=dummy X11_LIBS=dummy \ - GLIB2_V_216_CFLAGS=dummy GLIB2_V_216_LIBS=dummy + --program-suffix=%{binsuffix} \ + --with-pkgversion=suse-%{release}-%{_arch} make %{?_smp_mflags} V=1 %install -make DESTDIR=%{buildroot} install-data-local %{?_smp_mflags} +%make_install -rm -rf %{buildroot}%{_mandir} +# Move man pages to a more specific name +mv %{buildroot}/%{_mandir}/man1/javaws.1 %{buildroot}/%{_mandir}/man1/javaws%{binsuffix}.1 +mv %{buildroot}/%{_mandir}/man1/itweb-settings.1 %{buildroot}/%{_mandir}/man1/itweb-settings%{binsuffix}.1 +mv %{buildroot}/%{_mandir}/man1/policyeditor.1 %{buildroot}/%{_mandir}/man1/policyeditor%{binsuffix}.1 + +# Install desktop files. +install -d -m 755 %{buildroot}%{_datadir}/applications +desktop-file-install --vendor ''\ + --dir %{buildroot}%{_datadir}/applications javaws.desktop +desktop-file-install --vendor ''\ + --dir %{buildroot}%{_datadir}/applications itweb-settings.desktop +desktop-file-install --vendor ''\ + --dir %{buildroot}%{_datadir}/applications policyeditor.desktop %fdupes %{buildroot} +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 \ + --install %{_libdir}/browser-plugins/libjavaplugin.so %{javaplugin} \ + %{_libdir}/%{name}/IcedTeaPlugin.so %{priority} \ + --slave %{_bindir}/javaws javaws %{_bindir}/javaws%{binsuffix} \ + --slave %{_mandir}/man1/javaws.1.gz javaws.1.gz %{_mandir}/man1/javaws%{binsuffix}.1.gz +%endif + +gconftool-2 -s %{jnlphandler}/command '%{_bindir}/javaws%{binsuffix} %{s}' --type String &> /dev/null || : +gconftool-2 -s %{jnlphandler}/enabled --type Boolean true &> /dev/null || : +gconftool-2 -s %{jnlpshandler}/command '%{_bindir}/javaws%{binsuffix} %{s}' --type String &> /dev/null || : +gconftool-2 -s %{jnlpshandler}/enabled --type Boolean true &> /dev/null || : + +%posttrans +update-desktop-database &> /dev/null || : +exit 0 + +%postun +update-desktop-database &> /dev/null || : +if [ $1 -eq 0 ] +then +%if %{build_native_plugin} + update-alternatives --remove %{javaplugin} \ + %{_libdir}/IcedTeaPlugin.so +%endif + gconftool-2 -u %{jnlphandler}/command &> /dev/null || : + gconftool-2 -u %{jnlphandler}/enabled &> /dev/null || : + gconftool-2 -u %{jnlpshandler}/command &> /dev/null || : + gconftool-2 -u %{jnlpshandler}/enabled &> /dev/null || : +fi +exit 0 + +%files +%{_bindir}/itweb-settings%{binsuffix} +%{_bindir}/javaws%{binsuffix} +%{_bindir}/policyeditor%{binsuffix} +%{_mandir}/man1/* +%{_datadir}/applications/itweb-settings.desktop +%{_datadir}/applications/javaws.desktop +%{_datadir}/applications/policyeditor.desktop +%dir %{_datadir}/icedtea-web +%{_datadir}/icedtea-web/* +%{_datadir}/pixmaps/javaws.png +%{_sysconfdir}/bash_completion.d/itweb-settings.bash +%{_sysconfdir}/bash_completion.d/javaws.bash +%{_sysconfdir}/bash_completion.d/policyeditor.bash +%if %{build_native_plugin} +%dir %{_libdir}/%{name} +%{_libdir}/%{name}/IcedTeaPlugin.so +%endif + %files javadoc -%defattr(-,root,root,-) %doc NEWS README COPYING %dir %{_javadocdir}/%{name} %{_javadocdir}/%{name}/* ++++++ icedtea-web-1.6.2.tar.gz -> icedtea-web-1.7.tar.gz ++++++ ++++ 44645 lines of diff (skipped) ++++++ icedtea-web-suse-desktop-files.patch ++++++ --- /var/tmp/diff_new_pack.6QBI69/_old 2017-08-24 18:46:03.055049867 +0200 +++ /var/tmp/diff_new_pack.6QBI69/_new 2017-08-24 18:46:03.055049867 +0200 @@ -2,14 +2,7 @@ =================================================================== --- icedtea-web-1.5.1.orig/itweb-settings.desktop.in +++ icedtea-web-1.5.1/itweb-settings.desktop.in -@@ -1,5 +1,6 @@ - [Desktop Entry] - Name=IcedTea-Web Control Panel -+GenericName=IcedTea Web Control Panel - Name[de]=IcedTea-Web Systemsteuerung - Name[pl]=Panel sterowania IcedTea-Web - Name[cs]=Ovládací panel IcedTea-Web -@@ -11,5 +12,5 @@ Exec=PATH_TO_ITWEB_SETTINGS +@@ -11,5 +11,5 @@ Exec=PATH_TO_ITWEB_SETTINGS Icon=javaws Terminal=false Type=Application
