From 278016f5eb742c6dca098f300597c2f4c4dee990 Mon Sep 17 00:00:00 2001 From: Vlastimil Babka Date: Tue, 23 Jan 2007 11:22:56 +0000 Subject: [PATCH] Remove vulnerable version. Package-Manager: portage-2.1.2-r2 --- dev-java/sun-jdk/ChangeLog | 5 +- dev-java/sun-jdk/Manifest | 17 +- .../sun-jdk/files/digest-sun-jdk-1.5.0.09 | 6 - dev-java/sun-jdk/sun-jdk-1.5.0.09.ebuild | 167 ------------------ 4 files changed, 8 insertions(+), 187 deletions(-) delete mode 100644 dev-java/sun-jdk/files/digest-sun-jdk-1.5.0.09 delete mode 100644 dev-java/sun-jdk/sun-jdk-1.5.0.09.ebuild diff --git a/dev-java/sun-jdk/ChangeLog b/dev-java/sun-jdk/ChangeLog index b30a7b23682c..2eb82225cc47 100644 --- a/dev-java/sun-jdk/ChangeLog +++ b/dev-java/sun-jdk/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-java/sun-jdk # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/ChangeLog,v 1.183 2007/01/23 10:35:39 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/ChangeLog,v 1.184 2007/01/23 11:22:56 caster Exp $ + + 23 Jan 2007; Vlastimil Babka -sun-jdk-1.5.0.09.ebuild: + Remove vulnerable version. 23 Jan 2007; Steve Dibb sun-jdk-1.5.0.10.ebuild: amd64 stable, security bug 162511 diff --git a/dev-java/sun-jdk/Manifest b/dev-java/sun-jdk/Manifest index 2fd660dfdd59..6b0b4dd5f3fe 100644 --- a/dev-java/sun-jdk/Manifest +++ b/dev-java/sun-jdk/Manifest @@ -16,8 +16,6 @@ RMD160 cac1306ba6dd05dcf74fb2e536bf40bd3f03bee1 files/sun-jdk-1.6.env 925 SHA256 8fd2d12405a41b923b3c64d56b9e42a89d2479323fd78703f2b065fb0ee7ec2b files/sun-jdk-1.6.env 925 DIST j2sdk-1_4_2_13-linux-i586.bin 36361814 RMD160 cefb731ae6740f36a17242aa79b36d79dda2e102 SHA1 12c679cfa2e212bfa90ae6ef6ad6c477e427bbba SHA256 f5dd8045fe791bd5c52bddf33a1cf65968ee03981e0663f75cd97a942daa24e2 DIST jce_policy-1_4_2.zip 12195 RMD160 323340fa8a96f315a35b0ebc918731e6fe56c370 SHA1 ea17b649ebcaaf4246e9dd28dbc77926176c64ee SHA256 7bf6d683602686321affc0071ad2fc3890c19cf5bb5cc16a963052e17588c097 -DIST jdk-1_5_0_09-dlj-linux-amd64.bin 43863154 RMD160 c7f4310ff6714d5dd33c10398c6615689f5523ff SHA1 b3cd93b445ce68b8d4b88c4afa9a177473adf3f7 SHA256 3f7f21671ebcb9c849b02d668d85cf6f161870c45f5bf82f5e3fed2a026f7f35 -DIST jdk-1_5_0_09-dlj-linux-i586.bin 49504315 RMD160 8e4bc83d553bd0e92607bd2e03451ec879d5928e SHA1 36a065b72af226804ff0b64b9c40859c7a879b6f SHA256 3318644bdcd1a1de4ea122b03a4607de16f30603e7f6c291c33575cbbc254f85 DIST jdk-1_5_0_10-dlj-linux-amd64.bin 43906073 RMD160 2d13d637b6d7351410f9e18d581206a05091effe SHA1 b0c4440f7059b2d477a437e5c58f135820e86326 SHA256 5bbac3fb78db48f7f996e412d45229db3a0b759886f360504cca61c93d4b5f61 DIST jdk-1_5_0_10-dlj-linux-i586.bin 49553457 RMD160 8aa7b53064831d800b8aeae67ffd3f5e4e2e3155 SHA1 fc4883d6da60940cbe4b6c2575478cead26313ff SHA256 e4300d88ae630f02132a4ce23afbdc40f994de91b37d4b64cb1da0b58df678fa DIST jdk-6-dlj-linux-amd64.bin 56347832 RMD160 b4d12bf55ea6baa465c227cff2d314d26de4876e SHA1 d51a60c80ac1a8173c53b9a389377b2774a50e92 SHA256 f1f35d331809487bb922bbd3ca46de4abc3e45c482f94127f4ac8f3c8b3321c3 @@ -26,10 +24,6 @@ EBUILD sun-jdk-1.4.2.13.ebuild 6310 RMD160 c05da39110b45b95820b4e47575f672f29c1f MD5 f40a87fe0d39910fa54dfa7bf7ddaa31 sun-jdk-1.4.2.13.ebuild 6310 RMD160 c05da39110b45b95820b4e47575f672f29c1f3db sun-jdk-1.4.2.13.ebuild 6310 SHA256 7ff87aa6eaec9342d1a690e75a3ef4c94f2bf6b6a1f0265fb2e3b9bd9d2be47d sun-jdk-1.4.2.13.ebuild 6310 -EBUILD sun-jdk-1.5.0.09.ebuild 5108 RMD160 854cc1ff1f98e670d0661938f22b3c314760ed45 SHA1 fc83b49fd9c383cf53afce7420941f2901d894f8 SHA256 95b452e0c8d00f1ce66f5da4c7a021810bbbdaa2314baac06ea0315a5211f4a1 -MD5 3bc4f287898f9562f1e49dda55aca391 sun-jdk-1.5.0.09.ebuild 5108 -RMD160 854cc1ff1f98e670d0661938f22b3c314760ed45 sun-jdk-1.5.0.09.ebuild 5108 -SHA256 95b452e0c8d00f1ce66f5da4c7a021810bbbdaa2314baac06ea0315a5211f4a1 sun-jdk-1.5.0.09.ebuild 5108 EBUILD sun-jdk-1.5.0.10.ebuild 4604 RMD160 b128a32bf2994ee5a3c81b7c8fb00861f7e1ba49 SHA1 58cb625a885b81d594031ec75fc8de898f13c986 SHA256 daaf95772de1f2e78e891fc34a2eb8141ab3db24ea66f53232c70ca32021a0d8 MD5 ecc67efc4733391bf1f30a63a9cb40c4 sun-jdk-1.5.0.10.ebuild 4604 RMD160 b128a32bf2994ee5a3c81b7c8fb00861f7e1ba49 sun-jdk-1.5.0.10.ebuild 4604 @@ -38,10 +32,10 @@ EBUILD sun-jdk-1.6.0-r1.ebuild 4829 RMD160 c5a112df1b4a01f520cf0220da854cdf8caeb MD5 e4769c71f1d5c1f4f5fdd55fca98b14a sun-jdk-1.6.0-r1.ebuild 4829 RMD160 c5a112df1b4a01f520cf0220da854cdf8caebb9f sun-jdk-1.6.0-r1.ebuild 4829 SHA256 224304e8e2d000da71bc5c411a50e659b18c988285fcc476ac73a4bd6439c184 sun-jdk-1.6.0-r1.ebuild 4829 -MISC ChangeLog 36197 RMD160 f1e4ffa2967874da915ec09afdad2cfa6f9dffee SHA1 edc15c0be5e031549e56c5bc595868d1755eb16e SHA256 dfb0c9841e819bbb08b9be9ac609a593b5c005367128905e2fb0082941fb6661 -MD5 0ec091bef1ddf9210afdc3220a4ed133 ChangeLog 36197 -RMD160 f1e4ffa2967874da915ec09afdad2cfa6f9dffee ChangeLog 36197 -SHA256 dfb0c9841e819bbb08b9be9ac609a593b5c005367128905e2fb0082941fb6661 ChangeLog 36197 +MISC ChangeLog 36303 RMD160 d0bb69e48234223364a1b2c31e3347cd5c8e5d8b SHA1 64a783ad7483d31ef7599f206e1cc41788edae69 SHA256 1a615ec4b0e17950f28a29897b707ed55141b34960016cd7723dcffa68664055 +MD5 12af73e3fe9741de9110cadd96689c16 ChangeLog 36303 +RMD160 d0bb69e48234223364a1b2c31e3347cd5c8e5d8b ChangeLog 36303 +SHA256 1a615ec4b0e17950f28a29897b707ed55141b34960016cd7723dcffa68664055 ChangeLog 36303 MISC metadata.xml 237 RMD160 e2fa73e8b206c77bc262fd54691289bf05696668 SHA1 47fb9d11272aa2245df406c2156c2482e166a1c3 SHA256 3e53f0c8fb262a6751adb4c188e045e0be6de8739c02ec1af079cba5512e696d MD5 2f36c2b94fc9625e5c96d8e558f6ffba metadata.xml 237 RMD160 e2fa73e8b206c77bc262fd54691289bf05696668 metadata.xml 237 @@ -49,9 +43,6 @@ SHA256 3e53f0c8fb262a6751adb4c188e045e0be6de8739c02ec1af079cba5512e696d metadata MD5 4551e92262ffc2bc93ba3941a5f49f30 files/digest-sun-jdk-1.4.2.13 512 RMD160 6c0a27d829f9b9b868feedd086b0929f015e48a2 files/digest-sun-jdk-1.4.2.13 512 SHA256 c4db2c43fa08b705c1e9ba316c8cecbcd2d3a7be5d3014cf4bf02e53b214b155 files/digest-sun-jdk-1.4.2.13 512 -MD5 8409e421272b316b007ee383c1d8508b files/digest-sun-jdk-1.5.0.09 563 -RMD160 93a25e28b116cacea4f5295169e9bb091b46575b files/digest-sun-jdk-1.5.0.09 563 -SHA256 659534b6f9466273b0a3523c862d3272fe23191edcec6bb3044b536c9d9a8d4c files/digest-sun-jdk-1.5.0.09 563 MD5 bfc73dd88d30c26b64d0590cb52d7547 files/digest-sun-jdk-1.5.0.10 563 RMD160 ce0632d08fdd27b76bd6e2de244a0516555aeef0 files/digest-sun-jdk-1.5.0.10 563 SHA256 f1f582a1bfca18c6375dc35e75bd199066d2361ffbf7e577a592afb4b351e34d files/digest-sun-jdk-1.5.0.10 563 diff --git a/dev-java/sun-jdk/files/digest-sun-jdk-1.5.0.09 b/dev-java/sun-jdk/files/digest-sun-jdk-1.5.0.09 deleted file mode 100644 index fb32756cb7a5..000000000000 --- a/dev-java/sun-jdk/files/digest-sun-jdk-1.5.0.09 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 a210623300238ebb230d47c774c25779 jdk-1_5_0_09-dlj-linux-amd64.bin 43863154 -RMD160 c7f4310ff6714d5dd33c10398c6615689f5523ff jdk-1_5_0_09-dlj-linux-amd64.bin 43863154 -SHA256 3f7f21671ebcb9c849b02d668d85cf6f161870c45f5bf82f5e3fed2a026f7f35 jdk-1_5_0_09-dlj-linux-amd64.bin 43863154 -MD5 b937aef01669744686e84ac5f0cc3d97 jdk-1_5_0_09-dlj-linux-i586.bin 49504315 -RMD160 8e4bc83d553bd0e92607bd2e03451ec879d5928e jdk-1_5_0_09-dlj-linux-i586.bin 49504315 -SHA256 3318644bdcd1a1de4ea122b03a4607de16f30603e7f6c291c33575cbbc254f85 jdk-1_5_0_09-dlj-linux-i586.bin 49504315 diff --git a/dev-java/sun-jdk/sun-jdk-1.5.0.09.ebuild b/dev-java/sun-jdk/sun-jdk-1.5.0.09.ebuild deleted file mode 100644 index db0739e28e03..000000000000 --- a/dev-java/sun-jdk/sun-jdk-1.5.0.09.ebuild +++ /dev/null @@ -1,167 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/sun-jdk-1.5.0.09.ebuild,v 1.4 2007/01/09 23:50:31 malc Exp $ - -inherit java-vm-2 eutils - -MY_PVL=${PV%.*}_${PV##*.} -MY_PVA=${PV//./_} -S="${WORKDIR}/jdk${MY_PVL}" - -X86_AT="jdk-${MY_PVA}-dlj-linux-i586.bin" -AMD64_AT="jdk-${MY_PVA}-dlj-linux-amd64.bin" -if use x86; then - At=${X86_AT} -elif use amd64; then - At=${AMD64_AT} -fi -DESCRIPTION="Sun's J2SE Development Kit, version ${PV}" -HOMEPAGE="http://java.sun.com/j2se/1.5.0/" -SRC_URI="x86? ( http://download.java.net/dlj/binaries/${X86_AT} ) - amd64? ( http://download.java.net/dlj/binaries/${AMD64_AT} )" -SLOT="1.5" -LICENSE="dlj-1.1" -KEYWORDS="-* amd64 x86" -RESTRICT="nostrip" -IUSE="X alsa doc examples jce nsplugin" - -QA_TEXTRELS_x86="opt/${P}/jre/lib/i386/motif21/libmawt.so opt/${P}/jre/lib/i386/libdeploy.so" - -DEPEND=" - doc? ( =dev-java/java-sdk-docs-1.5.0* ) - jce? ( =dev-java/sun-jce-bin-1.5.0* )" - -RDEPEND="alsa? ( media-libs/alsa-lib ) - doc? ( =dev-java/java-sdk-docs-1.5.0* ) - X? ( || ( ( x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libXau - x11-libs/libXdmcp - x11-libs/libXext - x11-libs/libXi - x11-libs/libXp - x11-libs/libXt - x11-libs/libXtst - ) - virtual/x11 - ) - )" - -JAVA_PROVIDE="jdbc-stdext jdbc-rowset" - -PACKED_JARS="lib/tools.jar jre/lib/rt.jar jre/lib/jsse.jar jre/lib/charsets.jar jre/lib/ext/localedata.jar jre/lib/plugin.jar jre/lib/javaws.jar jre/lib/deploy.jar" - -# this is needed for proper operating under a PaX kernel without activated grsecurity acl -CHPAX_CONSERVATIVE_FLAGS="pemsv" - -src_unpack() { - if [ ! -r ${DISTDIR}/${At} ]; then - die "cannot read ${At}. Please check the permission and try again." - fi - - sh ${DISTDIR}/${At} --accept-license --unpack || die "Failed to unpack" -} - -src_install() { - local dirs="bin include jre lib man" - dodir /opt/${P} - - for i in $dirs ; do - cp -pPR $i ${D}/opt/${P}/ || die "failed to copy" - done - dodoc COPYRIGHT README.html - dohtml README.html - dodir /opt/${P}/share/ - - cp -pPR src.zip ${D}/opt/${P}/share/ - - if use examples; then - cp -pPR demo ${D}/opt/${P}/share/ - if ( use x86 || use amd64 ); then - cp -pPR sample ${D}/opt/${P}/share/ - fi - fi - - if use jce; then - cd ${D}/opt/${P}/jre/lib/security - dodir /opt/${P}/jre/lib/security/strong-jce - mv ${D}/opt/${P}/jre/lib/security/US_export_policy.jar ${D}/opt/${P}/jre/lib/security/strong-jce - mv ${D}/opt/${P}/jre/lib/security/local_policy.jar ${D}/opt/${P}/jre/lib/security/strong-jce - dosym /opt/sun-jce-bin-1.5.0/jre/lib/security/unlimited-jce/US_export_policy.jar /opt/${P}/jre/lib/security/ - dosym /opt/sun-jce-bin-1.5.0/jre/lib/security/unlimited-jce/local_policy.jar /opt/${P}/jre/lib/security/ - fi - - if use nsplugin; then - local plugin_dir="ns7-gcc29" - if has_version '>=sys-devel/gcc-3' ; then - plugin_dir="ns7" - fi - - if use x86 ; then - install_mozilla_plugin /opt/${P}/jre/plugin/i386/$plugin_dir/libjavaplugin_oji.so - else - eerror "No plugin available for amd64 arch" - fi - fi - - # create dir for system preferences - dodir /opt/${P}/jre/.systemPrefs - # Create files used as storage for system preferences. - touch ${D}/opt/${P}/jre/.systemPrefs/.system.lock - chmod 644 ${D}/opt/${P}/jre/.systemPrefs/.system.lock - touch ${D}/opt/${P}/jre/.systemPrefs/.systemRootModFile - chmod 644 ${D}/opt/${P}/jre/.systemPrefs/.systemRootModFile - - # install control panel for Gnome/KDE - sed -e "s/INSTALL_DIR\/JRE_NAME_VERSION/\/opt\/${P}\/jre/" \ - -e "s/\(Name=Java\)/\1 Control Panel ${SLOT}/" \ - ${D}/opt/${P}/jre/plugin/desktop/sun_java.desktop > \ - ${T}/sun_java-${SLOT}.desktop - - domenu ${T}/sun_java-${SLOT}.desktop - - set_java_env -} - -pkg_postinst() { - # Set as default VM if none exists - java-vm-2_pkg_postinst - - # if chpax is on the target system, set the appropriate PaX flags - # this will not hurt the binary, it modifies only unused ELF bits - # but may confuse things like AV scanners and automatic tripwire - if has_version sys-apps/chpax - then - echo - einfo "setting up conservative PaX flags for jar, javac and java" - - for paxkills in "jar" "javac" "java" "javah" "javadoc" - do - chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${P}/bin/$paxkills - done - - # /opt/$VM/jre/bin/java_vm - chpax -${CHPAX_CONSERVATIVE_FLAGS} /opt/${P}/jre/bin/java_vm - - einfo "you should have seen lots of chpax output above now" - ewarn "make sure the grsec ACL contains those entries also" - ewarn "because enabling it will override the chpax setting" - ewarn "on the physical files - help for PaX and grsecurity" - ewarn "can be given by #gentoo-hardened + hardened@gentoo.org" - fi - - if ! use X; then - local xwarn="virtual/x11 and/or" - fi - - echo - ewarn "Some parts of Sun's JDK require ${xwarn} virtual/lpr to be installed." - ewarn "Be careful which Java libraries you attempt to use." - - echo - elog " Be careful: ${P}'s Java compiler uses" - elog " '-source 1.5' as default. Some keywords such as 'enum'" - elog " are not valid identifiers any more in that mode," - elog " which can cause incompatibility with certain sources." -} -- 2.26.2