diff options
author | William Thomson <wltjr@gentoo.org> | 2006-11-15 03:41:53 +0000 |
---|---|---|
committer | William Thomson <wltjr@gentoo.org> | 2006-11-15 03:41:53 +0000 |
commit | 077ae7f77cfb449e5d0503adb4ecd19ffcf7effc (patch) | |
tree | c13435b66c05007d828df7033ba9a8bdf967cf29 /dev-java/log4j | |
parent | stable on ppc64, bug 154981 (diff) | |
download | gentoo-2-077ae7f77cfb449e5d0503adb4ecd19ffcf7effc.tar.gz gentoo-2-077ae7f77cfb449e5d0503adb4ecd19ffcf7effc.tar.bz2 gentoo-2-077ae7f77cfb449e5d0503adb4ecd19ffcf7effc.zip |
Revision bump, moved ebuild from overlay. Dropped ~sparc keyword due to bad/missin dep issues
(Portage version: 2.1.2_rc1-r6)
Diffstat (limited to 'dev-java/log4j')
-rw-r--r-- | dev-java/log4j/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/log4j/files/digest-log4j-1.2.14 | 3 | ||||
-rw-r--r-- | dev-java/log4j/log4j-1.2.14.ebuild | 57 |
3 files changed, 68 insertions, 1 deletions
diff --git a/dev-java/log4j/ChangeLog b/dev-java/log4j/ChangeLog index 282de98b1272..14aae254a1c2 100644 --- a/dev-java/log4j/ChangeLog +++ b/dev-java/log4j/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/log4j # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/log4j/ChangeLog,v 1.42 2006/10/17 02:53:44 nichoj Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/log4j/ChangeLog,v 1.43 2006/11/15 03:41:53 wltjr Exp $ + +*log4j-1.2.14 (15 Nov 2006) + + 15 Nov 2006; William L. Thomson Jr. <wltjr@gentoo.org> + +log4j-1.2.14.ebuild: + Revision bump, moved ebuild from overlay. Dropped ~sparc keyword due to + bad/missin dep issues 17 Oct 2006; Joshua Nichols <nichoj@gentoo.org> log4j-1.2.13-r1.ebuild: Keyworded ~ia64. diff --git a/dev-java/log4j/files/digest-log4j-1.2.14 b/dev-java/log4j/files/digest-log4j-1.2.14 new file mode 100644 index 000000000000..7747cfecca5a --- /dev/null +++ b/dev-java/log4j/files/digest-log4j-1.2.14 @@ -0,0 +1,3 @@ +MD5 7d8d02888b93e6f8d67b8e5f746196ae logging-log4j-1.2.14.tar.gz 2771881 +RMD160 d640c0182deebe1aabf14105b7b89294601bacce logging-log4j-1.2.14.tar.gz 2771881 +SHA256 51e4fcb3c3677fcdb9fe45ca0f73378680537491c9c9e65a9b63c7f54678f90c logging-log4j-1.2.14.tar.gz 2771881 diff --git a/dev-java/log4j/log4j-1.2.14.ebuild b/dev-java/log4j/log4j-1.2.14.ebuild new file mode 100644 index 000000000000..bcedc2d1fa78 --- /dev/null +++ b/dev-java/log4j/log4j-1.2.14.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/log4j/log4j-1.2.14.ebuild,v 1.1 2006/11/15 03:41:53 wltjr Exp $ + +inherit java-pkg-2 + +MY_P="logging-${P}" +DESCRIPTION="A low-overhead robust logging package for Java" +SRC_URI="mirror://apache/logging/log4j/${PV}/${MY_P}.tar.gz" +HOMEPAGE="http://logging.apache.org/log4j/" +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +# jikes support disabled: bug #108819 +IUSE="doc javamail jms jmx source" + +RDEPEND=">=virtual/jre-1.4 + javamail? ( dev-java/sun-javamail dev-java/sun-jaf ) + jmx? ( dev-java/sun-jmx ) + jms? ( =dev-java/openjms-bin-0.7.6 )" + +# We should get log4j working with openjms but at the moment that would bring +# a circular dependency. +# jms? ( || (=dev-java/openjms-0.7.6* =dev-java/openjms-bin-0.7.6* ))" + +# Needs the a newer ant-core because otherwise source 1.1 and target 1.1 fails +# on at least blackdown-jdk-1.4.2.02. The other way to go around this is to +# explicitly set the javac.source and javac.target properties in the ebuild. + +DEPEND=">=virtual/jdk-1.4 + >=dev-java/ant-core-1.6.5 + source? ( app-arch/zip ) + ${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd ${S} + rm -rf dist/ +} + +src_compile() { + local antflags="jar" + use javamail && antflags="${antflags} -Djavamail.jar=$(java-pkg_getjar sun-javamail mail.jar) -Dactivation.jar=$(java-pkg_getjar sun-jaf activation.jar)" + use jmx && antflags="${antflags} -Djmx.jar=$(java-pkg_getjar sun-jmx jmxri.jar) -Djmx-extra.jar=$(java-pkg_getjar sun-jmx jmxtools.jar)" + #use jms && antflags="${antflags} -Djms.jar=$(java-pkg_getjar openjms jms.jar)" + use jms && antflags="${antflags} -Djms.jar=/opt/openjms/lib/jms-1.0.2a.jar" + eant ${antflags} +} + +src_install() { + java-pkg_newjar dist/lib/${P}.jar ${PN}.jar + + use doc && java-pkg_dohtml -r docs/* + use source && java-pkg_dosrc src/java/* +} |