diff --git a/dev-java/sun-jre-bin/ChangeLog b/dev-java/sun-jre-bin/ChangeLog index 43404fc..ba33eca 100644 --- a/dev-java/sun-jre-bin/ChangeLog +++ b/dev-java/sun-jre-bin/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*sun-jre-bin-1.6.0.21 (09 Nov 2010) + + 09 Nov 2010; Mario Fetka + +sun-jre-bin-1.6.0.21.ebuild: + Bump to the newest version + 14 Oct 2010; Mario Fetka sun-jre-bin-1.6.0.10.ebuild, files/sun-jre-bin-1.6.env: Correct dependencies and add a fetsch restrict message diff --git a/dev-java/sun-jre-bin/Manifest b/dev-java/sun-jre-bin/Manifest index fa1d7f4..0e435dc 100644 --- a/dev-java/sun-jre-bin/Manifest +++ b/dev-java/sun-jre-bin/Manifest @@ -1,6 +1,8 @@ AUX fontconfig.Gentoo.properties 10932 RMD160 ce1fb555f3f5f281f328c8016e12407ac0893819 SHA1 59f68c06f4f727bc72449a76bd4941cbee626373 SHA256 893b469c87ba547122fe158941c00512bf3f15046251f4b8639d967203d32bc1 AUX sun-jre-bin-1.6.env 900 RMD160 e9e219f6096b0cbf35315f5e6015ff0facfef9cd SHA1 dcb469843756552757a3e99df0e2da055eeeb3ea SHA256 aa111a700e2029ca6b4c3dca0183d59121275822c702bae14f41242d677ca5f1 DIST ejre-1_6_0_10-fcs-b42-linux-armv5-sflt-eabi-headless-10_jun_2010.tar.gz 28780702 RMD160 191bc16a67285f5a56dd6a64d610574d8621f7f6 SHA1 17d7798047805aa4e4fdd201c6d439e1ae45ea71 SHA256 c328bbfa2cbf5522e2c9c4f88db3b43e75c9cfc8aa3add73545bd0336830ee6f +DIST ejre-1_6_0_21-fcs-b09-linux-arm-sflt-eabi-headless-27_sep_2010.tar.gz 27714409 RMD160 16c53026d6bf4ce3b72e1f7bd83eb30dfea3f451 SHA1 f7e2b6e0d7c824fe1735153f1897b4f63c1acfa9 SHA256 81df3d35deba1f886d16970c0bde1df613f0ac479a3101ea98177f478579b1cd EBUILD sun-jre-bin-1.6.0.10.ebuild 2764 RMD160 6514ff659e9984825ed4ccbd2e2c40febe7868e1 SHA1 beedfb3c2979c8ce581887347524eb1142832c78 SHA256 f976af98eff52e5410cb34a4b3ce837eeb76bb6fd442b8b7aec510ead4d18539 -MISC ChangeLog 502 RMD160 2152c70804489ad3669e0866b856c06a6c8bcc9a SHA1 54e57168e7fe36df89f82941eb8b3f078ebdcfac SHA256 e98803fe88e8d999c1411f9ec9370cdfd82f0d0b250dfa57dc806bb2dc89f8e9 +EBUILD sun-jre-bin-1.6.0.21.ebuild 2804 RMD160 bd566dfb66a0641affb3e8ae477ca9eb2ae56d2f SHA1 1db86719084ee3942bd7dd84f7e98756f8d3200b SHA256 7eda3c9e3abaf38dd60e28b67246fa0888a8bf40708702d11f6ca58e83615c8c +MISC ChangeLog 652 RMD160 6e8f71ff4e32af9a3d8b02a51548cad5f02c10f6 SHA1 df87ad2c60b9e2174701ff103db09c779327fccf SHA256 23a1a5174636b4e68c5f3b370fcc832767f5aeb85d164cea1817c367ce3be75f MISC metadata.xml 349 RMD160 ae6db154651b0c2b160e1e6956fb722cb52f2e8b SHA1 219312b9ae33153d205b514009927531ee14b93a SHA256 fe0ef52d77b220fb36e9c39d2148bf03ec11223d80320cdc066c0fa723a1ae7d diff --git a/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.21.ebuild b/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.21.ebuild new file mode 100644 index 0000000..d682d85 --- /dev/null +++ b/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.21.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2010 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.6.0.22.ebuild,v 1.3 2010/10/13 11:24:06 hwoarang Exp $ + +inherit versionator pax-utils eutils java-vm-2 + +MY_PVR="$(replace_version_separator 3 _)" +MY_PV="$(replace_all_version_separators _ )" + +BUILD="09" +BUILDDATE="27_sep_2010" +SUFFIX=".tar.gz" +ARMV5_AT="ejre-${MY_PV}-fcs-b${BUILD}-linux-arm-sflt-eabi-headless-${BUILDDATE}${SUFFIX}" + +DESCRIPTION="Sun's Java SE Embedded Runtime Environment" +HOMEPAGE="http://www.oracle.com/technetwork/java/embedded/overview/index.html" +URL_BASE="http://download.java.net/dlj/binaries" +SRC_URI="arm? ( ${URL_BASE}/${ARMV5_AT} )" +SLOT="1.6" +LICENSE="ejre-6" +KEYWORDS="~arm" +RESTRICT="strip fetch" +IUSE="X jce odbc" + +DEPEND="jce? ( =dev-java/sun-jce-bin-1.6.0* )" +RDEPEND="${DEPEND} + sys-libs/glibc + X? ( + x11-libs/libXext + x11-libs/libX11 + ) + odbc? ( dev-db/unixODBC )" + +JAVA_PROVIDE="jdbc-stdext jdbc-rowset" + +QA_TEXTRELS_x86="opt/${P}/lib/arm/client/libjvm.so + opt/${P}/lib/arm/motif21/libmawt.so + opt/${P}/lib/arm/libdeploy.so + opt/${P}/lib/arm/server/libjvm.so" + +S="${WORKDIR}/ejre${MY_PVR}" + +src_compile() { + # Set PaX markings on all JDK/JRE executables to allow code-generation on + # the heap by the JIT compiler. This has to be done before CDS - #215225 + pax-mark m $(list-paxables "${S}"/bin/*) + + # see bug #207282 + if use arm; then + einfo "Creating the Class Data Sharing archives" + "${S}"/bin/java -client -Xshare:dump || die + # "${S}"/bin/java -server -Xshare:dump || die + fi +} + +src_install() { + local dirs="bin lib" + + dodir /opt/${P} + + cp -pPR $dirs "${D}/opt/${P}/" || die "failed to copy" + + dodoc legal/COPYRIGHT.txt legal/THIRDPARTYLICENSEREADME.txt || die + dohtml *.html || die + dodir /opt/${P}/share/ + + if use jce; then + cd "${D}/opt/${P}/lib/security" + dodir /opt/${P}/lib/security/strong-jce + mv "${D}"/opt/${P}/lib/security/US_export_policy.jar \ + "${D}"/opt/${P}/lib/security/strong-jce || die + mv "${D}"/opt/${P}/lib/security/local_policy.jar \ + "${D}"/opt/${P}/lib/security/strong-jce || die + dosym /opt/sun-jce-bin-1.6.0/jre/lib/security/unlimited-jce/US_export_policy.jar /opt/${P}/lib/security/ + dosym /opt/sun-jce-bin-1.6.0/jre/lib/security/unlimited-jce/local_policy.jar /opt/${P}/lib/security/ + fi + + + # bug #56444 + insinto /opt/${P}/lib/ + newins "${FILESDIR}"/fontconfig.Gentoo.properties fontconfig.properties + + set_java_env + java-vm_revdep-mask +} + +pkg_postinst() { + # Set as default VM if none exists + java-vm-2_pkg_postinst +} + +pkg_nofetch() { + einfo "This files require you to register at ${HOMEPAGE} (free account)" + einfo "Please download following file:" + einfo " - ${ARMV5_AT}" + einfo "from ${HOMEPAGE}" + einfo "and place them in ${DISTDIR}" +} \ No newline at end of file