debian/0000755000000000000000000000000011672750401007171 5ustar debian/libfelix-utils-java.poms0000644000000000000000000000273111672750232013751 0ustar # List of POM files for the package # Format of this file is: # [option]* # where option can be: # --ignore: ignore this POM or # --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 # --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. # --classifier=: Optional, the classifier for the jar. Empty by default. # --ignore-pom: don't install the POM with mh_install or mh_installpoms. To use with POM files that are created # temporarily for certain artifacts such as Javadoc jars. # pom.xml --no-parent --has-package-version debian/rules0000755000000000000000000000036011672750232010252 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/maven.mk JAVA_HOME := /usr/lib/jvm/default-java get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename debian/watch0000644000000000000000000000025011672750232010221 0ustar version=3 opts="uversionmangle=s/-(alpha|beta)-/~$1/" \ https://svn.apache.org/repos/asf/felix/releases/ \ org.apache.felix.utils-(\d.*)/ debian debian/orig-tar.sh debian/changelog0000644000000000000000000000124511672750232011047 0ustar felix-utils (1.1.0-3) unstable; urgency=low * d/patches/fix_osgi43.diff: Fix for OSGI 4.3 API (Closes: #652241). * d/control: Build-Depends on libosgi-core-java (>= 4.3). -- Damien Raude-Morvan Sat, 17 Dec 2011 00:13:13 +0100 felix-utils (1.1.0-2) unstable; urgency=low * Build-Depends on libosgi-core-java instead of libequinox-osgi-java. * d/patches/exclude_servletapi.diff: Drop, not needed now. -- Damien Raude-Morvan Thu, 06 Oct 2011 00:58:21 +0200 felix-utils (1.1.0-1) unstable; urgency=low * Initial release (Closes: #624113). -- Damien Raude-Morvan Fri, 13 May 2011 22:37:00 +0200 debian/maven.ignoreRules0000644000000000000000000000144111672750232012521 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 rat-maven-plugin * * * * debian/compat0000644000000000000000000000000211672750232010371 0ustar 7 debian/README.source0000644000000000000000000000044711672750232011357 0ustar Information about felix-utils ------------------------------ This package was debianized using the mh_make command from the maven-debian-helper package. The build system uses Maven but prevents it from downloading anything from the Internet, making the build compliant with the Debian policy. debian/source/0000755000000000000000000000000011672750232010473 5ustar debian/source/format0000644000000000000000000000001411672750232011701 0ustar 3.0 (quilt) debian/maven.rules0000644000000000000000000000154311672750232011360 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/ debian/maven.properties0000644000000000000000000000012211672750232012412 0ustar # Include here properties to pass to Maven during the build. maven.test.skip=true debian/patches/0000755000000000000000000000000011672750232010622 5ustar debian/patches/fix_osgi43.diff0000644000000000000000000000404511672750232013435 0ustar Description: Fix FilterImpl for new OSGI 4.3 API. Author: Damien Raude-Morvan Last-Update: 2011-12-17 Forwarded: no Index: b/src/main/java/org/apache/felix/utils/filter/FilterImpl.java =================================================================== --- a/src/main/java/org/apache/felix/utils/filter/FilterImpl.java +++ b/src/main/java/org/apache/felix/utils/filter/FilterImpl.java @@ -177,6 +177,23 @@ public boolean matchCase(Map map) { return match0(map); } + + /** + * Filter using a Map. This Filter is + * executed using the specified Map's keys and + * values. The keys are case insensitively matched with this + * Filter. + * + * @param map The Map whose keys are used in + * the match. + * @return true if the Map's keys and + * values match this filter; false otherwise. + * @throws IllegalArgumentException If map contains + * case variants of the same key name. + */ + public boolean matches(Map map) { + return matchCase(map); + } /** * Returns this Filter's filter string. @@ -575,13 +592,13 @@ switch (operation) { case APPROX : case EQUAL : { - return ((Version) value1).compareTo(converted) == 0; + return ((Version) value1).compareTo((Version) converted) == 0; } case GREATER: { - return ((Version) value1).compareTo(converted) >= 0; + return ((Version) value1).compareTo((Version) converted) >= 0; } case LESS: { - return ((Version) value1).compareTo(converted) <= 0; + return ((Version) value1).compareTo((Version) converted) <= 0; } } } else { debian/patches/series0000644000000000000000000000002011672750232012027 0ustar fix_osgi43.diff debian/orig-tar.sh0000755000000000000000000000073211672750232011260 0ustar #!/bin/sh -e VERSION=$2 TAR=../felix-utils_$VERSION.orig.tar.gz DIR=felix-utils-$VERSION TAG=$(echo "org.apache.felix.utils-$VERSION" | sed -re's/~(alpha|beta)/-\1-/') svn export https://svn.apache.org/repos/asf/felix/releases/${TAG}/ $DIR GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $DIR rm -rf $DIR ../$TAG # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $TAR $origDir && echo "moved $TAR to $origDir" fi debian/control0000644000000000000000000000335311672750232010602 0ustar Source: felix-utils Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Damien Raude-Morvan Build-Depends: cdbs, debhelper (>= 7), default-jdk, default-jdk-doc, libmaven-javadoc-plugin-java, libosgi-compendium-java, libosgi-core-java (>= 4.3), maven-debian-helper (>= 1.4) Standards-Version: 3.9.2 Homepage: http://felix.apache.org/ Vcs-Git: git://git.debian.org/git/pkg-java/felix-utils.git Vcs-Browser: http://git.debian.org/?p=pkg-java/felix-utils.git Package: libfelix-utils-java Architecture: all Depends: ${maven:Depends}, ${misc:Depends} Recommends: ${maven:OptionalDepends} Suggests: libfelix-utils-java-doc Description: collection of utility classes for Apache Felix The Felix project is an implementation of the OSGi R4.2 core framework specification. . OSGi framework is a module system and service platform for the Java programming language that implements a complete and dynamic component model. . This subproject provides a collection of utility classes used by others components of Apache Felix. Package: libfelix-utils-java-doc Architecture: all Section: doc Depends: ${maven:DocDepends}, ${misc:Depends} Recommends: ${maven:DocOptionalDepends} Suggests: libfelix-utils-java Description: collection of utility classes for Apache Felix - documentation The Felix project is an implementation of the OSGi R4.2 core framework specification. . OSGi framework is a module system and service platform for the Java programming language that implements a complete and dynamic component model. . This package contains Javadoc API documentation. debian/libfelix-utils-java-doc.doc-base0000644000000000000000000000047711672750232015220 0ustar Document: felix-utils Title: Apache Felix Utils Author: The Apache Software Foundation Abstract: This is the API Javadoc provided for the libfelix-utils-java library. Section: Programming/Java Format: HTML Index: /usr/share/doc/libfelix-utils-java/api/index.html Files: /usr/share/doc/libfelix-utils-java/api/*.html debian/libfelix-utils-java-doc.install0000644000000000000000000000007111672750232015177 0ustar target/apidocs/* /usr/share/doc/libfelix-utils-java/api/ debian/copyright0000644000000000000000000000101711672750232011125 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174 Upstream-Name: Apache Felix Utils Upstream-Contact: http://felix.apache.org/ Source: http://www.apache.org/dist/felix/ Files: * Copyright: Copyright 2010 The Apache Software Foundation License: Apache-2.0 Files: debian/* Copyright: 2011, Damien Raude-Morvan License: Apache-2.0 License: Apache-2.0 On Debian GNU/Linux system you can find the complete text of the Apache-2.0 license in '/usr/share/common-licenses/Apache-2.0'