public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-java/sun-jre-bin: ChangeLog sun-jre-bin-1.4.2.17.ebuild
@ 2008-03-05 21:31 Vlastimil Babka (caster)
  0 siblings, 0 replies; 3+ messages in thread
From: Vlastimil Babka (caster) @ 2008-03-05 21:31 UTC (permalink / raw
  To: gentoo-commits

caster      08/03/05 21:31:01

  Modified:             ChangeLog
  Added:                sun-jre-bin-1.4.2.17.ebuild
  Log:
  Version bump, security bug #212425.
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.118                dev-java/sun-jre-bin/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/ChangeLog?rev=1.118&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/ChangeLog?rev=1.118&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/ChangeLog?r1=1.117&r2=1.118

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -r1.117 -r1.118
--- ChangeLog	18 Jan 2008 15:05:13 -0000	1.117
+++ ChangeLog	5 Mar 2008 21:31:01 -0000	1.118
@@ -1,6 +1,12 @@
 # ChangeLog for dev-java/sun-jre-bin
 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v 1.117 2008/01/18 15:05:13 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v 1.118 2008/03/05 21:31:01 caster Exp $
+
+*sun-jre-bin-1.4.2.17 (05 Mar 2008)
+
+  05 Mar 2008; Vlastimil Babka <caster@gentoo.org>
+  +sun-jre-bin-1.4.2.17.ebuild:
+  Version bump, security bug #212425.
 
 *sun-jre-bin-1.6.0.04 (18 Jan 2008)
 *sun-jre-bin-1.5.0.14 (18 Jan 2008)



1.1                  dev-java/sun-jre-bin/sun-jre-bin-1.4.2.17.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.17.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.17.ebuild?rev=1.1&content-type=text/plain

Index: sun-jre-bin-1.4.2.17.ebuild
===================================================================
# Copyright 1999-2008 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.17.ebuild,v 1.1 2008/03/05 21:31:01 caster Exp $

inherit eutils pax-utils java-vm-2

MY_PV=${PV%.*}_${PV##*.}
MY_PV2=${PV//./_}
At="j2re-${MY_PV2}-linux-i586.bin"
S="${WORKDIR}/j2re${MY_PV}"
DESCRIPTION="Sun's J2SE Platform"
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 )"

DOWNLOAD_URL="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=8&PartDetailId=j2re-${MY_PV}-oth-JPR&SiteId=JSC&TransactionId=noreg"

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 "(accept the license, then click on 'self-extracting file' under 'Linux Platform')"
	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
}



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-java/sun-jre-bin: ChangeLog sun-jre-bin-1.4.2.17.ebuild
@ 2008-03-06  7:56 Christian Faulhammer (opfer)
  0 siblings, 0 replies; 3+ messages in thread
From: Christian Faulhammer (opfer) @ 2008-03-06  7:56 UTC (permalink / raw
  To: gentoo-commits

opfer       08/03/06 07:56:19

  Modified:             ChangeLog sun-jre-bin-1.4.2.17.ebuild
  Log:
  stable x86, security bug 212425
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.119                dev-java/sun-jre-bin/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/ChangeLog?rev=1.119&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/ChangeLog?rev=1.119&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/ChangeLog?r1=1.118&r2=1.119

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -r1.118 -r1.119
--- ChangeLog	5 Mar 2008 21:31:01 -0000	1.118
+++ ChangeLog	6 Mar 2008 07:56:18 -0000	1.119
@@ -1,6 +1,10 @@
 # ChangeLog for dev-java/sun-jre-bin
 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v 1.118 2008/03/05 21:31:01 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v 1.119 2008/03/06 07:56:18 opfer Exp $
+
+  06 Mar 2008; Christian Faulhammer <opfer@gentoo.org>
+  sun-jre-bin-1.4.2.17.ebuild:
+  stable x86, security bug 212425
 
 *sun-jre-bin-1.4.2.17 (05 Mar 2008)
 



1.2                  dev-java/sun-jre-bin/sun-jre-bin-1.4.2.17.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.17.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.17.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.17.ebuild?r1=1.1&r2=1.2

Index: sun-jre-bin-1.4.2.17.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.17.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sun-jre-bin-1.4.2.17.ebuild	5 Mar 2008 21:31:01 -0000	1.1
+++ sun-jre-bin-1.4.2.17.ebuild	6 Mar 2008 07:56:18 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 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.17.ebuild,v 1.1 2008/03/05 21:31:01 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.17.ebuild,v 1.2 2008/03/06 07:56:18 opfer Exp $
 
 inherit eutils pax-utils java-vm-2
 
@@ -13,7 +13,7 @@
 SRC_URI=${At}
 SLOT="1.4"
 LICENSE="sun-bcla-java-vm-1.4.2"
-KEYWORDS="-* ~x86"
+KEYWORDS="-* x86"
 # pre stripped
 RESTRICT="fetch strip"
 IUSE="X alsa nsplugin odbc"



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-java/sun-jre-bin: ChangeLog sun-jre-bin-1.4.2.17.ebuild
@ 2008-05-17 18:13 Petteri Raty (betelgeuse)
  0 siblings, 0 replies; 3+ messages in thread
From: Petteri Raty (betelgeuse) @ 2008-05-17 18:13 UTC (permalink / raw
  To: gentoo-commits

betelgeuse    08/05/17 18:13:11

  Modified:             ChangeLog sun-jre-bin-1.4.2.17.ebuild
  Log:
  Update download url because of changes in Sun download center. Fixes bug #220375.
  (Portage version: 2.1.5_rc10)

Revision  Changes    Path
1.128                dev-java/sun-jre-bin/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/ChangeLog?rev=1.128&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/ChangeLog?rev=1.128&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/ChangeLog?r1=1.127&r2=1.128

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -r1.127 -r1.128
--- ChangeLog	16 Apr 2008 21:37:39 -0000	1.127
+++ ChangeLog	17 May 2008 18:13:10 -0000	1.128
@@ -1,6 +1,11 @@
 # ChangeLog for dev-java/sun-jre-bin
 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v 1.127 2008/04/16 21:37:39 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v 1.128 2008/05/17 18:13:10 betelgeuse Exp $
+
+  17 May 2008; Petteri Räty <betelgeuse@gentoo.org>
+  sun-jre-bin-1.4.2.17.ebuild:
+  Update download url because of changes in Sun download center. Fixes bug
+  #220375.
 
 *sun-jre-bin-1.6.0.06 (16 Apr 2008)
 



1.3                  dev-java/sun-jre-bin/sun-jre-bin-1.4.2.17.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.17.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.17.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.17.ebuild?r1=1.2&r2=1.3

Index: sun-jre-bin-1.4.2.17.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.17.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sun-jre-bin-1.4.2.17.ebuild	6 Mar 2008 07:56:18 -0000	1.2
+++ sun-jre-bin-1.4.2.17.ebuild	17 May 2008 18:13:10 -0000	1.3
@@ -1,12 +1,13 @@
 # Copyright 1999-2008 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.17.ebuild,v 1.2 2008/03/06 07:56:18 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.17.ebuild,v 1.3 2008/05/17 18:13:10 betelgeuse Exp $
 
 inherit eutils pax-utils java-vm-2
 
 MY_PV=${PV%.*}_${PV##*.}
 MY_PV2=${PV//./_}
-At="j2re-${MY_PV2}-linux-i586.bin"
+MY_PN=j2re
+At="${MY_PN}-${MY_PV2}-linux-i586.bin"
 S="${WORKDIR}/j2re${MY_PV}"
 DESCRIPTION="Sun's J2SE Platform"
 HOMEPAGE="http://java.sun.com/j2se/1.4.2/"
@@ -32,7 +33,8 @@
 	)
 	odbc? ( dev-db/unixODBC )"
 
-DOWNLOAD_URL="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=8&PartDetailId=j2re-${MY_PV}-oth-JPR&SiteId=JSC&TransactionId=noreg"
+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



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-17 18:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-17 18:13 [gentoo-commits] gentoo-x86 commit in dev-java/sun-jre-bin: ChangeLog sun-jre-bin-1.4.2.17.ebuild Petteri Raty (betelgeuse)
  -- strict thread matches above, loose matches on Subject: below --
2008-03-06  7:56 Christian Faulhammer (opfer)
2008-03-05 21:31 Vlastimil Babka (caster)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox