summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/php8.2.patch44
-rw-r--r--debian/patches/series1
2 files changed, 45 insertions, 0 deletions
diff --git a/debian/patches/php8.2.patch b/debian/patches/php8.2.patch
new file mode 100644
index 0000000..948fc4e
--- /dev/null
+++ b/debian/patches/php8.2.patch
@@ -0,0 +1,44 @@
+Description: Fix issues with php8.2.
+Author: Bas Couwenberg <sebastic@debian.org>
+Bug: https://github.com/Icinga/icingaweb2/issues/4918
+
+--- a/vendor/ipl/sql/src/Config.php
++++ b/vendor/ipl/sql/src/Config.php
+@@ -33,6 +33,9 @@ class Config
+ }
+ }
+
++ /** @var string Database type */
++ public $type;
++
+ /** @var string Type of the DBMS */
+ public $db;
+
+@@ -51,6 +54,27 @@ class Config
+ /** @var string Password to use for authentication */
+ public $password;
+
++ /** @var bool Use SSL for connection */
++ public $use_ssl;
++
++ /** @var bool Don't verify SSL cerificate */
++ public $ssl_do_not_verify_server_cert;
++
++ /** @var string Path to SSL certificate */
++ public $ssl_cert;
++
++ /** @var string Path to SSL key */
++ public $ssl_key;
++
++ /** @var string Path to SSL CA file */
++ public $ssl_ca;
++
++ /** @var string Path to SSL CA directory */
++ public $ssl_capath;
++
++ /** @var string SSL ciphers */
++ public $ssl_cipher;
++
+ /**
+ * Character set for the connection
+ *
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9c42587
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+php8.2.patch