Debian packaging for the Apache Karaf OSGi container and application server with maven provisioning.

Steinar Bang 2c7dce38d9 Change expected jansi version from 2.4.0 to 2.4.1 because karaf 4.4.5 uses jansi 2.4.1 2 months ago
debian 2c7dce38d9 Change expected jansi version from 2.4.0 to 2.4.1 because karaf 4.4.5 uses jansi 2.4.1 2 months ago
files 05e0a7abca Add empty etc/org.apache.karaf.features.xml to replace the file installed by karaf 4.2.11, that blacklists the 4.3.x feature repositories 3 years ago
.gitignore 9279557f58 Ignore the debian/.debhelper/ directory 4 years ago
README.org 2056612154 Change version from 4.1.7 to 4.2.8 in example in the README 4 years ago

README.org

Debian package for apache karaf

This git repository holds the scripts necessary to create a debian package of apache karaf.

This debian package is created using standard debian packaging tools, and this debian package is built from the karaf source tar-ball and not the karaf binary tar-ball (i.e. it is built with the native openjdk on debian).

Install the requried software

To build the debian package:

  1. Log in as root
  2. Give the following commands:
  3. #+BEGIN_EXAMPLE apt-get update apt-get install maven-debian-helper devscripts #+END_EXAMPLE
  1. Clone the karaf-debian project
  2. #+BEGIN_EXAMPLE git clone https://github.com/steinarb/karaf-debian.git #+END_EXAMPLE
  3. Build the debian package
  4. #+BEGIN_EXAMPLE cd karaf-debian dpkg-buildpackage #+END_EXAMPLE
  5. There will be a karaf-*.deb file in the directory above the karaf-debian directory

To update the karaf version

  1. Clone the karaf-debian project
  2. #+BEGIN_EXAMPLE git clone https://github.com/steinarb/karaf-debian.git #+END_EXAMPLE
  3. Edit the karaf-debian/debian/rules file in a text editor and change the version number of the value:
  4. #+BEGIN_SRC makefile VERSION = 4.2.8 #+END_SRC
  5. Build the debian package
  6. #+BEGIN_EXAMPLE cd karaf-debian dpkg-buildpackage #+END_EXAMPLE
  7. There will be a karaf-*.deb file in the directory above the karaf-debian directory