[pkg-nagios-changes] [Git][nagios-team/icingaweb2][master] 2 commits: Add patch to fix issues with php8.2. (closes: #1023354)

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Mon Dec 5 12:25:29 GMT 2022



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


Commits:
bbad6b36 by Bas Couwenberg at 2022-12-05T12:12:19+01:00
Add patch to fix issues with php8.2. (closes: #1023354)

- - - - -
53b495d4 by Bas Couwenberg at 2022-12-05T13:19:45+01:00
Set distribution to unstable.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/php8.2.patch
- + debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,9 +1,11 @@
-icingaweb2 (2.11.2-2) UNRELEASED; urgency=medium
+icingaweb2 (2.11.2-2) unstable; urgency=medium
 
   * Team upload.
   * Add Rules-Requires-Root to control file.
+  * Add patch to fix issues with php8.2.
+    (closes: #1023354)
 
- -- Bas Couwenberg <sebastic at debian.org>  Tue, 29 Nov 2022 20:28:36 +0100
+ -- Bas Couwenberg <sebastic at debian.org>  Mon, 05 Dec 2022 13:19:20 +0100
 
 icingaweb2 (2.11.2-1) unstable; urgency=medium
 


=====================================
debian/patches/php8.2.patch
=====================================
@@ -0,0 +1,146 @@
+Description: Fix issues with php8.2.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug: https://github.com/Icinga/icingaweb2/issues/4918
+Bug-Debian: https://bugs.debian.org/1023354
+
+--- a/library/Icinga/Application/Modules/Module.php
++++ b/library/Icinga/Application/Modules/Module.php
+@@ -77,6 +77,13 @@ class Module
+     private $libdir;
+ 
+     /**
++     * Configuration directory
++     *
++     * @var string
++     */
++    private $configdir;
++
++    /**
+      * Directory containing translations
+      *
+      * @var string
+--- a/library/Icinga/Less/ColorProp.php
++++ b/library/Icinga/Less/ColorProp.php
+@@ -21,7 +21,7 @@ class ColorProp extends Less_Tree_Color
+     protected $index;
+ 
+     /** @var string Color variable name */
+-    protected $name;
++    public $name;
+ 
+     public function __construct()
+     {
+--- a/library/Icinga/Util/LessParser.php
++++ b/library/Icinga/Util/LessParser.php
+@@ -10,6 +10,8 @@ require_once 'lessphp/lessc.inc.php';
+ 
+ class LessParser extends lessc
+ {
++    public $importDisabled;
++
+     public function __construct()
+     {
+         $this->setOption('plugins', [new Visitor()]);
+--- a/library/Icinga/Web/Navigation/ConfigMenu.php
++++ b/library/Icinga/Web/Navigation/ConfigMenu.php
+@@ -33,6 +33,8 @@ class ConfigMenu extends BaseHtmlElement
+ 
+     protected $state;
+ 
++    protected $title;
++
+     public function __construct()
+     {
+         $this->children = [
+--- a/library/vendor/HTMLPurifier/AttrTransform/NameSync.php
++++ b/library/vendor/HTMLPurifier/AttrTransform/NameSync.php
+@@ -8,6 +8,8 @@
+ class HTMLPurifier_AttrTransform_NameSync extends HTMLPurifier_AttrTransform
+ {
+ 
++    public $idDef;
++
+     public function __construct()
+     {
+         $this->idDef = new HTMLPurifier_AttrDef_HTML_ID();
+--- a/library/vendor/HTMLPurifier/Lexer.php
++++ b/library/vendor/HTMLPurifier/Lexer.php
+@@ -48,6 +48,8 @@ class HTMLPurifier_Lexer
+      */
+     public $tracksLineNumbers = false;
+ 
++    public $_entity_parser;
++
+     // -- STATIC ----------------------------------------------------------
+ 
+     /**
+--- a/library/vendor/lessphp/lib/Less/Tree/Color.php
++++ b/library/vendor/lessphp/lib/Less/Tree/Color.php
+@@ -11,6 +11,7 @@ class Less_Tree_Color extends Less_Tree
+ 	public $alpha;
+ 	public $isTransparentKeyword;
+ 	public $type = 'Color';
++	public $name = 'n/a';
+ 
+ 	public function __construct( $rgb, $a = 1, $isTransparentKeyword = null ) {
+ 		if ( $isTransparentKeyword ) {
+--- a/library/vendor/lessphp/lib/Less/Tree/Dimension.php
++++ b/library/vendor/lessphp/lib/Less/Tree/Dimension.php
+@@ -11,6 +11,7 @@ class Less_Tree_Dimension extends Less_T
+ 	public $value;
+ 	public $unit;
+ 	public $type = 'Dimension';
++	public $parensInOp;
+ 
+ 	public function __construct( $value, $unit = null ) {
+ 		$this->value = floatval( $value );
+--- a/library/vendor/lessphp/lib/Less/Tree/Operation.php
++++ b/library/vendor/lessphp/lib/Less/Tree/Operation.php
+@@ -12,6 +12,7 @@ class Less_Tree_Operation extends Less_T
+ 	public $operands;
+ 	public $isSpaced;
+ 	public $type = 'Operation';
++	public $parensInOp;
+ 
+ 	/**
+ 	 * @param string $op
+--- a/library/vendor/lessphp/lib/Less/Tree/Variable.php
++++ b/library/vendor/lessphp/lib/Less/Tree/Variable.php
+@@ -13,6 +13,7 @@ class Less_Tree_Variable extends Less_Tr
+ 	public $currentFileInfo;
+ 	public $evaluating = false;
+ 	public $type = 'Variable';
++	public $parensInOp;
+ 
+ 	/**
+ 	 * @param string $name
+--- a/library/vendor/Zend/Form/Decorator/Label.php
++++ b/library/vendor/Zend/Form/Decorator/Label.php
+@@ -43,6 +43,7 @@
+  * @license    http://framework.zend.com/license/new-bsd     New BSD License
+  * @version    $Id$
+  */
++#[AllowDynamicProperties]
+ class Zend_Form_Decorator_Label extends Zend_Form_Decorator_Abstract
+ {
+     /**
+--- a/library/vendor/Zend/Form/Element.php
++++ b/library/vendor/Zend/Form/Element.php
+@@ -36,6 +36,7 @@
+  * @license    http://framework.zend.com/license/new-bsd     New BSD License
+  * @version    $Id$
+  */
++#[AllowDynamicProperties]
+ class Zend_Form_Element implements Zend_Validate_Interface
+ {
+     /**
+--- a/library/vendor/Zend/View/Abstract.php
++++ b/library/vendor/Zend/View/Abstract.php
+@@ -33,6 +33,7 @@
+  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
+  * @license    http://framework.zend.com/license/new-bsd     New BSD License
+  */
++#[AllowDynamicProperties]
+ abstract class Zend_View_Abstract implements Zend_View_Interface
+ {
+     /**


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



View it on GitLab: https://salsa.debian.org/nagios-team/icingaweb2/-/compare/e15b183b72ee2666399f8d14662ef0c3e88ea4ce...53b495d414d8cc46bedf0b3d59a343eb496cd7bf

-- 
View it on GitLab: https://salsa.debian.org/nagios-team/icingaweb2/-/compare/e15b183b72ee2666399f8d14662ef0c3e88ea4ce...53b495d414d8cc46bedf0b3d59a343eb496cd7bf
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/20221205/8c523e42/attachment-0001.htm>


More information about the pkg-nagios-changes mailing list