mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 18:07:08 -08:00
dev-java/xstream: Remove vulnerable version. Fixes bug 497652.
Package-Manager: portage-2.2.28
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST xstream-1.4.8-sources.jar 395464 SHA256 5d956e4527d27420f2d417cd77ffafedad85ee795a59857bbf2be9cc630eace0 SHA512 9fb9ebc6facdc07aecbcee3fbf40ef560bdd42cd8f7c7a3a8e2401be5c4e05ed3370beec653ef06d2fd3aa1acabf8f4ada8dddea27f239d180d66aec0bd905e6 WHIRLPOOL 10f9ad97300397000085e4850baa89a2560bd13431c1668b7e144fe53b0800f546ff56cb7bd373a53ea7ab1ff88bef80260e3d8543543c8df50fc5e56fdd8aa2
|
||||
DIST xstream-distribution-1.3.1-src.zip 7505723 SHA256 df645ea4e2e16c4a149fb45966ea50d48b54776ead4727837348195daad94f6b SHA512 c8c92879a26599d7444fce0638ba13d185fd3c1f42962b92fe1b984d2ea41f8e434acb6af5613ac9f44354816fb7abc60f751f864f36deb9c2413b0caec5c2ac WHIRLPOOL 13ac006402bbecbf6d3ff9fe30662cc6e3807cdf3a391255f878cea37800842adc929914f2e4aace3a7788294809afb26edd64181f85a7e5dc46f3e1f9c0e9b6
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A text-processing Java classes that serialize objects to XML and back again"
|
||||
HOMEPAGE="http://x-stream.github.io"
|
||||
SRC_URI="http://repo.maven.apache.org/maven2/com/thoughtworks/${PN}/${PN}-distribution/${PV}/${PN}-distribution-${PV}-src.zip"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
|
||||
# By default, these tests exit successfully on failure. Chewi has fixed
|
||||
# that below but it's probably because they blow up spectacularly on
|
||||
# every VM he has tried. They also depend on classes unique to the
|
||||
# Codehaus StAX implementation (dev-java/stax), which has now been
|
||||
# last-rited, so we no longer bother to support them at all.
|
||||
RESTRICT="test"
|
||||
|
||||
CDEPEND="
|
||||
dev-java/xom:0
|
||||
dev-java/jdom:0
|
||||
dev-java/xpp3:0
|
||||
dev-java/cglib:3
|
||||
dev-java/dom4j:1
|
||||
dev-java/jettison:0
|
||||
dev-java/joda-time:0
|
||||
dev-java/xml-commons-external:1.3"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
app-arch/unzip
|
||||
>=virtual/jdk-1.6"
|
||||
|
||||
S="${WORKDIR}/${P}/${PN}"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_GENTOO_CLASSPATH="xpp3,jdom,xom,dom4j-1,joda-time,cglib-3,xml-commons-external-1.3,jettison"
|
||||
EANT_BUILD_TARGET="benchmark:compile jar"
|
||||
EANT_EXTRA_ARGS="-Dversion=${PV} -Djunit.haltonfailure=true"
|
||||
|
||||
java_prepare() {
|
||||
rm -v lib/*.jar || die
|
||||
rm -rfv lib/jdk1.3 || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "target/${P}.jar"
|
||||
java-pkg_newjar "target/${PN}-benchmark-${PV}.jar" "${PN}-benchmark.jar"
|
||||
|
||||
use doc && java-pkg_dojavadoc target/javadoc
|
||||
use source && java-pkg_dosrc src/java/com
|
||||
}
|
||||
Reference in New Issue
Block a user