debian/0000755000000000000000000000000011706642275007200 5ustar debian/orig-tar.exclude0000644000000000000000000000031511706642275012276 0ustar *.jar *.class jackrabbit-core/src/test/resources/org/apache/jackrabbit/core/query/test.rtf jackrabbit-core/src/test/resources/compatibility.zip jackrabbit-core/src/test/repository/workspaces/index-format-*debian/rules0000755000000000000000000000120311706642275010254 0ustar #!/usr/bin/make -f DEB_SOURCE_PACKAGE := $(shell dpkg-parsechangelog | grep '^Source:' | cut -f 2 -d ' ') DEB_UPSTREAM_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 .) -Dpackage=$(DEB_SOURCE_PACKAGE) -f debian/build.xml %: dh $@ --buildsystem=ant --with maven_repo_helper get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename debian/watch0000644000000000000000000000022111706642275010224 0ustar version=3 opts="uversionmangle=s/-(alpha|beta)-/~$1/" \ http://svn.apache.org/repos/asf/jackrabbit/tags/ \ (\d.*)/ debian debian/orig-tar.sh debian/build.xml0000644000000000000000000000252611706642275011026 0ustar debian/changelog0000644000000000000000000000024211706642275011050 0ustar jackrabbit (2.3.6-1) unstable; urgency=low * Initial release (Closes: #589450). -- Damien Raude-Morvan Sat, 21 Jan 2012 23:20:41 +0100 debian/maven.ignoreRules0000644000000000000000000000476211706642275012537 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.apache.jackrabbit jackrabbit-api bundle * * * org.apache.jackrabbit jackrabbit-bundle bundle * * * org.apache.jackrabbit jackrabbit-core jar * * * org.apache.jackrabbit jackrabbit-jca rar * * * org.apache.jackrabbit jackrabbit-jcr-client jar * * * org.apache.jackrabbit jackrabbit-jcr-commons bundle * * * org.apache.jackrabbit jackrabbit-jcr-rmi bundle * * * org.apache.jackrabbit jackrabbit-jcr-server bundle * * * org.apache.jackrabbit jackrabbit-jcr-servlet jar * * * org.apache.jackrabbit jackrabbit-jcr-tests jar * * * org.apache.jackrabbit jackrabbit-jcr2dav jar * * * org.apache.jackrabbit jackrabbit-jcr2spi bundle * * * org.apache.jackrabbit jackrabbit-spi-commons bundle * * * org.apache.jackrabbit jackrabbit-spi2dav jar * * * org.apache.jackrabbit jackrabbit-spi2jcr jar * * * org.apache.jackrabbit jackrabbit-spi bundle * * * org.apache.jackrabbit jackrabbit-standalone bundle * * * org.apache.jackrabbit jackrabbit-webapp war * * * ch.qos.logback logback-classic * * * * junit junit * * * * org.apache.maven.plugins maven-checkstyle-plugin * * * * org.apache.maven.plugins maven-deploy-plugin * * * * org.apache.maven.plugins maven-eclipse-plugin * * * * org.apache.maven.plugins maven-failsafe-plugin * * * * org.apache.maven.plugins maven-idea-plugin * * * * org.apache.maven.plugins maven-javadoc-plugin * * * * org.apache.maven.plugins maven-jxr-plugin * * * * org.apache.maven.plugins maven-pmd-plugin * * * * org.apache.maven.plugins maven-release-plugin * * * * org.apache.maven.plugins maven-surefire-plugin * * * * org.apache.maven.plugins maven-surefire-report-plugin * * * * org.apache.rat apache-rat-plugin * * * * org.codehaus.mojo clirr-maven-plugin * * * * org.codehaus.mojo cobertura-maven-plugin * * * * org.codehaus.mojo findbugs-maven-plugin * * * * debian/maven.cleanIgnoreRules0000644000000000000000000000150111706642275013466 0ustar # Maven clean ignore rules - ignore some Maven dependencies and plugins # during the clean phase of a Maven build # 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 before mvn clean is called # junit junit jar s/3\\..*/3.x/ debian/compat0000644000000000000000000000000211706642275010376 0ustar 7 debian/README.source0000644000000000000000000000023211706642275011354 0ustar Information about jackrabbit ------------------------------ This package was debianized using the mh_make command from the maven-debian-helper package. debian/libjackrabbit-java.README.Debian0000644000000000000000000000061311706642275014742 0ustar Jackrabbit package for Debian ============================= IMPORTANT NOTE: This package doesn't contains yet full Apache Jackrabbit stack but just jackrabbit-webdav module for Maven usage. All others modules depends on JCR API (JSR 170 and 283) which is licensed under a non-DFSG compliant license. For full history, please have a look to #573482 debian/maven.publishedRules0000644000000000000000000000164211706642275013225 0ustar # Maven published rules - additional rules to publish, to help # the packaging work of Debian maintainers using mh_make # 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 # - a regular expression of the form s/match/replace/ # in this case, elements that match are transformed using # the regex rule. # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., replacing the version with 3.x # junit junit jar s/3\\..*/3.x/ debian/build.properties0000644000000000000000000000005411706642275012414 0ustar build.directory=target maven.test.skip=true debian/source/0000755000000000000000000000000011706642275010500 5ustar debian/source/format0000644000000000000000000000001411706642275011706 0ustar 3.0 (quilt) debian/libjackrabbit-java.poms0000644000000000000000000000467311706642275013614 0ustar # List of POM files for the package # Format of this file is: # [option]* # where option can be: # --ignore: ignore this POM and its artifact if any # --ignore-pom: don't install the POM. To use on POM files that are created # temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] # --no-parent: remove the tag from the POM # --package=: an alternative package to use when installing this POM # and its artifact # --has-package-version: to indicate that the original version of the POM is the same as the upstream part # of the version for the package. # --keep-elements=: a list of XML elements to keep in the POM # during a clean operation with mh_cleanpom or mh_installpom # --artifact=: path to the build artifact associated with this POM, # it will be installed when using the command mh_install. [mh_install] # --java-lib: install the jar into /usr/share/java to comply with Debian # packaging guidelines # --usj-name=: name to use when installing the library in /usr/share/java # --usj-version=: version to use when installing the library in /usr/share/java # --no-usj-versionless: don't install the versionless link in /usr/share/java # --dest-jar=: the destination for the real jar. # It will be installed with mh_install. [mh_install] # --classifier=: Optional, the classifier for the jar. Empty by default. # --site-xml=: Optional, the location for site.xml if it needs to be installed. # Empty by default. [mh_install] # pom.xml --no-parent --has-package-version jackrabbit-parent/pom.xml --has-package-version jackrabbit-api/pom.xml --ignore jackrabbit-jcr-commons/pom.xml --ignore jackrabbit-jcr-tests/pom.xml --ignore jackrabbit-core/pom.xml --ignore jackrabbit-webdav/pom.xml --has-package-version --artifact=jackrabbit-webdav/target/jackrabbit-webdav-*.jar --java-lib jackrabbit-jcr-server/pom.xml --ignore jackrabbit-jcr-rmi/pom.xml --ignore jackrabbit-jcr-servlet/pom.xml --ignore jackrabbit-webapp/pom.xml --ignore jackrabbit-jca/pom.xml --ignore jackrabbit-spi/pom.xml --ignore jackrabbit-spi-commons/pom.xml --ignore jackrabbit-jcr2spi/pom.xml --ignore jackrabbit-spi2jcr/pom.xml --ignore jackrabbit-spi2dav/pom.xml --ignore jackrabbit-jcr2dav/pom.xml --ignore jackrabbit-jcr-client/pom.xml --ignore jackrabbit-bundle/pom.xml --ignore jackrabbit-standalone/pom.xml --ignore debian/maven.rules0000644000000000000000000000256411706642275011371 0ustar # Maven rules - transform 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 # - a regular expression of the form s/match/replace/ # in this case, elements that match are transformed using # the regex rule. # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., replacing the version with 3.x # junit junit jar s/3\\..*/3.x/ commons-collections commons-collections jar s/3\..*/3.x/ * * commons-httpclient commons-httpclient jar s/3\..*/3.x/ * * junit junit jar s/4\..*/4.x/ * * org.apache apache pom s/.*/debian/ * * org.apache.felix maven-bundle-plugin maven-plugin s/.*/2.3.5/ * * org.apache.jackrabbit jackrabbit-parent pom s/.*/debian/ * * org.apache.jackrabbit jackrabbit-webdav bundle s/.*/debian/ * * org.apache.jackrabbit jackrabbit pom s/.*/debian/ * * s/easymock/org.easymock/ easymock * s/.*/debian/ * * org.mortbay.jetty * * s/6\..*/6.x/ * * debian/patches/0000755000000000000000000000000011706642275010627 5ustar debian/patches/modules.diff0000644000000000000000000000216211706642275013132 0ustar Description: Disable all modules except webdav Author: Damien Raude-Morvan Last-Update: 2012-01-21 Forwarded: not-needed Index: b/pom.xml =================================================================== --- a/pom.xml +++ b/pom.xml @@ -37,25 +37,7 @@ jackrabbit-parent - jackrabbit-api - jackrabbit-jcr-commons - jackrabbit-jcr-tests - jackrabbit-core jackrabbit-webdav - jackrabbit-jcr-server - jackrabbit-jcr-rmi - jackrabbit-jcr-servlet - jackrabbit-webapp - jackrabbit-jca - jackrabbit-spi - jackrabbit-spi-commons - jackrabbit-jcr2spi - jackrabbit-spi2jcr - jackrabbit-spi2dav - jackrabbit-jcr2dav - jackrabbit-jcr-client - jackrabbit-bundle - jackrabbit-standalone debian/patches/servlet_api_25.diff0000644000000000000000000000246111706642275014307 0ustar Description: Add some methods for Servlet API 2.5 compat Author: Damien Raude-Morvan Last-Update: 2012-01-21 Forwarded: no --- a/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavRequestImpl.java +++ b/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavRequestImpl.java @@ -996,4 +996,21 @@ public String getRealPath(String s) { return httpRequest.getRealPath(s); } + + // Compat Servlet 2.4 + public int getRemotePort() { + return httpRequest.getRemotePort(); + } + + public int getLocalPort() { + return httpRequest.getLocalPort(); + } + + public String getLocalName() { + return httpRequest.getLocalName(); + } + + public String getLocalAddr() { + return httpRequest.getLocalAddr(); + } } --- a/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavResponseImpl.java +++ b/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavResponseImpl.java @@ -310,4 +310,13 @@ public Locale getLocale() { return httpResponse.getLocale(); } + + // Compat Servlet 2.4 + public void setCharacterEncoding(String env) { + httpResponse.setCharacterEncoding(env); + } + + public String getContentType() { + return httpResponse.getContentType(); + } } debian/patches/series0000644000000000000000000000004111706642275012037 0ustar modules.diff servlet_api_25.diff debian/orig-tar.sh0000755000000000000000000000044311706642275011264 0ustar #!/bin/sh -e VERSION=$2 TAR=../jackrabbit_$VERSION.orig.tar.gz DIR=jackrabbit-$VERSION TAG=$(echo "$VERSION" | sed -re's/~(alpha|beta)/-\1-/') svn export http://svn.apache.org/repos/asf/jackrabbit/tags/${TAG}/ $DIR GZIP=--best tar -c -z -f $TAR -X debian/orig-tar.exclude $DIR rm -rf $DIR debian/control0000644000000000000000000000227111706642275010605 0ustar Source: jackrabbit Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Damien Raude-Morvan Build-Depends: ant-optional, bnd, debhelper (>= 7), default-jdk, libapache-pom-java, libcommons-httpclient-java, libservlet2.5-java, libslf4j-java, maven-ant-helper, maven-repo-helper (>= 1.5~) Standards-Version: 3.9.2 Vcs-Git: git://git.debian.org/git/pkg-java/jackrabbit.git Vcs-Browser: http://git.debian.org/?p=pkg-java/jackrabbit.git Homepage: http://jackrabbit.apache.org/ Package: libjackrabbit-java Architecture: all Depends: libapache-pom-java, libcommons-httpclient-java, libservlet2.5-java, libslf4j-java, ${misc:Depends} Description: content repository implementation (JCR API) Apache Jackrabbit is content repository implementation of JSR 170 and 283 standards, the Content Repository for Java Technology API. . NOTE: This package doesn't contains yet full Apache Jackrabbit stack but just jackrabbit-webdav module for Maven usage. debian/copyright0000644000000000000000000001002111706642275011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/. Upstream-Name: Apache Jackrabbit Source: http://jackrabbit.apache.org/ Files: * Copyright: Copyright (C) 2011 The Apache Software Foundation License: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. . On Debian systems the full text of the Apache License can be found in `/usr/share/common-licenses/Apache-2.0'. Files: jackrabbit-spi-commons/src/main/javacc/xpath/javacc.xsl, jackrabbit-spi-commons/src/main/javacc/xpath/jjtree.xsl, jackrabbit-spi-commons/src/main/javacc/xpath/strip.xsl, jackrabbit-spi-commons/src/main/javacc/xpath/xpath-grammar.xml Copyright: Copyright (c) 2002 World Wide Web Consortium (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University) License: W3C All Rights Reserved. This program is distributed under the W3C's Software Intellectual Property License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. . W3C(R) SOFTWARE NOTICE AND LICENSE http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 . This work (and included software, documentation such as READMEs, or other related items) is being provided by the copyright holders under the following license. By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. . Permission to copy, modify, and distribute this software and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications: . 1. The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. . 2. Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software Short Notice should be included (hypertext is preferred, text is permitted) within the body of any redistributed or derivative code. . 3. Notice of any changes or modifications to the files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.) . THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. . COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION. . The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the software without specific, written prior permission. Title to copyright in this software and any associated documentation will at all times remain with copyright holders. Files: debian/* Copyright: Copyright (C) 2011, Damien Raude-Morvan 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/build-classpath0000644000000000000000000000021411706642275012177 0ustar /usr/share/java/slf4j-api.jar /usr/share/java/servlet-api-2.5.jar /usr/share/java/commons-httpclient.jar /usr/share/java/bnd.annotation.jar