[pkg-nagios-changes] [Git][nagios-team/icingaweb2][master] 2 commits: Add patch to suppress Deprecated notices. (closes: #1037925)

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Wed Aug 9 18:44:24 BST 2023



Bas Couwenberg pushed to branch master at Debian Nagios Maintainer Group / icingaweb2


Commits:
f426e776 by Bas Couwenberg at 2023-08-09T19:37:54+02:00
Add patch to suppress Deprecated notices. (closes: #1037925)

- - - - -
f398e33d by Bas Couwenberg at 2023-08-09T19:39:08+02:00
Set distribution to unstable.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/error_reporting.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,9 +1,11 @@
-icingaweb2 (2.11.4-3) UNRELEASED; urgency=medium
+icingaweb2 (2.11.4-3) unstable; urgency=medium
 
   * Team upload.
   * Bump debhelper compat to 13.
+  * Add patch to suppress Deprecated notices.
+    (closes: #1037925)
 
- -- Bas Couwenberg <sebastic at debian.org>  Sun, 11 Jun 2023 20:34:20 +0200
+ -- Bas Couwenberg <sebastic at debian.org>  Wed, 09 Aug 2023 19:38:42 +0200
 
 icingaweb2 (2.11.4-2) unstable; urgency=medium
 


=====================================
debian/patches/error_reporting.patch
=====================================
@@ -0,0 +1,27 @@
+Description: Suppress Deprecated notices, upstream doesn't support PHP 8.2 yet.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug: https://github.com/Icinga/icingaweb2/issues/4918
+Bug-Debian: https://bugs.debian.org/1037925
+
+--- a/library/Icinga/Application/ApplicationBootstrap.php
++++ b/library/Icinga/Application/ApplicationBootstrap.php
+@@ -591,7 +591,7 @@ abstract class ApplicationBootstrap
+      */
+     protected function setupErrorHandling()
+     {
+-        error_reporting(E_ALL | E_STRICT);
++        error_reporting(E_ALL & ~E_DEPRECATED | E_STRICT);
+         ini_set('display_startup_errors', 1);
+         ini_set('display_errors', 1);
+         set_error_handler(function ($errno, $errstr, $errfile, $errline) {
+--- a/library/Icinga/Application/webrouter.php
++++ b/library/Icinga/Application/webrouter.php
+@@ -8,7 +8,7 @@ use Icinga\Web\Controller\StaticControll
+ use Icinga\Web\JavaScript;
+ use Icinga\Web\StyleSheet;
+ 
+-error_reporting(E_ALL | E_STRICT);
++error_reporting(E_ALL & ~E_DEPRECATED | E_STRICT);
+ 
+ if (isset($_SERVER['REQUEST_URI'])) {
+     $ruri = $_SERVER['REQUEST_URI'];


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 php8.2.patch
+error_reporting.patch



View it on GitLab: https://salsa.debian.org/nagios-team/icingaweb2/-/compare/85394924a0285a90ae2779301a91390becea2e58...f398e33d7e969062e7b2c694ea174ffcbb3af797

-- 
View it on GitLab: https://salsa.debian.org/nagios-team/icingaweb2/-/compare/85394924a0285a90ae2779301a91390becea2e58...f398e33d7e969062e7b2c694ea174ffcbb3af797
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-changes/attachments/20230809/9fd2dcc6/attachment-0001.htm>


More information about the pkg-nagios-changes mailing list