Debian/Ubuntu packages for NetXMS
Find a file
Alex Kirhenshtein 68e4ae700f
Version 3.7.145
TAG: 26f1728e68
2021-01-28 11:43:49 +02:00
config Config for groovy (Ubuntu 20.10) added 2020-12-07 09:03:33 +02:00
patches Initial import 2016-09-27 16:43:45 +03:00
source Initial import 2016-09-27 16:43:45 +03:00
.gitignore .gitighore updated, minor visual tweak in control.m4 2018-12-23 00:31:02 +02:00
changelog Version 3.7.145 2021-01-28 11:43:49 +02:00
compat Initial import 2016-09-27 16:43:45 +03:00
control.m4 netxms-agent-pgsql and netxms-agent-oracle added 2020-07-31 17:44:27 +03:00
copyright Initial import 2016-09-27 16:43:45 +03:00
docs Initial import 2016-09-27 16:43:45 +03:00
Makefile support for profiles (e.g. config/jessie-raspbian by runing 'make DIST=jessie PROFILE=raspbian') 2018-09-07 23:59:52 +03:00
netxms-agent-asterisk.install New subagent: netxms-agent-asterisk 2018-12-22 00:41:24 +02:00
netxms-agent-java.install netxms-java-base added 2020-06-16 18:19:36 +03:00
netxms-agent-mqtt.install netxms-agent-mqtt added 2018-12-23 00:06:05 +02:00
netxms-agent-mysql.install netxms-agent-mysql added 2018-03-05 15:36:22 +02:00
netxms-agent-oracle.install netxms-agent-pgsql and netxms-agent-oracle added 2020-07-31 17:44:27 +03:00
netxms-agent-pgsql.install netxms-agent-pgsql and netxms-agent-oracle added 2020-07-31 17:44:27 +03:00
netxms-agent-vmgr.install Missing files added 2016-10-27 18:20:21 +03:00
netxms-agent-xen.install netxms-agent-xen added 2018-12-23 00:03:01 +02:00
netxms-agent.install nxaevent added to netxms-agent 2021-01-08 15:48:28 +02:00
netxms-agent.manpages Initial version of man pages aded to packages 2019-01-21 19:56:50 +02:00
netxms-agent.nxagentd.init Initial import 2016-09-27 16:43:45 +03:00
netxms-agent.nxagentd.service core ulimit set to unlimited 2020-05-08 12:43:43 +03:00
netxms-agent.postinst Initial import 2016-09-27 16:43:45 +03:00
netxms-agent.postrm Initial import 2016-09-27 16:43:45 +03:00
netxms-base.dirs Initial import 2016-09-27 16:43:45 +03:00
netxms-base.install .so files naming fixed to reflect changes in 3.1 2019-11-26 02:30:51 +02:00
netxms-base.postrm Initial import 2016-09-27 16:43:45 +03:00
netxms-client.install netxms-java-base added 2020-06-16 18:19:36 +03:00
netxms-dbdrv-mariadb.install netxms-dbdrv-mariadb added 2018-07-14 22:15:32 +03:00
netxms-dbdrv-mysql.install Initial import 2016-09-27 16:43:45 +03:00
netxms-dbdrv-odbc.install Initial import 2016-09-27 16:43:45 +03:00
netxms-dbdrv-oracle.install Initial import 2016-09-27 16:43:45 +03:00
netxms-dbdrv-pgsql.install Initial import 2016-09-27 16:43:45 +03:00
netxms-dbdrv-sqlite3.install Initial import 2016-09-27 16:43:45 +03:00
netxms-java-base.install netxms-java-base added 2020-06-16 18:19:36 +03:00
netxms-server.install nxwsget added to netxms-server 2021-01-28 11:40:34 +02:00
netxms-server.manpages Initial version of man pages aded to packages 2019-01-21 19:56:50 +02:00
netxms-server.netxmsd.init ulimit -n increased for netxmsd 2019-01-16 14:26:35 +02:00
netxms-server.netxmsd.service core ulimit set to unlimited 2020-05-08 12:43:43 +03:00
netxms-server.postinst server postinstall message fixed 2020-05-18 17:01:23 +03:00
netxms-server.postrm Initial import 2016-09-27 16:43:45 +03:00
README.md Readme updated 2020-07-09 16:55:28 +03:00
rules.m4 Ubuntu 20.04 (focal) support added 2020-07-09 12:53:17 +03:00

Debian/Ubuntu packaging scripts for NetXMS

This repository contains scripts for creating deb packages (netxms-server/netxms-agent).

Packages are built by NetXMS team and published on http://packages.netxms.org/.

Supported releases (i386/amd64):

  • Debian 9 "Stretch"
  • Debian 10 "Buster"
  • Ubuntu 16.04 LTS "Xenial Xerus"
  • Ubuntu 18.04 LTS "Bionic Beaver"
  • Ubuntu 20.04 LTS "Focal Fossa" (amd64 only)
  • Ubuntu 20.10 "Groovy Gorilla" (amd64 only)
  • Devuan 2.0 "ASCII"

Branches

Branches follow branching layout in netxms/netxms.git:

  • master - development
  • stable-3.4 - 3.4 release
  • stable-2.2 - 2.2 release

How to use

Prerequisites

  • Custom jemalloc package should be built from netxms/jemalloc-deb and installed into the system or added to pbuilder chroot.
  • For Ubuntu 20, libexosip2-dev deb should be built and installed into the system or added to pbuilder chroot.
  • Oracle instant client 18.3 should be unpacked to /opt/instantclient_18_3 (both instantclient-basic-linux.x64-18.3.0.0.0dbru.zip and instantclient-sdk-linux.x64-18.3.0.0.0dbru.zip)

Build

mkdir -p netxms-build && cd netxms-build
# install tools and dependencies
sudo apt-get install devscripts
git clone https://github.com/netxms/netxms.git
cd netxms
VERSION=$(git describe|cut -d- -f1,2|sed s,-,.,g)
./reconf
./configure --with-dist
make dist
cd ..
ln -s netxms/netxms-$VERSION.tar.gz netxms_$VERSION.orig.tar.gz
tar zxf netxms/netxms-$VERSION.tar.gz
cd netxms-$VERSION
git clone https://github.com/netxms/packages-deb debian
cd debian
make DIST=`lsb_release -sc` # make debian/rules and debian/control for particular Debian/Ubuntu release
cd ..
# install build dependencies
sudo mk-build-deps -i
rm netxms-build-deps_*_all.deb # clean build tree or dpkg-buildpackage will fail
dpkg-buildpackage --no-sign
sudo apt-get purge --auto-remove netxms-build-deps # optional step, will cleanup packages installed by mk-build-deps

Build options

Two options can be set as parameters for make when configuring package:

  • DIST - distro name
  • PROFILE - optional profile for selected distro

Default configurtion is stored in config/default/ (_all.m4 is an entry point).

Distro-specific configuration is in config/$DIST (e.g. config/stretch).

Profile-specific configuration is in config/$DIST-$PROFILE (e.g. config/stretch-raspbian).

Load order is (each file is included from _all.m4):

  1. config/$DIST-$PROFILE/file.m4 (if exist)
  2. config/$DIST/file.m4 (if exist)
  3. config/default/file.m4