diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-06-28 20:34:59 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-06-28 20:34:59 +0000 |
commit | da5a49ee1895939ef893560d1f87113446886acd (patch) | |
tree | 0d6da6adfb73ff8925df0fa65a0c4c2fa38dbfa7 /dev-java | |
parent | Remove indirect deps from DEPEND. (diff) | |
download | historical-da5a49ee1895939ef893560d1f87113446886acd.tar.gz historical-da5a49ee1895939ef893560d1f87113446886acd.tar.bz2 historical-da5a49ee1895939ef893560d1f87113446886acd.zip |
Version bump using pax-utils.eclass.
Package-Manager: portage-2.1.3_rc5
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/sun-jre-bin/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/sun-jre-bin/Manifest | 22 | ||||
-rw-r--r-- | dev-java/sun-jre-bin/files/digest-sun-jre-bin-1.4.2.15 | 3 | ||||
-rw-r--r-- | dev-java/sun-jre-bin/sun-jre-bin-1.4.2.15.ebuild | 129 |
4 files changed, 154 insertions, 8 deletions
diff --git a/dev-java/sun-jre-bin/ChangeLog b/dev-java/sun-jre-bin/ChangeLog index 20b726997e33..267572c04199 100644 --- a/dev-java/sun-jre-bin/ChangeLog +++ b/dev-java/sun-jre-bin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/sun-jre-bin # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v 1.97 2007/06/25 20:01:18 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v 1.98 2007/06/28 20:34:59 betelgeuse Exp $ + +*sun-jre-bin-1.4.2.15 (28 Jun 2007) + + 28 Jun 2007; Petteri Räty <betelgeuse@gentoo.org> + +sun-jre-bin-1.4.2.15.ebuild: + Version bump using pax-utils.eclass. 25 Jun 2007; Christoph Mende <angelos@gentoo.org> sun-jre-bin-1.6.0.01-r1.ebuild: diff --git a/dev-java/sun-jre-bin/Manifest b/dev-java/sun-jre-bin/Manifest index a3b015cdcb66..e29bb899ee29 100644 --- a/dev-java/sun-jre-bin/Manifest +++ b/dev-java/sun-jre-bin/Manifest @@ -26,6 +26,7 @@ MD5 27f75fd381ee6bd36aa37f540323185b files/sun-jre-bin-1.6.env 891 RMD160 59bc83699f17395aebc79bf5564ac2f3767aa614 files/sun-jre-bin-1.6.env 891 SHA256 6fd0124892813113266857364834fb8fa9f08db9f72045e639ec0b5acdfc4c09 files/sun-jre-bin-1.6.env 891 DIST j2re-1_4_2_14-linux-i586.bin 14373288 RMD160 7054f23ae3a4fd304dfbb7e9c73da8462507c720 SHA1 28704686d1200cc1830a03c48452731f04603888 SHA256 1d211f9f2f34f108d9f3fde745838965b83695301d953775e60fcf8cc3c163d3 +DIST j2re-1_4_2_15-linux-i586.bin 14379874 RMD160 59dbbc023495f558ad36361a2c4b98c98c6a71d8 SHA1 ce44b3a5f5dba895d9c8b0b2b0474d1b68cb772c SHA256 c62c136cfd5a9ad1ae0e552fa4704089b874ec52419811aa4dd80240720d7464 DIST jdk-1_5_0_11-dlj-linux-amd64.bin 43954177 RMD160 bd865019d3fb2268800696207dba158ea2986a7f SHA1 151315b9eb70f81ac88712e151da5c0a5aeaca23 SHA256 98df66902f42f764cb89b12a1502b976f2e5ddb2aa5000e14846b90cef74e0db DIST jdk-1_5_0_11-dlj-linux-i586.bin 49598681 RMD160 74c5bd78450397006ea145580c3554d77b64a31d SHA1 965e4983da769b6c5d6ec79c942337bc8bee5c8a SHA256 da7c0217c1c6d47aad77a8b5ca0b30b01846c8090d5b1d5907862ef7122a1705 DIST jdk-1_5_0_12-dlj-linux-amd64.bin 43854594 RMD160 b9790d2cc33c7c7f749f6fd055da2b215c054dff SHA1 80566a30c2d065668a97db8b229f3515817e6c2d SHA256 7be91d7544ac682c28bfcad60fa7856303e70fbf8e9857a93d701553dc40c144 @@ -38,6 +39,10 @@ EBUILD sun-jre-bin-1.4.2.14.ebuild 4626 RMD160 0e0acedb8ef82a22b3dfb361d17dc4505 MD5 7f8c1ef43919439031918771d7a5a36f sun-jre-bin-1.4.2.14.ebuild 4626 RMD160 0e0acedb8ef82a22b3dfb361d17dc45055c93a43 sun-jre-bin-1.4.2.14.ebuild 4626 SHA256 16a68266d89fe5075143a3074a6fbb369c9af2c485b1a78043eb7c16db459dbf sun-jre-bin-1.4.2.14.ebuild 4626 +EBUILD sun-jre-bin-1.4.2.15.ebuild 3683 RMD160 23419f008d8c011dbeb492c71ff26a2aa614d593 SHA1 3debe328aede1677970e0790c7833ebda6d52c75 SHA256 b0b963337cc3c764120a0f4ce25ba9be775f30c785f5791f54c9089090af7530 +MD5 2d05d8cd3e56a9a48deb2de4d21e1cf3 sun-jre-bin-1.4.2.15.ebuild 3683 +RMD160 23419f008d8c011dbeb492c71ff26a2aa614d593 sun-jre-bin-1.4.2.15.ebuild 3683 +SHA256 b0b963337cc3c764120a0f4ce25ba9be775f30c785f5791f54c9089090af7530 sun-jre-bin-1.4.2.15.ebuild 3683 EBUILD sun-jre-bin-1.5.0.11.ebuild 3743 RMD160 6e45d61f08f8c939804eff36aad635a72e3ccfbe SHA1 8d9e9087644c48ff6239632a573be6927700e01b SHA256 1224cf2de33b2792738aa990f5d90b1d2f3074d75042ed84a8b2284abb358951 MD5 53bde28171313f1776b30f9eb67b61ee sun-jre-bin-1.5.0.11.ebuild 3743 RMD160 6e45d61f08f8c939804eff36aad635a72e3ccfbe sun-jre-bin-1.5.0.11.ebuild 3743 @@ -58,10 +63,10 @@ EBUILD sun-jre-bin-1.6.0.01.ebuild 3737 RMD160 47ba0ab048657c491c9ce29db7d00257e MD5 dbdf807fda29a00dec6cb5cd03d81b39 sun-jre-bin-1.6.0.01.ebuild 3737 RMD160 47ba0ab048657c491c9ce29db7d00257e62db755 sun-jre-bin-1.6.0.01.ebuild 3737 SHA256 acaf313b5c8d67a3008d2acada8e75ef3b6e136f2ee9ff0846b4483826a6b760 sun-jre-bin-1.6.0.01.ebuild 3737 -MISC ChangeLog 17648 RMD160 7781117254bcd36c1c9d90037f3e38f0177acedb SHA1 7f13d560bf6dd3c22a58cccaea304cef8c151d8c SHA256 ef11745731bbe1b913ea4229cbddd6e37fd5ecd72944373141c86aaa5a83a8b9 -MD5 7614e5c23d61eef08a04dd52469203a9 ChangeLog 17648 -RMD160 7781117254bcd36c1c9d90037f3e38f0177acedb ChangeLog 17648 -SHA256 ef11745731bbe1b913ea4229cbddd6e37fd5ecd72944373141c86aaa5a83a8b9 ChangeLog 17648 +MISC ChangeLog 17813 RMD160 90cb53f66e6a7de5c4e1594333d1677873f4a2ab SHA1 c3acdb61cda150f7e7148a387b6b8dda2baeaf89 SHA256 6a5cb12fafbd1c6b09b91b939d9638eed7b67a71632c97a383d0b0d8fa4be49e +MD5 9f0963430bfaf2ce62404d71ffa8e8e6 ChangeLog 17813 +RMD160 90cb53f66e6a7de5c4e1594333d1677873f4a2ab ChangeLog 17813 +SHA256 6a5cb12fafbd1c6b09b91b939d9638eed7b67a71632c97a383d0b0d8fa4be49e ChangeLog 17813 MISC metadata.xml 240 RMD160 8c29e03b578ddd40c82afe82d42498d4c855e745 SHA1 9d97dffe17dd3ea241edafeb9a12479d4e0bc17f SHA256 3736870ea8f5be547aa7555022da8690eba4e4c1cdfeac21a6cba84a7d1cc07f MD5 c7683734eb61c03c450e551efa7b4d5a metadata.xml 240 RMD160 8c29e03b578ddd40c82afe82d42498d4c855e745 metadata.xml 240 @@ -69,6 +74,9 @@ SHA256 3736870ea8f5be547aa7555022da8690eba4e4c1cdfeac21a6cba84a7d1cc07f metadata MD5 070ceb09f81531b78a08dea1545ad98f files/digest-sun-jre-bin-1.4.2.14 271 RMD160 02e004d8c192e9333e0d0212af899e827f40c886 files/digest-sun-jre-bin-1.4.2.14 271 SHA256 6b13dcea204a1fef7f2ff53dd6e222d2d747ee0b2b9f5d56d5a5cfd3b86207f4 files/digest-sun-jre-bin-1.4.2.14 271 +MD5 a44fd16ec6662c70babe6b055e55dced files/digest-sun-jre-bin-1.4.2.15 271 +RMD160 9f32106eb11986b15518639cfc77e423d38391c2 files/digest-sun-jre-bin-1.4.2.15 271 +SHA256 a87b2556a700fa7bb3a1131de7f4b495d9d3bb87db7b87db59319f206f820c18 files/digest-sun-jre-bin-1.4.2.15 271 MD5 03a3655dea58f8ecfdf9b222a82c13d1 files/digest-sun-jre-bin-1.5.0.11 563 RMD160 baf28f80473123c2c382cda0d6e3908a455aec27 files/digest-sun-jre-bin-1.5.0.11 563 SHA256 d05c274f69904c60645c3639147b1741b3edeba807959724e8310ec9b1ea8b4b files/digest-sun-jre-bin-1.5.0.11 563 @@ -87,7 +95,7 @@ SHA256 a3bbd6c7a23eeeab99bb3b1a4f67b9347bb4c2531b1ec4c381fd5d9d8e2ee327 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (GNU/Linux) -iD8DBQFGgB8SKhnDs22gwa8RAvc3AJ4nOY7FiiFbpbG+/jui2B8t278GjgCg6q1D -wyNDGffpQbA6vOeULBxIrVU= -=R/m+ +iD8DBQFGhBt0cxLzpIGCsLQRAmuOAJ902Cow7twqFqRPVfRE/d0VxSnAlACdEy54 +mfCkCcvzcdqnirQThaTcNus= +=mQry -----END PGP SIGNATURE----- diff --git a/dev-java/sun-jre-bin/files/digest-sun-jre-bin-1.4.2.15 b/dev-java/sun-jre-bin/files/digest-sun-jre-bin-1.4.2.15 new file mode 100644 index 000000000000..3063a63e1dda --- /dev/null +++ b/dev-java/sun-jre-bin/files/digest-sun-jre-bin-1.4.2.15 @@ -0,0 +1,3 @@ +MD5 c5ff3c383ecc887365dd5442a5c8cec9 j2re-1_4_2_15-linux-i586.bin 14379874 +RMD160 59dbbc023495f558ad36361a2c4b98c98c6a71d8 j2re-1_4_2_15-linux-i586.bin 14379874 +SHA256 c62c136cfd5a9ad1ae0e552fa4704089b874ec52419811aa4dd80240720d7464 j2re-1_4_2_15-linux-i586.bin 14379874 diff --git a/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.15.ebuild b/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.15.ebuild new file mode 100644 index 000000000000..de20437d06a4 --- /dev/null +++ b/dev-java/sun-jre-bin/sun-jre-bin-1.4.2.15.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2007 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.15.ebuild,v 1.1 2007/06/28 20:34:59 betelgeuse 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" + +DEPEND="" + +RDEPEND="alsa? ( media-libs/alsa-lib ) + X? ( + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXi + x11-libs/libXp + x11-libs/libXt + x11-libs/libXtst + )" + +DOWNLOAD_URL="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&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 LICENSE 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 +} + +pkg_postinst () { + # Set as default VM if none exists + java-vm-2_pkg_postinst + + if ! use X; then + echo + ewarn "Some parts of Sun's JDK require virtual/x11 to be installed." + ewarn "Be careful which Java libraries you attempt to use." + fi +} |