[Pkg-nagios-changes] [pkg-icinga2] 01/01: Added icinga2-ido-mysql package
Markus Frosch
lazyfrosch-guest at alioth.debian.org
Tue Oct 22 09:56:51 UTC 2013
This is an automated email from the git hooks/post-receive script.
lazyfrosch-guest pushed a commit to branch master
in repository pkg-icinga2.
commit f95a5f54888c6941b9ea75e888eaa4dfae94d9ac
Author: Markus Frosch <markus at lazyfrosch.de>
Date: Tue Oct 22 11:56:39 2013 +0200
Added icinga2-ido-mysql package
---
debian/control | 19 ++++++++++++++++++-
debian/icinga2-ido-mysql.install | 5 +++++
debian/rules | 6 ++++++
3 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 47b05bf..fb633d8 100644
--- a/debian/control
+++ b/debian/control
@@ -18,6 +18,7 @@ Build-Depends: automake,
libboost-test-dev,
libboost-thread-dev,
libltdl-dev,
+ libmysqlclient-dev,
libssl-dev,
libtool,
python-dev
@@ -51,7 +52,7 @@ Package: icinga2-core
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Depends: icinga2-common (= ${source:Version}),
- ${misc:Depends}, ${shlibs:Depends}, ${perl:Depends}
+ ${misc:Depends}, ${shlibs:Depends}
Description: host and network monitoring system - daemon
Icinga 2 is still in development and not ready for production use!
.
@@ -81,3 +82,19 @@ Description: host and network monitoring system - classic ui integration
.
This package provides the integration into Icinga Classic UI.
+Package: icinga2-ido-mysql
+Architecture: any
+Pre-Depends: ${misc:Pre-Depends}
+Depends: icinga2-common (= ${source:Version}),
+ icinga2-core (= ${binary:Version}),
+ libmysqlclient,
+ ${shlibs:Depends}, ${misc:Depends}
+Recommends: mysql-client
+Suggests: mysql-server
+Description: host and network monitoring system - IDO for MySQL
+ Icinga 2 is still in development and not ready for production use!
+ .
+ Better description to come.
+ .
+ This package provides the IDO module for the MySQL database.
+
diff --git a/debian/icinga2-ido-mysql.install b/debian/icinga2-ido-mysql.install
new file mode 100644
index 0000000..96633eb
--- /dev/null
+++ b/debian/icinga2-ido-mysql.install
@@ -0,0 +1,5 @@
+debian/tmp/etc/icinga2/features-available/ido-mysql.conf
+usr/lib/*/icinga2/libdb_ido_mysql*
+components/db_ido_mysql/schema/*.sql usr/share/icinga2-ido-mysql/schema
+# for later
+#components/db_ido_mysql/schema/upgrades/*.sql usr/share/icinga2-ido-mysql/schema/upgrades
diff --git a/debian/rules b/debian/rules
index 0f326ca..db2bc41 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,12 @@ override_dh_auto_install:
# cleanup dependencies in .la files
sed -i "/dependency_libs/ s/'.*'/''/" `find debian/tmp/ -name '*.la'`
+override_dh_install:
+ dh_install
+ # remove ido files from other packages
+ rm debian/icinga2-common/etc/icinga2/features-available/ido-mysql*
+ rm debian/icinga2-core/usr/lib/*/icinga2/libdb_ido_mysql*
+
override_dh_installinit:
dh_installinit --name=icinga2
--
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