netxms-agent-xen added

This commit is contained in:
Alex Kirhenshtein 2018-12-23 00:00:15 +02:00
parent d2582a8085
commit abb91eed05
6 changed files with 28 additions and 2 deletions

View file

@ -4,4 +4,5 @@ include(`mosquitto.m4')dnl
include(`openssl.m4')dnl
include(`oracle.m4')dnl
include(`systemd.m4')dnl
include(`xen.m4')dnl
include(`zmq.m4')dnl

3
config/default/xen.m4 Normal file
View file

@ -0,0 +1,3 @@
define(`PKG_XEN', `,libxen-dev')dnl
define(`CONFIGURE_XEN', `--with-xen')dnl
define(`WITH_XEN', `')dnl

2
config/wheezy/xen.m4 Normal file
View file

@ -0,0 +1,2 @@
define(`PKG_MOSQUITTO', `')dnl
define(`CONFIGURE_MOSQUITTO', `')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_ASTERISK
PKG_MARIADB PKG_MOSQUITTO PKG_OPENSSL PKG_SYSTEMD PKG_ZMQ PKG_ASTERISK PKG_XEN
Package: netxms-base
Architecture: any
@ -99,6 +99,25 @@ Depends: netxms-agent (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: NetXMS subagent for monitoring hypervisors
<insert long description, indented with spaces>
ifdef(`WITH_XEN',
`Package: netxms-agent-xen
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: netxms-base (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: NetXMS subagent for monitoring XEN
<insert long description, indented with spaces>
Package: netxms-agent-xen-dbg
Architecture: any
Section: debug
Priority: extra
Depends:
netxms-agent-xen (= ${binary:Version}), netxms-base-dbg (= ${binary:Version})
Description: debugging symbols for netxms-agent-mgtt
This package contains the debugging symbols for netxms-agent-xen
')dnl
Package: netxms-client
Architecture: any
Multi-Arch: same

1
netxms-agent-xen.install Normal file
View file

@ -0,0 +1 @@
usr/lib/*/netxms/xen.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 CONFIGURE_ASTERISK
--with-jemalloc=/opt/jemalloc CONFIGURE_MARIADB CONFIGURE_MOSQUITTO CONFIGURE_ZMQ CONFIGURE_ORACLE CONFIGURE_ASTERISK CONFIGURE_XEN
override_dh_strip:
dh_strip -pnetxms-base --dbg-package=netxms-base-dbg