diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2008-02-06 15:25:30 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2008-02-06 15:25:30 +0000 |
commit | 5013f3d77a9dc5c3bd0953e3a33baf0cd03aa901 (patch) | |
tree | 84e193e8cb18df346086ec19362bd3be9a4969c2 /dev-java | |
parent | adding new snapshot 5.2.5_p20080206 for security bug 209148 (diff) | |
download | historical-5013f3d77a9dc5c3bd0953e3a33baf0cd03aa901.tar.gz historical-5013f3d77a9dc5c3bd0953e3a33baf0cd03aa901.tar.bz2 historical-5013f3d77a9dc5c3bd0953e3a33baf0cd03aa901.zip |
Version bump
Package-Manager: portage-2.1.4.1
Diffstat (limited to 'dev-java')
6 files changed, 163 insertions, 2 deletions
diff --git a/dev-java/commons-logging/ChangeLog b/dev-java/commons-logging/ChangeLog index 5662479021f5..f149459729f6 100644 --- a/dev-java/commons-logging/ChangeLog +++ b/dev-java/commons-logging/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for dev-java/commons-logging # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-logging/ChangeLog,v 1.57 2008/01/30 17:30:30 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-logging/ChangeLog,v 1.58 2008/02/06 15:25:30 fordfrog Exp $ + +*commons-logging-1.1.1 (06 Feb 2008) + + 06 Feb 2008; Miroslav Šulc <fordfrog@gentoo.org> + +files/commons-logging-1.1.1-gentoo.patch, + +files/commons-logging-1.1.1-manifest, + +files/commons-logging-1.1.1-servletapi.patch, + +commons-logging-1.1.1.ebuild: + Version bump *commons-logging-1.1-r6 (30 Jan 2008) *commons-logging-1.1-r5 (30 Jan 2008) diff --git a/dev-java/commons-logging/Manifest b/dev-java/commons-logging/Manifest index 1b087eb9a64a..b80e8e53a8c3 100644 --- a/dev-java/commons-logging/Manifest +++ b/dev-java/commons-logging/Manifest @@ -1,11 +1,16 @@ AUX commons-logging-1.1-gentoo.patch 927 RMD160 7504a6f319f1ca894b218d9d30641c23904f310d SHA1 79abac64e5646d62083bcd8b0b94b0eb4abca6fb SHA256 c50883be252e835335c142a6f84e0d21a32403873802eee04a89241ad0c79498 AUX commons-logging-1.1-manifest 299 RMD160 9f2d1a8889f64a8bb23b6563d27c851a09b7adaa SHA1 3ad2a066fb45ebe6d994d27ef6d09c67b5d2536c SHA256 34a591ce9b09ae23258d1414958bb537fe85ffd421d4de97307985dcb6bbc99d AUX commons-logging-1.1-servletapi.patch 1988 RMD160 78c13fc15add613a1cb17d73c3a31c8ee1cc69bd SHA1 cab5198471596f46a2faae282e8c6a8f786cbf51 SHA256 836afb926d95aae2dcade9234179df3274402f19bbcc54d77a19e18af30317b3 +AUX commons-logging-1.1.1-gentoo.patch 907 RMD160 15303a3ab40f1555a764fa758bb879d8bdce6983 SHA1 ff8125dc46d03cab5aca618fd1422a6bd8c1f3e6 SHA256 77f6708bb330211def2eaeaf24ffcd1c92fc78d83f506d541292b829d0c393ca +AUX commons-logging-1.1.1-manifest 305 RMD160 98b614e6a8902d12c8094dc6ced4758a404c68ff SHA1 6f94025f3b4c32155359ce3763c8cdd6c7d1a8f0 SHA256 41e2a1f5cfa42983d5a86a7112bbfd6a1789c68d0353562a94178470f0a54883 +AUX commons-logging-1.1.1-servletapi.patch 1870 RMD160 25a3af68b44ec2e11f7cf7e21a10aeb67b3726c1 SHA1 5c394e470e470ebfff52266c26f73e9f541f158d SHA256 160b09dafb098a064c37a003affaa99d40512c3953964aa5f04300cb7caacd30 DIST commons-logging-1.1-src.tar.gz 173556 RMD160 5764ee09a541365adee55aded1a9ba8908deea0d SHA1 cbaf5c65979e6733b07b27b01af083965a55fbad SHA256 56aa7d3f2ab3d50798ce618d6dd60ed6814287f7cc25802d403cd3083238c5fa +DIST commons-logging-1.1.1-src.tar.gz 190670 RMD160 ddf1c4efe66f13b53341ba78d0b4ba6991e5f16d SHA1 9f5197e32d8b94dfecbb13d4099063b7b2743c96 SHA256 b49a79fa78ebfae15dc46ae6f0144fee6b94ab608a25518c54609d3419909eb2 EBUILD commons-logging-1.1-r2.ebuild 2220 RMD160 1cd181ff5b85c7227da1e7fd614363548328a61e SHA1 9de963b51b794cbc48d5e7132d47a1a10f228345 SHA256 c4a014699991b20cbbbd3f036a71d27673e46944cf3e9aa948f6fdb733924853 EBUILD commons-logging-1.1-r3.ebuild 2246 RMD160 d6699923dc4be7bbe6bc2456d51b1d15b26ad76d SHA1 b4e46e970a54d884a7860cc135653a130b7213f3 SHA256 6889d8908e57b2e251007f4a5f1d423f57c00ce5818d2d6ae6ab02fceac1a6fa EBUILD commons-logging-1.1-r4.ebuild 2312 RMD160 d6ce968d9d064cfb09779c507e44f3585f5f4bda SHA1 983c27d79be14106faf4ddb4513206d433a96da0 SHA256 532f974f3ac3cb6a723960852c3d3fc3c07cd95b58786904cf2ae260a6aaf1bc EBUILD commons-logging-1.1-r5.ebuild 2293 RMD160 4a35efc9e573034de6930826b789ff93f75b8ab6 SHA1 e40320346f66b25cb7788db65e4e8291f726db99 SHA256 88f57d45719e33fd946edfcf165a27ee1f3f5968deb1e5ebb6c2d9b016629938 EBUILD commons-logging-1.1-r6.ebuild 2394 RMD160 92718e0a82f74671dbfaefaeb762bf37d5c9229e SHA1 05a4836026a2b9149758da993d449cc15a41ed17 SHA256 ea8a7bf0dee9cf071051b33c770946289ed7c88ef88be02d13aeee24826564f7 -MISC ChangeLog 8418 RMD160 f2b261bfa2646e3baa01af295e23bc9394cdcaf6 SHA1 b6beb726960735bb0ddf967971d4462917ec37b2 SHA256 d17f7574f6b356fb8d093f41f8b79de9a211fd24e1736743979ead60dd6ddc71 +EBUILD commons-logging-1.1.1.ebuild 2414 RMD160 093522af2027a6f51a2da83305ebaade63a7016c SHA1 92779a810cf4a9b1476d42846d678d7f52689a6a SHA256 fe611ffae071a05de934a540d29393b27ab51d484f6af8315fe4808952721eaa +MISC ChangeLog 8694 RMD160 406de9e1a21fe38885c41803ae8724aeb37a23b1 SHA1 ce878a512ea76a2358083a9fbb95ebce8ad13689 SHA256 06bb150dc62cfae92c1aef684fcd1f7add13b482121a23fd5bc84d3d55324486 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 diff --git a/dev-java/commons-logging/commons-logging-1.1.1.ebuild b/dev-java/commons-logging/commons-logging-1.1.1.ebuild new file mode 100644 index 000000000000..1d90ee8b72a3 --- /dev/null +++ b/dev-java/commons-logging/commons-logging-1.1.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-logging/commons-logging-1.1.1.ebuild,v 1.1 2008/02/06 15:25:30 fordfrog Exp $ + +EAPI="1" +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 java-osgi + +DESCRIPTION="The Jakarta-Commons Logging package is an ultra-thin bridge between different logging libraries." +HOMEPAGE="http://jakarta.apache.org/commons/logging/" +SRC_URI="mirror://apache/commons/logging/source/${P}-src.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="avalon-logkit log4j servletapi avalon-framework" + +COMMON_DEP=" + avalon-logkit? ( dev-java/avalon-logkit:1.2 ) + log4j? ( dev-java/log4j:0 ) + servletapi? ( java-virtuals/servlet-api:2.3 ) + avalon-framework? ( dev-java/avalon-framework:4.2 )" +# ATTENTION: Add this when log4j-1.3 is out +# =dev-java/log4j-1.3* +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.4 + ${COMMON_DEP}" + +S="${WORKDIR}/${P}-src/" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-gentoo.patch" + # patch to make the build.xml respect no servletapi + # TODO file upstream -nichoj + epatch "${FILESDIR}/${P}-servletapi.patch" + + # bug 200918 + java-ant_ignore-system-classes + + # bug #208098 + echo "jdk.1.4.present=true" > build.properties + use log4j && echo "log4j12.jar=$(java-pkg_getjars log4j)" >> build.properties + # ATTENTION: Add this when log4j-1.3 is out (check the SLOT) + #echo "log4j13.jar=$(java-pkg_getjars log4j-1.3)" > build.properties + use avalon-logkit && echo "logkit.jar=$(java-pkg_getjars avalon-logkit-1.2)" >> build.properties + use servletapi && echo "servletapi.jar=$(java-pkg_getjar --virtual servlet-api-2.3 servlet.jar)" >> build.properties + use avalon-framework && echo "avalon-framework.jar=$(java-pkg_getjars avalon-framework-4.2)" >> build.properties + java-pkg_filter-compiler jikes ecj-3.2 +} + +EANT_BUILD_TARGET="compile" + +src_install() { + java-osgi_newjar-fromfile "target/${P}-SNAPSHOT.jar" "${FILESDIR}/${P}-manifest" "Apache Commons Logging" + java-pkg_newjar target/${PN}-api-${PV}-SNAPSHOT.jar ${PN}-api.jar + java-pkg_newjar target/${PN}-adapters-${PV}-SNAPSHOT.jar ${PN}-adapters.jar + + dodoc RELEASE-NOTES.txt || die + dohtml PROPOSAL.html STATUS.html || die + use doc && java-pkg_dojavadoc target/docs/ + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/commons-logging/files/commons-logging-1.1.1-gentoo.patch b/dev-java/commons-logging/files/commons-logging-1.1.1-gentoo.patch new file mode 100644 index 000000000000..6d468735d0e7 --- /dev/null +++ b/dev-java/commons-logging/files/commons-logging-1.1.1-gentoo.patch @@ -0,0 +1,26 @@ +--- build.xml.orig 2008-02-06 16:09:59.000000000 +0100 ++++ build.xml 2008-02-06 16:10:48.000000000 +0100 +@@ -785,4 +785,23 @@ + </fail>
+ </target>
+
++ <target name="javadoc" description="o Generate javadoc" depends="">
++ <mkdir dir="${build.home}/docs">
++ </mkdir>
++ <tstamp>
++ <format pattern="2001-yyyy" property="year">
++ </format>
++ </tstamp>
++ <property name="copyright" value="Copyright &copy; The Apache Software Foundation. All Rights Reserved.">
++ </property>
++ <property name="title" value="Logging 1.1 API">
++ </property>
++ <javadoc use="true" private="true" destdir="${build.home}/docs" author="true" version="true" sourcepath="src/java" packagenames="org.apache.commons.logging.*">
++ <classpath>
++ <path refid="javadoc.classpath">
++ </path>
++ </classpath>
++ </javadoc>
++ </target>
++
+ </project>
diff --git a/dev-java/commons-logging/files/commons-logging-1.1.1-manifest b/dev-java/commons-logging/files/commons-logging-1.1.1-manifest new file mode 100644 index 000000000000..382da7a047e5 --- /dev/null +++ b/dev-java/commons-logging/files/commons-logging-1.1.1-manifest @@ -0,0 +1,8 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %bundleName +Bundle-Vendor: %vendorName +Bundle-Localization: plugin +Bundle-SymbolicName: org.apache.commons.logging +Bundle-Version: 1.1.1 +Export-Package: org.apache.commons.logging;version="1.1.1",org.apache.commons.logging.impl;version="1.1.1" diff --git a/dev-java/commons-logging/files/commons-logging-1.1.1-servletapi.patch b/dev-java/commons-logging/files/commons-logging-1.1.1-servletapi.patch new file mode 100644 index 000000000000..2c29fa544019 --- /dev/null +++ b/dev-java/commons-logging/files/commons-logging-1.1.1-servletapi.patch @@ -0,0 +1,46 @@ +--- build.xml.orig2 2008-02-06 16:13:45.000000000 +0100 ++++ build.xml 2008-02-06 16:16:48.000000000 +0100 +@@ -276,6 +276,11 @@ + classpathref="compile.classpath"
+ classname="org.apache.log.Logger"/>
+
++ <available property="servletapi.present"
++ classpathref="compile.classpath"
++ classname="javax.servlet.ServletContextEvent"/>
++
++
+ <available property="avalon-framework.present"
+ classpathref="compile.classpath"
+ classname="org.apache.avalon.framework.logger.Logger"/>
+@@ -312,6 +317,13 @@ + </echo>
+ </target>
+
++ <target name="servletapi-warning" unless='servletapi.present' depends="init,discovery">
++ <echo>
++ *** WARNING ***
++ ServletAPI not found: Cannot Build ServletContextCleaner
++ </echo>
++ </target>
++
+ <target name="avalon-framework-warning" unless='avalon-framework.present' depends='init,discovery'>
+ <echo>
+ *** WARNING ***
+@@ -334,7 +346,7 @@ + </target>
+
+ <target name='warning'
+- depends='log4j12-warning,log4j13-warning,logkit-warning,jdk1.4-warning,avalon-framework-warning,compile-1.4'/>
++ depends='log4j12-warning,log4j13-warning,logkit-warning,jdk1.4-warning,avalon-framework-warning,servletapi-warning,compile-1.4'/>
+
+ <target name="compile-only"
+ depends="prepare,discovery,warning,show-lib-presence,compile-non-log4j,compile-log4j12,compile-log4j13,build-jar"/>
+@@ -362,6 +374,8 @@ +
+ <exclude name="org/apache/commons/logging/impl/Log4J*.java"/>
+
++ <exclude name="org/apache/commons/logging/impl/ServletContextCleaner.java"
++ unless="servletapi.present"/>
+ <exclude name="org/apache/commons/logging/impl/Jdk13LumberjackLogger.java"
+ unless="jdk.1.4.present"/>
+ <exclude name="org/apache/commons/logging/impl/Jdk14Logger.java"
|