summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2014-06-01 20:53:52 +0000
committerVlastimil Babka <caster@gentoo.org>2014-06-01 20:53:52 +0000
commit5b4ab7c4a52188ce1d4593fee4b24aff16f00d48 (patch)
treec475f9e193da69305bcd09a40c52be17e34d99e9 /dev-java/icedtea-web
parentMask new rubinius version for testing. (diff)
downloadgentoo-2-5b4ab7c4a52188ce1d4593fee4b24aff16f00d48.tar.gz
gentoo-2-5b4ab7c4a52188ce1d4593fee4b24aff16f00d48.tar.bz2
gentoo-2-5b4ab7c4a52188ce1d4593fee4b24aff16f00d48.zip
Version bump, security bug #501472.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4E61DE84)
Diffstat (limited to 'dev-java/icedtea-web')
-rw-r--r--dev-java/icedtea-web/ChangeLog9
-rw-r--r--dev-java/icedtea-web/icedtea-web-1.4.2.ebuild106
2 files changed, 113 insertions, 2 deletions
diff --git a/dev-java/icedtea-web/ChangeLog b/dev-java/icedtea-web/ChangeLog
index 6cf24100d41e..fba14cfe1515 100644
--- a/dev-java/icedtea-web/ChangeLog
+++ b/dev-java/icedtea-web/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/icedtea-web
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-web/ChangeLog,v 1.38 2013/12/30 17:23:46 tomwij Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-web/ChangeLog,v 1.39 2014/06/01 20:53:52 caster Exp $
+
+*icedtea-web-1.4.2 (01 Jun 2014)
+
+ 01 Jun 2014; Vlastimil Babka <caster@gentoo.org> +icedtea-web-1.4.2.ebuild:
+ Version bump, security bug #501472.
30 Dec 2013; Tom Wijsman <TomWij@gentoo.org> -icedtea-web-1.3.1-r7.ebuild,
-icedtea-web-1.3.1.ebuild, metadata.xml:
diff --git a/dev-java/icedtea-web/icedtea-web-1.4.2.ebuild b/dev-java/icedtea-web/icedtea-web-1.4.2.ebuild
new file mode 100644
index 000000000000..20bb3764b1c3
--- /dev/null
+++ b/dev-java/icedtea-web/icedtea-web-1.4.2.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/icedtea-web/icedtea-web-1.4.2.ebuild,v 1.1 2014/06/01 20:53:52 caster Exp $
+# Build written by Andrew John Hughes (ahughes@redhat.com)
+
+EAPI="5"
+
+inherit autotools eutils readme.gentoo java-pkg-2 java-vm-2
+
+DESCRIPTION="FOSS Java browser plugin and Web Start implementation"
+HOMEPAGE="http://icedtea.classpath.org"
+SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="doc +icedtea7 javascript +nsplugin test"
+
+COMMON_DEP="
+ icedtea7? ( || (
+ dev-java/icedtea:7 dev-java/icedtea-bin:7
+ ) )
+ !icedtea7? ( || (
+ dev-java/icedtea:7 dev-java/icedtea-bin:7
+ dev-java/icedtea:6 dev-java/icedtea-bin:6
+ ) )
+ app-admin/eselect-java
+ nsplugin? (
+ >=dev-libs/glib-2.16
+ )"
+RDEPEND="${COMMON_DEP}"
+# Need system junit 4.8+. Bug #389795
+DEPEND="${COMMON_DEP}
+ virtual/pkgconfig
+ javascript? ( dev-java/rhino:1.6 )
+ nsplugin? ( net-misc/npapi-sdk )
+ test? ( >=dev-java/junit-4.8:4 )"
+
+# http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-December/011221.html
+pkg_setup() {
+ JAVA_PKG_WANT_BUILD_VM="icedtea-7 icedtea-bin-7"
+ if ! use icedtea7; then
+ JAVA_PKG_WANT_BUILD_VM="${JAVA_PKG_WANT_BUILD_VM} icedtea-6 icedtea-bin-6"
+ fi
+ JAVA_PKG_WANT_SOURCE="1.6"
+ JAVA_PKG_WANT_TARGET="1.6"
+
+ java-pkg-2_pkg_setup
+ java-vm-2_pkg_setup
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/0001-Fix-parallel-install.-BGO-440906.patch
+ epatch "${FILESDIR}"/0002-Respect-LDFLAGS.patch # bug #356645
+ eautoreconf
+}
+
+src_configure() {
+ local config=(
+ # javaws is managed by eselect java-vm and symlinked to by icedtea so
+ # move it out of the way and symlink itweb-settings back to bin
+ --bindir="${EPREFIX}"/usr/libexec/${PN}
+ --with-jdk-home="${JAVA_HOME}"
+ $(use_enable doc docs)
+ $(use_enable nsplugin plugin)
+ $(use_with javascript rhino)
+ )
+
+ unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
+ econf "${config[@]}"
+}
+
+src_compile() {
+ default
+}
+
+src_install() {
+ default
+
+ if use nsplugin; then
+ install_mozilla_plugin "/usr/$(get_libdir)/IcedTeaPlugin.so"
+ fi
+
+ mkdir -p "${ED}"/usr/bin || die
+ dosym /usr/libexec/${PN}/itweb-settings /usr/bin/itweb-settings || die
+
+ # Should we patch system default lookup instead?
+ mkdir -p "${ED}"/etc/.java/deployment/ || die
+ echo "deployment.jre.dir=/etc/java-config-2/current-icedtea-web-vm" \
+ > "${ED}"/etc/.java/deployment/deployment.properties || die
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ VMHANDLE="icedtea-web@${GENTOO_VM}" java-vm_check-nsplugin
+ java_mozilla_clean_
+ readme.gentoo_print_elog
+}
+
+pkg_prerm() {
+ # override the java-vm-2 eclass check for removing a system VM, as it
+ # doesn't make sense here.
+ :;
+}