steinarb / karaf-debian

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

Home Page:https://steinar.bang.priv.no/2018/01/23/packaging-karaf-with-native-debian-packaging-tools/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Debian package for apache karaf

https://img.shields.io/badge/Debian-D70A53?style=for-the-badge&logo=debian&logoColor=white&ext=.svg

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

  1. Log in as root
  2. Give the following commands:
    apt-get update
    apt-get install maven-debian-helper devscripts
        

To build the debian package:

  1. Clone the karaf-debian project
    git clone https://github.com/steinarb/karaf-debian.git
        
  2. Build the debian package
    cd karaf-debian
    dpkg-buildpackage
        
  3. 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
    git clone https://github.com/steinarb/karaf-debian.git
        
  2. Edit the karaf-debian/debian/rules file in a text editor and change the version number of the value:
    VERSION = 4.2.8
        
  3. Build the debian package
    cd karaf-debian
    dpkg-buildpackage
        
  4. There will be a karaf-*.deb file in the directory above the karaf-debian directory

About

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

https://steinar.bang.priv.no/2018/01/23/packaging-karaf-with-native-debian-packaging-tools/


Languages

Language:Shell 100.0%