summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-03-29 15:53:56 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-03-29 15:53:56 +0000
commit52dcc9f75b732d488bef53b2cb85c4fe29c174d3 (patch)
treea0c78eab6c2aabc6969eb3ace1510af15f8750cb /dev-java
parentDropped Tomcat mask on <= 5.5.20 since those versions have been removed from ... (diff)
downloadgentoo-2-52dcc9f75b732d488bef53b2cb85c4fe29c174d3.tar.gz
gentoo-2-52dcc9f75b732d488bef53b2cb85c4fe29c174d3.tar.bz2
gentoo-2-52dcc9f75b732d488bef53b2cb85c4fe29c174d3.zip
Initial addition. Ebuild written by me. Fixes bug #163934.
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/commons-vfs/ChangeLog10
-rw-r--r--dev-java/commons-vfs/Manifest20
-rw-r--r--dev-java/commons-vfs/commons-vfs-1.0.ebuild64
-rw-r--r--dev-java/commons-vfs/files/1.0-noget.patch20
-rw-r--r--dev-java/commons-vfs/files/digest-commons-vfs-1.03
-rw-r--r--dev-java/commons-vfs/metadata.xml11
6 files changed, 128 insertions, 0 deletions
diff --git a/dev-java/commons-vfs/ChangeLog b/dev-java/commons-vfs/ChangeLog
new file mode 100644
index 000000000000..4c09f4186485
--- /dev/null
+++ b/dev-java/commons-vfs/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/commons-vfs
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-vfs/ChangeLog,v 1.1 2007/03/29 15:53:56 betelgeuse Exp $
+
+*commons-vfs-1.0 (29 Mar 2007)
+
+ 29 Mar 2007; Petteri Räty <betelgeuse@gentoo.org> +files/1.0-noget.patch,
+ +metadata.xml, +commons-vfs-1.0.ebuild:
+ Initial addition. Ebuild written by me. Fixes bug #163934.
+
diff --git a/dev-java/commons-vfs/Manifest b/dev-java/commons-vfs/Manifest
new file mode 100644
index 000000000000..072d88cd2119
--- /dev/null
+++ b/dev-java/commons-vfs/Manifest
@@ -0,0 +1,20 @@
+AUX 1.0-noget.patch 734 RMD160 357326f89c396894885ac99f55b63a832e0ecd5b SHA1 11d3889addf4cf8803912572a2b00dd7729fa60f SHA256 296ee26d3b736a740376df12bbad8770b9f37614b079b61a74f3f65aefee4141
+MD5 efa18d6f36283ef66d361b4b4c164630 files/1.0-noget.patch 734
+RMD160 357326f89c396894885ac99f55b63a832e0ecd5b files/1.0-noget.patch 734
+SHA256 296ee26d3b736a740376df12bbad8770b9f37614b079b61a74f3f65aefee4141 files/1.0-noget.patch 734
+DIST commons-vfs-1.0-src.tar.gz 278588 RMD160 19bd0d1fe45b5cb626de057f8f15730039182e15 SHA1 f92a3d58d3bf93d06d47428f71d997a9db66c874 SHA256 796af4b966b06f9147b062efa4f590689177c80534edf9702009812548ebe957
+EBUILD commons-vfs-1.0.ebuild 1497 RMD160 997f10ec58e622610d21d75f7c87079e04861e20 SHA1 4aa7d7e69aa04be4f07ce6489677ec5997ffd044 SHA256 86133294562175d8fee712485085bd8da2c73032cc8fd869212f0a712f9d0d28
+MD5 d0fd88c5539ac7992f2d4b15bd63c059 commons-vfs-1.0.ebuild 1497
+RMD160 997f10ec58e622610d21d75f7c87079e04861e20 commons-vfs-1.0.ebuild 1497
+SHA256 86133294562175d8fee712485085bd8da2c73032cc8fd869212f0a712f9d0d28 commons-vfs-1.0.ebuild 1497
+MISC ChangeLog 334 RMD160 f699fa5b53576821e7e24fc964a7f3268e5f8bc6 SHA1 ec3f06f7c1437f3eb3df3d9a9eefe545ddce8a11 SHA256 10db479a2297f021ad24123a7b0ff0ddca3f20b9d7e348dcbf393b7a1d032e13
+MD5 6dee1fa027cac77b451d9fc011eb4940 ChangeLog 334
+RMD160 f699fa5b53576821e7e24fc964a7f3268e5f8bc6 ChangeLog 334
+SHA256 10db479a2297f021ad24123a7b0ff0ddca3f20b9d7e348dcbf393b7a1d032e13 ChangeLog 334
+MISC metadata.xml 444 RMD160 b1c93845e65562f23c6ae71b4bf144b79057ee97 SHA1 f8c1f33519e1b3673be7dafdf043a9a83d5d37a4 SHA256 da5523b5a718b6d3c5fba225bc96b32059c54e5974c7f2d620ef88e26ae2aa1e
+MD5 dae445a1baea924c8f9dc865c0706942 metadata.xml 444
+RMD160 b1c93845e65562f23c6ae71b4bf144b79057ee97 metadata.xml 444
+SHA256 da5523b5a718b6d3c5fba225bc96b32059c54e5974c7f2d620ef88e26ae2aa1e metadata.xml 444
+MD5 56123748ac17fe0e3cf7b530de2370e2 files/digest-commons-vfs-1.0 259
+RMD160 6dea0fb12827e4b54e5df1805d9d92a71cde63c0 files/digest-commons-vfs-1.0 259
+SHA256 64943c44018e3394136071d2914a943c56e12507a150145d239ad79495f949d7 files/digest-commons-vfs-1.0 259
diff --git a/dev-java/commons-vfs/commons-vfs-1.0.ebuild b/dev-java/commons-vfs/commons-vfs-1.0.ebuild
new file mode 100644
index 000000000000..ca95999f6c51
--- /dev/null
+++ b/dev-java/commons-vfs/commons-vfs-1.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-vfs/commons-vfs-1.0.ebuild,v 1.1 2007/03/29 15:53:56 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="a single API for accessing various different file systems"
+HOMEPAGE="http://jakarta.apache.org/commons/vfs/"
+SRC_URI="mirror://apache/jakarta/${PN/-//}/source/${P}-src.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~x86"
+
+COMMON_DEP="
+ dev-java/commons-logging
+ dev-java/commons-net
+ =dev-java/commons-httpclient-3*
+ dev-java/jsch
+ dev-java/commons-collections
+ dev-java/ant-core"
+
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+DEPEND="
+ !doc? ( >=virtual/jdk-1.4 )
+ doc? ( || ( =virtual/jdk-1.5* =virtual/jdk-1.4* ) )
+ ${COMMON_DEP}"
+
+S=${WORKDIR}/${P}-src
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/1.0-noget.patch"
+ java-ant_rewrite-classpath
+ java-ant_ignore-system-classes
+}
+
+EANT_GENTOO_CLASSPATH="
+ commons-logging
+ commons-net
+ commons-httpclient-3
+ jsch
+ commons-collections
+ ant-core
+"
+
+# The build.xml is generated from maven and can't run the tests properly
+# Use maven test to execute these manually but that means downloading deps from
+# the internet. Also the tests need to login to some ftp servers and samba
+# shares so I doubt they work for everyone.
+#src_test() {
+# ANT_TASKS="ant-junit" eant test
+#}
+
+src_install() {
+ java-pkg_newjar target/*.jar
+ dodoc *.txt || die
+ use doc && java-pkg_dojavadoc ./dist/docs/api
+ use source && java-pkg_dosrc ./core/src/main/java
+}
diff --git a/dev-java/commons-vfs/files/1.0-noget.patch b/dev-java/commons-vfs/files/1.0-noget.patch
new file mode 100644
index 000000000000..d1a6b5620fd5
--- /dev/null
+++ b/dev-java/commons-vfs/files/1.0-noget.patch
@@ -0,0 +1,20 @@
+--- build.xml.orig 2007-02-11 00:21:37.000000000 +0200
++++ build.xml 2007-02-11 00:21:55.000000000 +0200
+@@ -86,7 +86,7 @@
+ </and>
+ </condition>
+ </target>
+- <target name="compile" description="o Compile the code" depends="get-deps">
++ <target name="compile" description="o Compile the code">
+ <mkdir dir="${classesdir}">
+ </mkdir>
+ <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
+@@ -191,7 +191,7 @@
+ </classpath>
+ </javac>
+ </target>
+- <target name="javadoc" description="o Generate javadoc" depends="get-deps">
++ <target name="javadoc" description="o Generate javadoc">
+ <mkdir dir="${javadocdir}">
+ </mkdir>
+ <tstamp>
diff --git a/dev-java/commons-vfs/files/digest-commons-vfs-1.0 b/dev-java/commons-vfs/files/digest-commons-vfs-1.0
new file mode 100644
index 000000000000..a9eaa6fc7621
--- /dev/null
+++ b/dev-java/commons-vfs/files/digest-commons-vfs-1.0
@@ -0,0 +1,3 @@
+MD5 f0b83b33ed4dd891231a47d474caa6e1 commons-vfs-1.0-src.tar.gz 278588
+RMD160 19bd0d1fe45b5cb626de057f8f15730039182e15 commons-vfs-1.0-src.tar.gz 278588
+SHA256 796af4b966b06f9147b062efa4f590689177c80534edf9702009812548ebe957 commons-vfs-1.0-src.tar.gz 278588
diff --git a/dev-java/commons-vfs/metadata.xml b/dev-java/commons-vfs/metadata.xml
new file mode 100644
index 000000000000..6f34aa065948
--- /dev/null
+++ b/dev-java/commons-vfs/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <longdescription lang="en">
+ Commons VFS provides a single API for accessing various different file
+ systems. It presents a uniform view of the files from various different
+ sources, such as the files on local disk, on an HTTP server, or inside
+ a Zip archive.
+ </longdescription>
+</pkgmetadata>