debian/0000755000000000000000000000000011660311775007175 5ustar debian/felix-main.dirs0000644000000000000000000000022611660311656012107 0ustar /etc/felix-framework/ /usr/share/felix-framework/bin/ /usr/share/felix-framework/bundle/ /usr/share/felix-framework/conf/ /var/cache/felix-framework/ debian/rules0000755000000000000000000000071411660311656010255 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/maven.mk VERSION := $(DEB_UPSTREAM_VERSION) JAVA_HOME := /usr/lib/jvm/default-java DEB_DESTDIR = $(CURDIR)/debian/felix-main install/felix-main:: install -m 755 -D debian/felix-framework.sh $(DEB_DESTDIR)/usr/bin/felix-framework get-orig-source: uscan \ --no-symlink \ --upstream-version $(VERSION) \ --download-version $(VERSION) \ --force-download debian/watch0000644000000000000000000000017111660311656010223 0ustar version=3 http://www.apache.org/dist/felix/ org.apache.felix.main-(.+)-source-release\.tar\.gz debian debian/orig-tar.sh debian/changelog0000644000000000000000000000501711660311656011050 0ustar felix-main (4.0.1-2) unstable; urgency=low * d/control: Replace deprecated ${Source-Version} by ${source:Version}. * d/control: Fix "Fix typo in synopsis" (Closes: #648335). -- Damien Raude-Morvan Mon, 14 Nov 2011 23:17:39 +0100 felix-main (4.0.1-1) unstable; urgency=low [ Andres Mejia ] * Update to my @debian.org email. [ Damien Raude-Morvan ] * New upstream release. * d/watch: fix for upstream tarball new name. * d/patches/default_version.diff: Drop, not needed anymore. * Add Depends on libfelix-gogo-runtime-java, libfelix-gogo-shell-java and libfelix-gogo-command-java. * New felix-main package: - d/control: Depends on libfelix-gogo-*-java. - d/felix-main.*: Install and links to /usr/share/felix-main/. - d/felix-framework.*: Install a 'felix-framework' cli tool to start felix. -- Damien Raude-Morvan Wed, 09 Nov 2011 23:55:10 +0100 felix-main (2.0.5-2) unstable; urgency=low * Bump Standards-Version to 3.9.2: no changes needed. * Use Maven build-system, as upstream: - d/{build.xml,MANIFEST.MF, default.properties, *.install, *.links}: Drop. - d/control: Switch from debhelper to cdbs, add Build-Depends on some Maven plugins. - d/maven.rules,d/maven.ignoreRules: Add handling of pom.xml replace rules. - d/rules: Everything is handled by maven.mk. - d/README.source,d/patches/bootstrap.diff: Add a way to bootstrap without maven-bundle-plugin. * Install Javadoc API to /usr/share/doc/libfelix-framework-java/api/. -- Damien Raude-Morvan Sat, 14 May 2011 19:23:02 +0200 felix-main (2.0.5-1) unstable; urgency=low [ Andres Mejia ] * Upload for Debian. (Closes: #610922) * Add Debian Java team as maintainer, Yulia and myself as Uploaders. * Bump to Standards-Version 3.9.1. * Convert to pure dh with javahelper. * Add VCS entries in debian/control. [ Damien Raude-Morvan ] * Add myself as Uploaders. * d/control: Drop Depends: ${shlib:Depends} as useless for Java package. * d/control: Drop Depends: default-jre-headless | java2-runtime-headless as a Java library don't need to depends on runtime (Java Policy). * d/control, d/rules: Use mh_clean and B-D on maven-repo-helper (>= 1.1) * d/copyright: Update to DEP-5 r166 format. -- Damien Raude-Morvan Wed, 26 Jan 2011 20:25:24 +0100 felix-main (2.0.5-0ubuntu1) maverick; urgency=low * Initial release. (LP: #614395) -- Yulia Novozhilova Tue, 20 Jul 2010 15:49:04 +0400 debian/maven.ignoreRules0000644000000000000000000000155111660311656012523 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/ # Only for bootstrapping #org.apache.felix maven-bundle-plugin * * * * org.codehaus.mojo rat-maven-plugin * * * * debian/compat0000644000000000000000000000000211660311656010371 0ustar 7 debian/README.source0000644000000000000000000000125311660311656011353 0ustar Information about felix-main ------------------------------ The build system uses Maven but prevents it from downloading anything from the Internet, making the build compliant with the Debian policy. Bootstrapping felix-main ------------------------------------ Since libfelix-main-java Build-Depends on libmaven-bundle-plugin-java and libmaven-bundle-plugin-java also Build-Depends on libfelix-main-java we need a way to bootstrap this. To build felix-main without bundle metadata : 1) d/control: Drop Build-Depends on libmaven-bundle-plugin-java 2) d/patches/series: Decomment bootstrap_packaging_jar.diff patch 3) d/maven.ignoreRules: Decomment maven-bundle-plugin dependency debian/felix-framework.sh0000755000000000000000000000062311660311656012635 0ustar #!/bin/sh FELIX_HOME="/usr/share/felix-framework" FELIX_CONF="/etc/felix-framework/config.properties" FELIX_OPTS="" JAVA_OPTS="-Dfelix.config.properties=file:$FELIX_CONF" # Include the wrappers utility script . /usr/lib/java-wrappers/java-wrappers.sh # We need a java5 runtime find_java_runtime java5 java6 java7 exec $JAVA_HOME/bin/java $JAVA_OPTS -jar $FELIX_HOME/bin/felix.jar $FELIX_OPTS "$@" debian/libfelix-main-java.poms0000644000000000000000000000002411660311656013526 0ustar pom.xml --no-parent debian/source/0000755000000000000000000000000011660311656010473 5ustar debian/source/format0000644000000000000000000000001411660311656011701 0ustar 3.0 (quilt) debian/maven.rules0000644000000000000000000000203311660311656011353 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/ s/org.osgi/org.eclipse.osgi/ s/org.osgi.compendium/org.eclipse.osgi.services/ jar s/.*/debian/ * * s/org.osgi/org.eclipse.osgi/ s/org.osgi.core/org.eclipse.osgi/ jar s/.*/debian/ * * debian/maven.properties0000644000000000000000000000012311660311656012413 0ustar # Include here properties to pass to Maven during the build. maven.test.skip=true debian/patches/0000755000000000000000000000000011660311656010622 5ustar debian/patches/default_usr_locations.diff0000644000000000000000000000226111660311656016045 0ustar Description: Set some default values inside config.properties for system wide installation. Author: Damien Raude-Morvan Last-Update: 2011-11-07 Forwarded: not-needed Index: b/src/main/resources/config.properties =================================================================== --- a/src/main/resources/config.properties +++ b/src/main/resources/config.properties @@ -46,7 +46,7 @@ # location into an absolute one by specifying the root to prepend to # the relative cache path. The default for this property is the # current working directory. -#felix.cache.rootdir=${dollar}{user.dir} +felix.cache.rootdir=${dollar}{user.home}/.felix # The following property controls whether the bundle cache is flushed # the first time the framework is initialized. Possible values are @@ -71,7 +71,7 @@ # The following property specifies the directory to use as the bundle # auto-deploy directory; the default is 'bundle' in the working directory. -#felix.auto.deploy.dir=bundle +felix.auto.deploy.dir=/usr/share/felix-framework/bundle/ # The following property is a space-delimited list of bundle URLs # to install when the framework starts. The ending numerical component debian/patches/bootstrap_packaging_jar.diff0000644000000000000000000000115211660311656016330 0ustar Description: pom.xml, change packaging type from bundle to jar. Since this library is a dependency of maven-bundle-plugin we should use default "jar" packaging type to allow a first bootstrap build. Forwarded: not-needed Author: Damien Raude-Morvan Last-Update: 2011-05-11 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ ../pom/pom.xml 4.0.0 - bundle + jar Apache Felix Main org.apache.felix.main 2.0.5 debian/patches/series0000644000000000000000000000015011660311656012033 0ustar # Only for bootstrapping #bootstrap_packaging_jar.diff #default_version.diff default_usr_locations.diff debian/orig-tar.sh0000755000000000000000000000044011660311656011254 0ustar #!/bin/sh set -x # called by uscan with '--upstream-version' package=`dpkg-parsechangelog | sed -n 's/^Source: //p'` TAR=../"$package"_$2.orig.tar.gz DIR=$package-$2.orig tar xfz $3 mv org.apache.felix.main-$2 $DIR GZIP=--best tar -c -z -f $TAR $DIR rm -rf $DIR $3 debian/libfelix-main-java-doc.install0000644000000000000000000000007011660311656014762 0ustar target/apidocs/* /usr/share/doc/libfelix-main-java/api/ debian/libfelix-main-java-doc.docs0000644000000000000000000000000611660311656014243 0ustar doc/* debian/felix-main.manpages0000644000000000000000000000003011660311656012732 0ustar debian/felix-framework.1debian/felix-main.install0000644000000000000000000000005511660311656012614 0ustar conf/config.properties /etc/felix-framework/ debian/control0000644000000000000000000000464611660311656010610 0ustar Source: felix-main Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Yulia Novozhilova , Andres Mejia , Damien Raude-Morvan Build-Depends: ant, cdbs, debhelper (>= 7), default-jdk, libfelix-bundlerepository-java, libfelix-framework-java, libfelix-gogo-command-java, libfelix-gogo-command-java-doc, libfelix-gogo-runtime-java, libfelix-gogo-runtime-java-doc, libfelix-gogo-shell-java, libfelix-gogo-shell-java-doc, libfelix-shell-java, libfelix-shell-tui-java, libmaven-antrun-plugin-java, libmaven-bundle-plugin-java, libmaven-dependency-plugin-java, libmaven-javadoc-plugin-java, maven-debian-helper (>= 1.4) Standards-Version: 3.9.2 Homepage: http://felix.apache.org/site/ Vcs-Git: git://git.debian.org/git/pkg-java/felix-main.git Vcs-Browser: http://git.debian.org/?p=pkg-java/felix-main.git Package: libfelix-main-java Architecture: all Depends: ${maven:Depends}, ${misc:Depends} Recommends: ${maven:OptionalDepends} Suggests: libfelix-main-java-doc Description: Librairies to instantiate and execute the Felix Framework The Felix Framework subproject is an implementation of the OSGi R4.2 core framework specification. Package: libfelix-main-java-doc Architecture: all Section: doc Depends: ${maven:DocDepends}, ${misc:Depends} Recommends: ${maven:DocOptionalDepends} Description: Librairies to instantiate and execute OSGi Felix Framework - doc The Felix Framework subproject is an implementation of the OSGi R4.2 core framework specification. . This package contains Javadoc API documentation. Package: felix-main Architecture: all Depends: libfelix-bundlerepository-java, libfelix-gogo-command-java, libfelix-gogo-runtime-java, libfelix-gogo-shell-java, libfelix-main-java (= ${source:Version}), ${misc:Depends} Suggests: libfelix-main-java-doc Description: Execution environment for OSGi Felix Framework The Felix Framework subproject is an implementation of the OSGi R4.2 core framework specification. . This package contains bootstrap tools to run Felix Framework. debian/libfelix-main-java-doc.doc-base0000644000000000000000000000036611660311656015001 0ustar Document: felix-main Title: Apache Felix Main Author: The Apache Software Foundation Main Classes Section: Programming/Java Format: HTML Index: /usr/share/doc/libfelix-main-java/api/index.html Files: /usr/share/doc/libfelix-main-java/api/*.html debian/felix-main.links0000644000000000000000000000131011660311656012261 0ustar /usr/share/java/org.apache.felix.main.jar /usr/share/felix-framework/bin/felix.jar /usr/share/java/org.apache.felix.gogo.command.jar /usr/share/felix-framework/bundle/org.apache.felix.gogo.command.jar /usr/share/java/org.apache.felix.gogo.runtime.jar /usr/share/felix-framework/bundle/org.apache.felix.gogo.runtime.jar /usr/share/java/org.apache.felix.gogo.shell.jar /usr/share/felix-framework/bundle/org.apache.felix.gogo.shell.jar /usr/share/java/org.apache.felix.bundlerepository.jar /usr/share/felix-framework/bundle/org.apache.felix.bundlerepository.jar /etc/felix-main/config.properties /usr/share/felix-framework/conf/config.properties /var/cache/felix-framework /usr/share/felix-framework/felix-cache debian/felix-framework.10000644000000000000000000000257611660311656012371 0ustar .TH FELIX "1" "November 2011" "Felix" "User Commands" .SH NAME felix-framework - command line Felix OSGi Framework launcher .SH SYNOPSIS .B felix-framework [-b \fI\fR] [\fI\fR] .SH DESCRIPTION .B felix-framework provide a way to start Apache Felix OSGi Framework from command line. After startup, it provide some simple commands to help management of OSGi bundle. .SH OPTIONS .IP "-b bundle-deploy-dir" The Felix launcher deploys all bundles in the auto-deploy directory into the framework instance during startup. By default, the auto-deploy directory is .I /usr/share/felix-framework/bundle/ . Specifying an auto-deploy directory replaces the default directory, it does not augment it. .IP "bundle-cache-dir" path you want to use as the bundle cache. If you specify a relative cache path, then it will be treated as relative to .I ~/.felix/ . By default, felix-framework will use .I ~/.felix/felix-cache/ .SH FILES .I /etc/felix-framework/config.properties .RS The system wide configuration file for Felix Framework. See for further details. .SH FILES .I ~/.felix/ .RS Default user cache directory for OSGi bundle information. .SH AUTHOR Damien Raude-Morvan .SH "SEE ALSO" debian/copyright0000644000000000000000000000120111660311656011120 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=166 Upstream-Name: felix-main Source: http://felix.apache.org/site/downloads.cgi Files: * Copyright: Copyright 2010 The Apache Software Foundation License: Apache-2.0 Files: debian/* Copyright: 2008-2010, Yulia Novozhilova License: GPL-2 License: Apache-2.0 On Debian systems, the complete text of the Apache License Version 2.0, can be found in /usr/share/common-licenses/Apache-2.0. License: GPL-2 On Debian systems, the complete text of the GNU General Public License, version 2, can be found in /usr/share/common-licenses/GPL-2.