Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: [email protected], 
[email protected]
Control: affects -1 + src:gosa-plugins-systems
User: [email protected]
Usertags: pu

Please accept upload of gosa-plugins-systems
2.8~git20211027.5741b8f-9+deb13u1 to Debian trixie.

[ Reason ]
Fix PHP 8.4 deprecation warnings.

[ Impact ]
PHP warnings in Debian Edu's GOsa².

[ Tests ]
Manual tests on a Debian Edu 13 mainserver.

[ Risks ]
Only for users of GOsa².

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]

+gosa-plugins-systems (2.8~git20211027.5741b8f-9+deb13u1) trixie; urgency=medium
+
+  [ Daniel Teichmann ]
+  * debian/patches:
+    + Add 1007_php84-deprecated-static-class-plinfo.patch. Fix deprecated use
+      of get_class() without params. (See gosa:src bug: #1147711).
+
+ -- Mike Gabriel <[email protected]>  Fri, 25 Sep 2026 12:57:32 +0200

[ Other info ]
Getting this package into trixie before the Debian 13.8 point release
will be highly appreciated!!!

This upload is important to the Debian Edu team.
diff -Nru gosa-plugins-systems-2.8~git20211027.5741b8f/debian/changelog 
gosa-plugins-systems-2.8~git20211027.5741b8f/debian/changelog
--- gosa-plugins-systems-2.8~git20211027.5741b8f/debian/changelog       
2023-09-18 23:08:03.000000000 +0200
+++ gosa-plugins-systems-2.8~git20211027.5741b8f/debian/changelog       
2026-09-25 12:57:32.000000000 +0200
@@ -1,3 +1,12 @@
+gosa-plugins-systems (2.8~git20211027.5741b8f-9+deb13u1) trixie; urgency=medium
+
+  [ Daniel Teichmann ]
+  * debian/patches:
+    + Add 1007_php84-deprecated-static-class-plinfo.patch. Fix deprecated use
+      of get_class() without params. (See gosa:src bug: #1147711).
+
+ -- Mike Gabriel <[email protected]>  Fri, 25 Sep 2026 12:57:32 +0200
+
 gosa-plugins-systems (2.8~git20211027.5741b8f-9) unstable; urgency=medium
 
   * debian/patches:
diff -Nru 
gosa-plugins-systems-2.8~git20211027.5741b8f/debian/patches/1007_php84-deprecated-static-class-plinfo.patch
 
gosa-plugins-systems-2.8~git20211027.5741b8f/debian/patches/1007_php84-deprecated-static-class-plinfo.patch
--- 
gosa-plugins-systems-2.8~git20211027.5741b8f/debian/patches/1007_php84-deprecated-static-class-plinfo.patch
 1970-01-01 01:00:00.000000000 +0100
+++ 
gosa-plugins-systems-2.8~git20211027.5741b8f/debian/patches/1007_php84-deprecated-static-class-plinfo.patch
 2026-09-25 12:57:11.000000000 +0200
@@ -0,0 +1,198 @@
+Author: Daniel Teichmann <[email protected]>
+Description: Fix deprecated use of get_class() without params. See 
https://www.php.net/manual/en/migration83.deprecated.php
+Bug-Debian: #1147711
+
+Updated by Serhii Horichenko <[email protected]> to avoid 
the error in files:
+Deprecated: Calling get_class() without arguments is deprecated in 
/usr/share/gosa/admin/systems/goto/class_terminalGeneric.inc on line 685
+Deprecated: Calling get_class() without arguments is deprecated in 
/usr/share/gosa/admin/systems/goto/class_workstationGeneric.inc on line 688
+Deprecated: Calling get_class() without arguments is deprecated in 
/usr/share/gosa/admin/systems/goto/class_printGeneric.inc on line 1013
+Deprecated: Calling get_class() without arguments is deprecated in 
/usr/share/gosa/admin/systems/class_servGeneric.inc on line 502
+Deprecated: Calling get_class() without arguments is deprecated in 
/usr/share/gosa/admin/systems/services/imap/class_goImapServer.inc on line 208
+Deprecated: Calling get_class() without arguments is deprecated in 
/usr/share/gosa/admin/systems/services/ldap/class_goLdapServer.inc on line 136
+Deprecated: Calling get_class() without arguments is deprecated in 
/usr/share/gosa/admin/systems/services/rsyslog/class_rSyslogServer.inc on line 
182
+Deprecated: Calling get_class() without arguments is deprecated in 
/usr/share/gosa/admin/systems/services/ntp/class_goNtpServer.inc on line 122
+Deprecated: Calling get_class() without arguments is deprecated in 
/usr/share/gosa/admin/systems/services/mail/class_goMailServer.inc on line 594
+Deprecated: Calling get_class() without arguments is deprecated in 
/usr/share/gosa/admin/systems/services/gofax/class_goFaxServer.inc on line 97
+Deprecated: Calling get_class() without arguments is deprecated in 
/usr/share/gosa/admin/systems/services/spam/class_goSpamServer.inc on line 329
+Deprecated: Calling get_class() without arguments is deprecated in 
/usr/share/gosa/admin/systems/services/shares/class_goShareServer.inc on line 
420
+Deprecated: Calling get_class() without arguments is deprecated in 
/usr/share/gosa/admin/systems/services/cups/class_goCupsServer.inc on line 77
+Deprecated: Calling get_class() without arguments is deprecated in 
/usr/share/gosa/admin/systems/services/kiosk/class_goKioskService.inc on line 
287
+Deprecated: Calling get_class() without arguments is deprecated in 
/usr/share/gosa/admin/systems/services/terminal/class_goTerminalServer.inc on 
line 172
+Deprecated: Calling get_class() without arguments is deprecated in 
/usr/share/gosa/admin/systems/services/virus/class_goVirusServer.inc on line 228
+
+--- a/admin/systems/class_servGeneric.inc
++++ b/admin/systems/class_servGeneric.inc
+@@ -499,7 +499,7 @@
+                     "plSection"     => array("administration"),           
+                     "plRequirements"=> array(
+                         'ldapSchema' => array('goServer' => '>=2.7'),
+-                        'onFailureDisablePlugin' => array(get_class())
++                        'onFailureDisablePlugin' => array(static::class)
+                         ),
+                     "plCategory"    => array("server" => array("description"  
=> _("Server"),
+                             "objectClass"  => "goServer")),
+--- a/admin/systems/goto/class_printGeneric.inc
++++ b/admin/systems/goto/class_printGeneric.inc
+@@ -1010,7 +1010,7 @@
+                     "plSection"     => array("administration"),
+                     "plRequirements"=> array(
+                         'ldapSchema' => array('gotoPrinter' => '>=2.7'),
+-                        'onFailureDisablePlugin' => array(get_class())
++                        'onFailureDisablePlugin' => array(static::class)
+                         ),
+                     "plCategory"    => array("printer" => array("description" 
 => _("Printer"),
+                             "objectClass"  => 
"gotoPrinter"),"workstation","terminal"),
+--- a/admin/systems/goto/class_terminalGeneric.inc
++++ b/admin/systems/goto/class_terminalGeneric.inc
+@@ -682,7 +682,7 @@
+                     "plSection"     => array("administration"),
+                     "plRequirements"=> array(
+                         'ldapSchema' => array('gotoTerminal' => '>=2.7'),
+-                        'onFailureDisablePlugin' => array(get_class())
++                        'onFailureDisablePlugin' => array(static::class)
+                         ),
+                     "plCategory"    => array("terminal" => array( 
"description"  => _("Terminal"),
+                             "objectClass"  => "gotoTerminal")),
+--- a/admin/systems/goto/class_workstationGeneric.inc
++++ b/admin/systems/goto/class_workstationGeneric.inc
+@@ -685,7 +685,7 @@
+                     "plSection"     => array("administration"),
+                     "plRequirements"=> array(
+                         'ldapSchema' => array('gotoWorkstation' => '>=2.7'),
+-                        'onFailureDisablePlugin' => array(get_class())
++                        'onFailureDisablePlugin' => array(static::class)
+                         ),
+                     "plCategory"    => array("workstation" => 
array("description"  => _("Workstation"),
+                             "objectClass"  => "gotoWorkstation")),
+--- a/admin/systems/services/imap/class_goImapServer.inc
++++ b/admin/systems/services/imap/class_goImapServer.inc
+@@ -205,7 +205,7 @@
+                     "plCategory"    => array("server"),
+                     "plRequirements"=> array(
+                         'ldapSchema' => array('goImapServer' => '>=2.7'),
+-                        'onFailureDisablePlugin' => 
array(get_class(),'mailAccount','mailogroup','mailgroup')
++                        'onFailureDisablePlugin' => 
array(static::class,'mailAccount','mailogroup','mailgroup')
+                         ),
+ 
+                     "plProvidedAcls"=> array(
+--- a/admin/systems/services/ldap/class_goLdapServer.inc
++++ b/admin/systems/services/ldap/class_goLdapServer.inc
+@@ -133,7 +133,7 @@
+                     "plCategory"    => array("server"),
+                     "plRequirements"=> array(
+                         'ldapSchema' => array('goLdapServer' => '>=2.7'),
+-                        'onFailureDisablePlugin' => array(get_class())
++                        'onFailureDisablePlugin' => array(static::class)
+                         ),
+ 
+                     "plProvidedAcls"=> array(
+--- a/admin/systems/services/rsyslog/class_rSyslogServer.inc
++++ b/admin/systems/services/rsyslog/class_rSyslogServer.inc
+@@ -179,7 +179,7 @@
+                     "plPriority"    => 99,
+                     "plRequirements"=> array(
+                         'ldapSchema' => array('goSyslogServer' => 
'>=2.7','goLogDBServer' => '>=2.7'),
+-                        'onFailureDisablePlugin' => 
array(get_class(),'rsyslog'),
++                        'onFailureDisablePlugin' => 
array(static::class,'rsyslog'),
+                         ),
+                     "plSection"     => array("administration"),
+                     "plCategory"    => array("server"),
+--- a/admin/systems/services/gofax/class_goFaxServer.inc
++++ b/admin/systems/services/gofax/class_goFaxServer.inc
+@@ -94,7 +94,7 @@
+                     "plCategory"    => array("server"),
+                     "plRequirements"=> array(
+                         'ldapSchema' => array('goFaxServer' => '>=2.7'),
+-                        'onFailureDisablePlugin' => 
array(get_class(),'faxreport','gofaxAccount')
++                        'onFailureDisablePlugin' => 
array(static::class,'faxreport','gofaxAccount')
+                         ),
+ 
+                     "plProvidedAcls"=> array(
+--- a/admin/systems/services/mail/class_goMailServer.inc
++++ b/admin/systems/services/mail/class_goMailServer.inc
+@@ -591,7 +591,7 @@
+                     "plCategory"    => array("server"),
+                     "plRequirements"=> array(
+                         'ldapSchema' => array('goMailServer' => '>=2.7'),
+-                        'onFailureDisablePlugin' => array(get_class())
++                        'onFailureDisablePlugin' => array(static::class)
+                         ),
+ 
+                     "plProperties"  => array(
+--- a/admin/systems/services/ntp/class_goNtpServer.inc
++++ b/admin/systems/services/ntp/class_goNtpServer.inc
+@@ -119,7 +119,7 @@
+                     "plSection"     => array("administration"),
+                     "plRequirements"=> array(
+                         'ldapSchema' => array('goNtpServer' => '>=2.7'),
+-                        'onFailureDisablePlugin' => array(get_class())
++                        'onFailureDisablePlugin' => array(static::class)
+                         ),
+                     "plCategory"    => array("server"),
+ 
+--- a/admin/systems/services/spam/class_goSpamServer.inc
++++ b/admin/systems/services/spam/class_goSpamServer.inc
+@@ -326,7 +326,7 @@
+                     "plCategory"    => array("server"),
+                     "plRequirements"=> array(
+                         'ldapSchema' => array('goSpamServer' => '>=2.7'),
+-                        'onFailureDisablePlugin' => array(get_class())
++                        'onFailureDisablePlugin' => array(static::class)
+                         ),
+                     "plProvidedAcls"=> array(
+ 
+--- a/admin/systems/services/shares/class_goShareServer.inc
++++ b/admin/systems/services/shares/class_goShareServer.inc
+@@ -417,7 +417,7 @@
+                     "plSection"     => array("administration"),
+                     "plRequirements"=> array(
+                         'ldapSchema' => array('goShareServer' => '>=2.7'),
+-                        'onFailureDisablePlugin' => array(get_class())
++                        'onFailureDisablePlugin' => array(static::class)
+                         ),
+                     "plCategory"    => array("server"),
+ 
+--- a/admin/systems/services/cups/class_goCupsServer.inc
++++ b/admin/systems/services/cups/class_goCupsServer.inc
+@@ -74,7 +74,7 @@
+                     "plCategory"    => array("server"),
+                     "plRequirements"=> array(
+                         'ldapSchema' => array('goCupsServer' => '>=2.7'),
+-                        'onFailureDisablePlugin' => array(get_class())
++                        'onFailureDisablePlugin' => array(static::class)
+                         ),
+ 
+                     "plProvidedAcls"=> array(
+--- a/admin/systems/services/kiosk/class_goKioskService.inc
++++ b/admin/systems/services/kiosk/class_goKioskService.inc
+@@ -284,7 +284,7 @@
+                     "plCategory"    => array("server"),
+                     "plRequirements"=> array(
+                         'ldapSchema' => array('goEnvironmentServer' => 
'>=2.7'),
+-                        'onFailureDisablePlugin' => array(get_class())
++                        'onFailureDisablePlugin' => array(static::class)
+                         ),
+ 
+                     "plProvidedAcls"=> array()
+--- a/admin/systems/services/terminal/class_goTerminalServer.inc
++++ b/admin/systems/services/terminal/class_goTerminalServer.inc
+@@ -169,7 +169,7 @@
+                     "plSection"     => array("administration"),
+                     "plRequirements"=> array(
+                         'ldapSchema' => array('goTerminalServer' => '>=2.7'),
+-                        'onFailureDisablePlugin' => array(get_class())
++                        'onFailureDisablePlugin' => array(static::class)
+                         ),
+                     "plCategory"    => array("server"),
+ 
+--- a/admin/systems/services/virus/class_goVirusServer.inc
++++ b/admin/systems/services/virus/class_goVirusServer.inc
+@@ -225,7 +225,7 @@
+                     "plCategory"    => array("server"),
+                     "plRequirements"=> array(
+                         'ldapSchema' => array('goVirusServer' => '>=2.7'),
+-                        'onFailureDisablePlugin' => array(get_class())
++                        'onFailureDisablePlugin' => array(static::class)
+                         ),
+                     "plProvidedAcls"=> array(
+ 
diff -Nru gosa-plugins-systems-2.8~git20211027.5741b8f/debian/patches/series 
gosa-plugins-systems-2.8~git20211027.5741b8f/debian/patches/series
--- gosa-plugins-systems-2.8~git20211027.5741b8f/debian/patches/series  
2023-09-18 23:06:59.000000000 +0200
+++ gosa-plugins-systems-2.8~git20211027.5741b8f/debian/patches/series  
2026-09-25 12:57:11.000000000 +0200
@@ -8,3 +8,4 @@
 1004_enforce_unqualified_hostname.patch
 1005_plugins-admin-systems-goto-class_printGeneric.inc-Fi.patch
 1006_plugins-admin-systems-class_termDNS.inc-Avoid-doubli.patch
+1007_php84-deprecated-static-class-plinfo.patch

Reply via email to