(Portage version: 2.2.0_alpha123/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
This commit is contained in:
Mario Fetka 2012-10-16 17:52:16 +02:00
parent 6c69acd372
commit a9b7b86f58
3 changed files with 161 additions and 10 deletions

View File

@ -1,7 +1,13 @@
# ChangeLog for dev-java/oracle-jre-bin
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/ChangeLog,v 1.8 2011/12/18 09:52:17 sera Exp $
*oracle-jre-bin-1.7.0.6 (16 Oct 2012)
16 Oct 2012; Mario Fetka <mario.fetka@gmail.com>
+oracle-jre-bin-1.7.0.6.ebuild:
Bump
29 Dec 2011; Mario Fetka <mario.fetka@gmail.com>
oracle-jre-bin-1.7.0.2.ebuild:
correct compare

View File

@ -1,9 +1,13 @@
AUX fontconfig.Gentoo.properties 11196 RMD160 e11989b6be27297af68bdd7040439f4d3bd09916 SHA1 58a53f90a8d0409769d371f2e07b5bec27b02469 SHA256 9372ca516ff36609d846a9cb446dde3212e976c10166d8e231312d6238d1db0c
AUX oracle-jre-bin-1.7.env 1044 RMD160 48c46e55a31573fff21ed141906f0410030337eb SHA1 6e91275736cf792f4f7e1be90379223b7754faa6 SHA256 338e601872b21b21d1828c20622a427c2ad712ab5b804f79d749be03b700ddd6
DIST UnlimitedJCEPolicyJDK7.zip 7426 RMD160 a4a6a284579f43d2df3532d279e143d2f03c2c3f SHA1 7d3c9ee89536b82cd21c680088b1bced16017253 SHA256 7a8d790e7bd9c2f82a83baddfae765797a4a56ea603c9150c87b7cdb7800194d
DIST ejre-7u2-fcs-b13-linux-arm-sflt-headless-22_nov_2011.tar.gz 32950518 RMD160 e9ff276cd8d65eecec787d08c6df7dcbed7c8d85 SHA1 37095dc9c9b86b6e95bc21216e65c3cd2cd9b9e9 SHA256 ac3f6a928c876e689790f968237ec223396f3af1bf7f5826e62ee77796f92f9e
DIST ejre-7u2-fcs-b13-linux-arm-vfp-client_headful-22_nov_2011.tar.gz 38810335 RMD160 efe78c30489ee064769c84deb3092766fa7cfc3a SHA1 cdb2daf197424075110bd8fa306b62a435036440 SHA256 df1a8581001892c7e767b6d6604bbaa0299ea45cd86e69f3252378b830ba6444
DIST ejre-7u2-fcs-b13-linux-arm-vfp-client_headless-22_nov_2011.tar.gz 32775664 RMD160 f1e59611d480bac9b8e3f20e0ed6b7b5a14ebcbe SHA1 043a911074a7b43f5c88c1bd6bd62bcfa8a23fea SHA256 dd569e640091c7d4ee62489ecbbdfc815023d71135e44c7d15c74c6a9b87f9c5
EBUILD oracle-jre-bin-1.7.0.2.ebuild 3823 RMD160 fbbb1c716bb51fa7a67a7dd1928edae195c1cc7a SHA1 2643902049d7d19a87fb5d76edcbe1a8902777f3 SHA256 76c48533ac0e12f0ebcaf6dfde9a4fae51d08646380f3461db7aada7772584de
MISC ChangeLog 2116 RMD160 f45f080f0209f1c1bf6eaf1ac012b4ca46dd9d97 SHA1 605471daeda78a2f73a2d8eae3eca4d2cf53d7ab SHA256 d9ba069d69654fe97359d0337d9c3a04919e6a6aaf0dd2d85e8548ceca895a13
MISC metadata.xml 374 RMD160 4e6b6826d9ee188e0fa0b5a9a5e5d23b722e10f8 SHA1 0c90ab71e19ea1e34710e7944f268bd46943f57d SHA256 32decb0503e4843bf9157625a4c494955b4c93ccd079bec72da1c374c03b7fa8
AUX fontconfig.Gentoo.properties 11196 SHA256 9372ca516ff36609d846a9cb446dde3212e976c10166d8e231312d6238d1db0c SHA512 1802e52383a04efd0d7fb4d6a3903f99128dce90afcb10b9dd0d3515e5feafb807449024dbe5742c7dfa9d43736e474412e1a289e06b29cf3a58e59deedd56f9 WHIRLPOOL f4c5364255f8da18bf61501d6fac10972216182e891cadd90e2cccd27917caaeeb29cf3691e865ce02937904efb30716fd8de2fca875929ff89b06ada2cff0b6
AUX oracle-jre-bin-1.7.env 1044 SHA256 338e601872b21b21d1828c20622a427c2ad712ab5b804f79d749be03b700ddd6 SHA512 7fed7767ae3b7f2d61f0606e0762196e6247c384244403462f29a97d032ac890c66f28a131e4b67405e26cc4bcf7b1fc30bcf4ef45959851d0056ad7c3c801e0 WHIRLPOOL b3e12c9be85caadb1f7e22759a91694062be36ac9a048e0fee967b05a08e8c08b9d2ec5cd00eafee26213122df93b19f389d85b9fb7d55083b6d9c79beb8cedf
DIST UnlimitedJCEPolicyJDK7.zip 7426 SHA256 7a8d790e7bd9c2f82a83baddfae765797a4a56ea603c9150c87b7cdb7800194d
DIST ejre-7u2-fcs-b13-linux-arm-sflt-headless-22_nov_2011.tar.gz 32950518 SHA256 ac3f6a928c876e689790f968237ec223396f3af1bf7f5826e62ee77796f92f9e
DIST ejre-7u2-fcs-b13-linux-arm-vfp-client_headful-22_nov_2011.tar.gz 38810335 SHA256 df1a8581001892c7e767b6d6604bbaa0299ea45cd86e69f3252378b830ba6444
DIST ejre-7u2-fcs-b13-linux-arm-vfp-client_headless-22_nov_2011.tar.gz 32775664 SHA256 dd569e640091c7d4ee62489ecbbdfc815023d71135e44c7d15c74c6a9b87f9c5
DIST ejre-7u6-fcs-b24-linux-arm-sflt-headless-10_aug_2012.tar.gz 33138075 SHA256 408203bf2763f3cfcaadd7b00256e057165113533735bb814e6b63c530fb6aa9 SHA512 0a983d868000913c7e113242fea6fee949eeb8c0352a920421db20c9b93bc40aa1b872584a0c6555233b384d323ae440a8f7c0ad67e5e6b31a59176df7bdc7e0 WHIRLPOOL 364937acd457e5e947fde2008ead4011f9d4a9704b29a86bd5441c612ee74f595e4a40bb96e3bf023e96966afe5ea5e8ed37f238721e0e146ee37d5b2cb52484
DIST ejre-7u6-fcs-b24-linux-arm-vfp-client_headful-10_aug_2012.tar.gz 39099870 SHA256 e91de4c48069b20f26a9ddba7b96e088fac7a387a9e8c2dd1490c9dcce8ee027 SHA512 f5b8625b46368dd9bfee61a2f352041f5d272fb0d1f1fc766ad70d6e3102321cb320e10bbb98e0a06da23c4b03f7e047c49a5af9123b8b35e3639abe540f217a WHIRLPOOL b92e6ac57de6db68369707bad45af9eb64b90b4b2019f83bcd08fa00256a2c555d010cc5a9fa17d90b4edf18a16071bf8b595bb0ae5fac8258a5cbd36f5c2240
DIST ejre-7u6-fcs-b24-linux-arm-vfp-client_headless-10_aug_2012.tar.gz 32910356 SHA256 f770aa79f9a8ccde2d81bd936aa2ca48c3c294ebea3414b6f86cfebc59d813c9 SHA512 60f011c2edc061053aaece0a7a2079526551c438f7d7582eabeaf3b60fcca1499a99530ef3abf05b046a60c0ee16f198768fca7ed8f0da4a676ead66a61f4686 WHIRLPOOL 82afb7d4a5c5604f355489f553332ca66962e8a8e1d0befde67426ce7795aa9af25d7ac78aab655a332eb8b941af7d6cad6a1a3866adea8b09fc7e37b778e454
EBUILD oracle-jre-bin-1.7.0.2.ebuild 3823 SHA256 76c48533ac0e12f0ebcaf6dfde9a4fae51d08646380f3461db7aada7772584de SHA512 0514e03bc04a8d791a1863cc5e27d9514e130c11561283466b543565a1d01a1bdbb2d4e8c4d77a3e0bfff4ec19454c37c8905db4876287e79feafa1dfe94e8c3 WHIRLPOOL c6f3def53974329b082920475168ffce49506a84f1bde0ae5d4aaf05add72674e9e198bd85a5986f0769501e89117f9b54d99667d97f154f61882e670280bdd6
EBUILD oracle-jre-bin-1.7.0.6.ebuild 3823 SHA256 a636079e3d3dcf4e2d762fe5fce3039b07389a4111e4da5044856a67f8e1e9be SHA512 3ad4b3f6ab21ff2aa1eca035f9ec1149e70aba375163a39a53e0b67db342a1a37b01ade0dd0d78b3ab16f47d3d638c394f6869ce58165012667655ba6d167847 WHIRLPOOL 9680e4e72a7be27a856e06242f99d74db2223944ec81fe85eb6e1d80b02bbd8123ec5b9cbc6b1894bc3f9ee5179a343389ee91b3a2f7ea4e3ca0a7762843d695
MISC ChangeLog 2248 SHA256 eb84549d0f390585af9a574a4970e1277f30384e78d9ee85c873809224a8b0c4 SHA512 f0f16be4d202ca561af6aeb5cb6dfdb27c99c59d3c4969bc66013d47d560c22ada31a31f5009590961dec92b482563949ff15210ab0a13e92d75aa0b93257fe3 WHIRLPOOL cf6abcafff2a39ea07719e5c7cd23262fcbc9ccb47a8dc6198a9d48d8684617567765a8d74ca14fb0615eaf877d7b84672084ff3e9edd83d4feec73c984414f6
MISC metadata.xml 374 SHA256 32decb0503e4843bf9157625a4c494955b4c93ccd079bec72da1c374c03b7fa8 SHA512 c55b3500fa8a9e04e33a6917112039b4cfb8539735780f060195bb56d62b0ad400a97f538c7f1525721943e6afcee55a0188ed2c0e209a7b3abf92d31dde055e WHIRLPOOL fb73fb8fde357d8a91b6985921b6d26bfd138db10e18e10e1d37d72f029e11763e3264ea94712b48a41171301a6ca4e550ba47ea81bd35acb4752d2be32774da

View File

@ -0,0 +1,141 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/oracle-jre-bin/oracle-jre-bin-1.7.0.2.ebuild,v 1.1 2011/12/18 09:52:17 sera Exp $
EAPI="4"
inherit java-vm-2 eutils prefix versionator
UPDATE="$(get_version_component_range 4)"
UPDATE="${UPDATE#0}"
MY_PV="$(get_version_component_range 2)u${UPDATE}"
S_PV="$(get_version_component_range 1-3)_0${UPDATE}"
BUILD="24"
BUILDDATE="10_aug_2012"
SUFFIX=".tar.gz"
ARMV5_AT="ejre-${MY_PV}-fcs-b${BUILD}-linux-arm-sflt-headless-${BUILDDATE}${SUFFIX}"
ARMV6_AT="ejre-${MY_PV}-fcs-b${BUILD}-linux-arm-vfp-client_headless-${BUILDDATE}${SUFFIX}"
ARMV7_AT="ejre-${MY_PV}-fcs-b${BUILD}-linux-arm-vfp-client_headful-${BUILDDATE}${SUFFIX}"
# This URIs need updating when bumping!
JRE_URI="http://www.oracle.com/technetwork/java/embedded/overview/getstarted/index.html"
JCE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html"
JCE_DIR="UnlimitedJCEPolicy"
JCE_FILE="${JCE_DIR}JDK7.zip"
DESCRIPTION="Oracle's Java SE Runtime Environment"
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
SRC_URI="arm? ( ${ARMV5_AT} ${ARMV6_AT} ${ARMV7_AT} )
jce? ( ${JCE_FILE} )"
LICENSE="ejre-7"
SLOT="1.7"
KEYWORDS="~arm"
RESTRICT="fetch strip"
IUSE="X alsa jce"
DEPEND="jce? ( app-arch/unzip )"
RDEPEND="${DEPEND}
X? (
x11-libs/libXext
x11-libs/libXi
x11-libs/libXrender
x11-libs/libXtst
x11-libs/libX11
)
alsa? ( media-libs/alsa-lib )
!prefix? ( sys-libs/glibc )"
QA_TEXTRELS_arm="
opt/${P}/lib/arm/client/libjvm.so
opt/${P}/lib/arm/server/libjvm.so"
S="${WORKDIR}/ejre${S_PV}"
pkg_nofetch() {
if use arm; then
AT="${ARMV5_AT} ${ARMV6_AT} ${ARMV7_AT}"
fi
einfo "Please download ${AT} from:"
einfo "${JRE_URI}"
einfo "and move it to ${DISTDIR}"
if use jce; then
einfo "Also download ${JCE_FILE} from:"
einfo ${JCE_URI}
einfo "and move it to ${DISTDIR}"
fi
}
src_unpack() {
einfo "Unpacking for arch ${CHOST/-*/}"
if [[ ${CHOST/-*/} = "armv5tel" ]]; then
unpack ${ARMV5_AT}
elif [[ ${CHOST/-*/} = "armv6j" ]]; then
unpack ${ARMV6_AT}
elif [[ ${CHOST/-*/} = "armv7a" ]]; then
unpack ${ARMV7_AT}
fi
}
src_prepare() {
if use jce; then
mv "${WORKDIR}"/${JCE_DIR} "${S}"/lib/security/ || die
fi
}
src_compile() {
# This needs to be done before CDS - #215225
java-vm_set-pax-markings "${S}"
# see bug #207282
einfo "Creating the Class Data Sharing archives"
if use arm; then
"${S}"/bin/java -client -Xshare:dump || die
fi
#"${S}"/bin/java -server -Xshare:dump || die
# Create files used as storage for system preferences.
mkdir .systemPrefs || die
touch .systemPrefs/.system.lock || die
touch .systemPrefs/.systemRootModFile || die
}
src_install() {
dodir /opt/${P}
cp -pPR bin lib "${ED}"/opt/${P} || die
# Remove empty dirs we might have copied
#rmdir -v $(find "${ED}" -type d -empty) || die
dodoc COPYRIGHT README THIRDPARTYLICENSEREADME.txt
if use jce; then
dodir /opt/${P}/lib/security/strong-jce
mv "${ED}"/opt/${P}/lib/security/US_export_policy.jar \
"${ED}"/opt/${P}/lib/security/strong-jce || die
mv "${ED}"/opt/${P}/lib/security/local_policy.jar \
"${ED}"/opt/${P}/lib/security/strong-jce || die
dosym /opt/${P}/lib/security/${JCE_DIR}/US_export_policy.jar \
/opt/${P}/lib/security/
dosym /opt/${P}/lib/security/${JCE_DIR}/local_policy.jar \
/opt/${P}/lib/security/
fi
# bug #56444
cp "${FILESDIR}"/fontconfig.Gentoo.properties "${T}"/fontconfig.properties || die
eprefixify "${T}"/fontconfig.properties
insinto /opt/${P}/lib/
doins "${T}"/fontconfig.properties
# bug #388127
dodir /etc/sandbox.d
echo 'SANDBOX_PREDICT="/dev/random:/proc/self/coredump_filter"' > "${D}/etc/sandbox.d/20${VMHANDLE}"
set_java_env
java-vm_revdep-mask
}