From 20b51c644f44f15d523e2e5872307329df8c81f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petteri=20R=C3=A4ty?= Date: Thu, 29 Mar 2007 15:53:56 +0000 Subject: [PATCH] Initial addition. Ebuild written by me. Fixes bug #163934. Package-Manager: portage-2.1.2.2 --- dev-java/commons-vfs/ChangeLog | 10 +++ dev-java/commons-vfs/Manifest | 30 +++++++++ dev-java/commons-vfs/commons-vfs-1.0.ebuild | 64 +++++++++++++++++++ dev-java/commons-vfs/files/1.0-noget.patch | 20 ++++++ .../commons-vfs/files/digest-commons-vfs-1.0 | 3 + dev-java/commons-vfs/metadata.xml | 11 ++++ 6 files changed, 138 insertions(+) create mode 100644 dev-java/commons-vfs/ChangeLog create mode 100644 dev-java/commons-vfs/Manifest create mode 100644 dev-java/commons-vfs/commons-vfs-1.0.ebuild create mode 100644 dev-java/commons-vfs/files/1.0-noget.patch create mode 100644 dev-java/commons-vfs/files/digest-commons-vfs-1.0 create mode 100644 dev-java/commons-vfs/metadata.xml 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 +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..deeef003bc17 --- /dev/null +++ b/dev-java/commons-vfs/Manifest @@ -0,0 +1,30 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +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 1606 RMD160 753d6b5c4f2ec892a05187b0b9b37a4c5ded35f0 SHA1 cafd7f398e894c2bd871e9d7a07f33a82ad01606 SHA256 a3507801d39eddc8dd15d227864dddcfe34260cd304346a5f04b98dca1238d68 +MD5 5de2f0fcaf25bfb30320f5d6bfd4c646 commons-vfs-1.0.ebuild 1606 +RMD160 753d6b5c4f2ec892a05187b0b9b37a4c5ded35f0 commons-vfs-1.0.ebuild 1606 +SHA256 a3507801d39eddc8dd15d227864dddcfe34260cd304346a5f04b98dca1238d68 commons-vfs-1.0.ebuild 1606 +MISC ChangeLog 430 RMD160 596dc7bd1673836e15b9d74fd090ea54e9621a1a SHA1 cf32dbe4949723c6b04e0678b92e89c5cd36638b SHA256 cc83abd16f2edd15f1e98ade916b75e3cd511e3e52252442333e5b383f0d61b4 +MD5 17d92155e85bc092a8354800d4d31d7f ChangeLog 430 +RMD160 596dc7bd1673836e15b9d74fd090ea54e9621a1a ChangeLog 430 +SHA256 cc83abd16f2edd15f1e98ade916b75e3cd511e3e52252442333e5b383f0d61b4 ChangeLog 430 +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 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFGC+EacxLzpIGCsLQRAs6RAJ9NGx648sY5N+iEk5CLtjYQtA5pYgCeOrk8 +RAQn7AT2SF3YlURiSYh6Atg= +=U0mD +-----END PGP SIGNATURE----- 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 @@ + + + +- ++ + + + +@@ -191,7 +191,7 @@ + + + +- ++ + + + 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 @@ + + + + java + + 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. + + -- 2.26.2