--- icedtea-web-1.1.2.orig/debian/icedtea-netx.postinst +++ icedtea-web-1.1.2/debian/icedtea-netx.postinst @@ -0,0 +1,31 @@ +#! /bin/sh + +set -e + +priority=1061 +basedir=/usr/lib/jvm/java-6-openjdk +basediralias=/usr/lib/jvm/java-6-openjdk +mandir=/usr/lib/jvm/java-6-openjdk/jre/man +tools='javaws' + +case "$1" in +configure) + for i in $tools; do + unset slave1 slave2 || true + if [ -e $mandir/man1/$i.$srcext ]; then + slave1="--slave \ + /usr/share/man/man1/$i.$dstext \ + $i.$dstext \ + $mandir/man1/$i.$srcext" + fi + update-alternatives \ + --install \ + /usr/bin/$i \ + $i \ + $basediralias/jre/bin/$i \ + $priority \ + $slave1 $slave2 + done +esac + +#DEBHELPER# --- icedtea-web-1.1.2.orig/debian/control.in +++ icedtea-web-1.1.2/debian/control.in @@ -0,0 +1,52 @@ +Source: icedtea-web +Section: java +Priority: extra +Maintainer: OpenJDK Team +Uploaders: Matthias Klose +Build-Depends: debhelper (>= 5), @bd_plugin@ openjdk-6-jdk (>= 6b18-1.8.3), zip, lsb-release, libgtk2.0-dev, pkg-config +Standards-Version: 3.9.2 +Homepage: http://icedtea.classpath.org/wiki/IcedTea-Web +Vcs-Bzr: http://bazaar.launchpad.net/~openjdk/openjdk/icedtea-web +Vcs-Browser: https://code.launchpad.net/~openjdk/openjdk/icedtea-web + +Package: icedtea-netx +Architecture: any +Depends: openjdk-6-jre, ${shlibs:Depends}, ${misc:Depends} +Conflicts: openjdk-6-jre (<< 6b18-1.8.7-3), openjdk-6-jre-headless (<< 6b18-1.8.7-3) +Replaces: openjdk-6-jre (<< 6b18-1.8.7-3), openjdk-6-jre-headless (<< 6b18-1.8.7-3) +Description: NetX - implementation of the Java Network Launching Protocol (JNLP) + NetX provides a drop-in replacement for javaws (Java Web Start). Since + upstream NetX is dormant, IcedTea is hosting and modifying the sources + in the IcedTea-Web repository. + directory. + . + IcedTea's NetX currently supports verification of signed jars, trusted + certificate storing, system certificate store checking, and provides + the services specified by the jnlp API. + +Package: icedtea-plugin +Section: web +Architecture: any +Depends: openjdk-6-jre, icedtea-netx (= ${binary:Version}), ${xulrunner:Depends}, ${shlibs:Depends}, ${misc:Depends} +Conflicts: icedtea-gcjwebplugin (<< 1.0-1ubuntu4), icedtea6-plugin (<< 6b18-1.8.7-3) +Replaces: icedtea-gcjwebplugin, openjdk-6-jre (<< 6b18-1.8.7-3), icedtea6-plugin (<< 6b18-1.8.7-3) +Provides: icedtea6-plugin +Xb-Npp-Description: IcedTea6 Java Web Browser Plugin (execution of applets on web pages) +Xb-Npp-Applications: ec8030f7-c20a-464f-9b0e-13a3a9e97384, 92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a, aa5ca914-c309-495d-91cf-3141bbb04115 +Xb-Npp-Name: The IcedTea Web Browser Plugin +Xb-Npp-MimeType: application/x-java-vm, application/x-java-applet, application/x-java-applet;version=1.1, application/x-java-applet;version=1.1.1, application/x-java-applet;version=1.1.2, application/x-java-applet;version=1.1.3, application/x-java-applet;version=1.2, application/x-java-applet;version=1.2.1, application/x-java-applet;version=1.2.2, application/x-java-applet;version=1.3, application/x-java-applet;version=1.3.1, application/x-java-applet;version=1.4, application/x-java-applet;version=1.4.1, application/x-java-applet;version=1.4.2, application/x-java-applet;version=1.5, application/x-java-applet;version=1.6, application/x-java-applet;jpi-version=1.6.0_00, application/x-java-bean, application/x-java-bean;version=1.1, application/x-java-bean;version=1.1.1, application/x-java-bean;version=1.1.2, application/x-java-bean;version=1.1.3, application/x-java-bean;version=1.2, application/x-java-bean;version=1.2.1, application/x-java-bean;version=1.2.2, application/x-java-bean;version=1.3, application/x-java-bean;version=1.3.1, application/x-java-bean;version=1.4, application/x-java-bean;version=1.4.1, application/x-java-bean;version=1.4.2, application/x-java-bean;version=1.5, application/x-java-bean;version=1.6, application/x-java-bean;jpi-version=1.6.0_00 +Description: web browser plugin based on OpenJDK and IcedTea to execute Java applets + IcedTeaPlugin is a web browser plugin to execute Java applets, supporting + LiveConnect/JavaScript. It is targeted for xulrunner-1.9 and compatible + browsers that support the NPAPI. + +Package: icedtea6-plugin +Section: web +Architecture: all +Depends: icedtea-plugin, ${misc:Depends} +Description: web browser plugin to execute Java applets (dependency package) + IcedTeaPlugin is a web browser plugin to execute Java applets, supporting + LiveConnect/JavaScript. It is targeted for xulrunner-1.9 and compatible + browsers that support the NPAPI. + . + This is a dependency package, it can be safely removed after upgrade. --- icedtea-web-1.1.2.orig/debian/compat +++ icedtea-web-1.1.2/debian/compat @@ -0,0 +1 @@ +5 --- icedtea-web-1.1.2.orig/debian/icedtea-netx-web-start.applications.in +++ icedtea-web-1.1.2/debian/icedtea-netx-web-start.applications.in @@ -0,0 +1,6 @@ +java-web-start + command="/@basedir@/bin/javaws" + name=java-web-start + can_open_multiple_files=false + requires_terminal=false + mime_types=application/x-java-jnlp-file --- icedtea-web-1.1.2.orig/debian/PLUGIN.postinst.in +++ icedtea-web-1.1.2/debian/PLUGIN.postinst.in @@ -0,0 +1,40 @@ +#!/bin/sh -e + +PATH=/sbin:/bin:/usr/sbin:/usr/bin + +priority=@priority@ +browser_dirs="@browser_dirs@" +PLUGIN=@plugin_name@ +PLUGINPTH=/@basediralias@/jre/lib/@archdir@/$PLUGIN +NPPLUGINPTH=/@basediralias@/jre/lib/@archdir@/IcedTeaNPPlugin.so +LAST_NPP_VERSION=6b18~pre2-2 + +# IcedTeaPlugin -> IcedTeaNPPlugin update +plugin_update= +if [ -n "$LAST_NPP_VERSION" ] && [ "$1" = configure ] && [ -n "$2" ]; then + plugin_update=$(dpkg --compare-versions "$2" lt "$lAST_NPP_VERSION" && echo yes || echo no) +fi + +for browser_dir in $browser_dirs; do + if [ $browser_dir = xulrunner-addons ]; then + browser=xulrunner-1.9 + else + browser=$browser_dir + fi + + if [ "$plugin_update" = yes ]; then + update-alternatives --quiet --remove \ + $browser-javaplugin.so \ + $NPPLUGINPTH || true + fi + + update-alternatives --quiet --install \ + /usr/lib/$browser_dir/plugins/libjavaplugin.so \ + $browser-javaplugin.so \ + $PLUGINPTH \ + $priority +done + +#DEBHELPER# + +exit 0 --- icedtea-web-1.1.2.orig/debian/icedtea-netx-web-start.keys.in +++ icedtea-web-1.1.2/debian/icedtea-netx-web-start.keys.in @@ -0,0 +1,6 @@ +application/x-java-jnlp-file + description=Java Web Start Application (IcedTea) + icon_filename=sun-java + default_action_type=application + default_application_id=java-web-start + short_list_application_user_additions=java-web-start --- icedtea-web-1.1.2.orig/debian/icedtea-netx-web-start.mime.in +++ icedtea-web-1.1.2/debian/icedtea-netx-web-start.mime.in @@ -0,0 +1,2 @@ +application/x-java-jnlp-file + ext: jnlp --- icedtea-web-1.1.2.orig/debian/rules +++ icedtea-web-1.1.2/debian/rules @@ -0,0 +1,276 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +vafilt = $(subst $(2)=,,$(filter $(2)=%,$(1))) + +DPKG_VARS := $(shell dpkg-architecture) +DEB_HOST_GNU_TYPE ?= $(call vafilt,$(DPKG_VARS),DEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(call vafilt,$(DPKG_VARS),DEB_BUILD_GNU_TYPE) +DEB_HOST_ARCH ?= $(call vafilt,$(DPKG_VARS),DEB_HOST_ARCH) + +CHANGELOG_VARS := $(shell dpkg-parsechangelog | sed -n 's/ /_/g;/^[^_]/s/^\([^:]*\):_\(.*\)/\1=\2/p') +PKGSOURCE := $(call vafilt,$(CHANGELOG_VARS),Source) +PKGVERSION := $(call vafilt,$(CHANGELOG_VARS),Version) + +distribution := $(shell lsb_release --id --short) +distrel := $(shell lsb_release --codename --short) +ifeq ($(distrel),n/a) + distrel := sid +endif + +arch_map := alpha=alpha arm=arm armel=arm amd64=amd64 hppa=parisc i386=i586 lpia=i586 m68k=m68k mips=mips mipsel=mipsel powerpc=ppc powerpcspe=ppc ppc64=ppc64 sparc=sparc sparc64=sparc64 sh4=sh s390=s390 ia64=ia64 +archdir_map := alpha=alpha arm=arm armel=arm amd64=amd64 hppa=parisc i386=i386 lpia=i386 m68k=m68k mips=mips mipsel=mipsel powerpc=ppc powerpcspe=ppc ppc64=ppc64 sparc=sparc sparc64=sparcv9 sh4=sh s390=s390 ia64=ia64 + +jvmarch := $(strip $(patsubst $(DEB_HOST_ARCH)=%, %, \ + $(filter $(DEB_HOST_ARCH)=%, $(arch_map)))) +archdir := $(strip $(patsubst $(DEB_HOST_ARCH)=%, %, \ + $(filter $(DEB_HOST_ARCH)=%, $(archdir_map)))) + +TOP = usr/lib/jvm +jdirname = java-$(shortver)-$(origin) +origin = openjdk +basename = openjdk-$(shortver) +jdk_home = $(TOP)/java-6-openjdk +jdiralias = java-$(shortver)-$(origin) +basedir = $(jdk_home) +vendor = IcedTea +shortver = 6 +last_npp_version = 6b18~pre2-2 +priority = 1061 +plugin_name = IcedTeaPlugin.so + +ifneq (,$(filter $(DEB_HOST_ARCH), alpha hppa sparc64)$(filter $(distrel), dapper)) + with_plugin_pkg = no +else ifneq (,$(filter $(DEB_HOST_ARCH)-$(distrel), sparc-hardy sparc-jaunty)) + with_plugin_pkg = no +else + with_plugin_pkg = yes +endif + +ifeq ($(distribution),Debian) + ifneq (,$(filter $(distrel),lenny)) + bd_plugin = xulrunner-dev (>= 1.9.0), + else + bd_plugin = xulrunner-dev (>= 1.9.1.3-3) [!alpha !sparc64], + xulrunner_depends = xulrunner-1.9.1 + endif +else + ifneq (,$(filter $(distrel),gutsy feisty edgy dapper)) + bd_plugin = firefox-dev, + else ifneq (,$(filter $(distrel),intrepid)) + bd_plugin = xulrunner-1.9-dev, + else ifneq (,$(filter $(distrel),hardy jaunty)) + # all these use the xulrunner-1.9.2 backports in *-security + bd_plugin = xulrunner-1.9.2-dev [!sparc], + xulrunner_depends = xulrunner-1.9.2 + else ifneq (,$(filter $(distrel),karmic lucid maverick)) + # all these use the xulrunner-1.9.2 backports in *-security + bd_plugin = xulrunner-1.9.2-dev, + xulrunner_depends = xulrunner-1.9.2 + else + bd_plugin = firefox-dev, + xulrunner_depends = firefox (>= 4.0~b7) | chromium-browser | epiphany-browser | midori + endif +endif + +ifeq ($(distribution),Ubuntu) + ifneq (,$(filter $(distrel),jaunty intrepid hardy gutsy feisty edgy dapper)) + # FIXME: check for every release ... + browser_plugin_dirs = xulrunner-addons firefox iceape iceweasel mozilla midbrowser xulrunner + else + browser_plugin_dirs = mozilla + endif +else + browser_plugin_dirs = mozilla +endif + +java_launcher = /$(basedir)/bin/java +ifeq ($(distribution),Ubuntu) + ifeq (,$(filter $(distrel),karmic jaunty intrepid hardy gutsy feisty edgy dapper)) + java_launcher = cautious-launcher %f /$(basedir)/bin/java + endif +endif + +control_vars = \ + '-Vxulrunner:Depends=$(xulrunner_depends)' + +# --prefix=/$(jdk_home) \ + +CONFIGURE_ARGS = \ + --prefix=/usr \ + --with-jdk-home=/$(jdk_home) \ + --with-pkgversion="$(PKGVERSION)" + +ifneq ($(with_plugin_pkg),yes) + CONFIGURE_ARGS += --disable-plugin +endif + +p_netx = icedtea-netx +p_plug = icedtea-plugin +d_netx = debian/$(p_netx) +d_plug = debian/$(p_plug) + +debian/control: debian/control.in debian/rules + @cp -p debian/control debian/control.old + sed \ + -e 's/@bd_plugin@/$(bd_plugin)/g' \ + debian/control.in \ + > debian/control + @if cmp -s debian/control debian/control.old; then \ + rm -f debian/control.old; \ + else \ + diff -u debian/control.old debian/control; \ + echo "debian/control did change, please restart the build"; \ + rm -f debian/control.old; \ + exit 1; \ + fi + +packaging-files: + for f in debian/*.in; do \ + case "$$f" in debian/control.in) continue; esac; \ + case "$$f" in \ + debian/PLUGIN.*.in) f2=$$(echo $$f | sed 's/PLUGIN/$(p_plug)/;s/\.in$$//');; \ + *) f2=$$(echo $$f | sed 's/JB/$(basename)/;s/\.in$$//'); \ + esac; \ + sed \ + -e 's/@basename@/$(basename)/g' \ + -e 's/@vendor@/$(vendor)/g' \ + -e 's/@RELEASE@/$(shortver)/g' \ + -e 's,@TOP@,$(TOP),g' \ + -e 's,@basedir@,$(basedir),g' \ + -e 's,@basediralias@,$(TOP)/$(jdiralias),g' \ + -e 's,@jdiralias@,$(jdiralias),g' \ + -e 's,@jdirname@,$(jdirname),g' \ + -e 's/@srcname@/$(srcname)/g' \ + -e 's/@jvmarch@/$(jvmarch)/g' \ + -e 's/@archdir@/$(archdir)/g' \ + -e 's/@tag@/$(tag)/g' \ + -e 's/@priority@/$(priority)/g' \ + -e 's/@mantag@/$(mantag)/g' \ + -e 's/@jre_hl_tools@/$(jre_hl_tools_alt)/g' \ + -e 's/@jre_tools@/$(jre_tools_alt)/g' \ + -e 's/@jdk_tools@/$(jdk_tools_alt)/g' \ + -e 's/@corba_tools@/$(corba_tools)/g' \ + -e 's,@j2se_lib@,$(j2se_lib),g' \ + -e 's,@j2se_share@,$(j2se_share),g' \ + -e 's,@plugin_name@,$(plugin_name),g' \ + -e 's/@pkg_plugin@/$(p_plug)/g' \ + -e 's,@browser_dirs@,$(browser_plugin_dirs),g' \ + -e 's,@last_npp_version@,$(last_npp_version),g' \ + -e 's,@java_launcher@,$(java_launcher),g' \ + $$f > $$f2; \ + done + +configure: configure-stamp +configure-stamp: + dh_testdir + rm -rf build + mkdir -p build + cd build && ../configure $(CONFIGURE_ARGS) + touch $@ + +build-arch: build-stamp +build-indep: build-stamp +build: build-stamp +build-stamp: configure-stamp + dh_testdir + $(MAKE) -C build + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f configure-stamp build-stamp + rm -rf build + for f in debian/*.in; do \ + case "$$f" in \ + debian/PLUGIN.*.in) f2=$$(echo $$f | sed 's/PLUGIN/$(p_plug)/;s/\.in$$//');; \ + *) f2=$$(echo $$f | sed 's/JB/$(basename)/;s/\.in$$//'); \ + esac; \ + case "$$f2" in debian/control) continue; esac; \ + rm -f $$f2; \ + done + dh_clean + +install: build packaging-files + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs -p$(p_netx) \ + $(jdk_home)/bin \ + $(jdk_home)/man/man1 \ + $(jdk_home)/jre/bin \ + $(jdk_home)/jre/man/man1 \ + usr/share/applications \ + usr/share/application-registry \ + usr/share/mime-info + dh_installdirs -p$(p_plug) \ + $(jdk_home)/jre/lib/$(archdir) \ + usr/share/icedtea-web \ + $(foreach d, $(browser_plugin_dirs), usr/lib/$(d)/plugins) + + $(MAKE) -C build install DESTDIR=$(CURDIR)/$(d_netx) + + # FIXME: split out an icedtea-netx-doc package? + rm -rf $(d_netx)/usr/share/doc/icedtea-web + + mv $(d_netx)/usr/bin/javaws $(d_netx)/$(jdk_home)/jre/bin/ + mv $(d_netx)/usr/share/man/man1/javaws.1 $(d_netx)/$(jdk_home)/jre/man/man1/ + + dh_link -p$(p_netx) \ + /$(jdk_home)/jre/bin/javaws /$(jdk_home)/bin/javaws \ + /$(jdk_home)/jre/man/man1/javaws.1.gz /$(jdk_home)/man/man1/javaws.1.gz + + mv $(d_netx)/usr/lib/IcedTeaPlugin.so \ + $(d_plug)/$(jdk_home)/jre/lib/$(archdir)/ +ifeq ($(with_plugin_pkg),yes) + mv $(d_netx)/usr/share/icedtea-web/plugin.jar \ + $(d_plug)/usr/share/icedtea-web/plugin.jar +endif + + cp -p debian/icedtea-netx-javaws.desktop \ + $(d_netx)/usr/share/applications/ + + for i in web-start; do \ + cp debian/icedtea-netx-$$i.applications \ + $(d_netx)/usr/share/application-registry/; \ + cp debian/icedtea-netx-$$i.keys $(d_netx)/usr/share/mime-info/; \ + cp debian/icedtea-netx-$$i.mime $(d_netx)/usr/share/mime-info/; \ + done + +binary-indep: install + dh_testdir -i + dh_testroot -i + dh_installdocs -i + dh_installchangelogs -i + rm -rf $(d_plug)/usr/share/doc/$(p_plug) + ln -s $(p_netx) $(d_plug)/usr/share/doc/$(p_plug) + rm -rf debian/icedtea6-plugin/usr/share/doc/icedtea6-plugin + ln -s $(p_plug) debian/icedtea6-plugin/usr/share/doc/icedtea6-plugin + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -p icedtea6-plugin -- -v6b2$(PKGVERSION) $(control_vars) + dh_md5sums -i + dh_builddeb -i + +binary: binary-arch binary-indep + +binary-arch: install + dh_testdir -s + dh_testroot -s + dh_installdocs -s README NEWS AUTHORS + dh_installchangelogs -s + dh_strip -s + dh_link -s + dh_installmenu -s + dh_compress -s + dh_fixperms -s + dh_installdeb -s + dh_shlibdeps -s + dh_gencontrol -s -N icedtea6-plugin -- $(control_vars) + dh_gencontrol -p icedtea6-plugin -- -v6b2$(PKGVERSION) $(control_vars) + dh_md5sums -s + dh_builddeb -s + +binary: binary-arch binary-indep --- icedtea-web-1.1.2.orig/debian/icedtea-netx-javaws.desktop.in +++ icedtea-web-1.1.2/debian/icedtea-netx-javaws.desktop.in @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=@vendor@ Java @RELEASE@ Web Start +Name[fi]=@vendor@ Java @RELEASE@ - Web Start +Comment=@vendor@ Java @RELEASE@ Web Start +Comment[fi]=@vendor@ Java @RELEASE@ - Web Start +Exec=/@basedir@/bin/javaws %u +Terminal=false +Type=Application +Icon=@basename@ +Categories=Application;Network; +MimeType=application/x-java-jnlp-file; +NoDisplay=true --- icedtea-web-1.1.2.orig/debian/icedtea-netx.prerm +++ icedtea-web-1.1.2/debian/icedtea-netx.prerm @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +basedir=/usr/lib/jvm/java-6-openjdk +basediralias=/usr/lib/jvm/java-6-openjdk +tools='javaws' + +if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then + for i in $tools; do + update-alternatives --remove $i $basediralias/jre/bin/$i + done +fi + +#DEBHELPER# --- icedtea-web-1.1.2.orig/debian/javaws-wrapper.sh +++ icedtea-web-1.1.2/debian/javaws-wrapper.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +prog="$0" +while [ -h "$prog" ]; do prog=$(readlink -f $prog); done +[ $# -eq 0 ] && set -- -viewer +exec $(dirname $prog)/javaws.real "$@" --- icedtea-web-1.1.2.orig/debian/PLUGIN.overrides.in +++ icedtea-web-1.1.2/debian/PLUGIN.overrides.in @@ -0,0 +1,2 @@ +# empty directories for plugin alternatives +@pkg_plugin@ binary: package-contains-empty-directory --- icedtea-web-1.1.2.orig/debian/control +++ icedtea-web-1.1.2/debian/control @@ -0,0 +1,52 @@ +Source: icedtea-web +Section: java +Priority: extra +Maintainer: OpenJDK Team +Uploaders: Matthias Klose +Build-Depends: debhelper (>= 5), firefox-dev, openjdk-6-jdk (>= 6b18-1.8.3), zip, lsb-release, libgtk2.0-dev, pkg-config +Standards-Version: 3.9.2 +Homepage: http://icedtea.classpath.org/wiki/IcedTea-Web +Vcs-Bzr: http://bazaar.launchpad.net/~openjdk/openjdk/icedtea-web +Vcs-Browser: https://code.launchpad.net/~openjdk/openjdk/icedtea-web + +Package: icedtea-netx +Architecture: any +Depends: openjdk-6-jre, ${shlibs:Depends}, ${misc:Depends} +Conflicts: openjdk-6-jre (<< 6b18-1.8.7-3), openjdk-6-jre-headless (<< 6b18-1.8.7-3) +Replaces: openjdk-6-jre (<< 6b18-1.8.7-3), openjdk-6-jre-headless (<< 6b18-1.8.7-3) +Description: NetX - implementation of the Java Network Launching Protocol (JNLP) + NetX provides a drop-in replacement for javaws (Java Web Start). Since + upstream NetX is dormant, IcedTea is hosting and modifying the sources + in the IcedTea-Web repository. + directory. + . + IcedTea's NetX currently supports verification of signed jars, trusted + certificate storing, system certificate store checking, and provides + the services specified by the jnlp API. + +Package: icedtea-plugin +Section: web +Architecture: any +Depends: openjdk-6-jre, icedtea-netx (= ${binary:Version}), ${xulrunner:Depends}, ${shlibs:Depends}, ${misc:Depends} +Conflicts: icedtea-gcjwebplugin (<< 1.0-1ubuntu4), icedtea6-plugin (<< 6b18-1.8.7-3) +Replaces: icedtea-gcjwebplugin, openjdk-6-jre (<< 6b18-1.8.7-3), icedtea6-plugin (<< 6b18-1.8.7-3) +Provides: icedtea6-plugin +Xb-Npp-Description: IcedTea6 Java Web Browser Plugin (execution of applets on web pages) +Xb-Npp-Applications: ec8030f7-c20a-464f-9b0e-13a3a9e97384, 92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a, aa5ca914-c309-495d-91cf-3141bbb04115 +Xb-Npp-Name: The IcedTea Web Browser Plugin +Xb-Npp-MimeType: application/x-java-vm, application/x-java-applet, application/x-java-applet;version=1.1, application/x-java-applet;version=1.1.1, application/x-java-applet;version=1.1.2, application/x-java-applet;version=1.1.3, application/x-java-applet;version=1.2, application/x-java-applet;version=1.2.1, application/x-java-applet;version=1.2.2, application/x-java-applet;version=1.3, application/x-java-applet;version=1.3.1, application/x-java-applet;version=1.4, application/x-java-applet;version=1.4.1, application/x-java-applet;version=1.4.2, application/x-java-applet;version=1.5, application/x-java-applet;version=1.6, application/x-java-applet;jpi-version=1.6.0_00, application/x-java-bean, application/x-java-bean;version=1.1, application/x-java-bean;version=1.1.1, application/x-java-bean;version=1.1.2, application/x-java-bean;version=1.1.3, application/x-java-bean;version=1.2, application/x-java-bean;version=1.2.1, application/x-java-bean;version=1.2.2, application/x-java-bean;version=1.3, application/x-java-bean;version=1.3.1, application/x-java-bean;version=1.4, application/x-java-bean;version=1.4.1, application/x-java-bean;version=1.4.2, application/x-java-bean;version=1.5, application/x-java-bean;version=1.6, application/x-java-bean;jpi-version=1.6.0_00 +Description: web browser plugin based on OpenJDK and IcedTea to execute Java applets + IcedTeaPlugin is a web browser plugin to execute Java applets, supporting + LiveConnect/JavaScript. It is targeted for xulrunner-1.9 and compatible + browsers that support the NPAPI. + +Package: icedtea6-plugin +Section: web +Architecture: all +Depends: icedtea-plugin, ${misc:Depends} +Description: web browser plugin to execute Java applets (dependency package) + IcedTeaPlugin is a web browser plugin to execute Java applets, supporting + LiveConnect/JavaScript. It is targeted for xulrunner-1.9 and compatible + browsers that support the NPAPI. + . + This is a dependency package, it can be safely removed after upgrade. --- icedtea-web-1.1.2.orig/debian/PLUGIN.prerm.in +++ icedtea-web-1.1.2/debian/PLUGIN.prerm.in @@ -0,0 +1,18 @@ +#!/bin/sh -e + +browser_dirs="@browser_dirs@" +PLUGIN=@plugin_name@ +PLUGINPTH=/@basediralias@/jre/lib/@archdir@/$PLUGIN + +for browser_dir in $browser_dirs; do + if [ $browser_dir = xulrunner-addons ]; then + browser=xulrunner-1.9 + else + browser=$browser_dir + fi + update-alternatives --quiet --remove \ + $browser-javaplugin.so \ + $PLUGINPTH +done + +#DEBHELPER# --- icedtea-web-1.1.2.orig/debian/copyright +++ icedtea-web-1.1.2/debian/copyright @@ -0,0 +1,139 @@ +This work was packaged for Debian/Ubuntu by: + + Matthias Klose on Wed, 20 Oct 2010 13:52:52 +0200 + +It was downloaded from: + + http://icedtea.classpath.org/ + +Upstream Authors: + + Lillian Angel + Deepak Bhole + Thomas Fitzsimmons + Mark Greenwood + Andrew John Hughes + Matthias Klose + Francis Kung + DJ Lucas + Omair Majid + Jon A. Maxwell + Andrew Su + Joshua Sumali + Mark Wielaard + Man Lung Wong + +Copyright: + + Plugin: + Copyright (C) 2009, 2010, 2011 RedHat, Inc. + Copyright 1995-2006 Sun Microsystems, Inc. + NetX: + Copyright (C) 2001-2003 Jon A. Maxwell (JAM). + Copyright (C) 2007, 2008, 2009, 2010, 2011 Red Hat, Inc. + NetX/NanoXML: + Copyright (C) 2000-2002 Marc De Scheemaecker. + launcher: + Copyright (c) 1998-2007, Oracle and/or its affiliates. + +License: + + Plugin: + IcedTea is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + IcedTea is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with IcedTea; see the file COPYING. If not, write to the + Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301 USA. + + Linking this library statically or dynamically with other modules is + making a combined work based on this library. Thus, the terms and + conditions of the GNU General Public License cover the whole + combination. + + As a special exception, the copyright holders of this library give you + permission to link this library with independent modules to produce an + executable, regardless of the license terms of these independent + modules, and to copy and distribute the resulting executable under + terms of your choice, provided that you also meet, for each linked + independent module, the terms and conditions of the license of that + module. An independent module is a module which is not derived from + or based on this library. If you modify this library, you may extend + this exception to your version of the library, but you are not + obligated to do so. If you do not wish to do so, delete this + exception statement from your version. + + See "/usr/share/common-licenses/GPL-2". + + NetX: + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU General Public License + along with IcedTea; see the file COPYING. If not, write to the + Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301 USA. + + See "/usr/share/common-licenses/GPL-2". + + NetX/NanoXML: + This software is provided 'as-is', without any express or implied warranty. + In no event will the authors be held liable for any damages arising from the + use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software in + a product, an acknowledgment in the product documentation would be + appreciated but is not required. + + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source distribution. + + launcher: + This code is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License version 2 only, as + published by the Free Software Foundation. Oracle designates this + particular file as subject to the "Classpath" exception as provided + by Oracle in the LICENSE file that accompanied this code. + + This code is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + version 2 for more details (a copy is included in the LICENSE file that + accompanied this code). + + You should have received a copy of the GNU General Public License version + 2 along with this work; if not, write to the Free Software Foundation, + Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + + Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA + or visit www.oracle.com if you need additional information or have any + questions. + +The Debian packaging is: + + Copyright (C) 2007, 2008, 2009, 2010, 2011 Canonical Ltd. + + The same license applies as for the plugin. + See "/usr/share/common-licenses/GPL-2". --- icedtea-web-1.1.2.orig/debian/icedtea-netx.mime.in +++ icedtea-web-1.1.2/debian/icedtea-netx.mime.in @@ -0,0 +1 @@ +application/x-java-jnlp-file; /@basedir@/jre/javaws/javaws %s --- icedtea-web-1.1.2.orig/debian/changelog +++ icedtea-web-1.1.2/debian/changelog @@ -0,0 +1,215 @@ +icedtea-web (1.1.2-0ubuntu1) oneiric; urgency=low + + * New upstream release. + - PR769: IcedTea-Web does not work with some ssl sites. + + -- Matthias Klose Sun, 04 Sep 2011 16:42:35 +0200 + +icedtea-web (1.1.1-1ubuntu2) oneiric; urgency=low + + * Updates from the 1.1 branch: + - PR749: sun.applet.PluginStreamHandler#handleMessage(String) really slow. + - PR768: Signed applets/Web Start apps don't work with OpenJDK7 and up. + + -- Matthias Klose Tue, 16 Aug 2011 22:00:46 +0200 + +icedtea-web (1.1.1-1ubuntu1) oneiric; urgency=low + + * Rebuild the control file. + + -- Matthias Klose Sat, 16 Jul 2011 13:43:28 +0200 + +icedtea-web (1.1.1-1) unstable; urgency=high + + * Upload to unstable. + + -- Matthias Klose Sat, 16 Jul 2011 13:19:00 +0200 + +icedtea-web (1.1.1-0ubuntu1) natty-security; urgency=high + + * IcedTea-Web 1.1.1 release. + - CVE-2011-2513: Home directory path disclosure to untrusted applications. + - CVE-2011-2514: Java Web Start security warning dialog manipulation. + + -- Matthias Klose Sat, 16 Jul 2011 12:51:46 +0200 + +icedtea-web (1.1-1ubuntu1) oneiric; urgency=low + + * Rebuild the control file. + + -- Matthias Klose Thu, 09 Jun 2011 12:03:52 +0200 + +icedtea-web (1.1-1) unstable; urgency=low + + * IcedTea-Web 1.1 release. + + -- Matthias Klose Thu, 09 Jun 2011 11:58:59 +0200 + +icedtea-web (1.1~20110608-1ubuntu1) oneiric; urgency=low + + * Rebuild the control file. + + -- Matthias Klose Thu, 09 Jun 2011 10:39:20 +0200 + +icedtea-web (1.1~20110608-1) unstable; urgency=low + + * Update to hg 20110608, taken from the icedtea-web-1.1 release branch. + + -- Matthias Klose Wed, 08 Jun 2011 22:11:08 +0200 + +icedtea-web (1.1~20110530-1ubuntu1) oneiric; urgency=low + + * Regenerate the control file. + * Add other browsers as an alternative to firefox depends. LP: #766559. + + -- Matthias Klose Mon, 30 May 2011 22:25:14 +0200 + +icedtea-web (1.1~20110530-1) unstable; urgency=low + + * Update to hg 20110530, taken from the icedtea-web-1.1 release branch. + + -- Matthias Klose Mon, 30 May 2011 22:08:47 +0200 + +icedtea-web (1.1~20110510-1) unstable; urgency=low + + * Update to hg 20110510, taken from the icedtea-web-1.1 release branch. + * Adjust conflicts to the OpenJDK version in unstable. + Closes: #627779, #626605. + * Make transitional package architecture independent. Closes: #627745. + + -- Matthias Klose Wed, 25 May 2011 14:29:42 +0200 + +icedtea-web (1.1~20110421-1) unstable; urgency=low + + * Update to hg 20110421, taken from the icedtea-web-1.1 release branch. + + -- Matthias Klose Thu, 21 Apr 2011 19:20:32 +0200 + +icedtea-web (1.1~20110420-1) experimental; urgency=low + + * Upload to experimental. + + -- Matthias Klose Wed, 20 Apr 2011 14:33:31 +0200 + +icedtea-web (1.1~20110420-0ubuntu1) natty; urgency=low + + * Update to hg 20110420. + - Removes non-distributable pdf documents. + * Update debian/copyright. + + -- Matthias Klose Wed, 20 Apr 2011 14:05:16 +0200 + +icedtea-web (1.1~20110406-0ubuntu2) natty; urgency=low + + * Reapply xulrunner → firefox-dev change from 1.1~20110320-0ubuntu2, which + were overwritten in the previous upload. + + -- Martin Pitt Tue, 19 Apr 2011 08:47:28 +0200 + +icedtea-web (1.1~20110406-0ubuntu1) natty; urgency=low + + * Fix typo in icedtea-netx postinst to install the javaws alternative. + + -- Matthias Klose Wed, 06 Apr 2011 13:10:44 +0200 + +icedtea-web (1.1~20110320-0ubuntu2) natty; urgency=low + + * Switch build-depends to firefox-dev for natty. xulrunner is + being demoted from main (LP: #740815) + - update debian/rules + - update debian/control + + -- Chris Coulson Mon, 04 Apr 2011 11:07:15 +0100 + +icedtea-web (1.1~20110320-0ubuntu1) natty; urgency=low + + * Update to hg 20110320. + + -- Matthias Klose Thu, 24 Feb 2011 12:57:25 +0100 + +icedtea-web (1.0~20110122-1) experimental; urgency=low + + * Upload to experimental. + + -- Matthias Klose Sun, 23 Jan 2011 13:53:14 +0100 + +icedtea-web (1.0~20110122-0lucid1) lucid; urgency=low + + * Update to hg 20110122. + + -- Matthias Klose Sat, 22 Jan 2011 21:21:29 +0100 + +icedtea-web (1.0~20101223-0ubuntu3) natty; urgency=low + + * Fix the armel build. + + -- Matthias Klose Fri, 24 Dec 2010 12:31:32 +0100 + +icedtea-web (1.0~20101223-0ubuntu2) natty; urgency=low + + * Build the plugin on armel. + + -- Matthias Klose Fri, 24 Dec 2010 11:51:37 +0100 + +icedtea-web (1.0~20101223-0ubuntu1) natty; urgency=low + + * Update to hg 20101223. + + -- Matthias Klose Thu, 23 Dec 2010 14:20:21 +0100 + +icedtea-web (1.0~20101127-0ubuntu1) natty; urgency=low + + * Update to hg 20101127. + * icedtea-plugin: Add versioned conflict/replaces with icedtea6-plugin + (<< 6b21.0~20101127~). LP: #673524. + + -- Matthias Klose Sat, 27 Nov 2010 11:51:06 +0100 + +icedtea-web (1.0~20101124-0ubuntu1) natty; urgency=low + + * Update to hg 20101124. + * Fix xulrunner dependencies for natty. + * Build-depend on pkg-config and libgtk2.0-dev. + + -- Matthias Klose Wed, 24 Nov 2010 13:23:28 +0100 + +icedtea-web (1.0~20101021-0ubuntu6) natty; urgency=low + + * Fix link flag ordering issues + - add debian/patches/001_fix_pluginappletviewer_linkage.patch + - add debian/patches/series + - update debian/rules + - update debian/control{.in} + * Change xulrunner build-dep to xulrunner-2.0-dev for Natty and rebuild + against the latest version. Change binary dependency to + xulrunner-2.0 | firefox (>= 4.0~b7), because eventually, xulrunner will + not be installed by default and we don't want to force Firefox users to + install it + - update debian/rules + - update debian/control + + -- Chris Coulson Tue, 23 Nov 2010 21:19:01 +0000 + +icedtea-web (1.0~20101021-0ubuntu4) natty; urgency=low + + * Add a versioned build dependency on openjdk-6-jdk (>= 6b20-1.10~pre2). + + -- Matthias Klose Fri, 22 Oct 2010 00:23:34 +0200 + +icedtea-web (1.0~20101021-0ubuntu3) natty; urgency=low + + * Build icedtea6-plugin on amd64, i386 and powerpc only. + + -- Matthias Klose Thu, 21 Oct 2010 23:54:17 +0200 + +icedtea-web (1.0~20101021-0ubuntu2) natty; urgency=low + + * Fix version of the transitional icedtea6-plugin package. + + -- Matthias Klose Thu, 21 Oct 2010 23:48:49 +0200 + +icedtea-web (1.0~20101021-0ubuntu1) natty; urgency=low + + * Initial release, split out from openjdk-6. + + -- Matthias Klose Thu, 21 Oct 2010 08:07:41 +0200 --- icedtea-web-1.1.2.orig/debian/watch +++ icedtea-web-1.1.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://icedtea.classpath.org/download/source/icedtea-web-(.*)\.tar\.gz --- icedtea-web-1.1.2.orig/debian/source/format +++ icedtea-web-1.1.2/debian/source/format @@ -0,0 +1 @@ +1.0