summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2008-02-06 16:47:53 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2008-02-06 16:47:53 +0000
commita8ca1edad87714519d6a081f60592092b1e06bc3 (patch)
tree74b98bfa2b7bc8cf7b0b77d27820e316fcec245d /dev-java
parentAdded arts to package.use for emul-linux-x86-soundlibs, removing debianutils/... (diff)
downloadhistorical-a8ca1edad87714519d6a081f60592092b1e06bc3.tar.gz
historical-a8ca1edad87714519d6a081f60592092b1e06bc3.tar.bz2
historical-a8ca1edad87714519d6a081f60592092b1e06bc3.zip
Version bump
Package-Manager: portage-2.1.4.1
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/log4j/ChangeLog9
-rw-r--r--dev-java/log4j/Manifest4
-rw-r--r--dev-java/log4j/log4j-1.2.15.ebuild71
3 files changed, 81 insertions, 3 deletions
diff --git a/dev-java/log4j/ChangeLog b/dev-java/log4j/ChangeLog
index 732ebcd5aa7d..7e86bc065212 100644
--- a/dev-java/log4j/ChangeLog
+++ b/dev-java/log4j/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/log4j
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/log4j/ChangeLog,v 1.57 2007/11/28 07:35:56 ali_bush Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/log4j/ChangeLog,v 1.58 2008/02/06 16:47:53 fordfrog Exp $
+
+*log4j-1.2.15 (06 Feb 2008)
+
+ 06 Feb 2008; Miroslav Šulc <fordfrog@gentoo.org> +log4j-1.2.15.ebuild:
+ Version bump
28 Nov 2007; <alistair@gentoo.org> log4j-1.2.14-r2.ebuild:
Dropping ~arch's not keyworded in java-virtuals/javamail yet.
diff --git a/dev-java/log4j/Manifest b/dev-java/log4j/Manifest
index fc0f8f918184..e219167be346 100644
--- a/dev-java/log4j/Manifest
+++ b/dev-java/log4j/Manifest
@@ -1,5 +1,7 @@
+DIST apache-log4j-1.2.15.tar.gz 2099264 RMD160 280adfcd45c291d5bd45fbc5d5a9b0585374e4e0 SHA1 d6daea1586b932b1e38dc3fbac68624372bec6db SHA256 f5d9f6aa78b9156ae2de2a32d0f26507d2e73db4993d501db2e79f0bd803ab31
DIST logging-log4j-1.2.14.tar.gz 2771881 RMD160 d640c0182deebe1aabf14105b7b89294601bacce SHA1 2365021f8f277e77e281b0e01333ecea7c721e3e SHA256 51e4fcb3c3677fcdb9fe45ca0f73378680537491c9c9e65a9b63c7f54678f90c
EBUILD log4j-1.2.14-r1.ebuild 2194 RMD160 64bd7ef30ef4340298a2e11a4a22acf1ebd4e0ee SHA1 a2eb6b2bf1169570e7f8a914ed6bec73f2af0bb3 SHA256 d298d3e2049a2a53889ef7d8cd82f28ec780dc5991aa571fe23f3be33dcda955
EBUILD log4j-1.2.14-r2.ebuild 2209 RMD160 a2fa914e5b7b9303913cbcd8df540e08c5262128 SHA1 6f43b21512909519b99e734e69c92d7ed4150931 SHA256 e5a8a2d9e2acd1d861be966dd7cf1ecd0b1ecb4146c1d36612d71a5c799cabb6
-MISC ChangeLog 7207 RMD160 55aaf10eba1d0897cc7f0c611dc890e5c56ddc14 SHA1 e09b01a2813b749507caea148ad6d1284a95623e SHA256 53f7941962fd829f56828d68554ba859ca5ab8503c2bafe98115ba505c4d3382
+EBUILD log4j-1.2.15.ebuild 2382 RMD160 be673864d5916a9215f4b28e7a6996f3e920f942 SHA1 750be7a7f64377433eeae84c310ff4f16c4c023a SHA256 ce4e5703d8c6eb7dc69a65d874aed1e31986450e09ed12af8b604e7b983e7c97
+MISC ChangeLog 7326 RMD160 9a201052094de8daf0d5ca29211641743be2879b SHA1 1c66641a0785ee3a183a6179dda6613ebc8c1193 SHA256 44af53e3c3dc34c574ad98dc2b2655903bf86cd5aeb98a94ed28e82d8f9bf203
MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
diff --git a/dev-java/log4j/log4j-1.2.15.ebuild b/dev-java/log4j/log4j-1.2.15.ebuild
new file mode 100644
index 000000000000..cdc0319d9327
--- /dev/null
+++ b/dev-java/log4j/log4j-1.2.15.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/log4j/log4j-1.2.15.ebuild,v 1.1 2008/02/06 16:47:53 fordfrog Exp $
+
+JAVA_PKG_IUSE="doc javamail jms jmx source"
+
+inherit java-pkg-2 java-ant-2
+
+MY_P="apache-${P}"
+DESCRIPTION="A low-overhead robust logging package for Java"
+SRC_URI="mirror://apache/logging/${PN}/${PV}/${MY_P}.tar.gz"
+HOMEPAGE="http://logging.apache.org/log4j/"
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+# jikes support disabled: bug #108819
+IUSE="doc javamail jms jmx source"
+
+CDEPEND="javamail? ( java-virtuals/javamail dev-java/sun-jaf )
+ jmx? ( dev-java/sun-jmx )
+ jms? ( =dev-java/openjms-bin-0.7.6 )"
+
+RDEPEND=">=virtual/jre-1.4
+ ${CDEPEND}"
+
+# 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
+ ${CDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rm -rf dist/
+ # Takes javamail from system env without this
+ xml-rewrite.py -f build.xml -c -e available -a ignoresystemclasses -v "true"
+ java-pkg_filter-compiler jikes
+}
+
+src_compile() {
+ # Because we depend on >=1.4 we always have jaxp
+ local antflags="jar -Djaxp-present=true"
+ use javamail && antflags="${antflags} -Djavamail.jar=$(java-pkg_getjar 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
+
+ if use doc ; then
+ java-pkg_dojavadoc site/apidocs
+ java-pkg_dohtml -r site/*
+ rm -fr "${D}/usr/share/doc/${P}/html/apidocs"
+ cd "${D}/usr/share/doc/${P}/html"
+ ln -s api apidocs
+ cd "${S}"
+ fi
+ use source && java-pkg_dosrc src/main/java/*
+}