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

Steinar Bang 03157cfac3 Remove RELEASE-NOTES.md (used as package's changelog) because no longer part of build results 5 days ago
debian 03157cfac3 Remove RELEASE-NOTES.md (used as package's changelog) because no longer part of build results 5 days 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 5 years ago
README.org a1bc16bc40 Add debian badge to README 9 months 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