diff options
author | William Thomson <wltjr@gentoo.org> | 2006-12-17 18:08:35 +0000 |
---|---|---|
committer | William Thomson <wltjr@gentoo.org> | 2006-12-17 18:08:35 +0000 |
commit | 1f37db3c6a973b994b8e7613c28640dd29946b2a (patch) | |
tree | 2bf7ddaff008c4669db02592149590e33c006d32 /dev-java/ant-tasks | |
parent | Stable on SPARC wrt security bug #152783. (diff) | |
download | historical-1f37db3c6a973b994b8e7613c28640dd29946b2a.tar.gz historical-1f37db3c6a973b994b8e7613c28640dd29946b2a.tar.bz2 historical-1f37db3c6a973b994b8e7613c28640dd29946b2a.zip |
Updated dep to javamail, instead of -bin version. Keywording ~arch for testing, although that might be a bit extreme :)
Package-Manager: portage-2.1.2_rc3-r6
Diffstat (limited to 'dev-java/ant-tasks')
-rw-r--r-- | dev-java/ant-tasks/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/ant-tasks/Manifest | 15 | ||||
-rw-r--r-- | dev-java/ant-tasks/ant-tasks-1.6.5-r3.ebuild | 103 | ||||
-rw-r--r-- | dev-java/ant-tasks/files/digest-ant-tasks-1.6.5-r3 | 3 |
4 files changed, 125 insertions, 5 deletions
diff --git a/dev-java/ant-tasks/ChangeLog b/dev-java/ant-tasks/ChangeLog index f78f72f4af5e..0e8244671f94 100644 --- a/dev-java/ant-tasks/ChangeLog +++ b/dev-java/ant-tasks/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/ant-tasks # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-tasks/ChangeLog,v 1.43 2006/12/09 12:57:15 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-tasks/ChangeLog,v 1.44 2006/12/17 18:08:34 wltjr Exp $ + +*ant-tasks-1.6.5-r3 (17 Dec 2006) + + 17 Dec 2006; William L. Thomson Jr. <wltjr@gentoo.org> + +ant-tasks-1.6.5-r3.ebuild: + Updated dep to javamail, instead of -bin version. Keywording ~arch for + testing, although that might be a bit extreme :) 09 Dec 2006; Vlastimil Babka <caster@gentoo.org> ant-tasks-1.6.5-r2.ebuild: diff --git a/dev-java/ant-tasks/Manifest b/dev-java/ant-tasks/Manifest index 521bbb0516c9..fca080988182 100644 --- a/dev-java/ant-tasks/Manifest +++ b/dev-java/ant-tasks/Manifest @@ -3,10 +3,14 @@ EBUILD ant-tasks-1.6.5-r2.ebuild 3340 RMD160 8b66de3169d42d2f6a4b4d41a628f2efd72 MD5 3a0be7aec79c00d513e2453e0f399170 ant-tasks-1.6.5-r2.ebuild 3340 RMD160 8b66de3169d42d2f6a4b4d41a628f2efd72fec97 ant-tasks-1.6.5-r2.ebuild 3340 SHA256 82ec2c7a01e305c9a96e38b12ef8e361176626fbe4ca2ff3fa0b47171d6f062b ant-tasks-1.6.5-r2.ebuild 3340 -MISC ChangeLog 12099 RMD160 801b36398e9dbbd26518ad7ecac66503a30001e8 SHA1 82f03c5383251974bc4ea88c05be1f41b171da1b SHA256 2234d7d5a8c2fbec0b8a661cdb6c5d01a3aa1e6da55b4ced5bb024348177452a -MD5 180c08e16662dd962150dce5b2096336 ChangeLog 12099 -RMD160 801b36398e9dbbd26518ad7ecac66503a30001e8 ChangeLog 12099 -SHA256 2234d7d5a8c2fbec0b8a661cdb6c5d01a3aa1e6da55b4ced5bb024348177452a ChangeLog 12099 +EBUILD ant-tasks-1.6.5-r3.ebuild 3327 RMD160 6218a5c3ad1da3b98af9c942644c690ef55af36b SHA1 f0b32c150163f8881ed1cc66df6d87463fe142f1 SHA256 a6b94a96394835c8a1b824aadb2bcdedf8ec4e5daac8140309d80b56232cf1c8 +MD5 a98e1fa57c575d5476cac6229715a10e ant-tasks-1.6.5-r3.ebuild 3327 +RMD160 6218a5c3ad1da3b98af9c942644c690ef55af36b ant-tasks-1.6.5-r3.ebuild 3327 +SHA256 a6b94a96394835c8a1b824aadb2bcdedf8ec4e5daac8140309d80b56232cf1c8 ant-tasks-1.6.5-r3.ebuild 3327 +MISC ChangeLog 12345 RMD160 3cf09c37c2569c7a17eee3bc89fcc61a02e509b1 SHA1 837e24805c7045022f5b3568a1d978f1d023d8e8 SHA256 13b67d60b2492842b83a2d3a576d0d50fc22a912a9793e332c99d7614d1e379c +MD5 3ae656978e00b3ce1009581ffaa51108 ChangeLog 12345 +RMD160 3cf09c37c2569c7a17eee3bc89fcc61a02e509b1 ChangeLog 12345 +SHA256 13b67d60b2492842b83a2d3a576d0d50fc22a912a9793e332c99d7614d1e379c ChangeLog 12345 MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 metadata.xml 158 @@ -14,3 +18,6 @@ SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb metadata MD5 31de0486a830c545c91a089241b3bb9a files/digest-ant-tasks-1.6.5-r2 268 RMD160 3a54cfc35c821291722b58076e3524c513ee1dc2 files/digest-ant-tasks-1.6.5-r2 268 SHA256 6d25121ad88d0c2a4d0822cff5bb2d50c9f6886369b452882476811f65c1b8f5 files/digest-ant-tasks-1.6.5-r2 268 +MD5 31de0486a830c545c91a089241b3bb9a files/digest-ant-tasks-1.6.5-r3 268 +RMD160 3a54cfc35c821291722b58076e3524c513ee1dc2 files/digest-ant-tasks-1.6.5-r3 268 +SHA256 6d25121ad88d0c2a4d0822cff5bb2d50c9f6886369b452882476811f65c1b8f5 files/digest-ant-tasks-1.6.5-r3 268 diff --git a/dev-java/ant-tasks/ant-tasks-1.6.5-r3.ebuild b/dev-java/ant-tasks/ant-tasks-1.6.5-r3.ebuild new file mode 100644 index 000000000000..04be630fc2e6 --- /dev/null +++ b/dev-java/ant-tasks/ant-tasks-1.6.5-r3.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-tasks/ant-tasks-1.6.5-r3.ebuild,v 1.1 2006/12/17 18:08:35 wltjr Exp $ + +inherit java-pkg-2 eutils + +MY_PV=${PV/_/} +MY_P=${PN}-${MY_PV} + +DESCRIPTION="Apache ANT Optional Tasks Jar Files" +HOMEPAGE="http://ant.apache.org/" +SRC_URI="mirror://apache/ant/source/apache-ant-${PV}-src.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="javamail noantlr nobcel nobeanutils nobsh nobsf nocommonsnet nocommonslogging nojdepend nojsch nojython nolog4j nooro noregexp norhino noxalan noxerces" + + +CDEPEND="=dev-java/ant-core-${PV}* + >=dev-java/junit-3.8 + !nolog4j? ( >=dev-java/log4j-1.2.8 ) + !noxerces? ( >=dev-java/xerces-2.7.1 ) + !noxalan? ( >=dev-java/xalan-2.5.2 ) + !nobsh? ( >=dev-java/bsh-1.2-r7 ) + !nobsf? ( >=dev-java/bsf-2.3.0-r2 ) + !noantlr? ( >=dev-java/antlr-2.7.2 ) + !nobeanutils? ( =dev-java/commons-beanutils-1.6* ) + !nocommonslogging? ( >=dev-java/commons-logging-1.0.3 ) + !nocommonsnet? ( >=dev-java/commons-net-1.1.0 ) + !nobcel? ( >=dev-java/bcel-5.1 ) + !nooro? ( >=dev-java/jakarta-oro-2.0.8-r1 ) + !norhino? ( =dev-java/rhino-1.5* ) + !nojdepend? ( >=dev-java/jdepend-2.6 ) + !nojsch? ( >=dev-java/jsch-0.1.12 ) + !noregexp? ( >=dev-java/jakarta-regexp-1.3-r2 ) + !nojython? ( >=dev-java/jython-2.1-r5 ) + javamail? ( dev-java/sun-javamail )" +RDEPEND=">=virtual/jre-1.4 + ${CDEPEND}" +DEPEND=">=virtual/jdk-1.4 + >=dev-java/java-config-1.2 + !dev-java/ant-optional + ${CDEPEND}" + +S="${WORKDIR}/apache-ant-${MY_PV}" + +src_compile() { + addwrite "/proc/self/maps" + if [[ $(uname -m) == "ppc" ]] ; then + # We're compiling _ON_ PPC + export THREADS_FLAG="green" + fi + + local p="ant-core,junit" libs + use noantlr || p="${p},antlr" + use nobcel || p="${p},bcel" + use nobeanutils || p="${p},commons-beanutils-1.6" + use nobsh || p="${p},bsh" + use nobsf || p="${p},bsf-2.3" + use nocommonslogging || p="${p},commons-logging" + use nocommonsnet || p="${p},commons-net" + use nojdepend || p="${p},jdepend" + use nojsch || p="${p},jsch" + use nojython || p="${p},jython" + use nolog4j || p="${p},log4j" + use nooro || p="${p},jakarta-oro-2.0" + use noregexp || p="${p},jakarta-regexp-1.3" + use norhino || p="${p},rhino-1.5" + use noxalan || p="${p},xalan" + use noxerces || p="${p},xml-commons-external-1.3,xerces-2" + + use javamail && p="${p},sun-javamail-bin,sun-jaf-bin" + + CLASSPATH="${JAVA_HOME}/lib/tools.jar:.:$(java-pkg_getjars ant-core,${p})" \ + java org.apache.tools.ant.launch.Launcher -Dant.install=${ANT_HOME} \ + || die "Build failed." +} + +src_install() { + dodir /usr/share/ant-core/lib + for jar in build/lib/ant-*.jar; do + [[ "$(basename ${jar})" == "ant-launcher.jar" ]] && continue + java-pkg_dojar ${jar} + dosym /usr/share/${PN}/lib/$(basename ${jar}) /usr/share/ant-core/lib/ + done +} + +pkg_postinst() { + local noset=false + for x in ${IUSE} ; do + if [ "${x:0:2}" == "no" ] ; then + use ${x} && noset=true + fi + done + if [ ${noset} == "true" ]; then + ewarn "You have disabled some of the ant tasks. Be advised that this may" + ewarn "break building some of the Java packages!!" + ewarn "" + ewarn "We can only offer very limited support in cases where dev-java/ant-tasks" + ewarn "has been build with essential features disabled." + fi +} diff --git a/dev-java/ant-tasks/files/digest-ant-tasks-1.6.5-r3 b/dev-java/ant-tasks/files/digest-ant-tasks-1.6.5-r3 new file mode 100644 index 000000000000..6bc546eb9b5c --- /dev/null +++ b/dev-java/ant-tasks/files/digest-ant-tasks-1.6.5-r3 @@ -0,0 +1,3 @@ +MD5 80a7ad191c40b7d8c82533524b282b6b apache-ant-1.6.5-src.tar.bz2 6283500 +RMD160 4680b53cd72d4915b9ca2bbe2131a71fcf505a84 apache-ant-1.6.5-src.tar.bz2 6283500 +SHA256 f3ef501f06bf1dac88981038ebd5311c738bf2d50d220de85c3e6c7656169d59 apache-ant-1.6.5-src.tar.bz2 6283500 |