summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2009-12-23 01:18:52 +0000
committerVlastimil Babka <caster@gentoo.org>2009-12-23 01:18:52 +0000
commitd927f4df3ac665bd3fb3b0c43006de7baeb86905 (patch)
tree4e41a2eba16e2c1b791f0839f0bf240bd2c9de56 /dev-java/sun-jre-bin
parentMarked ~hppa (bug #297830). (diff)
downloadgentoo-2-d927f4df3ac665bd3fb3b0c43006de7baeb86905.tar.gz
gentoo-2-d927f4df3ac665bd3fb3b0c43006de7baeb86905.tar.bz2
gentoo-2-d927f4df3ac665bd3fb3b0c43006de7baeb86905.zip
Moved to java junkyard for security and EOL, bug #287615.
(Portage version: 2.2_rc60/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/sun-jre-bin')
-rw-r--r--dev-java/sun-jre-bin/ChangeLog6
-rw-r--r--dev-java/sun-jre-bin/files/sun-jre-bin-1.4.env16
-rw-r--r--dev-java/sun-jre-bin/sun-jre-bin-1.4.2.19.ebuild122
3 files changed, 5 insertions, 139 deletions
diff --git a/dev-java/sun-jre-bin/ChangeLog b/dev-java/sun-jre-bin/ChangeLog
index 2b6b91822a0e..cbf852948a74 100644
--- a/dev-java/sun-jre-bin/ChangeLog
+++ b/dev-java/sun-jre-bin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/sun-jre-bin
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v 1.163 2009/11/05 21:28:43 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v 1.164 2009/12/23 01:18:52 caster Exp $
+
+ 23 Dec 2009; Vlastimil Babka <caster@gentoo.org>
+ -sun-jre-bin-1.4.2.19.ebuild, -files/sun-jre-bin-1.4.env:
+ Moved to java junkyard for security and EOL, bug #287615.
05 Nov 2009; Markus Meier <maekke@gentoo.org> sun-jre-bin-1.5.0.22.ebuild,
sun-jre-bin-1.6.0.17.ebuild:
diff --git a/dev-java/sun-jre-bin/files/sun-jre-bin-1.4.env b/dev-java/sun-jre-bin/files/sun-jre-bin-1.4.env
deleted file mode 100644
index 862238855f2b..000000000000
--- a/dev-java/sun-jre-bin/files/sun-jre-bin-1.4.env
+++ /dev/null
@@ -1,16 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/files/sun-jre-bin-1.4.env,v 1.1 2006/06/25 20:01:38 nichoj Exp $
-
-VERSION="Sun JRE @PV@"
-JAVA_HOME=/opt/@P@
-JRE_HOME=/opt/@P@
-PATH="${JAVA_HOME}/bin:${JAVA_HOME}/javaws"
-ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/javaws"
-LDPATH="${JAVA_HOME}/lib/@PLATFORM@/:${JAVA_HOME}/lib/@PLATFORM@/native_threads/:${JAVA_HOME}/lib/@PLATFORM@/classic/:${JAVA_HOME}/lib/@PLATFORM@/server"
-MANPATH="/opt/@P@/man"
-PROVIDES_TYPE="JRE"
-PROVIDES_VERSION="1.4"
-BOOTCLASSPATH="${JAVA_HOME}/lib/rt.jar:${JAVA_HOME}/lib/i18n.jar:${JAVA_HOME}/lib/sunrsasign.jar:${JAVA_HOME}/lib/jsse.jar:${JAVA_HOME}/lib/jce.jar:${JAVA_HOME}/lib/charsets.jar"
-GENERATION="2"
-ENV_VARS="JAVA_HOME JRE_HOME PATH ROOTPATH LDPATH MANPATH"
diff --git a/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.19.ebuild b/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.19.ebuild
deleted file mode 100644
index ecca116ddc49..000000000000
--- a/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.19.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.19.ebuild,v 1.3 2009/05/29 20:32:40 caster Exp $
-
-inherit eutils pax-utils java-vm-2
-
-MY_PV=${PV%.*}_${PV##*.}
-MY_PV2=${PV//./_}
-MY_PN=j2re
-At="${MY_PN}-${MY_PV2}-linux-i586.bin"
-S="${WORKDIR}/j2re${MY_PV}"
-DESCRIPTION="Sun's Java SE Runtime Environment"
-HOMEPAGE="http://java.sun.com/j2se/1.4.2/"
-SRC_URI=${At}
-SLOT="1.4"
-LICENSE="sun-bcla-java-vm-1.4.2"
-KEYWORDS="-* x86"
-# pre stripped
-RESTRICT="fetch strip"
-IUSE="X alsa nsplugin odbc"
-
-DEPEND=""
-
-RDEPEND="
- alsa? ( media-libs/alsa-lib )
- X? (
- x11-libs/libXext
- x11-libs/libXi
- x11-libs/libXp
- x11-libs/libXtst
- x11-libs/libXt
- x11-libs/libX11
- )
- odbc? ( dev-db/unixODBC )"
-
-DL_PREFIX="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef="
-DOWNLOAD_URL="${DL_PREFIX}${MY_PN}-${MY_PV}-oth-JPR@CDS-CDS_Developer"
-
-QA_TEXTRELS_x86="opt/${P}/lib/i386/libawt.so
- opt/${P}/plugin/i386/ns4/libjavaplugin.so
- opt/${P}/plugin/i386/ns610/libjavaplugin_oji.so
- opt/${P}/plugin/i386/ns610-gcc32/libjavaplugin_oji.so"
-
-pkg_nofetch() {
- einfo "Please download ${At} from:"
- einfo ${DOWNLOAD_URL}
- einfo "and move it to ${DISTDIR}"
-}
-
-src_unpack() {
- if [ ! -r "${DISTDIR}"/${At} ]; then
- eerror "cannot read ${At}. Please check the permission and try again."
- die
- fi
- #Search for the ELF Header
- testExp=$(echo -e '\0177\0105\0114\0106\0001\0001\0001')
- startAt=`grep -aonm 1 ${testExp} ${DISTDIR}/${At} | cut -d: -f1`
- tail -n +${startAt} "${DISTDIR}"/${At} > install.sfx
- chmod +x install.sfx
- ./install.sfx || die
- rm install.sfx
-
- if [ -f "${S}"/lib/unpack ]; then
- UNPACK_CMD="${S}"/lib/unpack
- chmod +x $UNPACK_CMD
- sed -i 's#/tmp/unpack.log#/dev/null\x00\x00\x00\x00\x00\x00#g' $UNPACK_CMD
- local PACKED_JARS="lib/rt.jar lib/jsse.jar lib/charsets.jar \
- lib/ext/localedata.jar lib/plugin.jar javaws/javaws.jar"
- for i in $PACKED_JARS; do
- PACK_FILE=${S}/`dirname $i`/`basename $i .jar`.pack
- if [ -f ${PACK_FILE} ]; then
- echo " unpacking: $i"
- $UNPACK_CMD ${PACK_FILE} "${S}"/$i
- rm -f ${PACK_FILE}
- fi
- done
- fi
-}
-
-src_install() {
- local dirs="bin lib man javaws plugin"
- dodir /opt/${P}
-
- cp -pPR ${dirs} "${D}/opt/${P}/"
-
- pax-mark srpm $(list-paxables "${D}"/opt/${P}/bin/*)
-
- dodoc CHANGES COPYRIGHT README THIRDPARTYLICENSEREADME.txt || die
- dohtml Welcome.html ControlPanel.html || die
-
- if use nsplugin; then
- local plugin_dir="ns610"
- if has_version '>=sys-devel/gcc-3.2' ; then
- plugin_dir="ns610-gcc32"
- fi
- install_mozilla_plugin /opt/${P}/plugin/i386/$plugin_dir/libjavaplugin_oji.so
- fi
-
- # bug #147259
- dosym ../javaws/javaws /opt/${P}/bin/javaws
-
- # create dir for system preferences
- dodir /opt/${P}/.systemPrefs
-
- # create dir for system preferences
- dodir /opt/${P}/.systemPrefs
- # Create files used as storage for system preferences.
- touch "${D}/opt/${P}/.systemPrefs/.system.lock"
- chmod 644 "${D}/opt/${P}/.systemPrefs/.system.lock"
- touch "${D}/opt/${P}/.systemPrefs/.systemRootModFile"
- chmod 644 "${D}/opt/${P}/.systemPrefs/.systemRootModFile"
-
- # install control panel for Gnome/KDE
- sed -e "s/INSTALL_DIR\/JRE_NAME_VERSION/\/opt\/${P}/" \
- -e "s/\(Name=Java\)/\1 Control Panel/" \
- "${D}/opt/${P}/plugin/desktop/sun_java.desktop" > \
- "${T}/sun_java-jre.desktop"
- domenu "${T}/sun_java-jre.desktop"
-
- set_java_env
- java-vm_revdep-mask
-}