diff options
Diffstat (limited to 'dev-java')
18 files changed, 239 insertions, 14 deletions
diff --git a/dev-java/commons-beanutils/ChangeLog b/dev-java/commons-beanutils/ChangeLog index 1971009c868c..505f666fe928 100644 --- a/dev-java/commons-beanutils/ChangeLog +++ b/dev-java/commons-beanutils/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/commons-beanutils # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-beanutils/ChangeLog,v 1.2 2002/11/07 04:10:51 strider Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-beanutils/ChangeLog,v 1.3 2002/11/25 01:12:28 strider Exp $ + +*commons-beanutils-1.5-r1 (24 Nov 2002) + + 24 Nov 2002; Adrian Almenar <strider@gentoo.org> commons-beanutils-1.5-r1.ebuild files/digest-commons-beanutils-1.5-r1: + Just a minor fix, but needed to bump revision cause changed name of the jar + to avoid conflicts in future. Releasing it, since it has been tested a lot and + works very well. *commons-beanutils-1.5 (06 Nov 2002) diff --git a/dev-java/commons-beanutils/commons-beanutils-1.5-r1.ebuild b/dev-java/commons-beanutils/commons-beanutils-1.5-r1.ebuild new file mode 100644 index 000000000000..aadad44c5397 --- /dev/null +++ b/dev-java/commons-beanutils/commons-beanutils-1.5-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-beanutils/commons-beanutils-1.5-r1.ebuild,v 1.1 2002/11/25 01:12:28 strider Exp $ + +S=${WORKDIR}/${PN}-${PV}-src +DESCRIPTION="The Jakarta BeanUtils component provides easy-to-use wrappers around Reflection and Introspection APIs" +HOMEPAGE="http://jakarta.apache.org/commons/beanutils.html" +SRC_URI="http://jakarta.apache.org/builds/jakarta-commons/release/${PN}/v${PV}/${PN}-${PV}-src.tar.gz" +DEPEND=">=virtual/jdk-1.4 + >=dev-java/ant-1.4 + >=dev-java/commons-collections-2.1 + >=dev-java/commons-logging-1.0.2 + junit? ( >=junit-3.7 )" +RDEPEND=">=virtual/jre-1.4 + >=dev-java/commons-collections-2.1 + >=dev-java/commons-logging-1.0.2" +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="x86" +IUSE="jikes junit" + +src_compile() { + local myc + + cp beanutils/LICENSE.txt LICENSE + + cd beanutils + echo "commons-collections.jar=`java-config --classpath=commons-collections`" > build.properties + echo "commons-logging.jar=`java-config --classpath=commons-logging`" | sed s/\=.*:/\=/ >> build.properties + + if [ -n "`use jikes`" ] ; then + myc="${myc} -Dbuild.compiler=jikes" + fi + + if [ -n "`use junit`" ] ; then + echo "junit.jar=`java-config --classpath=junit`" | sed s/:.*// >> build.properties + ANT_OPTS=${myc} ant test || die "Testing Classes Failed" + fi + + ANT_OPTS=${myc} ant jar || die "Compilation Failed" + ANT_OPTS=${myc} ant javadoc || die "Unable to create documents" +} + +src_install () { + cd beanutils + dojar dist/${PN}*.jar || die "Unable to install" + dodoc RELEASE-NOTES.txt + dohtml STATUS.html PROPOSAL.html + dohtml -r dist/docs/* +} diff --git a/dev-java/commons-beanutils/files/digest-commons-beanutils-1.5-r1 b/dev-java/commons-beanutils/files/digest-commons-beanutils-1.5-r1 new file mode 100644 index 000000000000..8243b7d47c16 --- /dev/null +++ b/dev-java/commons-beanutils/files/digest-commons-beanutils-1.5-r1 @@ -0,0 +1 @@ +MD5 8841051dc2070b56140a3285f4085cbf commons-beanutils-1.5-src.tar.gz 127638 diff --git a/dev-java/commons-collections/ChangeLog b/dev-java/commons-collections/ChangeLog index d6f9ecaa354c..4a14d3b893ae 100644 --- a/dev-java/commons-collections/ChangeLog +++ b/dev-java/commons-collections/ChangeLog @@ -1,9 +1,12 @@ # ChangeLog for dev-java/commons-collections # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-collections/ChangeLog,v 1.5 2002/11/05 03:02:45 strider Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-collections/ChangeLog,v 1.6 2002/11/25 01:12:58 strider Exp $ *commons-collections-2.1-r1 (02 Nov 2002) + 24 Nov 2002; Adrian Almenar <strider@gentoo.org> + Releasing it, since it has been tested a lot and works very well. + 04 Nov 2002; Adrian Almenar <strider@gentoo.org> commons-collections-2.1-r1.ebuild: Changed KEYWORDS, removed other arch's cause i have not tested it leaving only ~x86. UnMasking it from packages.mask. diff --git a/dev-java/commons-collections/commons-collections-2.1-r1.ebuild b/dev-java/commons-collections/commons-collections-2.1-r1.ebuild index d5b4f399d761..66653ce6eb7e 100644 --- a/dev-java/commons-collections/commons-collections-2.1-r1.ebuild +++ b/dev-java/commons-collections/commons-collections-2.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-collections/commons-collections-2.1-r1.ebuild,v 1.3 2002/11/08 01:16:16 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-collections/commons-collections-2.1-r1.ebuild,v 1.4 2002/11/25 01:12:58 strider Exp $ S=${WORKDIR}/${PN}-${PV}-src DESCRIPTION="Jakarta-Commons Collections Component" @@ -12,7 +12,7 @@ DEPEND=">=virtual/jdk-1.3 RDEPEND=">=virtual/jre-1.3" LICENSE="Apache-1.1" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="x86" IUSE="jikes junit" src_compile() { diff --git a/dev-java/commons-dbcp/ChangeLog b/dev-java/commons-dbcp/ChangeLog index 351ddd78a707..6aca4a983d6c 100644 --- a/dev-java/commons-dbcp/ChangeLog +++ b/dev-java/commons-dbcp/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/commons-dbcp # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-dbcp/ChangeLog,v 1.2 2002/11/05 18:17:54 strider Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-dbcp/ChangeLog,v 1.3 2002/11/25 01:13:45 strider Exp $ + +*commons-dbcp-1.0-r1 (24 Nov 2002) + + 24 Nov 2002; Adrian Almenar <strider@gentoo.org> commons-dbcp-1.0-r1.ebuild files/digest-commons-dbcp-1.0-r1: + Just a minor fix, but needed to bump revision cause changed name of the jar + to avoid conflicts in future. Releasing it, since it has been tested a lot and + works very well. *commons-dbcp-1.0 (02 Nov 2002) diff --git a/dev-java/commons-dbcp/commons-dbcp-1.0-r1.ebuild b/dev-java/commons-dbcp/commons-dbcp-1.0-r1.ebuild new file mode 100644 index 000000000000..4e19fc3f2e56 --- /dev/null +++ b/dev-java/commons-dbcp/commons-dbcp-1.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-dbcp/commons-dbcp-1.0-r1.ebuild,v 1.1 2002/11/25 01:13:45 strider Exp $ + +S=${WORKDIR}/${PN}-${PV}-src +DESCRIPTION="Jakarta component providing database connection pooling API" +HOMEPAGE="http://jakarta.apache.org/commons/dbcp.html" +SRC_URI="http://jakarta.apache.org/builds/jakarta-commons/release/${PN}/v${PV}/${PN}-${PV}-src.tar.gz" +DEPEND=">=virtual/jdk-1.3 + >=dev-java/ant-1.4 + >=dev-java/commons-collections-2.0 + >=dev-java/commons-pool-1.0.1" +RDEPEND=">=virtual/jre-1.3 + >=dev-java/commons-pool-1.0.1" +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="x86" +IUSE="jikes" + +src_compile() { + local myc + + echo "commons-collections.jar=`java-config --classpath=commons-collections`" > build.properties + echo "commons-pool.jar=`java-config --classpath=commons-pool`" >> build.properties + + if [ -n "`use jikes`" ] ; then + myc="${myc} -Dbuild.compiler=jikes" + fi + + cp LICENSE.txt ../LICENSE + ANT_OPTS=${myc} ant dist || die "Compilation failed" +} + +src_install () { + dojar dist/${PN}*.jar || die "Unable to install" + dohtml PROPOSAL.html STATUS.html + dohtml -r dist/docs/* +} diff --git a/dev-java/commons-dbcp/files/digest-commons-dbcp-1.0-r1 b/dev-java/commons-dbcp/files/digest-commons-dbcp-1.0-r1 new file mode 100644 index 000000000000..b276281aedfa --- /dev/null +++ b/dev-java/commons-dbcp/files/digest-commons-dbcp-1.0-r1 @@ -0,0 +1 @@ +MD5 85305821547f060fb6090f022c33e5f9 commons-dbcp-1.0-src.tar.gz 88939 diff --git a/dev-java/commons-digester/ChangeLog b/dev-java/commons-digester/ChangeLog index 71882c78926d..840b9c4d1ac5 100644 --- a/dev-java/commons-digester/ChangeLog +++ b/dev-java/commons-digester/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/commons-digester # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-digester/ChangeLog,v 1.1 2002/11/07 04:11:54 strider Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-digester/ChangeLog,v 1.2 2002/11/25 01:14:17 strider Exp $ + +*commons-digester-1.3-r1 (24 Nov 2002) + + 24 Nov 2002; Adrian Almenar <strider@gentoo.org> commons-digester-1.3-r1.ebuild files/digest-commons-digester-1.3-r1: + Just a minor fix, but needed to bump revision cause changed name of the jar + to avoid conflicts in future. Releasing it, since it has been tested a lot and + works very well. *commons-digester-1.3 (07 Nov 2002) diff --git a/dev-java/commons-digester/commons-digester-1.3-r1.ebuild b/dev-java/commons-digester/commons-digester-1.3-r1.ebuild new file mode 100644 index 000000000000..10dedec7d745 --- /dev/null +++ b/dev-java/commons-digester/commons-digester-1.3-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-digester/commons-digester-1.3-r1.ebuild,v 1.1 2002/11/25 01:14:17 strider Exp $ + +S=${WORKDIR}/${PN}-${PV}-src +DESCRIPTION="The Jakarta Digester component reads XML configuration files to provide initialization of various Java objects within the system." +HOMEPAGE="http://jakarta.apache.org/commons/digester.html" +SRC_URI="http://jakarta.apache.org/builds/jakarta-commons/release/${PN}/v${PV}/${PN}-${PV}-src.tar.gz" +DEPEND=">=virtual/jdk-1.4 + >=dev-java/ant-1.4 + >=dev-java/commons-beanutils-1.5 + >=dev-java/commons-collections-2.1 + junit? ( >=junit-3.7 )" +RDEPEND=">=virtual/jre-1.4 + >=dev-java/commons-beanutils-1.5 + >=dev-java/commons-collections-2.1 + >=dev-java/commons-logging-1.0.2" +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="x86" +IUSE="jikes junit" + +src_compile() { + local myc + + cp digester/LICENSE.txt LICENSE + cd digester + + echo "commons-collections.jar=`java-config --classpath=commons-collections`" > build.properties + echo "commons-beanutils.jar=`java-config --classpath=commons-beanutils`" >> build.properties + echo "commons-logging.jar=`java-config --classpath=commons-logging`" | sed s/\=.*:/\=/ >> build.properties + + + if [ -n "`use jikes`" ] ; then + myc="${myc} -Dbuild.compiler=jikes" + fi + + if [ -n "`use junit`" ] ; then + echo "junit.jar=`java-config --classpath=junit`" | sed s/:.*// >> build.properties + ANT_OPTS=${myc} ant test || die "Testing Classes Failed" + fi + + ANT_OPTS=${myc} ant dist || die "Compilation Failed" +} + +src_install () { + cd digester + dojar dist/${PN}*.jar || die "Unable to install" + dodoc RELEASE-NOTES.txt + dohtml STATUS.html PROPOSAL.html + dohtml -r dist/docs/* +} diff --git a/dev-java/commons-digester/files/digest-commons-digester-1.3-r1 b/dev-java/commons-digester/files/digest-commons-digester-1.3-r1 new file mode 100644 index 000000000000..812e9dc1d62d --- /dev/null +++ b/dev-java/commons-digester/files/digest-commons-digester-1.3-r1 @@ -0,0 +1 @@ +MD5 0dafb55a57c4bd3b2a941d2961b139c8 commons-digester-1.3-src.tar.gz 102400 diff --git a/dev-java/commons-lang/ChangeLog b/dev-java/commons-lang/ChangeLog index adcaacaad004..69ec531b3278 100644 --- a/dev-java/commons-lang/ChangeLog +++ b/dev-java/commons-lang/ChangeLog @@ -1,9 +1,16 @@ # ChangeLog for dev-java/commons-lang # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/ChangeLog,v 1.2 2002/11/02 21:50:44 karltk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/ChangeLog,v 1.3 2002/11/25 01:14:49 strider Exp $ -*commons-lang-1.0 (02 Nov 2002) +*commons-lang-1.0-r1 (24 Nov 2002) + + 24 Nov 2002; Adrian Almenar <strider@gentoo.org> commons-lang-1.0-r1.ebuild files/digest-commons-lang-1.0-r1 + Changed KEYWORDS, Eliminating all but "x86" since i dont know if they work. + Releasing it, since it has been tested a lot and works very well. + Changed Generated Jar Filename to be according all commons-* packages. +*commons-lang-1.0 (02 Nov 2002) + 02 Nov 2002; Karl Trygve Kalleberg <karltk@gentoo.org> commons-lang-1.0.ebuild files/digest-commons-lang-1.0 : Initial import. Ebuild submitted by the ever-übercool Adrian Almenar <aalmenar@conectium.com>. diff --git a/dev-java/commons-lang/commons-lang-1.0-r1.ebuild b/dev-java/commons-lang/commons-lang-1.0-r1.ebuild new file mode 100644 index 000000000000..c9fa07224975 --- /dev/null +++ b/dev-java/commons-lang/commons-lang-1.0-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/commons-lang-1.0-r1.ebuild,v 1.1 2002/11/25 01:14:49 strider Exp $ + +S="${WORKDIR}/${PN}-${PV}-src" +DESCRIPTION="Jakarta components to manipulate core java classes" +HOMEPAGE="http://jakarta.apache.org/commons/lang.html" +SRC_URI="http://jakarta.apache.org/builds/jakarta-commons/release/${PN}/v${PV}/${PN}-${PV}-src.tar.gz" +DEPEND=">=virtual/jdk-1.3 + >=dev-java/ant-1.4 + junit? ( >=junit-3.7 )" +RDEPEND=">=virtual/jre-1.3" +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="x86" +IUSE="jikes junit" + +src_compile() { + local myc + + cp lang/LICENSE.txt LICENSE + cd lang + + if [ -n "`use jikes`" ] ; then + myc="${myc} -Dbuild.compiler=jikes" + fi + + if [ -n "`use junit`" ] ; then + echo "junit.jar=`java-config --classpath=junit`" | sed s/:.*// > build.properties + ANT_OPTS=${myc} ant test || die "Testing Classes Failed" + fi + + ANT_OPTS=${myc} ant jar || die "Compilation Failed" + ANT_OPTS=${myc} ant javadoc || die "Building Documents Failed" +} + +src_install () { + cd lang + dodoc RELEASE-NOTES.txt + mv dist/${PN}-${PV}.jar dist/${PN}.jar + dojar dist/${PN}.jar || die "Unable to install" + dohtml -r dist/docs/* + dohtml PROPOSAL.html STATUS.html +} diff --git a/dev-java/commons-lang/files/digest-commons-lang-1.0-r1 b/dev-java/commons-lang/files/digest-commons-lang-1.0-r1 new file mode 100644 index 000000000000..f990d8d79f82 --- /dev/null +++ b/dev-java/commons-lang/files/digest-commons-lang-1.0-r1 @@ -0,0 +1 @@ +MD5 d367df1f903c5b6d6a5f24d51db0df5d commons-lang-1.0-src.tar.gz 90747 diff --git a/dev-java/commons-logging/ChangeLog b/dev-java/commons-logging/ChangeLog index 22d053fea968..c32500ab2628 100644 --- a/dev-java/commons-logging/ChangeLog +++ b/dev-java/commons-logging/ChangeLog @@ -1,9 +1,12 @@ # ChangeLog for dev-java/commons-logging # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-logging/ChangeLog,v 1.3 2002/11/06 17:52:13 strider Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-logging/ChangeLog,v 1.4 2002/11/25 01:15:19 strider Exp $ *commons-logging-1.0.2-r1 (06 Nov 2002) + 24 Nov 2002; Adrian Almenar <strider@gentoo.org> + Releasing it, since it has been tested a lot and works very well. + 06 Nov 2002; Adrian Almenar <strider@gentoo.org> commons-logging-1.0.2-r1.ebuild: Fixed some extra tabs. diff --git a/dev-java/commons-logging/commons-logging-1.0.2-r1.ebuild b/dev-java/commons-logging/commons-logging-1.0.2-r1.ebuild index 403501aa4b2a..ca7492536367 100644 --- a/dev-java/commons-logging/commons-logging-1.0.2-r1.ebuild +++ b/dev-java/commons-logging/commons-logging-1.0.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-logging/commons-logging-1.0.2-r1.ebuild,v 1.3 2002/11/08 01:16:16 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-logging/commons-logging-1.0.2-r1.ebuild,v 1.4 2002/11/25 01:15:19 strider Exp $ S="${WORKDIR}/${P}-src" DESCRIPTION="The Jakarta-Commons Logging package is an ultra-thin bridge between different logging libraries." @@ -12,7 +12,7 @@ DEPEND=">=virtual/jdk-1.4 RDEPEND=">=virtual/jre-1.4" LICENSE="Apache-1.1" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="x86" IUSE="jikes junit" src_compile() { diff --git a/dev-java/commons-pool/ChangeLog b/dev-java/commons-pool/ChangeLog index 7f4903c1c57b..e8b90a5fd29a 100644 --- a/dev-java/commons-pool/ChangeLog +++ b/dev-java/commons-pool/ChangeLog @@ -1,9 +1,12 @@ # ChangeLog for dev-java/commons-pool # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-pool/ChangeLog,v 1.4 2002/11/05 03:11:19 strider Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-pool/ChangeLog,v 1.5 2002/11/25 01:15:48 strider Exp $ *commons-pool-1.0.1-r2 (02 Nov 2002) + 24 Nov 2002; Adrian Almenar <strider@gentoo.org> + Releasing it, since it has been tested a lot and works very well. + 04 Nov 2002; Adrian Almenar <strider@gentoo.org> commons-pool-1.0.1-r2.ebuild: Changed KEYWORDS, removed other arch's cause i have not tested it leaving only ~x86. UnMasking it from packages.mask. diff --git a/dev-java/commons-pool/commons-pool-1.0.1-r2.ebuild b/dev-java/commons-pool/commons-pool-1.0.1-r2.ebuild index b343be924119..9fbd527cf629 100644 --- a/dev-java/commons-pool/commons-pool-1.0.1-r2.ebuild +++ b/dev-java/commons-pool/commons-pool-1.0.1-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-pool/commons-pool-1.0.1-r2.ebuild,v 1.3 2002/11/08 01:16:16 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-pool/commons-pool-1.0.1-r2.ebuild,v 1.4 2002/11/25 01:15:48 strider Exp $ S=${WORKDIR}/${PN}-${PV}-src DESCRIPTION="Jakarta-Commons component providing general purpose object pooling API" @@ -14,7 +14,7 @@ RDEPEND=">=virtual/jre-1.3 >=dev-java/commons-collections-2.0" LICENSE="Apache-1.1" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="x86" IUSE="jikes junit" src_compile() { |