summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-08-26 14:52:59 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-08-26 14:52:59 +0000
commit488491904e205498f928491356c30b4f67066c47 (patch)
treeab4f9d53d9adbf0db2bc9cb2befd5a040b3625fe /dev-java/commons-configuration
parentVersion bump. (diff)
downloadgentoo-2-488491904e205498f928491356c30b4f67066c47.tar.gz
gentoo-2-488491904e205498f928491356c30b4f67066c47.tar.bz2
gentoo-2-488491904e205498f928491356c30b4f67066c47.zip
New ebuild. Work done by fordfrog, caster and me. Fixes bug #161436.
(Portage version: 2.1.3.7)
Diffstat (limited to 'dev-java/commons-configuration')
-rw-r--r--dev-java/commons-configuration/ChangeLog11
-rw-r--r--dev-java/commons-configuration/Manifest20
-rw-r--r--dev-java/commons-configuration/commons-configuration-1.4.ebuild65
-rw-r--r--dev-java/commons-configuration/files/commons-configuration-1.4-gentoo.patch26
-rw-r--r--dev-java/commons-configuration/files/digest-commons-configuration-1.43
-rw-r--r--dev-java/commons-configuration/metadata.xml10
6 files changed, 135 insertions, 0 deletions
diff --git a/dev-java/commons-configuration/ChangeLog b/dev-java/commons-configuration/ChangeLog
new file mode 100644
index 000000000000..055b4f999492
--- /dev/null
+++ b/dev-java/commons-configuration/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/commons-configuration
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-configuration/ChangeLog,v 1.1 2007/08/26 14:52:59 betelgeuse Exp $
+
+*commons-configuration-1.4 (26 Aug 2007)
+
+ 26 Aug 2007; Petteri Räty <betelgeuse@gentoo.org>
+ +files/commons-configuration-1.4-gentoo.patch, +metadata.xml,
+ +commons-configuration-1.4.ebuild:
+ New ebuild. Work done by fordfrog, caster and me. Fixes bug #161436.
+
diff --git a/dev-java/commons-configuration/Manifest b/dev-java/commons-configuration/Manifest
new file mode 100644
index 000000000000..0cc311890813
--- /dev/null
+++ b/dev-java/commons-configuration/Manifest
@@ -0,0 +1,20 @@
+AUX commons-configuration-1.4-gentoo.patch 1177 RMD160 e56446ecc4ee3659fe296edd890dc6ba2a30dd01 SHA1 000eddff3424b1cfde322dbb5d109d5747c34be8 SHA256 05a7a92e4f64f54b444b8ef8c134c6f6afedc543214c093e779976dd76910f94
+MD5 ad748b3c20677ea23e5efd5ced9c5c87 files/commons-configuration-1.4-gentoo.patch 1177
+RMD160 e56446ecc4ee3659fe296edd890dc6ba2a30dd01 files/commons-configuration-1.4-gentoo.patch 1177
+SHA256 05a7a92e4f64f54b444b8ef8c134c6f6afedc543214c093e779976dd76910f94 files/commons-configuration-1.4-gentoo.patch 1177
+DIST commons-configuration-1.4-src.tar.gz 450503 RMD160 e39cb4baee6d2b7ba2a5e196fcd9bb243d9900a5 SHA1 b0e4685b65b9ae2add44386730932e9a2649070d SHA256 55a058fd5867c1286be0b415ef4d3ff6f13bf2cf13902fbd7eccad1d38d0a974
+EBUILD commons-configuration-1.4.ebuild 1683 RMD160 a8a732762bee98c14158febd2dfc28710477b095 SHA1 23109a0f2434dbe493a53084cbd3d6443b83d00c SHA256 ed407e6d7bdf899a660cdf2b1b57a3112c49efd7aec2ec0f73a99e115e4be547
+MD5 1f5ba9e11ad7c4cad296630461cba6ad commons-configuration-1.4.ebuild 1683
+RMD160 a8a732762bee98c14158febd2dfc28710477b095 commons-configuration-1.4.ebuild 1683
+SHA256 ed407e6d7bdf899a660cdf2b1b57a3112c49efd7aec2ec0f73a99e115e4be547 commons-configuration-1.4.ebuild 1683
+MISC ChangeLog 399 RMD160 fd825f738b64b4ee2d71b7d7987e9b069a68f65b SHA1 1781a67f8cd8e139a578f35692775e0dbe1a7462 SHA256 f0e19e1bfcdcf0b9b2e2045197d17ada06ef4cf5e01ad96ada2f28d301e8afdd
+MD5 deed98634f57f0af766b644bdb9eeb0a ChangeLog 399
+RMD160 fd825f738b64b4ee2d71b7d7987e9b069a68f65b ChangeLog 399
+SHA256 f0e19e1bfcdcf0b9b2e2045197d17ada06ef4cf5e01ad96ada2f28d301e8afdd ChangeLog 399
+MISC metadata.xml 351 RMD160 3d447eb1cd98df48ca70974365493fa67c09f59a SHA1 e050f7dd22e6dd77f8a1142ba2980481ab234691 SHA256 17a87d190d83e2407c6b52330a051391f3f75946cb1abbf413f6757ac19a2482
+MD5 36b54e61861fc8473c14eedb67bc0796 metadata.xml 351
+RMD160 3d447eb1cd98df48ca70974365493fa67c09f59a metadata.xml 351
+SHA256 17a87d190d83e2407c6b52330a051391f3f75946cb1abbf413f6757ac19a2482 metadata.xml 351
+MD5 728c3572d410b1ed6688aad5f39ae9ab files/digest-commons-configuration-1.4 289
+RMD160 51625dd46c403ec76765c6e8d8b89f5d4524e39e files/digest-commons-configuration-1.4 289
+SHA256 62c5f3b2d565f5bdd9d9ac3f3c59e3a668f947faa3e9c184621d6a788c0baac5 files/digest-commons-configuration-1.4 289
diff --git a/dev-java/commons-configuration/commons-configuration-1.4.ebuild b/dev-java/commons-configuration/commons-configuration-1.4.ebuild
new file mode 100644
index 000000000000..4f4252214cf7
--- /dev/null
+++ b/dev-java/commons-configuration/commons-configuration-1.4.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-configuration/commons-configuration-1.4.ebuild,v 1.1 2007/08/26 14:52:59 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Java library for reading configuration data from a variety of sources."
+HOMEPAGE="http://jakarta.apache.org/commons/configuration/"
+SRC_URI="mirror://apache/jakarta/commons/configuration/source/${P}-src.tar.gz"
+
+COMMON_DEPENDS="
+ >=dev-java/commons-beanutils-1.7.0
+ >=dev-java/commons-codec-1.3
+ >=dev-java/commons-collections-3.1
+ >=dev-java/commons-digester-1.6
+ >=dev-java/commons-jxpath-1.2
+ >=dev-java/commons-lang-2.3
+ >=dev-java/commons-logging-1.0.4
+ >=dev-java/commons-httpclient-3.0
+ =dev-java/servletapi-2.4*"
+
+DEPEND=">=virtual/jdk-1.4
+ ${COMMON_DEPENDS}"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEPENDS}"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+KEYWORDS="~x86 ~amd64"
+
+S="${WORKDIR}/${P}-src"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Tweak build classpath and don't automatically run tests
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+
+ java-ant_rewrite-classpath
+}
+
+EANT_GENTOO_CLASSPATH="
+ commons-beanutils-1.7
+ commons-codec
+ commons-collections
+ commons-digester
+ commons-jxpath
+ commons-lang-2.1
+ commons-logging
+ commons-httpclient-3
+ servletapi-2.4"
+
+# Would need mockobjects with j2ee support which we don't have
+# Check overlay for ebuild with test support
+RESTRICT="test"
+
+src_install() {
+ java-pkg_newjar target/${P}.jar ${PN}.jar
+ dodoc RELEASE-NOTES.txt || die
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc src/java/*
+}
diff --git a/dev-java/commons-configuration/files/commons-configuration-1.4-gentoo.patch b/dev-java/commons-configuration/files/commons-configuration-1.4-gentoo.patch
new file mode 100644
index 000000000000..19b68cd697bb
--- /dev/null
+++ b/dev-java/commons-configuration/files/commons-configuration-1.4-gentoo.patch
@@ -0,0 +1,26 @@
+--- build.xml.orig 2006-10-13 00:00:17.000000000 +0200
++++ build.xml 2006-10-13 00:02:37.000000000 +0200
+@@ -97,13 +97,13 @@
+ </copy>
+ </target>
+
+- <target name="jar" description="o Create the jar" depends="compile,test">
++ <target name="jar" description="o Create the jar" depends="compile">
+ <mkdir dir="${classesdir}/META-INF"/>
+ <copy file="LICENSE.txt" todir="${metadir}"/>
+ <copy file="NOTICE.txt" todir="${metadir}"/>
+- <copy file="${conf.home}/manifest.mf" todir="${defaulttargetdir}" filtering="on"/>
++ <copy file="${conf.home}/MANIFEST.MF" todir="${defaulttargetdir}" filtering="on"/>
+ <jar jarfile="${defaulttargetdir}/${final.name}.jar" basedir="${classesdir}"
+- manifest="${defaulttargetdir}/manifest.mf" excludes="**/package.html">
++ manifest="${defaulttargetdir}/MANIFEST.MF" excludes="**/package.html">
+ </jar>
+ </target>
+ <target name="clean" description="o Clean up the generated directories">
+@@ -282,4 +282,4 @@
+ <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
+ </unjar>
+ </target>
+-</project>
+\ Chybí znak konce řádku na konci souboru
++</project>
diff --git a/dev-java/commons-configuration/files/digest-commons-configuration-1.4 b/dev-java/commons-configuration/files/digest-commons-configuration-1.4
new file mode 100644
index 000000000000..d68a8d4a60a4
--- /dev/null
+++ b/dev-java/commons-configuration/files/digest-commons-configuration-1.4
@@ -0,0 +1,3 @@
+MD5 02a2d151958d5d3006da88353736f6c4 commons-configuration-1.4-src.tar.gz 450503
+RMD160 e39cb4baee6d2b7ba2a5e196fcd9bb243d9900a5 commons-configuration-1.4-src.tar.gz 450503
+SHA256 55a058fd5867c1286be0b415ef4d3ff6f13bf2cf13902fbd7eccad1d38d0a974 commons-configuration-1.4-src.tar.gz 450503
diff --git a/dev-java/commons-configuration/metadata.xml b/dev-java/commons-configuration/metadata.xml
new file mode 100644
index 000000000000..8f76559d3618
--- /dev/null
+++ b/dev-java/commons-configuration/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <longdescription>
+ Commons Configuration provides a generic configuration interface
+ which enables an application to read configuration data from
+ a variety of sources.
+ </longdescription>
+</pkgmetadata>