diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-06-21 20:04:20 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-06-21 20:04:20 +0000 |
commit | f3fe15eb802c2ae68996dcb3c38eb5de3b682d57 (patch) | |
tree | b3e6d80c3270a0ada2c4ddea1fdb4f641f10592d /dev-java/commons-validator | |
parent | stable on amd64 (diff) | |
download | historical-f3fe15eb802c2ae68996dcb3c38eb5de3b682d57.tar.gz historical-f3fe15eb802c2ae68996dcb3c38eb5de3b682d57.tar.bz2 historical-f3fe15eb802c2ae68996dcb3c38eb5de3b682d57.zip |
Fixes #45402.
Diffstat (limited to 'dev-java/commons-validator')
4 files changed, 74 insertions, 7 deletions
diff --git a/dev-java/commons-validator/ChangeLog b/dev-java/commons-validator/ChangeLog index 20fbbf9a6f79..8ff1adb4ae12 100644 --- a/dev-java/commons-validator/ChangeLog +++ b/dev-java/commons-validator/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/commons-validator # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-validator/ChangeLog,v 1.9 2004/06/19 23:39:46 karltk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-validator/ChangeLog,v 1.10 2004/06/21 19:59:32 karltk Exp $ + +*commons-validator-1.0.2-r3 (21 Jun 2004) + + 21 Jun 2004; Karl Trygve Kalleberg <karltk@gentoo.org> + commons-validator-1.0.2-r3.ebuild: Changed to more suitable runtime + and buildtime dependencies, fixes #46205. *commons-validator-1.0.2-r2 (20 Jun 2004) diff --git a/dev-java/commons-validator/commons-validator-1.0.2-r2.ebuild b/dev-java/commons-validator/commons-validator-1.0.2-r2.ebuild index f5d632b9ffdb..97306889e37a 100644 --- a/dev-java/commons-validator/commons-validator-1.0.2-r2.ebuild +++ b/dev-java/commons-validator/commons-validator-1.0.2-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-validator/commons-validator-1.0.2-r2.ebuild,v 1.1 2004/06/19 23:39:46 karltk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-validator/commons-validator-1.0.2-r2.ebuild,v 1.2 2004/06/21 19:59:32 karltk Exp $ inherit java-pkg @@ -9,16 +9,16 @@ HOMEPAGE="http://jakarta.apache.org/commons/validator/" SRC_URI="mirror://apache/jakarta/commons/validator/source/${PN}-${PV}-src.tar.gz" DEPEND=">=virtual/jdk-1.3 >=dev-java/ant-1.4 + app-arch/zip + jikes? ( dev-java/jikes ) + junit? ( >=junit-3.7 )" +RDEPEND=">=virtual/jre-1.3 >=dev-java/oro-2.0.6 >=dev-java/commons-digester-1.0 >=dev-java/commons-collections-2.0 >=dev-java/commons-logging-1.0 >=dev-java/commons-beanutils-1.0 - >=dev-java/xerces-2.0.1 - app-arch/zip - jikes? ( dev-java/jikes ) - junit? ( >=junit-3.7 )" -RDEPEND=">=virtual/jre-1.3" + >=dev-java/xerces-2.0.1" LICENSE="Apache-1.1" SLOT="0" RESTRICT="nomirror" diff --git a/dev-java/commons-validator/commons-validator-1.0.2-r3.ebuild b/dev-java/commons-validator/commons-validator-1.0.2-r3.ebuild new file mode 100644 index 000000000000..c14769141ce0 --- /dev/null +++ b/dev-java/commons-validator/commons-validator-1.0.2-r3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-validator/commons-validator-1.0.2-r3.ebuild,v 1.1 2004/06/21 19:59:32 karltk Exp $ + +inherit java-pkg + +DESCRIPTION="Jakarta component to validate user input, or data input" +HOMEPAGE="http://jakarta.apache.org/commons/validator/" +SRC_URI="mirror://apache/jakarta/commons/validator/source/${PN}-${PV}-src.tar.gz" +DEPEND=">=virtual/jdk-1.3 + >=dev-java/ant-1.4 + app-arch/zip + jikes? ( dev-java/jikes ) + junit? ( >=junit-3.7 )" +RDEPEND=">=virtual/jre-1.3 + >=dev-java/oro-2.0.6 + >=dev-java/commons-digester-1.0 + >=dev-java/commons-collections-2.0 + >=dev-java/commons-logging-1.0 + >=dev-java/commons-beanutils-1.0 + >=dev-java/xerces-2.0.1" +LICENSE="Apache-1.1" +SLOT="0" +RESTRICT="nomirror" +KEYWORDS="~x86 ~ppc ~sparc" +IUSE="doc jikes junit" + +S="${WORKDIR}/${P}-src" + +src_unpack() { + unpack ${A} + cd ${S} + echo "oro.jar=`java-config --classpath=oro`" >> build.properties + echo "commons-digester.jar=`java-config --classpath=commons-digester`" >> build.properties + echo "commons-collections.jar=`java-config --classpath=commons-collections`" >> build.properties + echo "commons-logging.jar=`java-config --classpath=commons-logging | sed s/.*://`" >> build.properties + echo "commons-beanutils.jar=`java-config --classpath=commons-beanutils`" >> build.properties + echo "xerces.jar=`java-config --classpath=xerces`" >> build.properties +} + +src_compile() { + local antflags="compile" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + use doc && antflags="${antflags} javadoc" + use junit && antflags="${antflags} test" + ant ${antflags} +} + +src_install() { + # Dirty hack + mv ${S}/target/conf/MANIFEST.MF ${S}/target/classes/ + cd ${S}/target/classes + zip -qr ../${PN}.jar org + + cd ${S} + java-pkg_dojar target/${PN}.jar + use doc && dohtml -r dist/docs/ + dohtml PROPOSAL.html STATUS.html + dodoc RELEASE-NOTES.txt +} diff --git a/dev-java/commons-validator/files/digest-commons-validator-1.0.2-r3 b/dev-java/commons-validator/files/digest-commons-validator-1.0.2-r3 new file mode 100644 index 000000000000..f6bd8c581e2d --- /dev/null +++ b/dev-java/commons-validator/files/digest-commons-validator-1.0.2-r3 @@ -0,0 +1 @@ +MD5 917cf3d82847e497e11f9e86488d4b56 commons-validator-1.0.2-src.tar.gz 53692 |