[Pkg-nagios-changes] [pkg-icinga2] 01/01: WIP: Add icinga2-studio package
Markus Frosch
lazyfrosch at moszumanska.debian.org
Sun Nov 1 19:24:42 UTC 2015
This is an automated email from the git hooks/post-receive script.
lazyfrosch pushed a commit to branch icinga-studio
in repository pkg-icinga2.
commit a9187123a53e25f9c0c89ff1561f1d8391f36223
Author: Markus Frosch <lazyfrosch at debian.org>
Date: Sun Nov 1 20:23:38 2015 +0100
WIP: Add icinga2-studio package
TODOs:
* desktop/menu entry
* testing
* but some libs into -bin, that are only used by the daemon?
---
debian/control | 56 ++++++++++++++++++++++++++++++++++++++++++-
debian/icinga2-bin.install | 2 +-
debian/icinga2-studio.install | 1 +
debian/libicinga2.install | 1 +
debian/rules | 5 ++--
5 files changed, 61 insertions(+), 4 deletions(-)
diff --git a/debian/control b/debian/control
index cd50bee..8f87043 100644
--- a/debian/control
+++ b/debian/control
@@ -21,6 +21,7 @@ Build-Depends: bison,
libpq-dev,
libssl-dev,
libyajl-dev,
+ libwxgtk3.0-dev,
make (>= 3.81),
po-debconf
Standards-Version: 3.9.6
@@ -34,6 +35,7 @@ Depends: icinga2-bin (= ${binary:Version}),
icinga2-common (= ${source:Version}),
${misc:Depends}
Recommends: icinga2-doc, monitoring-plugins-basic | nagios-plugins-basic
+Suggests: icinga2-studio
Description: host and network monitoring system
Icinga 2 is a general-purpose monitoring application to fit the needs of
any size of network. Icinga 1.x was a Nagios fork; this new generation
@@ -86,6 +88,7 @@ Package: icinga2-bin
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Depends: icinga2-common (= ${source:Version}),
+ libicinga2 (= ${source:Version}),
${misc:Depends},
${shlibs:Depends}
Description: host and network monitoring system - daemon
@@ -223,7 +226,9 @@ Description: host and network monitoring system - PostgreSQL support
Package: icinga2-dbg
Architecture: any
Section: debug
-Depends: icinga2-bin (= ${binary:Version}), ${misc:Depends}
+Depends: icinga2-bin (= ${binary:Version}),
+ libicinga2 (= ${source:Version}),
+ ${misc:Depends}
Description: host and network monitoring system - debug symbols
Icinga 2 is a general-purpose monitoring application to fit the needs of
any size of network. Icinga 1.x was a Nagios fork; this new generation
@@ -242,3 +247,52 @@ Description: host and network monitoring system - debug symbols
* native support for Livestatus and Graphite.
.
This package provides debug symbols for Icinga 2.
+
+Package: libicinga2
+Architecture: any
+Section: libs
+Depends: ${misc:Depends},
+ ${shlibs:Depends}
+Description: host and network monitoring system - internal libraries
+ Icinga 2 is a general-purpose monitoring application to fit the needs of
+ any size of network. Icinga 1.x was a Nagios fork; this new generation
+ has been rewritten from scratch in C++, with multi-threading and cluster
+ support.
+ .
+ Features:
+ * all standard features of Icinga and Nagios;
+ * much faster and more scalable than Icinga 1 and Nagios;
+ * new, more intuitive, template-based configuration format;
+ * monitoring services on ICMP (ping) or TCP ports (HTTP, NNTP, POP3,
+ SMTP, etc.) by executing checks (see monitoring-plugins*);
+ * any small script following the Nagios plugin API can be used as a
+ check plugin;
+ * notifications about alerts for any custom script (with examples);
+ * native support for Livestatus and Graphite.
+ .
+ This package provides internal libraries for the daemon or studio.
+
+Package: icinga2-studio
+Architecture: any
+Pre-Depends: ${misc:Pre-Depends}
+Depends: libicinga2 (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: host and network monitoring system - studio API GUI
+ Icinga 2 is a general-purpose monitoring application to fit the needs of
+ any size of network. Icinga 1.x was a Nagios fork; this new generation
+ has been rewritten from scratch in C++, with multi-threading and cluster
+ support.
+ .
+ Features:
+ * all standard features of Icinga and Nagios;
+ * much faster and more scalable than Icinga 1 and Nagios;
+ * new, more intuitive, template-based configuration format;
+ * monitoring services on ICMP (ping) or TCP ports (HTTP, NNTP, POP3,
+ SMTP, etc.) by executing checks (see monitoring-plugins*);
+ * any small script following the Nagios plugin API can be used as a
+ check plugin;
+ * notifications about alerts for any custom script (with examples);
+ * native support for Livestatus and Graphite.
+ .
+ This package provides a GUI for the Icinga 2 API.
diff --git a/debian/icinga2-bin.install b/debian/icinga2-bin.install
index da8e7bd..7c2c410 100644
--- a/debian/icinga2-bin.install
+++ b/debian/icinga2-bin.install
@@ -1,3 +1,3 @@
-usr/lib/*/icinga2
usr/sbin/icinga2
+usr/lib/*/icinga2/sbin
usr/share/man/man8/icinga2.8
diff --git a/debian/icinga2-studio.install b/debian/icinga2-studio.install
new file mode 100644
index 0000000..60b51af
--- /dev/null
+++ b/debian/icinga2-studio.install
@@ -0,0 +1 @@
+usr/bin/icinga-studio
diff --git a/debian/libicinga2.install b/debian/libicinga2.install
new file mode 100644
index 0000000..450a53b
--- /dev/null
+++ b/debian/libicinga2.install
@@ -0,0 +1 @@
+usr/lib/*/icinga2/*.so
diff --git a/debian/rules b/debian/rules
index 822a5b3..6236ff7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,8 @@ override_dh_auto_configure:
-DICINGA2_GROUP=nagios \
-DICINGA2_COMMAND_GROUP=www-data \
-DICINGA2_GIT_VERSION_INFO=false \
- -DICINGA2_PLUGINDIR=/usr/lib/nagios/plugins
+ -DICINGA2_PLUGINDIR=/usr/lib/nagios/plugins \
+ -DICINGA2_WITH_STUDIO=true
override_dh_auto_install:
dh_auto_install
@@ -38,7 +39,7 @@ override_dh_install:
if [ -d debian/icinga2-common/ ]; then chmod +x debian/icinga2-common/usr/lib/icinga2/prepare-dirs; fi
# remove ido files from other packages
if [ -d debian/icinga2-common/ ]; then rm debian/icinga2-common/etc/icinga2/features-available/ido-*; fi
- rm debian/icinga2-bin/usr/lib/*/icinga2/libdb_ido_*
+ rm debian/libicinga2/usr/lib/*/icinga2/libdb_ido_*
for dbms in mysql pgsql; do \
mkdir -p debian/icinga2-ido-$$dbms/usr/share/dbconfig-common/data/icinga2-ido-$$dbms/install ; \
mkdir -p debian/icinga2-ido-$$dbms/usr/share/dbconfig-common/data/icinga2-ido-$$dbms/upgrade/$$dbms; \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-icinga2.git
More information about the Pkg-nagios-changes
mailing list