diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-03-29 15:35:45 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-03-29 15:35:45 +0000 |
commit | 6ad6b71ec2b966772822439f49eb0fd9475b43e3 (patch) | |
tree | a5592ad00004f8a8f25f28690708e349c2d721f7 /dev-java/commons-net | |
parent | Added chan_capi fax patch from http://mlkj.net/asterisk/ (diff) | |
download | historical-6ad6b71ec2b966772822439f49eb0fd9475b43e3.tar.gz historical-6ad6b71ec2b966772822439f49eb0fd9475b43e3.tar.bz2 historical-6ad6b71ec2b966772822439f49eb0fd9475b43e3.zip |
moved from dev-java/oro to dev-java/jakarta-oro dependency. see #71337. introduced support for the examples and the source useflag.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-java/commons-net')
-rw-r--r-- | dev-java/commons-net/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/commons-net/Manifest | 22 | ||||
-rw-r--r-- | dev-java/commons-net/commons-net-1.2.2-r1.ebuild | 42 | ||||
-rw-r--r-- | dev-java/commons-net/commons-net-1.3.0-r1.ebuild | 61 | ||||
-rw-r--r-- | dev-java/commons-net/files/digest-commons-net-1.2.2-r1 | 1 | ||||
-rw-r--r-- | dev-java/commons-net/files/digest-commons-net-1.3.0-r1 | 1 |
6 files changed, 131 insertions, 5 deletions
diff --git a/dev-java/commons-net/ChangeLog b/dev-java/commons-net/ChangeLog index 72f4306ca462..898c803bd248 100644 --- a/dev-java/commons-net/ChangeLog +++ b/dev-java/commons-net/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/commons-net # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-net/ChangeLog,v 1.25 2005/01/26 21:48:15 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-net/ChangeLog,v 1.26 2005/03/29 15:35:45 luckyduck Exp $ + +*commons-net-1.2.2-r1 (29 Mar 2005) + + 29 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> + +commons-net-1.2.2-r1.ebuild, +commons-net-1.3.0-r1.ebuild: + moved from dev-java/oro to dev-java/jakarta-oro dependency. see #71337. + introduced support for the examples and the source useflag. 26 Jan 2005; Markus Rothe <corsair@gentoo.org> commons-net-1.3.0.ebuild: Stable on ppc64 diff --git a/dev-java/commons-net/Manifest b/dev-java/commons-net/Manifest index c68e725c8049..8fc9c6800609 100644 --- a/dev-java/commons-net/Manifest +++ b/dev-java/commons-net/Manifest @@ -1,8 +1,22 @@ -MD5 eb5e51a06b1a3996551058f19f84d35b ChangeLog 3070 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 a27695d76c5e800f9c45a2c730788e13 commons-net-1.2.2-r1.ebuild 1367 MD5 b7966d1c603722c6bcae07a757d251e9 commons-net-1.2.2.ebuild 1297 -MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 MD5 1f7cd2fd408977b9907da7e112ddd74b commons-net-1.3.0.ebuild 1586 -MD5 fb9978c1444923f864212fcb8914da67 files/digest-commons-net-1.2.2 73 -MD5 cd5dd0f16006dfa0491e9fb71981d402 files/gentoo-1.2.diff 3152 +MD5 8c8895e645d4191e3b4304eafcf3fb1c ChangeLog 3360 +MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +MD5 7c235b66f05f5cc48d4436b5a953c347 commons-net-1.3.0-r1.ebuild 1816 MD5 e2628a3419f04cdb65cb4a3caad1c9df files/gentoo.diff 4678 +MD5 cd5dd0f16006dfa0491e9fb71981d402 files/gentoo-1.2.diff 3152 +MD5 fb9978c1444923f864212fcb8914da67 files/digest-commons-net-1.2.2-r1 73 +MD5 36815c4f205c7a6b95614626967da49b files/digest-commons-net-1.3.0-r1 73 +MD5 fb9978c1444923f864212fcb8914da67 files/digest-commons-net-1.2.2 73 MD5 36815c4f205c7a6b95614626967da49b files/digest-commons-net-1.3.0 73 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.0 (GNU/Linux) + +iD8DBQFCSXXk06ebR+OMO78RAgmJAJ0fUeVUMVg53VEmWpezOhYEj5Cv8ACfcR59 +x/suIqib8C3+xg0Aibkn7lA= +=O8+J +-----END PGP SIGNATURE----- diff --git a/dev-java/commons-net/commons-net-1.2.2-r1.ebuild b/dev-java/commons-net/commons-net-1.2.2-r1.ebuild new file mode 100644 index 000000000000..030f323de1c0 --- /dev/null +++ b/dev-java/commons-net/commons-net-1.2.2-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-net/commons-net-1.2.2-r1.ebuild,v 1.1 2005/03/29 15:35:45 luckyduck Exp $ + +inherit eutils java-pkg + +DESCRIPTION="The purpose of the library is to provide fundamental protocol access, not higher-level abstractions." +HOMEPAGE="http://jakarta.apache.org/commons/net/" +SRC_URI="mirror://apache/jakarta/commons/net/source/${P}-src.tar.gz" +DEPEND=">=virtual/jdk-1.3 + >=dev-java/ant-core-1.5.4 + =dev-java/jakarta-oro-2.0* + jikes? ( dev-java/jikes ) + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.3" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~x86 ~sparc ~ppc ~amd64" +IUSE="doc jikes source" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/gentoo-1.2.diff + #for some reason 1.2.2 claims its 1.3 + sed "s/commons-net-1.3.0-dev/commons-net-1.2.2-dev/" -i build.xml || die "died on sed" +} + +src_compile() { + local antflags="-Doro.jar=$(java-config -p jakarta-oro-2.0) jar" + use doc && antflags="${antflags} javadoc" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "died on ant" +} + +src_install() { + mv ${S}/target/${P}-dev.jar ${S}/target/${PN}.jar + java-pkg_dojar target/${PN}.jar + + use doc && java-pkg_dohtml -r dist/docs/ + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/commons-net/commons-net-1.3.0-r1.ebuild b/dev-java/commons-net/commons-net-1.3.0-r1.ebuild new file mode 100644 index 000000000000..4a87ac038148 --- /dev/null +++ b/dev-java/commons-net/commons-net-1.3.0-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-net/commons-net-1.3.0-r1.ebuild,v 1.1 2005/03/29 15:35:45 luckyduck Exp $ + +inherit eutils java-pkg + +DESCRIPTION="The purpose of the library is to provide fundamental protocol access, not higher-level abstractions." +HOMEPAGE="http://jakarta.apache.org/commons/net/" +SRC_URI="mirror://apache/jakarta/commons/net/source/${P}-src.tar.gz" +DEPEND=">=virtual/jdk-1.3 + >=dev-java/ant-core-1.5.4 + >=dev-java/jakarta-oro-2.0* + junit? ( dev-java/junit ) + jikes? ( dev-java/jikes ) + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.3" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~x86 ~sparc ~ppc ~amd64 ~ppc64" +IUSE="doc examples jikes junit source" + +S=${WORKDIR}/${P}-src + +src_unpack() { + unpack ${A} + cd ${S} + sed -i 's|depends="get-deps"||' build.xml || die "sed failed" + mkdir -p target/lib + cd target/lib + java-pkg_jar-from jakarta-oro-2.0 jakarta-oro.jar oro.jar + + cd ${S} + if ! use junit ; then + sed -i 's/depends="compile,test"/depends="compile"/' \ + build.xml || die "Failed to disable junit" + else + if ! has_version dev-java/ant-tasks; then + sed -i 's/depends="compile,test"/depends="compile"/' \ + build.xml || die "Failed to disable junit" + fi + fi +} + +src_compile() { + local antflags="jar" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + use doc && antflags="${antflags} javadoc" + ant ${antflags} || die "died on ant" +} + +src_install() { + mv ${S}/target/${P}-dev.jar ${S}/target/${PN}.jar + java-pkg_dojar target/${PN}.jar + + use doc && java-pkg_dohtml -r dist/docs/ + if use examples; then + dodir /usr/share/doc/${PF}/examples + cp -r src/java/examples/* ${D}/usr/share/doc/${PF}/examples + fi + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/commons-net/files/digest-commons-net-1.2.2-r1 b/dev-java/commons-net/files/digest-commons-net-1.2.2-r1 new file mode 100644 index 000000000000..dd2834f25e40 --- /dev/null +++ b/dev-java/commons-net/files/digest-commons-net-1.2.2-r1 @@ -0,0 +1 @@ +MD5 3856e8b3f50bdfffbf186e07c477f73b commons-net-1.2.2-src.tar.gz 178572 diff --git a/dev-java/commons-net/files/digest-commons-net-1.3.0-r1 b/dev-java/commons-net/files/digest-commons-net-1.3.0-r1 new file mode 100644 index 000000000000..606eacd19f41 --- /dev/null +++ b/dev-java/commons-net/files/digest-commons-net-1.3.0-r1 @@ -0,0 +1 @@ +MD5 1394cc644125c9cf69d23db5ac37295b commons-net-1.3.0-src.tar.gz 267046 |