debian/0000775000000000000000000000000011771107522007173 5ustar debian/rules0000775000000000000000000000142311770444303010253 0ustar #!/usr/bin/make -f # debian/rules for commons-vfs PACKAGE := $(shell dpkg-parsechangelog | grep '^Source:' | cut -f 2 -d ' ') VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ' | cut -d: -f2- | sed 's/-[^-]*$$//') export JAVA_HOME=/usr/lib/jvm/default-java export CLASSPATH=$(shell for jar in `cat debian/build-classpath`; do if [ -f "$$jar" ]; then echo -n "$${jar}:"; fi; done) export ANT_ARGS=-Dbasedir=$(realpath .)/core -Dpackage=$(PACKAGE) \ -Dversion=$(VERSION) -Dbin.package=lib$(PACKAGE)-java \ -Dpom.file=$(realpath .)/core/pom.xml -Ddebian.dir=$(realpath .)/debian \ -propertyfile debian/build.properties \ -f debian/build.xml %: dh $@ --buildsystem=ant --with maven_repo_helper get-orig-source: uscan --force-download --rename debian/README.source0000664000000000000000000000041611770444303011353 0ustar Patch System ============ This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. See /usr/share/doc/quilt/README.source for a detailed explanation. debian/maven.rules0000664000000000000000000000046311770444303011360 0ustar junit junit jar s/4\..*/4.x/ s/ant/org.apache.ant/ * * s/.*/debian/ commons-collections commons-collections jar s/3\..*/3.x/ s/jdom/org.jdom/ * * s/.*/debian/ commons-httpclient commons-httpclient jar s/.*/3.x/ commons-net commons-net jar s/2\..*/2.x/ org.apache.commons commons-parent pom s/.*/debian/ * * debian/control0000664000000000000000000000475211771107506010610 0ustar Source: commons-vfs Section: java Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Java Maintainers Uploaders: Damien Raude-Morvan Build-Depends-Indep: ant-doc, junit4, libcommons-collections3-java, libcommons-collections3-java-doc, libcommons-compress-java, libcommons-httpclient-java, libcommons-httpclient-java-doc, libcommons-logging-java, libcommons-logging-java-doc, libcommons-net2-java, libcommons-net2-java-doc, libcommons-parent-java, libjdom1-java-doc, libjsch-java Build-Depends: debhelper (>= 7.0.50~), default-jdk, maven-ant-helper, maven-repo-helper (>= 1.5~) Standards-Version: 3.9.3 Homepage: http://commons.apache.org/vfs/ Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/commons-vfs Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/commons-vfs Package: libcommons-vfs-java Architecture: all Depends: libcommons-logging-java, ${misc:Depends} Recommends: ant, libcommons-collections3-java, libcommons-httpclient-java, libcommons-net2-java, libjsch-java Suggests: libcommons-vfs-java-doc Description: Java API for accessing various filesystems 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. . This is a part of the Apache Commons Project. Package: libcommons-vfs-java-doc Architecture: all Section: doc Depends: libcommons-collections3-java-doc, libcommons-httpclient-java-doc, libcommons-logging-java-doc, libcommons-net2-java-doc, ${misc:Depends} Recommends: default-jdk-doc Suggests: libcommons-vfs-java Description: Java API for accessing various filesystems - documentation 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. . This is a part of the Apache Commons Project. . This package provides the API documentation for Commons VFS. debian/copyright0000664000000000000000000000163311770444303011131 0ustar Format: http://dep.debian.net/deps/dep5/ Upstream-Name: Apache Commons VFS Upstream-Contact: http://commons.apache.org/vfs/ Source: http://www.apache.org/dist/commons/vfs/ Comment: Upstream Authors: Adam Murdoch James Strachan Mario Ivankovits Rahul Akolkar Rami Ojares Anthony Goubard Christopher Ottley Files: * Copyright: Copyright 2002-2011 The Apache Software Foundation License: Apache-2.0 Files: debian/* Copyright: Copyright (C) 2008-2011, Damien Raude-Morvan License: Apache-2.0 License: Apache-2.0 On Debian systems the full text of the Apache License can be found in `/usr/share/common-licenses/Apache-2.0'. debian/libcommons-vfs-java-doc.doc-base0000664000000000000000000000050011770444303015205 0ustar Document: libcommons-vfs-java-doc Title: API Javadoc for libcommons-vfs Author: libcommons-vfs developers Abstract: This is the API Javadoc provided by the libcommons-vfs library. Section: Programming Format: HTML Index: /usr/share/doc/libcommons-vfs-java/api/index.html Files: /usr/share/doc/libcommons-vfs-java/api/* debian/build-classpath0000664000000000000000000000047611647275562012220 0ustar /usr/share/java/ant.jar /usr/share/java/ant-junit4.jar /usr/share/java/junit4.jar /usr/share/java/commons-logging.jar /usr/share/java/commons-net2.jar /usr/share/java/commons-httpclient.jar /usr/share/java/commons-compress.jar /usr/share/java/jsch.jar /usr/share/java/commons-collections3.jar /usr/share/java/jdom.jar debian/maven.ignoreRules0000664000000000000000000000176511770444303012532 0ustar # Maven ignore rules - ignore some Maven dependencies and plugins # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., this dependency is then removed # from the POM # junit junit jar s/3\\..*/3.x/ org.codehaus.mojo findbugs-maven-plugin * * * * org.apache.maven.plugins maven-checkstyle-plugin * * * * org.apache.maven.plugins maven-changes-plugin * * * * org.apache.commons commons-build-plugin * * * * org.apache.jackrabbit jackrabbit-webdav * * * *debian/build.properties0000664000000000000000000000051511647272130012411 0ustar build.javaVersion=1.5 # Generate javadoc and link to required API packages javadoc.generate=true dependency=libcommons-logging-java dependency2=libcommons-net2-java dependency3=libcommons-collections3-java dependency4=libcommons-httpclient-java maven.test.exclude=**/RunTest.java # Line up with maven defaults build.directory=target debian/maven.properties0000664000000000000000000000016311770444303012417 0ustar maven.test.skip=true maven.compiler.source=1.5 maven.compiler.target=1.5 project.build.sourceEncoding=ISO-8859-1 debian/docs0000664000000000000000000000005011770444303010041 0ustar RELEASE-NOTES.txt README.txt NOTICE.txt debian/TODO0000664000000000000000000000021111770444303007655 0ustar * Launch unit tests (Junit) during build (using DEB_ANT_CHECK_TARGET) Complicated, see : http://commons.apache.org/vfs/testserver.html debian/watch0000664000000000000000000000014511770444303010224 0ustar version=3 http://www.apache.org/dist/commons/vfs/source/commons-vfs-(.*)-src\.tar\.gz debian uupdate debian/libcommons-vfs-java-doc.examples0000664000000000000000000000001311770444303015345 0ustar examples/* debian/changelog0000664000000000000000000001645011771107522011053 0ustar commons-vfs (2.0-3ubuntu1) quantal; urgency=low * Merge from Debian unstable. Remaining changes: - Use ant build system: + d/control: Drop B-D's on maven-debian-helper + cdbs and add B-D on maven-ant-helper, maven-repo-helper. + d/rules, d/build-classpath, d/build.xml, d/build.properties: Configure build to use customized version of maven-ant-helper build.xml + debhelper. + d/libcommons-vfs-java.poms: Update to pickup build artifacts and remove surplus pom files. + d/libcommons-vfs-java-doc.install: Pickup documentation from core component instead of aggregated javadoc. + d/control: Manually set dependencies for binary packages. - Enabled test suite: + d/patches/disable_webdav_provider.diff: Update patch to fix test that checks for webdav support. + d/build.xml: Ignore webdav when running tests. -- James Page Fri, 22 Jun 2012 16:27:58 +0100 commons-vfs (2.0-3) unstable; urgency=low * Team upload. * Explicitly state the encoding used to fix FTBFS with Java7. -- Niels Thykier Wed, 20 Jun 2012 17:57:31 +0200 commons-vfs (2.0-2ubuntu1) quantal; urgency=low * Merge from Debian testing. Remaining changes: - Use ant build system to support MIR (LP: #876413): + d/control: Drop B-D's on maven-debian-helper + cdbs and add B-D on maven-ant-helper. + d/rules, d/build-classpath, d/build.xml, d/build.properties: Configure build to use customized version of maven-ant-helper build.xml + debhelper. + d/libcommons-vfs-java.poms: Update to pickup build artifacts and remove surplus pom files. + d/libcommons-vfs-java-doc.install: Pickup documentation from core component instead of aggregated javadoc. + d/control: Manually set dependencies for binary packages. - Enabled test suite: + d/patches/disable_webdav_provider.diff: Update patch to fix test that checks for webdav support. + d/build.xml: Ignore webdav when running tests. -- James Page Mon, 28 May 2012 17:02:47 +0100 commons-vfs (2.0-2) unstable; urgency=low * Update Standard-Version: 3.9.3. * Install JAR into /usr/share/java (Closes: #667011). * Drop --no-parent option and add Build-Depends on libcommons-parent- java. -- Damien Raude-Morvan Sun, 08 Apr 2012 18:19:31 +0200 commons-vfs (2.0-1ubuntu2) quantal; urgency=low * No-change rebuild with openjdk-7 as default-jdk. -- James Page Fri, 18 May 2012 11:35:59 +0100 commons-vfs (2.0-1ubuntu1) precise; urgency=low * Use ant build system to support MIR (LP: #876413): - d/control: Drop B-D's on maven-debian-helper + cdbs and add B-D on maven-ant-helper. - d/rules, d/build-classpath, d/build.xml, d/build.properties: Configure build to use customized version of maven-ant-helper build.xml + debhelper. - d/libcommons-vfs-java.poms: Update to pickup build artifacts and remove surplus pom files. - d/libcommons-vfs-java-doc.install: Pickup documentation from core component instead of aggregated javadoc. - d/control: Manually set dependencies for binary packages. * Enabled test suite: - d/patches/disable_webdav_provider.diff: Update patch to fix test that checks for webdav support. - d/build.xml: Ignore webdav when running tests. -- James Page Tue, 18 Oct 2011 13:53:54 +0100 commons-vfs (2.0-1) unstable; urgency=low * New upstream release: - Drop all previous patches. - d/control: Build-Depends on libcommons-net2-java, junit4, libcommons-compress-java. * Bump Standards-Version 3.9.2: no changes needed. * d/copyright: Use DEP-5 format. * Switch to Maven build system: - d/patches/skip_examples.diff: Don't build examples module. - d/patches/disable_webdav_provider.diff: Disable webdav provider. - Drop B-D on ant, but add B-D on maven-debian-helper - Use ${maven:Depends} and ${maven:OptionalDepends} for Depends and Recommends. * d/docs: Update for new release. -- Damien Raude-Morvan Sun, 11 Sep 2011 00:44:27 +0200 commons-vfs (1.0-6) unstable; urgency=low * Team upload [ Damien Raude-Morvan ] * d/control: Drop Depends on any JRE as a Java library don't need to depends on a runtime (Java Policy) [ Torsten Werner ] * Change 'maintainers' into 'Maintainers'. * Update Standard-Version: 3.9.1. * Switch to source format 3.0. -- Torsten Werner Tue, 30 Aug 2011 16:56:07 +0200 commons-vfs (1.0-5) unstable; urgency=low * debian/maven.rules: - fix jdom groupId to org.jdom - use 3.x release of commons-httpclient - use 1.x release of commons-net * Update my email address * Bump debhelper version to >= 7 -- Damien Raude-Morvan Sat, 12 Dec 2009 22:02:48 +0100 commons-vfs (1.0-4) unstable; urgency=low * Set Maintainer field to Debian Java Team * Add myself as Uploaders * Add ${misc:Depends} in Depends field for debhelper * Bump Standards-Version 3.8.3: - Move libcommons-vfs-java to "java" section - Add a README.source describing patch system * Switch to Quilt patch system: - Refresh all patchs - Add B-D on quilt - Include patchsys-quilt.mk in debian/rules * New patch 02_no_home_dir.diff: don't try to create/copy files in $HOME as many autobuilder won't have one * Use default-jdk/jre: - Depends on default-jre-headless instead of java-gcj-compat - Build-Depends on default-jdk instead of default-jdk-builddep because we don't build a native GCJ package. * Maven POMs: - Add a Build-Depends-Indep dependency on maven-repo-helper - Use mh_installpom and mh_installjar to install the POM and the jar to the Maven repository * Move api documentation to /usr/share/doc/libcommons-vfs-java/api -- Damien Raude-Morvan Sun, 23 Aug 2009 00:52:26 +0200 commons-vfs (1.0-3) unstable; urgency=low * debian/control: - Build-Depend on default-jdk-builddep instead of java-gcj-compat-dev. - Move default-jdk-builddep form B-D-I to B-D (needed for clean) - Differentiate short description of -doc package * debian/rules: Use default-java from default-jdk-builddep as JAVA_HOME * Move examples (sample source code) to libcommons-vfs-java-doc package -- Damien Raude-Morvan Sun, 30 Nov 2008 13:11:05 +0100 commons-vfs (1.0-2) unstable; urgency=low * debian/rules: - Include examples/ in libcommons-vfs-java - Install Javadoc API in /usr/share/doc/libcommons-vfs-java-doc - Use CDBS DEB_SOURCE_PACKAGE and DEB_UPSTREAM_VERSION instead of using dpkg-parsechangelog - get-orig-source: use --force-download for uscan - include simple-patchsys.mk rules before ant.mk class * debian/control: - Remove depends on java1-runtime as commons-vfs only works with Java >= 1.4 * debian/copyright: Relicense debian packaging under BSD * debian/dirs: Removed because dirs are created by dh_install -- Damien Raude-Morvan Sun, 10 Aug 2008 21:55:32 +0200 commons-vfs (1.0-1) unstable; urgency=low * Initial release (closes: #238904). -- Damien Raude-Morvan Wed, 16 Jul 2008 21:56:34 +0200 debian/build.xml0000664000000000000000000005600411647322526011026 0ustar 4.0.0 ${groupId} ${artifactId} ${version} debian/libcommons-vfs-java.poms0000664000000000000000000000011211770444303013742 0ustar pom.xml core/pom.xml --java-lib --artifact=core/target/commons-vfs2-*.jar debian/compat0000664000000000000000000000000211770444303010371 0ustar 7 debian/source/0000775000000000000000000000000011770444303010473 5ustar debian/source/format0000664000000000000000000000001411770444303011701 0ustar 3.0 (quilt) debian/patches/0000775000000000000000000000000011770444303010622 5ustar debian/patches/disable_webdav_provider.diff0000664000000000000000000000501411770444303016321 0ustar Description: Disable webdav module (source code build and javadoc package) because jackrabbit JCR provider is not yet in Debian. Author: Damien Raude-Morvan Last-Update: 2011-09-11 Forwarded: not-needed Index: commons-vfs-2.0/core/pom.xml =================================================================== --- commons-vfs-2.0.orig/core/pom.xml 2011-10-18 13:06:05.271986706 +0100 +++ commons-vfs-2.0/core/pom.xml 2011-10-18 13:06:08.216010643 +0100 @@ -167,6 +167,36 @@ + + maven-compiler-plugin + + + default-compile + compile + + + **/webdav/* + + + + compile + + + + default-testCompile + test-compile + + + **/webdav/test/* + + + + testCompile + + + + + Index: commons-vfs-2.0/pom.xml =================================================================== --- commons-vfs-2.0.orig/pom.xml 2011-10-18 13:06:05.291986869 +0100 +++ commons-vfs-2.0/pom.xml 2011-10-18 13:06:08.216010643 +0100 @@ -243,6 +243,7 @@ true + *.webdav.* Index: commons-vfs-2.0/core/src/test/java/org/apache/commons/vfs2/util/DelegatingFileSystemOptionsBuilderTest.java =================================================================== --- commons-vfs-2.0.orig/core/src/test/java/org/apache/commons/vfs2/util/DelegatingFileSystemOptionsBuilderTest.java 2011-10-18 13:06:02.194238000 +0100 +++ commons-vfs-2.0/core/src/test/java/org/apache/commons/vfs2/util/DelegatingFileSystemOptionsBuilderTest.java 2011-10-18 13:06:21.904121945 +0100 @@ -119,7 +119,7 @@ private static String[] schemes = new String[] { - "webdav", "http", "ftp", "file", "zip", "tar", "tgz", "bz2", "gz", "jar", "tmp", "ram" + "http", "ftp", "file", "zip", "tar", "tgz", "bz2", "gz", "jar", "tmp", "ram" }; public void testConfiguration() throws Exception debian/patches/skip_examples.diff0000664000000000000000000000063611770444303014325 0ustar Description: Disable examples module. Author: Damien Raude-Morvan Last-Update: 2011-09-11 Forwarded: not-needed Index: b/pom.xml =================================================================== --- a/pom.xml +++ b/pom.xml @@ -38,8 +38,10 @@ core + debian/patches/series0000664000000000000000000000006011770444303012033 0ustar disable_webdav_provider.diff skip_examples.diff debian/libcommons-vfs-java-doc.install0000664000000000000000000000007711770444303015207 0ustar core/target/docs/api/* /usr/share/doc/libcommons-vfs-java/api/