New subagent: netxms-agent-asterisk

This commit is contained in:
Alex Kirhenshtein 2018-12-22 00:41:24 +02:00
parent 75e040e083
commit e7a77be7a8
5 changed files with 14 additions and 2 deletions

View file

@ -1,3 +1,4 @@
include(`asterisk.m4')dnl
include(`mariadb.m4')dnl
include(`mosquitto.m4')dnl
include(`openssl.m4')dnl

View file

@ -0,0 +1,3 @@
define(`PKG_ASTERISK', `,libexosip2-dev')dnl
define(`CONFIGURE_ASTERISK', `--with-asterisk')dnl
define(`WITH_ASTERISK')dnl

View file

@ -25,7 +25,7 @@ Build-Depends:
default-jdk,
libvirt-dev,
libssh-dev
PKG_MARIADB PKG_MOSQUITTO PKG_OPENSSL PKG_SYSTEMD PKG_ZMQ
PKG_MARIADB PKG_MOSQUITTO PKG_OPENSSL PKG_SYSTEMD PKG_ZMQ PKG_ASTERISK
Package: netxms-base
Architecture: any
@ -60,6 +60,13 @@ Depends:
Description: debugging symbols for netxms-agent
This package contains the debugging symbols for netxms-agent
Package: netxms-agent-asterisk
Architecture: any
Multi-Arch: same
Depends: netxms-agent (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: NetXMS subagent for monitoring Asterisk PBX
<insert long description, indented with spaces>
Package: netxms-agent-java
Architecture: any
Multi-Arch: same

View file

@ -0,0 +1 @@
usr/lib/*/netxms/asterisk.nsm

View file

@ -18,7 +18,7 @@ override_dh_auto_configure:
dh_auto_configure -- --with-server --with-agent --with-client \
--with-sqlite --with-mysql --with-pgsql --with-odbc \
--enable-unicode --with-jdk=/usr/lib/jvm/default-java --with-vmgr \
--with-jemalloc=/opt/jemalloc CONFIGURE_MARIADB CONFIGURE_MOSQUITTO CONFIGURE_ZMQ CONFIGURE_ORACLE
--with-jemalloc=/opt/jemalloc CONFIGURE_MARIADB CONFIGURE_MOSQUITTO CONFIGURE_ZMQ CONFIGURE_ORACLE CONFIGURE_ASTERISK
override_dh_strip:
dh_strip -pnetxms-base --dbg-package=netxms-base-dbg