Portage is a package management system used by Gentoo Linux
# 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.4 2007/07/12 22:34:52 betelgeuse Exp $
12 Jul 2007; Petteri Räty
Javadoc in sun-jdk-1.6 starting with u2 works fine so removing the work
around from DEPEND.
12 May 2007; Alistair John Bush
commons-vfs-1.0.ebuild:
Added to ~amd64
06 May 2007; Vlastimil Babka
Fix sandbox issue.
*commons-vfs-1.0 (29 Mar 2007)
29 Mar 2007; Petteri Räty
+metadata.xml, +commons-vfs-1.0.ebuild:
Initial addition. Ebuild written by me. Fixes bug #163934.
AUX 1.0-noget.patch 734 RMD160 357326f89c396894885ac99f55b63a832e0ecd5b SHA1 11d3889addf4cf8803912572a2b00dd7729fa60f SHA256 296ee26d3b736a740376df12bbad8770b9f37614b079b61a74f3f65aefee4141
DIST commons-vfs-1.0-src.tar.gz 278588 RMD160 19bd0d1fe45b5cb626de057f8f15730039182e15 SHA1 f92a3d58d3bf93d06d47428f71d997a9db66c874 SHA256 796af4b966b06f9147b062efa4f590689177c80534edf9702009812548ebe957
EBUILD commons-vfs-1.0.ebuild 1580 RMD160 55c6e37744d96ed958442a05271513dbef38b87b SHA1 e482974d2b867ce2ff9f55ea549837996d4bebd7 SHA256 29629c2ac8f561355e8e8159324d36244edd347938873e68e9f55686a5722aee
MISC ChangeLog 802 RMD160 8222da6c6a7aa019367ff83c4c73af4e1985b63b SHA1 0f023f1ccd4e78d52f4abf9929f9c0b1ad0f9ef9 SHA256 cfb885ce52b8573cae9a7ffdef48841c7afeb2f781477dee8786cea92fbb6df5
MISC metadata.xml 444 RMD160 b1c93845e65562f23c6ae71b4bf144b79057ee97 SHA1 f8c1f33519e1b3673be7dafdf043a9a83d5d37a4 SHA256 da5523b5a718b6d3c5fba225bc96b32059c54e5974c7f2d620ef88e26ae2aa1e
# 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.4 2007/07/12 22:34:52 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="~amd64 ~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=">=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
"
EANT_EXTRA_ARGS="-Dlibdir=${T}"
# 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
}
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.