summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2012-02-16 11:03:24 +0000
committerRalph Sennhauser <sera@gentoo.org>2012-02-16 11:03:24 +0000
commit388f6ae6cce7bfb1bf52dd14002f955a86ed55bc (patch)
treeca328d726339aeb1565173d70d9546789391bc10 /dev-java
parentVersion bump to 2.2.2 (bug 383537), some cleanups from darkside. (diff)
downloadhistorical-388f6ae6cce7bfb1bf52dd14002f955a86ed55bc.tar.gz
historical-388f6ae6cce7bfb1bf52dd14002f955a86ed55bc.tar.bz2
historical-388f6ae6cce7bfb1bf52dd14002f955a86ed55bc.zip
Security bump. #404071
Use relative path for desktop file icon. #403139 dev-java/sun-jce-bin is build only dependency. Remove vulnerable, except current stable. Package-Manager: portage-2.1.10.45/cvs/Linux x86_64
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/sun-jre-bin/ChangeLog12
-rw-r--r--dev-java/sun-jre-bin/Manifest23
-rw-r--r--dev-java/sun-jre-bin/sun-jre-bin-1.6.0.29-r1.ebuild138
-rw-r--r--dev-java/sun-jre-bin/sun-jre-bin-1.6.0.31.ebuild (renamed from dev-java/sun-jre-bin/sun-jre-bin-1.6.0.30.ebuild)42
4 files changed, 44 insertions, 171 deletions
diff --git a/dev-java/sun-jre-bin/ChangeLog b/dev-java/sun-jre-bin/ChangeLog
index c395f08a7019..50524550d87c 100644
--- a/dev-java/sun-jre-bin/ChangeLog
+++ b/dev-java/sun-jre-bin/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for dev-java/sun-jre-bin
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v 1.204 2012/01/20 10:32:10 sera Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/ChangeLog,v 1.205 2012/02/16 11:03:24 sera Exp $
+
+*sun-jre-bin-1.6.0.31 (16 Feb 2012)
+
+ 16 Feb 2012; Ralph Sennhauser <sera@gentoo.org>
+ -sun-jre-bin-1.6.0.29-r1.ebuild, -sun-jre-bin-1.6.0.30.ebuild,
+ +sun-jre-bin-1.6.0.31.ebuild:
+ Security bump. #404071
+ Use relative path for desktop file icon. #403139
+ dev-java/sun-jce-bin is runtime only dependency.
+ Remove vulnerable, except current stable.
*sun-jre-bin-1.6.0.30 (20 Jan 2012)
diff --git a/dev-java/sun-jre-bin/Manifest b/dev-java/sun-jre-bin/Manifest
index e665ec7faaaa..ca393605e2aa 100644
--- a/dev-java/sun-jre-bin/Manifest
+++ b/dev-java/sun-jre-bin/Manifest
@@ -8,21 +8,20 @@ AUX sun-jre-bin-1.6.env 891 RMD160 59bc83699f17395aebc79bf5564ac2f3767aa614 SHA1
AUX sun-jre-bin-1.6.env-r1 966 RMD160 7cb6cb5c5c482aebe3da916b7b5607f15eb95962 SHA1 cfc8dc648ba2795c748ce3b342ed28deac2fe7f8 SHA256 2825f19a60ecf19c4164a27aa24312c521145236c013759c62242a7772e44efe
DIST jre-6u29-linux-i586.bin 21632980 RMD160 ce7ba2ec99643b6d47f6b634d7e9fa5877513b4a SHA1 6de26b992a9920117d2f156ff5bbddf2d5b28f77 SHA256 13bd1ce27709be7d05c07221185d4f572242b14a80cea67b557e761f5ba7e440
DIST jre-6u29-linux-x64.bin 21230518 RMD160 53bb593ae6ff9f09bc1f00a94ebd6a3506260f87 SHA1 820399aed6db6c1960ba0942bc64c49a3b809b89 SHA256 624e566642ebe1dc41d07737d15e3a0ada754f36e7d27a789b4a44a2f2148e58
-DIST jre-6u30-linux-i586.bin 21686310 RMD160 f721ccaef056f4281ad6b020ec9a3c79cbfc1252 SHA1 6e2f60a3d62b73e878dc77e3a6266b03eadec31e SHA256 5bf23eddbcb0f61e9415ec2cc6432f3ca86f6a3efbc37b55ab3f48d054c1bb47
-DIST jre-6u30-linux-x64.bin 21300428 RMD160 7bf08b9330c7e299eec85a08eb25fa6d58a3f8d9 SHA1 8da1cfb1143374afed424e55e48d1f4e1c4e2183 SHA256 f35225a514efc3a56bedb92b73b188710c54715dc20a97cb9524f650e37628d5
-EBUILD sun-jre-bin-1.6.0.29-r1.ebuild 4162 RMD160 ffb9dd02b744ebf62e060eb50ff8679456298b2d SHA1 b9235ab40ecbb410038ce08e1f6ae33792c0ac4e SHA256 cee1a2bd2d7a239df1a585c5a91e954144c81b06830b03b253431091d902b6b9
+DIST jre-6u31-linux-i586.bin 21699103 RMD160 45252ef657d84abeaa1f22d8e3cfc7906a726645 SHA1 7fff7f6f99282ea3adc718c1f449df9107a8ad0c SHA256 c7c6882b8018e95ded4d145ae28692e2a0a4c13e66c5310d8f5c42b90b5b4dd0
+DIST jre-6u31-linux-x64.bin 21312981 RMD160 a3c51e57681a86960313f6007c63311d029de395 SHA1 0b20b1290e7c7ee3cf4ec7e99ae794fada6053af SHA256 3af56f72a76ad48940b45726f94770f12285c21b5f3194fc56cd63c3d4ed3329
EBUILD sun-jre-bin-1.6.0.29.ebuild 4275 RMD160 605f3e0f4996c3c98ceababbe55c9e0651ce0aab SHA1 76f8220984f0b7706a918e5dd5763512b439ddb2 SHA256 76efb1ae15a38c6b1c227cb365d01364a91a479715c7018c463161d8b1163ce1
-EBUILD sun-jre-bin-1.6.0.30.ebuild 4138 RMD160 259bb08fc3571ff8d594a78e237d49efb03cb7ec SHA1 d0d0622b73d65bb8535e2991416e5a75509b9e7e SHA256 9730033383b92b6b1d9129b20cd843316d9192794f420babe8e68a99baeaff39
-MISC ChangeLog 35901 RMD160 3c15b680201a253f7369a55d07c89aee17a58f9d SHA1 8e3f87a2256ed6615690584b0fe1f0ef7b34701b SHA256 42a47603c362afc917801faa38958b9d0f017a18f1c511aa03701023cb5ce604
+EBUILD sun-jre-bin-1.6.0.31.ebuild 4176 RMD160 9370d547a8324987def01ff9dbbdc4b854e2bd4b SHA1 1f336677209aadb1f8897345539dfb5648b3335f SHA256 c2650c86bc2c94b018ab3ec3242eac9af9a33741a0aa2d38e7ad9b982e434b1d
+MISC ChangeLog 36257 RMD160 f7066002eb2f00cef16146b4d555c276f2e9336a SHA1 b0f56495d30d1afe7e4efde67af66e398a5e20ce SHA256 8d19d59222c3dc1eb3cb2483c8075d92bc954a7bdb70b06dc98786f14fd0f17c
MISC metadata.xml 349 RMD160 ae6db154651b0c2b160e1e6956fb722cb52f2e8b SHA1 219312b9ae33153d205b514009927531ee14b93a SHA256 fe0ef52d77b220fb36e9c39d2148bf03ec11223d80320cdc066c0fa723a1ae7d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iQEcBAEBAgAGBQJPGUK6AAoJEIUJ+svaV163jV0H/2Dl1Sl/NasjXtw1g7oyw1p9
-dnFc0bhyC4obFNrb6ObZ6y+8AnJX5dTFvleBlFhd1WfGzN5fROuFplXJwO0jtO4P
-AyynLXqE47RgCInyPxTWHew9A9lYJ7IaCSV1Xl+RJVs/HDF0OPJbT2pk/lU40isy
-Yh4otWm1t7QwhO/aE7KFC4Igm+qTBiMHlTHSQKZ07ORkXESqLrOTot6cCdDWaoN0
-GsHVyF9SeLf2yOM4s04rPTjlhacYCBKRqlSs94TahR0kLxquTDcRzhfOqG33XBgk
-wnofn+q8Wp2YQO6F9KMlg0H2xsJhDZkzQswXWcesSn3YDU/+CNakUYgte2hWfHw=
-=qpMB
+iQEcBAEBAgAGBQJPPOKKAAoJEIUJ+svaV163gN8H/1cJ4fn35Cy5g68qex8nM6wz
+qq+ZTxGWCsV3jnWLNCBPuoz5KavVB25YLu/EonTdqZuqkaauEz0Dyc6EfqLERFRX
+nBTI0sHoKAS6IOfF8cE0Ez7QofDMsZunrn4fQ9LHJcgRNudCmJlLBHT+HAsPl+zJ
+nS6lrFHkTlMuzf/Kru/d+N7jl8C6fZHZ5+8AUfLETAbb7AcOQc2Hd78/ZQLG/CoR
+7oai/fPnA0PQHNlQasqsu1l8osw0H/8GJfpyMsIX5hJ9BLlpwbi/X5QF3Y7B42c5
+MROtcAwHNg+bPASve0OVaC2yioM2nMkbMsRibtyb38yuiwlkiiUh5YDqOWNKJ1Q=
+=m8ef
-----END PGP SIGNATURE-----
diff --git a/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.29-r1.ebuild b/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.29-r1.ebuild
deleted file mode 100644
index 1bba06be9e63..000000000000
--- a/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.29-r1.ebuild
+++ /dev/null
@@ -1,138 +0,0 @@
-# Copyright 1999-2011 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.29-r1.ebuild,v 1.2 2011/11/21 12:15:02 sera Exp $
-
-EAPI="4"
-
-inherit java-vm-2 eutils prefix versionator
-
-MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)"
-S_PV="$(replace_version_separator 3 '_')"
-
-X86_AT="jre-${MY_PV}-linux-i586.bin"
-AMD64_AT="jre-${MY_PV}-linux-x64.bin"
-
-# check the URIs when bumping, no idea about their stability yet
-JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jre-${MY_PV}-download-513650.html"
-
-DESCRIPTION="Oracle's Java SE Runtime Environment"
-HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
-SRC_URI="x86? ( ${X86_AT} )
- amd64? ( ${AMD64_AT} )"
-
-LICENSE="Oracle-BCLA-JavaSE"
-KEYWORDS="~amd64 ~x86"
-SLOT="1.6"
-IUSE="X alsa jce nsplugin"
-
-RESTRICT="fetch strip"
-QA_TEXTRELS_x86="
- opt/${P}/lib/i386/client/libjvm.so
- opt/${P}/lib/i386/motif21/libmawt.so
- opt/${P}/lib/i386/server/libjvm.so"
-
-RDEPEND="${DEPEND}
- !prefix? ( sys-libs/glibc )
- alsa? ( media-libs/alsa-lib )
- X? (
- x11-libs/libXext
- x11-libs/libXi
- x11-libs/libXrender
- x11-libs/libXtst
- x11-libs/libX11
- )"
-DEPEND="jce? ( dev-java/sun-jce-bin:1.6 )"
-
-S="${WORKDIR}/jre${S_PV}"
-
-pkg_nofetch() {
- if use x86; then
- AT=${X86_AT}
- elif use amd64; then
- AT=${AMD64_AT}
- fi
-
- einfo "Due to Oracle no longer providing the distro-friendly DLJ bundles, the package has become fetch restricted again."
- einfo "Alternatives are switching to dev-java/icedtea-bin or the source-based dev-java/icedtea:6"
-
- einfo "Please download ${AT} from:"
- einfo "${JRE_URI}"
- einfo "and move it to ${DISTDIR}"
-}
-
-src_unpack() {
- sh "${DISTDIR}"/${A} -noregister || die "Failed to unpack"
-}
-
-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 x86; then
- "${S}"/bin/java -client -Xshare:dump || die
- fi
- "${S}"/bin/java -server -Xshare:dump || die
-}
-
-src_install() {
- # We should not need the ancient plugin for Firefox 2 anymore, plus it has
- # writable executable segments
- if use x86; then
- rm -vf lib/i386/libjavaplugin_oji.so \
- lib/i386/libjavaplugin_nscp*.so
- rm -vrf plugin/i386
- fi
- # Without nsplugin flag, also remove the new plugin
- local arch=${ARCH};
- use x86 && arch=i386;
- if ! use nsplugin; then
- rm -vf lib/${arch}/libnpjp2.so \
- lib/${arch}/libjavaplugin_jni.so
- fi
-
- dodir /opt/${P}
- cp -pPR bin lib man "${ED}"/opt/${P} || die
-
- # Remove empty dirs we might have copied
- rmdir -v $(find "${D}" -type d -empty) || die
-
- dodoc COPYRIGHT README
-
- 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/sun-jce-bin-1.6.0/jre/lib/security/unlimited-jce/US_export_policy.jar \
- /opt/${P}/lib/security/US_export_policy.jar
- dosym /opt/sun-jce-bin-1.6.0/jre/lib/security/unlimited-jce/local_policy.jar \
- /opt/${P}/lib/security/local_policy.jar
- fi
-
- if use nsplugin; then
- install_mozilla_plugin /opt/${P}/lib/${arch}/libnpjp2.so
- fi
-
- # Install desktop file for the Java Control Panel. Using VMHANDLE as file
- # name to prevent file collision with jdk and or other slots.
- [[ -f "${ED}"/opt/${P}/lib/desktop/applications/sun_java.desktop ]] || die
- sed -e "s/\(Name=\)Java/\1 Java Control Panel for Oracle JRE ${SLOT} (sun-jre-bin)/" \
- -e "s#Exec=.*#Exec=/opt/${P}/bin/jcontrol#" \
- -e "s#Icon=.*#Icon=/opt/${P}/lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png#" \
- "${ED}"/opt/${P}/lib/desktop/applications/sun_java.desktop > \
- "${T}"/${VMHANDLE}.desktop
-
- domenu "${T}"/${VMHANDLE}.desktop
-
- # bug #56444
- cp "${FILESDIR}"/fontconfig.Gentoo.properties-r1 "${T}"/fontconfig.properties || die
- eprefixify "${T}"/fontconfig.properties
- insinto /opt/${P}/lib/
- doins "${T}"/fontconfig.properties
-
- set_java_env "${FILESDIR}/${VMHANDLE}.env-r1"
- java-vm_revdep-mask
-}
diff --git a/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.30.ebuild b/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.31.ebuild
index 6da380b5a182..1a531d493cae 100644
--- a/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.30.ebuild
+++ b/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.31.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2012 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.30.ebuild,v 1.1 2012/01/20 10:32:10 sera Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jre-bin/sun-jre-bin-1.6.0.31.ebuild,v 1.1 2012/02/16 11:03:24 sera Exp $
EAPI="4"
inherit java-vm-2 eutils prefix versionator
# This URIs need to be updated when bumping!
-JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jre-6u30-download-1377142.html"
+JRE_URI="http://www.oracle.com/technetwork/java/javase/downloads/jre-6u31-download-1501637.html"
MY_PV="$(get_version_component_range 2)u$(get_version_component_range 4)"
S_PV="$(replace_version_separator 3 '_')"
@@ -22,8 +22,9 @@ SRC_URI="
x86? ( ${X86_AT} )"
LICENSE="Oracle-BCLA-JavaSE"
-KEYWORDS="~amd64 ~x86"
SLOT="1.6"
+KEYWORDS="~amd64 ~x86"
+
IUSE="X alsa jce nsplugin"
RESTRICT="fetch strip"
@@ -32,17 +33,17 @@ QA_TEXTRELS_x86="
opt/${P}/lib/i386/motif21/libmawt.so
opt/${P}/lib/i386/server/libjvm.so"
-RDEPEND="${DEPEND}
- !prefix? ( sys-libs/glibc )
- alsa? ( media-libs/alsa-lib )
+RDEPEND="
X? (
x11-libs/libXext
x11-libs/libXi
x11-libs/libXrender
x11-libs/libXtst
x11-libs/libX11
- )"
-DEPEND="jce? ( dev-java/sun-jce-bin:1.6 )"
+ )
+ alsa? ( media-libs/alsa-lib )
+ jce? ( dev-java/sun-jce-bin:1.6 )
+ !prefix? ( sys-libs/glibc )"
S="${WORKDIR}/jre${S_PV}"
@@ -55,7 +56,7 @@ pkg_nofetch() {
einfo "Due to Oracle no longer providing the distro-friendly DLJ bundles, the package has become fetch restricted again."
einfo "Alternatives are switching to dev-java/icedtea-bin or the source-based dev-java/icedtea:6"
-
+ einfo ""
einfo "Please download ${AT} from:"
einfo "${JRE_URI}"
einfo "and move it to ${DISTDIR}"
@@ -72,9 +73,9 @@ src_compile() {
# see bug #207282
einfo "Creating the Class Data Sharing archives"
if use x86; then
- "${S}"/bin/java -client -Xshare:dump || die
+ bin/java -client -Xshare:dump || die
fi
- "${S}"/bin/java -server -Xshare:dump || die
+ bin/java -server -Xshare:dump || die
}
src_install() {
@@ -117,16 +118,17 @@ src_install() {
install_mozilla_plugin /opt/${P}/lib/${arch}/libnpjp2.so
fi
- # Install desktop file for the Java Control Panel. Using VMHANDLE as file
- # name to prevent file collision with jdk and or other slots.
- [[ -f "${ED}"/opt/${P}/lib/desktop/applications/sun_java.desktop ]] || die
- sed -e "s/\(Name=\)Java/\1 Java Control Panel for Oracle JRE ${SLOT} (sun-jre-bin)/" \
+ # Install desktop file for the Java Control Panel.
+ # Using ${PN}-${SLOT} to prevent file collision with jre and or other slots.
+ # make_desktop_entry can't be used as ${P} would end up in filename.
+ newicon lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png \
+ sun-jcontrol-${PN}-${SLOT}.png || die
+ sed -e "s#Name=.*#Name=Java Control Panel for Oracle JDK ${SLOT} (${PN})#" \
-e "s#Exec=.*#Exec=/opt/${P}/bin/jcontrol#" \
- -e "s#Icon=.*#Icon=/opt/${P}/lib/desktop/icons/hicolor/48x48/apps/sun-jcontrol.png#" \
- "${ED}"/opt/${P}/lib/desktop/applications/sun_java.desktop > \
- "${T}"/${VMHANDLE}.desktop
-
- domenu "${T}"/${VMHANDLE}.desktop
+ -e "s#Icon=.*#Icon=sun-jcontrol-${PN}-${SLOT}.png#" \
+ lib/desktop/applications/sun_java.desktop > \
+ "${T}"/jcontrol-${PN}-${SLOT}.desktop || die
+ domenu "${T}"/jcontrol-${PN}-${SLOT}.desktop
# bug #56444
cp "${FILESDIR}"/fontconfig.Gentoo.properties-r1 "${T}"/fontconfig.properties || die