summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:34:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:34:55 +0000
commit58306b0f7e29c41c00ab7bbd99d7686299f1de77 (patch)
treeb737b9d2d0a29c485e78c545d5434f13d923c91e /debian/patches
parentAdding upstream version 2.13.6. (diff)
downloadicinga2-58306b0f7e29c41c00ab7bbd99d7686299f1de77.tar.xz
icinga2-58306b0f7e29c41c00ab7bbd99d7686299f1de77.zip
Adding debian version 2.13.6-2.debian/2.13.6-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/21_config_changes16
-rw-r--r--debian/patches/postgres-checkcommand.patch16
-rw-r--r--debian/patches/series2
3 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches/21_config_changes b/debian/patches/21_config_changes
new file mode 100644
index 0000000..7d7ade8
--- /dev/null
+++ b/debian/patches/21_config_changes
@@ -0,0 +1,16 @@
+Description: Configuration changes for Debian
+ - change icingaadmin mail address to root@localhost
+Author: Markus Frosch <lazyfrosch@debian.org>
+Forwarded: not-needed
+
+--- a/etc/icinga2/conf.d/users.conf
++++ b/etc/icinga2/conf.d/users.conf
+@@ -9,7 +9,7 @@ object User "icingaadmin" {
+ display_name = "Icinga 2 Admin"
+ groups = [ "icingaadmins" ]
+
+- email = "icinga@localhost"
++ email = "root@localhost"
+ }
+
+ object UserGroup "icingaadmins" {
diff --git a/debian/patches/postgres-checkcommand.patch b/debian/patches/postgres-checkcommand.patch
new file mode 100644
index 0000000..f10a9ff
--- /dev/null
+++ b/debian/patches/postgres-checkcommand.patch
@@ -0,0 +1,16 @@
+Description: Use check_postgres path as provided by check-postgres package.
+Author: Jens Holzkämper <jens@zbmath.org>
+Forwarded: not-needed
+Bug-Debian: https://bugs.debian.org/898833
+
+--- a/itl/plugins-contrib.d/databases.conf
++++ b/itl/plugins-contrib.d/databases.conf
+@@ -513,7 +513,7 @@ object CheckCommand "oracle_health" {
+ object CheckCommand "postgres" {
+ import "ipv4-or-ipv6"
+
+- command = [ PluginContribDir + "/check_postgres.pl" ]
++ command = [ "/usr/bin/check_postgres" ]
+
+ arguments = {
+ "-H" = {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6bcd417
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+21_config_changes
+postgres-checkcommand.patch