summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-07-21 02:13:40 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-07-21 02:13:40 +0000
commit145bb7f7e0c37ee5dd8ab44a903d3fff98a613d7 (patch)
treec8dd45298f54646e148ba4ae9bc42f3f36706d8e /dev-java/log4j
parentStable on amd64. See bug #140729. (diff)
downloadgentoo-2-145bb7f7e0c37ee5dd8ab44a903d3fff98a613d7.tar.gz
gentoo-2-145bb7f7e0c37ee5dd8ab44a903d3fff98a613d7.tar.bz2
gentoo-2-145bb7f7e0c37ee5dd8ab44a903d3fff98a613d7.zip
Revision bump to use new Java system.
(Portage version: 2.1.1_pre2-r4)
Diffstat (limited to 'dev-java/log4j')
-rw-r--r--dev-java/log4j/ChangeLog7
-rw-r--r--dev-java/log4j/files/digest-log4j-1.2.132
-rw-r--r--dev-java/log4j/files/digest-log4j-1.2.13-r13
-rw-r--r--dev-java/log4j/log4j-1.2.13-r1.ebuild57
4 files changed, 68 insertions, 1 deletions
diff --git a/dev-java/log4j/ChangeLog b/dev-java/log4j/ChangeLog
index 21368e5dbd25..7efec7132f9f 100644
--- a/dev-java/log4j/ChangeLog
+++ b/dev-java/log4j/ChangeLog
@@ -1,6 +1,11 @@
# 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.39 2006/01/08 23:14:15 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/log4j/ChangeLog,v 1.40 2006/07/21 02:13:40 nichoj Exp $
+
+*log4j-1.2.13-r1 (21 Jul 2006)
+
+ 21 Jul 2006; Joshua Nichols <jnichols@gentoo.org> +log4j-1.2.13-r1.ebuild:
+ Revision bump to use new Java system.
*log4j-1.2.13 (08 Jan 2006)
diff --git a/dev-java/log4j/files/digest-log4j-1.2.13 b/dev-java/log4j/files/digest-log4j-1.2.13
index 9c817fad0d2f..22499b38dfcc 100644
--- a/dev-java/log4j/files/digest-log4j-1.2.13
+++ b/dev-java/log4j/files/digest-log4j-1.2.13
@@ -1 +1,3 @@
MD5 080a645669672dd3fc22f0d8deaf06ac logging-log4j-1.2.13.tar.gz 2752053
+RMD160 223d6b4db3f4ce0e4e79f39baf74ea9e4c859f2d logging-log4j-1.2.13.tar.gz 2752053
+SHA256 8bcbacb9bb04af9ca7b4dc5448644c617d34a8f931f3aacde8613e2703957f0f logging-log4j-1.2.13.tar.gz 2752053
diff --git a/dev-java/log4j/files/digest-log4j-1.2.13-r1 b/dev-java/log4j/files/digest-log4j-1.2.13-r1
new file mode 100644
index 000000000000..22499b38dfcc
--- /dev/null
+++ b/dev-java/log4j/files/digest-log4j-1.2.13-r1
@@ -0,0 +1,3 @@
+MD5 080a645669672dd3fc22f0d8deaf06ac logging-log4j-1.2.13.tar.gz 2752053
+RMD160 223d6b4db3f4ce0e4e79f39baf74ea9e4c859f2d logging-log4j-1.2.13.tar.gz 2752053
+SHA256 8bcbacb9bb04af9ca7b4dc5448644c617d34a8f931f3aacde8613e2703957f0f logging-log4j-1.2.13.tar.gz 2752053
diff --git a/dev-java/log4j/log4j-1.2.13-r1.ebuild b/dev-java/log4j/log4j-1.2.13-r1.ebuild
new file mode 100644
index 000000000000..572016b6c6f2
--- /dev/null
+++ b/dev-java/log4j/log4j-1.2.13-r1.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.13-r1.ebuild,v 1.1 2006/07/21 02:13:40 nichoj 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 ~sparc ~x86"
+# jikes support disabled: bug #108819
+IUSE="doc javamail jms jmx source"
+
+RDEPEND=">=virtual/jre-1.4
+ javamail? ( dev-java/sun-javamail-bin dev-java/sun-jaf-bin )
+ 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-bin mail.jar) -Dactivation.jar=$(java-pkg_getjar sun-jaf-bin 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/*
+}