summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2009-02-15 20:12:12 +0000
committerVlastimil Babka <caster@gentoo.org>2009-02-15 20:12:12 +0000
commita21e3402698525dcbdcfd71e20e14a026f7f6a18 (patch)
tree238e4c1b77a598f93bff83e1bc7bb76479770faf /dev-java/commons-digester
parentApply patch by Armando Di Cianno to add support for OSX 10.5+ in egetent, bug... (diff)
downloadhistorical-a21e3402698525dcbdcfd71e20e14a026f7f6a18.tar.gz
historical-a21e3402698525dcbdcfd71e20e14a026f7f6a18.tar.bz2
historical-a21e3402698525dcbdcfd71e20e14a026f7f6a18.zip
Version bump.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'dev-java/commons-digester')
-rw-r--r--dev-java/commons-digester/ChangeLog11
-rw-r--r--dev-java/commons-digester/Manifest16
-rw-r--r--dev-java/commons-digester/commons-digester-1.8.1.ebuild65
-rw-r--r--dev-java/commons-digester/files/1.7-build.xml-jar-target.patch33
-rw-r--r--dev-java/commons-digester/files/1.8.1-build.xml-jar-target.patch27
5 files changed, 105 insertions, 47 deletions
diff --git a/dev-java/commons-digester/ChangeLog b/dev-java/commons-digester/ChangeLog
index 0ab3d7b1c821..01e8a4ded3f7 100644
--- a/dev-java/commons-digester/ChangeLog
+++ b/dev-java/commons-digester/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/commons-digester
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-digester/ChangeLog,v 1.52 2008/04/05 00:43:36 betelgeuse Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-digester/ChangeLog,v 1.53 2009/02/15 20:12:12 caster Exp $
+
+*commons-digester-1.8.1 (15 Feb 2009)
+
+ 15 Feb 2009; Vlastimil Babka <caster@gentoo.org>
+ -files/1.7-build.xml-jar-target.patch,
+ +files/1.8.1-build.xml-jar-target.patch, +commons-digester-1.8.1.ebuild:
+ Version bump.
05 Apr 2008; Petteri Räty <betelgeuse@gentoo.org>
-commons-digester-1.7-r2.ebuild:
diff --git a/dev-java/commons-digester/Manifest b/dev-java/commons-digester/Manifest
index 40d3c84023fb..1d34a1fe8b8a 100644
--- a/dev-java/commons-digester/Manifest
+++ b/dev-java/commons-digester/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX 1.7-build.xml-jar-target.patch 1148 RMD160 9387b53ab675cc223db2824b0dadd994994ce16e SHA1 59cbb1207313b24b0cbcf0f81e973c1c6d34af09 SHA256 c1a0724bd448bb2d98ae58d72d3b842c8313a9933df13dac56c9ea6e835bb69d
AUX 1.8-build.xml-jar-target.patch 1824 RMD160 4551dae52a428c91079029431e2bc4fbd51dfe82 SHA1 dd175de66aa0967dea45e57a8ada643dcb6dd2e3 SHA256 9faa97825bb85c6d0c0e31e08a278e39e808b9a6ac98c47e6aa0af6992ccbf36
+AUX 1.8.1-build.xml-jar-target.patch 1099 RMD160 e5ebb10afa07edb07a9c222d57c30378e328ef8a SHA1 38627b8cd440aaba0c678350ed35e9b882233505 SHA256 9f9fbbbd23f17bc89becc5e5ebc19c9d3a3dbe5c412f83b10ceb7c4f6f329bc0
DIST commons-digester-1.8-src.tar.gz 279771 RMD160 e1b90e30a4783061150f2c4c34a78ec515fde920 SHA1 5f7615040ae8e687a0a4e890cb542470c15c60fe SHA256 d9a965c82828a881d2ab6256fba7076f62815a9545b3af9d553dc5271577182b
+DIST commons-digester-1.8.1-src.tar.gz 303266 RMD160 a9082096d5d5aa94236ab7ac13a5dd84f5da55ac SHA1 b836b71face1ac2bf3d0d82aa2dc5a01b8e4685e SHA256 9ecb98ffeb2f910d5554571875a8ed36b4d09f5cdc7ccece8e275d85ba4bf6f1
+EBUILD commons-digester-1.8.1.ebuild 1886 RMD160 a77023d2e8c73b9ef49acc968ef04a86e8dc2fba SHA1 3d7070b8c248689c3cb39a2f34df9ca4e6225976 SHA256 b3008f056809234a66cf0a8f863b5b2221f4623d0a208422258c8454b0afb690
EBUILD commons-digester-1.8.ebuild 1968 RMD160 18fc950202b5c4184bd481e2fbf50f3606a04e0c SHA1 d01a16f4a1df91cea48eb17291fdac7d1758f7c8 SHA256 21eb260bdc791832491a344f27015c19835d5ea7e403629fdfd3a4c7ef6812ca
-MISC ChangeLog 7235 RMD160 6eaded9854d85c7334012571e1ddabbe873abbc7 SHA1 89be5e225fdc1cc78de77d9e4b713ca3609fb735 SHA256 ea26b821077b16f141937cb70fc2b2d44010b89e93061ac4068de901f841c66b
+MISC ChangeLog 7454 RMD160 be88617eb7a170bea33c2c1708175516886afe14 SHA1 b436caaf09e3a7b8aa41ad0dcd6973818fdabfe4 SHA256 e06e11658c8473f785324f7d9178b6b3efd071dd7c770809175d060b8eb30a13
MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
-
-iD8DBQFH9ss6cxLzpIGCsLQRApXfAJ4/dSSdqv/GXIvQCVXNtJhnjLLMeQCfUJ5m
-3T5mZBu5YGE2Psu9QwibGiE=
-=QEph
------END PGP SIGNATURE-----
diff --git a/dev-java/commons-digester/commons-digester-1.8.1.ebuild b/dev-java/commons-digester/commons-digester-1.8.1.ebuild
new file mode 100644
index 000000000000..53833b7c41b7
--- /dev/null
+++ b/dev-java/commons-digester/commons-digester-1.8.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-digester/commons-digester-1.8.1.ebuild,v 1.1 2009/02/15 20:12:12 caster Exp $
+
+EAPI=1
+JAVA_PKG_IUSE="doc examples source test"
+
+inherit eutils java-pkg-2 java-ant-2
+
+MY_P="${P}-src"
+DESCRIPTION="Reads XML configuration files to provide initialization of various Java objects within the system."
+HOMEPAGE="http://commons.apache.org/digester/"
+SRC_URI="mirror://apache/commons/digester/source/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4
+ dev-java/commons-beanutils:1.6
+ >=dev-java/commons-collections-2.1:0
+ >=dev-java/commons-logging-1.0.2:0"
+DEPEND=">=virtual/jdk-1.4
+ test? (
+ dev-java/junit:0
+ dev-java/ant-junit
+ )
+ ${RDEPEND}"
+
+S="${WORKDIR}/${P}-src"
+
+# don't rewrite build.xml in examples
+JAVA_PKG_BSFIX_ALL="no"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PV}-build.xml-jar-target.patch"
+
+ # this build.xml honours build.properties so we use it for common depends
+ # needed for both compile and test, so getjar is called only once
+ echo "commons-beanutils.jar=$(java-pkg_getjar commons-beanutils-1.6 \
+ commons-beanutils.jar)" > build.properties
+ echo "commons-collections.jar=$(java-pkg_getjar commons-collections \
+ commons-collections.jar)" >> build.properties
+ echo "commons-logging.jar=$(java-pkg_getjar commons-logging \
+ commons-logging.jar)" >> build.properties
+}
+
+src_test() {
+ ANT_TASKS="ant-junit" eant \
+ -Djunit.jar="$(java-pkg_getjar --build-only junit junit.jar)" test
+}
+
+src_install() {
+ java-pkg_dojar "dist/${PN}.jar"
+
+ dodoc RELEASE-NOTES.txt || die
+
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc src/java/org
+ use examples && java-pkg_doexamples src/examples
+}
diff --git a/dev-java/commons-digester/files/1.7-build.xml-jar-target.patch b/dev-java/commons-digester/files/1.7-build.xml-jar-target.patch
deleted file mode 100644
index 33f725e09dea..000000000000
--- a/dev-java/commons-digester/files/1.7-build.xml-jar-target.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Index: build.xml
-===================================================================
---- build.xml (revision 366176)
-+++ build.xml (working copy)
-@@ -248,20 +248,22 @@
- </javadoc>
- </target>
-
-+ <target name="jar" depends="compile"
-+ description="Create commons-digester.jar">
-+ <mkdir dir="${dist.home}"/>
-+ <jar jarfile="${dist.home}/commons-${component.name}.jar"
-+ basedir="${build.home}/classes"
-+ manifest="${build.home}/conf/MANIFEST.MF"/>
-+ </target>
-
-- <target name="dist" depends="compile,javadoc"
-+ <target name="dist" depends="jar,javadoc"
- description="Create binary distribution">
-- <mkdir dir="${dist.home}"/>
- <copy file="LICENSE.txt"
- todir="${dist.home}"/>
-- <mkdir dir="${build.home}/classes/META-INF"/>
- <copy file="RELEASE-NOTES.txt"
- todir="${dist.home}"/>
- <copy file="NOTICE.txt"
- todir="${dist.home}"/>
-- <jar jarfile="${dist.home}/commons-${component.name}.jar"
-- basedir="${build.home}/classes"
-- manifest="${build.home}/conf/MANIFEST.MF"/>
- </target>
-
-
diff --git a/dev-java/commons-digester/files/1.8.1-build.xml-jar-target.patch b/dev-java/commons-digester/files/1.8.1-build.xml-jar-target.patch
new file mode 100644
index 000000000000..ec523a011458
--- /dev/null
+++ b/dev-java/commons-digester/files/1.8.1-build.xml-jar-target.patch
@@ -0,0 +1,27 @@
+--- build.xml.orig 2009-02-15 21:06:33.000000000 +0100
++++ build.xml 2009-02-15 21:07:25.000000000 +0100
+@@ -117,6 +117,7 @@
+ <pathelement location="${jaxp.jaxp.jar}"/>
+ <pathelement location="${jaxp.parser.jar}"/>
+ <pathelement location="${commons-beanutils.jar}"/>
++ <pathelement location="${commons-collections.jar}" />
+ <pathelement location="${commons-logging.jar}"/>
+ <pathelement location="${junit.jar}"/>
+ </path>
+@@ -140,6 +141,7 @@
+ <pathelement location="${junit.jar}"/>
+ <pathelement location="${jaxp.jaxp.jar}"/>
+ <pathelement location="${jaxp.parser.jar}"/>
++ <pathelement location="${commons-collections.jar}" />
+ <pathelement location="${commons-beanutils.jar}"/>
+ <pathelement location="${commons-logging.jar}"/>
+ </path>
+@@ -256,7 +258,7 @@
+ </javadoc>
+ </target>
+
+- <target name="jar" depends="compile, test"
++ <target name="jar" depends="compile"
+ description="Create commons-digester.jar">
+ <mkdir dir="${dist.home}"/>
+ <jar jarfile="${dist.home}/commons-${component.name}.jar"