🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
4 messages
4 total messages Started by Mike Gabriel Wed, 04 Nov 2026 19:20
Bug#1153039: trixie-pu: package gosa/2.8~git20230203.10abe45+dfsg-19+deb13u1
#3143
Author: Mike Gabriel
Date: Wed, 04 Nov 2026 19:20
581 lines
30120 bytes
This is a multi-part MIME message sent by reportbug.


--===============0951162589793898729==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

UGFja2FnZTogcmVsZWFzZS5kZWJpYW4ub3JnClNldmVyaXR5OiBub3JtYWwKVGFnczogdHJpeGll
ClgtRGViYnVncy1DYzogZ29zYUBwYWNrYWdlcy5kZWJpYW4ub3JnLCBkZWJpYW4tZWR1QGxpc3Rz
LmRlYmlhbi5vcmcKQ29udHJvbDogYWZmZWN0cyAtMSArIHNyYzpnb3NhClVzZXI6IHJlbGVhc2Uu
ZGViaWFuLm9yZ0BwYWNrYWdlcy5kZWJpYW4ub3JnClVzZXJ0YWdzOiBwdQoKUGxlYXNlIGFjY2Vw
dCB1cGxvYWQgb2YgZ29zYSAyLjh+Z2l0MjAyMzAyMDMuMTBhYmU0NStkZnNnLTE5K2RlYjEzdTEg
dG8gRGViaWFuIHRyaXhpZS4KClsgUmVhc29uIF0KRml4IHZhcmlvdXMgUEhQIDguNCBkZXByZWNh
dGlvbiB3YXJuaW5ncyBhbmQgaW5jb21wYXRpYmlsaXR5IGlzc3Vlcy4KClsgSW1wYWN0IF0KR09z
YcKyIHJlbWFpbnMgYnJva2VuLCBlc3AuIHByb2JsZW1hdGljIHRvIERlYmlhbiBFZHUuCgpbIFRl
c3RzIF0KVGVzdGVkIG9uIERlYmlhbiBFZHUgbWFpbnNlcnZlci4KClsgUmlza3MgXQpPbmx5IGZv
ciB1c2VycyBvZiBHT3NhwrIgYW5kIERlYmlhbiBFZHUuCgpbIENoZWNrbGlzdCBdCiAgW3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Bwb2ludCByZWxlYXNlCndpbGwgYmUgaGlnaGx5IGFwcHJlY2lhdGVkISEhCgpUaGlzIHVwbG9h
ZCBpcyBpbXBvcnRhbnQgdG8gdGhlIERlYmlhbiBFZHUgdGVhbS4K

--===============0951162589793898729==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="gosa_2.8~git20230203.10abe45+dfsg-19_2.8~git20230203.10abe45+dfsg-19+deb13u1.debdiff"

diff -Nru gosa-2.8~git20230203.10abe45+dfsg/debian/changelog gosa-2.8~git20230203.10abe45+dfsg/debian/changelog
--- gosa-2.8~git20230203.10abe45+dfsg/debian/changelog	2025-04-09 11:35:20.000000000 +0200
+++ gosa-2.8~git20230203.10abe45+dfsg/debian/changelog	2026-11-03 16:57:44.000000000 +0100
@@ -1,3 +1,32 @@
+gosa (2.8~git20230203.10abe45+dfsg-19+deb13u1) trixie; urgency=medium
+
+  [ Daniel Teichmann ]
+  * debian/patches:
+    + Add 1156_fix-syntax-error-class_userinfo.patch. Fix deprecated syntax for
+      PHP 8.0+. (Closes: #1147713).
+    + Add 2011_remove-imap-dep-for-setup.patch: Removes setup dep of php-imap.
+      (Closes: #1128411)
+    + Add 1157_php84-deprecated-static-class-plinfo.patch. Fix deprecated use of
+      get_class() without params. (Closes: #1147711).
+
+  [ Serhii Horichenko ]
+  * debian/patches:
+    + Update 1156_fix-syntax-error-class_userinfo.patch (Closes: #1147713).
+    + Update 1157_php84-deprecated-static-class-plinfo.patch for another list
+      of files (Closes: #1147710, #1147711).
+    + Add 1158_php84-deprecated-constant-e_strict.patch: Fix PHP 8.4 deprecated
+      use of the constant E_STRICT (Closes: #1148053).
+    + Add 1159_php8_removed-get-magic-quotes-gpc.patch. Fix removed function in
+      PHP 8.0+.
+
+  [ Mike Gabriel ]
+  * debian/patches:
+    + Rebase 1023, 1053, 1064, 1099, 1102, 1149, 1154, 1155, 1157, 1159.
+    + Fix 1157_php84-deprecated-static-class-plinfo.patch. Move various changes
+      over to gosa-plugins-systems and gosa-plugins-mailaddress src:pkgs.
+
+ -- Mike Gabriel <sunweaver@debian.org>  Tue, 03 Nov 2026 16:57:44 +0100
+
 gosa (2.8~git20230203.10abe45+dfsg-19) unstable; urgency=medium
 
   * debian/control:
diff -Nru gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1023_fix-icon-labelling-with-default-theme.patch gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1023_fix-icon-labelling-with-default-theme.patch
--- gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1023_fix-icon-labelling-with-default-theme.patch	2023-08-17 06:33:48.000000000 +0200
+++ gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1023_fix-icon-labelling-with-default-theme.patch	2026-09-25 12:44:52.000000000 +0200
@@ -3,7 +3,7 @@
 
 --- a/include/functions.inc
 +++ b/include/functions.inc
-@@ -3663,6 +3663,14 @@
+@@ -3660,6 +3660,14 @@
    global $BASE_DIR;
    $label= null;
  
@@ -18,7 +18,7 @@
    $theme = getThemeName();
  
    switch ($theme) {
-@@ -3694,14 +3702,6 @@
+@@ -3691,14 +3699,6 @@
          return "";
        }
  
diff -Nru gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1053_dont-count-ldap-result-object-if-false.patch gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1053_dont-count-ldap-result-object-if-false.patch
--- gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1053_dont-count-ldap-result-object-if-false.patch	2024-07-24 15:22:47.000000000 +0200
+++ gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1053_dont-count-ldap-result-object-if-false.patch	2026-09-25 12:44:52.000000000 +0200
@@ -3,7 +3,7 @@
 
 --- a/include/functions.inc
 +++ b/include/functions.inc
-@@ -3803,7 +3803,12 @@
+@@ -3800,7 +3800,12 @@
              array('dn'));
  
      // If we haven't created the character-detection object, then create it now.
@@ -17,7 +17,7 @@
      if(!$cnt){
          $obj = array();
          $obj['objectClass'] = array('top','organization');
-@@ -3819,7 +3824,12 @@
+@@ -3816,7 +3821,12 @@
      $res = ldap_list($ldapCID, $config->current['BASE'],
              "(&(o=".$filterName.")(objectClass=organization))",
              array('dn','o'));
diff -Nru gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1064_include-class_listing.inc-Fix-broken-actions-menu.patch gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1064_include-class_listing.inc-Fix-broken-actions-menu.patch
--- gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1064_include-class_listing.inc-Fix-broken-actions-menu.patch	2024-08-23 15:26:27.000000000 +0200
+++ gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1064_include-class_listing.inc-Fix-broken-actions-menu.patch	2026-09-25 12:44:52.000000000 +0200
@@ -7,11 +7,9 @@
  include/class_listing.inc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
-diff --git a/include/class_listing.inc b/include/class_listing.inc
-index 21eba01a7..bc41df47c 100644
 --- a/include/class_listing.inc
 +++ b/include/class_listing.inc
-@@ -1729,7 +1729,7 @@ class listing
+@@ -1746,7 +1746,7 @@
                              $action['action'] = [$action['action']];
                          }
  
@@ -20,6 +18,3 @@
                          --$level;
                          $separator = '';
                          continue 2;
--- 
-2.39.2
-
diff -Nru gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1099_remove-debug-code.patch gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1099_remove-debug-code.patch
--- gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1099_remove-debug-code.patch	2023-12-03 08:11:48.000000000 +0100
+++ gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1099_remove-debug-code.patch	2026-09-25 12:44:52.000000000 +0200
@@ -1,6 +1,6 @@
 --- a/plugins/admin/users/class_userManagement.inc
 +++ b/plugins/admin/users/class_userManagement.inc
-@@ -323,10 +323,6 @@
+@@ -317,10 +317,6 @@
              $dn  = $this->dn;
              $acl = $this->ui->get_permissions($dn, "users/password");
              $cacl= $this->ui->get_permissions($dn, "users/user");
diff -Nru gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1102_style-robustness.patch gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1102_style-robustness.patch
--- gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1102_style-robustness.patch	2023-08-17 06:24:19.000000000 +0200
+++ gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1102_style-robustness.patch	2026-09-25 12:44:52.000000000 +0200
@@ -3,7 +3,7 @@
 
 --- a/include/functions.inc
 +++ b/include/functions.inc
-@@ -3688,6 +3688,11 @@
+@@ -3685,6 +3685,11 @@
        }
        $styles= session::global_get('img-styles');
  
diff -Nru gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1149_gosa-fix-filterlocklabelimage.patch gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1149_gosa-fix-filterlocklabelimage.patch
--- gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1149_gosa-fix-filterlocklabelimage.patch	2023-12-03 08:11:48.000000000 +0100
+++ gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1149_gosa-fix-filterlocklabelimage.patch	2026-09-25 12:44:52.000000000 +0200
@@ -3,7 +3,7 @@
 
 --- a/plugins/admin/users/class_userManagement.inc
 +++ b/plugins/admin/users/class_userManagement.inc
-@@ -907,7 +907,7 @@
+@@ -901,7 +901,7 @@
      }
  
  
@@ -12,7 +12,7 @@
      {
          $theme = getThemeName();
  
-@@ -947,7 +947,7 @@
+@@ -941,7 +941,7 @@
      }
  
  
diff -Nru gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1154_skip-DN-when-processing-existing-account-settings.patch gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1154_skip-DN-when-processing-existing-account-settings.patch
--- gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1154_skip-DN-when-processing-existing-account-settings.patch	2023-08-17 06:24:19.000000000 +0200
+++ gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1154_skip-DN-when-processing-existing-account-settings.patch	2026-09-25 12:44:52.000000000 +0200
@@ -3,7 +3,7 @@
 
 --- a/include/functions.inc
 +++ b/include/functions.inc
-@@ -2972,7 +2972,8 @@
+@@ -2969,7 +2969,8 @@
          // Prepare a special attribute list, which will be used for event hook calls
          $attrsEvent = array();
          foreach($initialAttrs as $name => $value){
diff -Nru gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1155_fix-uid-generation-when-many-uids-have-been-already-taken.patch gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1155_fix-uid-generation-when-many-uids-have-been-already-taken.patch
--- gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1155_fix-uid-generation-when-many-uids-have-been-already-taken.patch	2023-08-17 06:33:48.000000000 +0200
+++ gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1155_fix-uid-generation-when-many-uids-have-been-already-taken.patch	2026-09-25 12:44:52.000000000 +0200
@@ -44,7 +44,7 @@
 
 --- a/include/functions.inc
 +++ b/include/functions.inc
-@@ -3937,10 +3937,10 @@
+@@ -3934,10 +3934,10 @@
  
      @DEBUG (DEBUG_TRACE, __LINE__, __FUNCTION__, __FILE__, $attributes, "Prepare");
  
@@ -57,7 +57,7 @@
      preg_match_all('/(\{?%([a-z0-9]+)(\[(([0-9]+)(\-([0-9]+))?)\])?\}?)/i', $rule ,$matches, PREG_SET_ORDER);
      $replacements = array();
      foreach($matches as $match){
-@@ -3948,13 +3948,22 @@
+@@ -3945,13 +3945,22 @@
        # initialize the match's replacement array...
        $replacements[$match[0]] = array();
  
@@ -81,7 +81,7 @@
            $tmp = " ".$attributes[$match[2]];
            $replacements[$match[0]][] = trim($tmp[$match[5]]);
          }
-@@ -3963,7 +3972,7 @@
+@@ -3960,7 +3969,7 @@
        }else{
          $str = "";
          for($i=$match[5]; $i<= $match[7]; $i++){
diff -Nru gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1156_fix-syntax-error-class_userinfo.patch gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1156_fix-syntax-error-class_userinfo.patch
--- gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1156_fix-syntax-error-class_userinfo.patch	1970-01-01 01:00:00.000000000 +0100
+++ gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1156_fix-syntax-error-class_userinfo.patch	2026-09-25 12:44:52.000000000 +0200
@@ -0,0 +1,18 @@
+Author: Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
+Description: Fix syntax error in class_userinfo.inc (PHP 8.0+)
+Bug-Debian: #1147713
+
+--- a/include/class_userinfo.inc
++++ b/include/class_userinfo.inc
+@@ -219,9 +219,9 @@
+           $without_self_acl[$sdn][$dn] = $this->ACL[$dn]; 
+           foreach($without_self_acl[$sdn][$dn] as $acl_id => $acl_set){
+   
+-            /* Remember which ACL set has speicial user filter 
++            /* Remember which ACL set has special user filter
+              */
+-            if(isset($acl_set['filter']{1})){
++            if(isset($acl_set['filter'][1])){
+               $this->ACLperPath_usesFilter[$sdn] = TRUE;
+             }
+           
diff -Nru gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1157_php84-deprecated-static-class-plinfo.patch gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1157_php84-deprecated-static-class-plinfo.patch
--- gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1157_php84-deprecated-static-class-plinfo.patch	1970-01-01 01:00:00.000000000 +0100
+++ gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1157_php84-deprecated-static-class-plinfo.patch	2026-09-25 12:44:52.000000000 +0200
@@ -0,0 +1,70 @@
+Author: Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
+Description: Fix deprecated use of get_class() without params. See https://www.php.net/manual/en/migration83.deprecated.php
+Bug-Debian: #1147710, #1147711
+
+--- a/include/class_core.inc
++++ b/include/class_core.inc
+@@ -225,7 +225,7 @@
+                             'gosaProperties' => '>=2.7',
+                             'gosaConfig' => '>=2.7'
+                             ),
+-                        'onFailureDisablePlugin' => array(get_class())
++                        'onFailureDisablePlugin' => array(static::class)
+                         ),
+ 
+ 
+--- a/plugins/admin/acl/class_aclRole.inc
++++ b/plugins/admin/acl/class_aclRole.inc
+@@ -749,7 +749,7 @@
+           "plCategory"    => array("acl"),
+           "plRequirements"=> array(
+               'ldapSchema' => array('gosaAcl' => '>=2.7'),
+-              'onFailureDisablePlugin' => array(get_class(), 'aclManagement')
++              'onFailureDisablePlugin' => array(static::class, 'aclManagement')
+               ),
+           "plProperties" =>
+           array(
+--- a/plugins/admin/departments/class_department.inc
++++ b/plugins/admin/departments/class_department.inc
+@@ -660,7 +660,7 @@
+                     "plSection"     => array("administration"),
+                     "plRequirements"=> array(
+                         'ldapSchema' => array('gosaDepartment' => '>=2.7'),
+-                        'onFailureDisablePlugin' => array(get_class(),'departmentManagement',
++                        'onFailureDisablePlugin' => array(static::class,'departmentManagement',
+                             'country','dcObject','domain','locality','organization')
+                         ),
+ 
+--- a/plugins/admin/ogroups/class_ogroup.inc
++++ b/plugins/admin/ogroups/class_ogroup.inc
+@@ -923,7 +923,7 @@
+                     "plSection"     => array("administration"),
+                     "plRequirements"=> array(
+                         'ldapSchema' => array('gosaGroupOfNames' => '>=2.7'),
+-                        'onFailureDisablePlugin' => array(get_class(), 'ogroupManagement')
++                        'onFailureDisablePlugin' => array(static::class, 'ogroupManagement')
+                         ),
+                     "plCategory"    => array("ogroups" => array("description"  => _("Object groups"),
+                             "objectClass"  => "gosaGroupOfNames")),
+--- a/plugins/personal/generic/class_user.inc
++++ b/plugins/personal/generic/class_user.inc
+@@ -1704,7 +1704,7 @@
+                 'gosaAccount' => '>=2.7',
+                 'gosaUserTemplate' => '>=2.7'
+                 ),
+-            'onFailureDisablePlugin' => array(get_class(),'userManagement', 'user')
++            'onFailureDisablePlugin' => array(static::class, 'userManagement', 'user')
+             ),
+ 
+         "plProperties" => array(
+--- a/plugins/personal/posix/class_posixAccount.inc
++++ b/plugins/personal/posix/class_posixAccount.inc
+@@ -1407,7 +1407,7 @@
+           "plOptions"         => array(),
+           "plRequirements"=> array(
+               'ldapSchema' => array('posixAccount' => ''),
+-              'onFailureDisablePlugin' => array(get_class(), 'sambaAccount','netatalk','environment')
++              'onFailureDisablePlugin' => array(static::class, 'sambaAccount','netatalk','environment')
+               ),
+ 
+           "plProvidedAcls"  => array(
diff -Nru gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1158_php84-deprecated-constant-e_strict.patch gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1158_php84-deprecated-constant-e_strict.patch
--- gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1158_php84-deprecated-constant-e_strict.patch	1970-01-01 01:00:00.000000000 +0100
+++ gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1158_php84-deprecated-constant-e_strict.patch	2026-09-25 12:44:52.000000000 +0200
@@ -0,0 +1,138 @@
+Description: Fix PHP 8.4 deprecated use of the constant E_STRICT.
+Author: Serhii Horichenko <serhii.horichenko@freiesoftware.gmbh>
+Bug-Debian: #1148053
+--- a/html/getbin.php
++++ b/html/getbin.php
+@@ -49,7 +49,7 @@
+ }
+ 
+ echo session::get('binary');
+-error_reporting (E_ALL | E_STRICT);
++error_reporting (E_ALL);
+ 
+ // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
+ ?>
+--- a/html/helpviewer.php
++++ b/html/helpviewer.php
+@@ -25,7 +25,7 @@
+ @require_once ("functions.inc");
+ @require_once ("functions_helpviewer.inc");
+ 
+-error_reporting(E_ALL | E_STRICT);
++error_reporting(E_ALL);
+ restore_error_handler();
+ header("Content-type: text/html; charset=UTF-8");
+ 
+--- a/html/index.php
++++ b/html/index.php
+@@ -34,7 +34,7 @@
+ function displayLogin()
+ {
+     global $smarty,$message,$config,$ssl,$error_collector, $BASE_DIR;
+-    error_reporting(E_ALL | E_STRICT);
++    error_reporting(E_ALL);
+ 
+     /* Check theme compatibility */
+     $theme = $config->get_cfg_value("core", 'theme');
+--- a/include/functions_helpviewer.inc
++++ b/include/functions_helpviewer.inc
+@@ -278,7 +278,7 @@
+   session::un_set('parsed_search_keyword');
+   session::set('parsed_search_keyword',"");
+ 
+-  error_reporting(E_ALL | E_STRICT);
++  error_reporting(E_ALL);
+ 
+   /* prepare searchwords */
+   $word   = trim($word);
+--- a/include/php_setup.inc
++++ b/include/php_setup.inc
+@@ -35,20 +35,20 @@
+    * e.g. @call_function_but_hide_errors()
+    */
+   if (error_reporting() == ERROR_SUPPRESSED){
+-    set_error_handler('gosaRaiseError', E_WARNING |  E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE | E_STRICT) ;
++    set_error_handler('gosaRaiseError', E_WARNING |  E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE) ;
+     return;
+   }
+ 
+   /* Workaround for buggy imap_open error outputs */
+   if (preg_match('/imap_open/', $errstr)){
+-    set_error_handler('gosaRaiseError', E_WARNING |  E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE | E_STRICT) ;
++    set_error_handler('gosaRaiseError', E_WARNING |  E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE) ;
+     return;
+   }
+ 
+   /* Hide ldap size limit messages */
+   if (preg_match('/ldap_error/', $errstr)){
+     if (preg_match('/sizelimit/', $errstr)){
+-      set_error_handler('gosaRaiseError', E_WARNING |  E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE | E_STRICT) ;
++      set_error_handler('gosaRaiseError', E_WARNING |  E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE) ;
+       return;
+     }
+   }
+@@ -56,7 +56,7 @@
+   /* Hide 'ldap_(search|read)(): Search: No such object' messages */
+   if (preg_match('/ldap_(search|read)/', $errstr)){
+     if (preg_match('/No such object/', $errstr)){
+-      set_error_handler('gosaRaiseError', E_WARNING |  E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE | E_STRICT) ;
++      set_error_handler('gosaRaiseError', E_WARNING |  E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE) ;
+       return;
+     }
+   }
+@@ -69,7 +69,7 @@
+       new log("view","error","",array(),"PHP error: $errstr ($errfile, line $errline)");
+     }
+ 
+-    set_error_handler('gosaRaiseError', E_WARNING |  E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE | E_STRICT) ;
++    set_error_handler('gosaRaiseError', E_WARNING |  E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE) ;
+     return;
+   }
+  
+@@ -228,7 +228,7 @@
+   $error_collector.= "</table>";
+ 
+   /* Flush in case of fatal errors */
+-  set_error_handler('gosaRaiseError', E_WARNING |  E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE | E_STRICT) ;
++  set_error_handler('gosaRaiseError', E_WARNING |  E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE) ;
+   if (preg_match('/^fatal/i', $errstr)){
+     echo $error_collector."</div>";
+     flush();
+@@ -291,13 +291,13 @@
+ /* Get base dir for reference */
+ $BASE_DIR= dirname(dirname(__FILE__));
+ $ROOT_DIR= $BASE_DIR."/html";
+-error_reporting (E_ALL | E_STRICT);
++error_reporting (E_ALL);
+ 
+ /* Register error handler */
+ $error_collector= "";
+ $error_collector_mailto= "";
+ 
+-set_error_handler('gosaRaiseError', E_WARNING |  E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE | E_STRICT) ;
++set_error_handler('gosaRaiseError', E_WARNING |  E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE) ;
+ 
+ $variables_order= "ES";
+ ini_set("register_globals",0);
+--- a/plugins/admin/ogroups/class_ogroup.inc
++++ b/plugins/admin/ogroups/class_ogroup.inc
+@@ -386,7 +386,7 @@
+             } else {
+                 $smarty->assign("combinedObjects", "$p1");
+             }
+-            error_reporting(E_ALL | E_STRICT);
++            error_reporting(E_ALL);
+         }
+ 
+         /* Assign variables */
+--- a/plugins/personal/posix/class_posixAccount.inc
++++ b/plugins/personal/posix/class_posixAccount.inc
+@@ -1088,7 +1088,7 @@
+           $dsc= preg_replace ('/^Group of user/', _("Group of user"), $attrs["description"][0]);
+           $entry= $attrs["cn"][0]." [$dsc]";
+         }
+-        error_reporting (E_ALL | E_STRICT);
++        error_reporting (E_ALL);
+ 
+         if(obj_is_writable($attrs['dn'],"groups/group","memberUid")){
+           $this->groupMembership[$attrs['dn']]= $entry;
diff -Nru gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1159_php8_removed-get-magic-quotes-gpc.patch gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1159_php8_removed-get-magic-quotes-gpc.patch
--- gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1159_php8_removed-get-magic-quotes-gpc.patch	1970-01-01 01:00:00.000000000 +0100
+++ gosa-2.8~git20230203.10abe45+dfsg/debian/patches/1159_php8_removed-get-magic-quotes-gpc.patch	2026-11-03 16:57:05.000000000 +0100
@@ -0,0 +1,47 @@
+Author: Serhii Horichenko <serhii.horichenko@freiesoftware.gmbh>
+Description: Function get_magic_quotes_gpc() is deprecated since PHP 7.4 and removed since PHP 8.0
+Compare with https://github.com/gosa-project/gosa-core/blob/main/include/functions.inc
+  function get_post(string $name)
+  function get_binary_post(string $name)
+
+--- a/include/functions.inc
++++ b/include/functions.inc
+@@ -2785,22 +2785,14 @@
+     }
+ 
+     // Handle Posted Arrays
+-    $tmp = array();
++    $tmp = [];
+     if(is_array($_POST[$name]) && !is_string($_POST[$name])){
+-        if(version_compare(PHP_VERSION, '5.4.0', '<') && get_magic_quotes_gpc()){
+-          array_walk_recursive($_POST, "stripcslashes");
+-        }
+         $tmp = $_POST;
+         return($tmp[$name]);
+     }else{
+-
+-        if(version_compare(PHP_VERSION, '5.4.0', '<') && get_magic_quotes_gpc()){
+-            $val = stripcslashes($_POST[$name]);
+-        }else{
+-            $val = $_POST[$name];
+-        }
++        $val = $_POST[$name];
+     }
+-  return($val);
++  return $val;
+ }
+ 
+ 
+@@ -2820,11 +2812,7 @@
+   }
+ 
+   $p = str_replace('\0', '', $_POST[$name]);
+-  if(get_magic_quotes_gpc()){
+-    return(stripcslashes($p));
+-  }else{
+-    return($_POST[$p]);
+-  }
++  return($_POST[$p]);
+ }
+ 
+ function set_post($value)
diff -Nru gosa-2.8~git20230203.10abe45+dfsg/debian/patches/2011_remove-imap-dep-for-setup.patch gosa-2.8~git20230203.10abe45+dfsg/debian/patches/2011_remove-imap-dep-for-setup.patch
--- gosa-2.8~git20230203.10abe45+dfsg/debian/patches/2011_remove-imap-dep-for-setup.patch	1970-01-01 01:00:00.000000000 +0100
+++ gosa-2.8~git20230203.10abe45+dfsg/debian/patches/2011_remove-imap-dep-for-setup.patch	2026-09-25 12:44:52.000000000 +0200
@@ -0,0 +1,31 @@
+Description: Drop setup check for php-imap (see salsa commit 79e743dd0bf).
+Author: Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
+
+--- a/setup/class_setupStep_Checks.inc
++++ b/setup/class_setupStep_Checks.inc
+@@ -71,7 +71,7 @@
+     $M = TRUE;
+     $this->basic_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M );
+ 
+-    /* Checking imap extension */
++    /* Checking LDAP extension */
+     $N = msgPool::checkingFor("LDAP");
+     $D = _("GOsa requires this module to talk with your LDAP server.");
+     $S = msgPool::installPhpModule("LDAP");
+@@ -111,15 +111,7 @@
+     $M = FALSE;
+     $this->basic_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M );
+ 
+-    /* Is imap module available */
+-    $N = msgPool::checkingFor("IMAP");
+-    $D = _("GOsa requires this module to talk to an IMAP server.");
+-    $S = msgPool::installPhpModule("IMAP");
+-    $R = is_callable("imap_open");
+-    $M = TRUE;
+-    $this->basic_checks[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M );
+-
+-    /* Is imap module available */
++    /* Is mbstring module available */
+     $N = msgPool::checkingFor(_("mbstring"));
+     $D = _("GOsa requires this module to handle Unicode strings.");
+     $S = msgPool::installPhpModule("mbstring");
diff -Nru gosa-2.8~git20230203.10abe45+dfsg/debian/patches/series gosa-2.8~git20230203.10abe45+dfsg/debian/patches/series
--- gosa-2.8~git20230203.10abe45+dfsg/debian/patches/series	2024-08-23 15:26:27.000000000 +0200
+++ gosa-2.8~git20230203.10abe45+dfsg/debian/patches/series	2026-11-03 16:57:05.000000000 +0100
@@ -81,3 +81,8 @@
 1057_fix-ldap-rename.patch
 1058_fix-ogroup-creation.patch
 1064_include-class_listing.inc-Fix-broken-actions-menu.patch
+1156_fix-syntax-error-class_userinfo.patch
+2011_remove-imap-dep-for-setup.patch
+1157_php84-deprecated-static-class-plinfo.patch
+1158_php84-deprecated-constant-e_strict.patch
+1159_php8_removed-get-magic-quotes-gpc.patch

--===============0951162589793898729==--
Bug#1153039: trixie-pu: package gosa/2.8~git20230203.10abe45+dfsg-19+deb13u1
#4057
Author: Adam D. Barratt
Date: Tue, 10 Nov 2026 20:10
15 lines
2386 bytes
Control: tags -1 + moreinfo

On Wed, 2026-11-04 at 20:15 +0100, Mike Gabriel wrote:
> +    + Add 1158_php84-deprecated-constant-e_strict.patch: Fix PHP 8.4
> deprecated
> +      use of the constant E_STRICT (Closes: #1148053).

I don't know what the correct bug number here is, but #1148053 is an
ftp.d.o RM bug.

Regards,

Adam
Bug#1153039: trixie-pu: package gosa/2.8~git20230203.10abe45+dfsg-19+deb13u1
#4084
Author: Mike Gabriel
Date: Tue, 10 Nov 2026 23:40
76 lines
4615 bytes
This message is in MIME format and has been PGP signed.

--=_DAk1QcjLtZKyFVIS5fpV5LU
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Adam,

On  Di 10 Nov 2026 20:58:29 CET, Adam D. Barratt wrote:

> Control: tags -1 + moreinfo
>
> On Wed, 2026-11-04 at 20:15 +0100, Mike Gabriel wrote:
>> +=C2=A0=C2=A0=C2=A0 + Add 1158_php84-deprecated-constant-e_strict.patch:=
 Fix PHP 8.4
>> deprecated
>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 use of the constant E_STRICT (Closes: #1=
148053).
>
> I don't know what the correct bug number here is, but #1148053 is an
> ftp.d.o RM bug.
>
> Regards,
>
> Adam

argh, dang. Typo.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1148052

Now fixed in Git:

master:
https://salsa.debian.org/debian-edu-pkg-team/gosa/-/commit/683749d5371483e5=
ac66b3de1c1407d5cfef55f1

debian/trixie:
https://salsa.debian.org/debian-edu-pkg-team/gosa/-/commit/df0eaad3e74dbb4e=
4d97f18f1f13b512cc60326b

Mike
--=20

mike=20gabriel aka sunweaver (Debian Developer)
mobile: +49 (1520) 1976 148
landline: +49 (4351) 486 14 27

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: sunweaver@debian.org, http://sunweavers.net


--=_DAk1QcjLtZKyFVIS5fpV5LU
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIzBAABCgAdFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmrzqgAACgkQmvRrMCV3
GzGI6xAAjmROgl0ib4PgMvUcbOsHbh52Bc+qG5WqhV0I52o9kT8o3LAUGPTjDCxZ
h56QK3/Jxw5f1hs5ZXdJmYZSO1/yGuoKk5aCjaXz5uJqCDwup22dP4gm0VeG5ROZ
UPc1te79RvdxiD+qSH6pKDtnyrCohMxKDEFlQlIdEsJ1zG1rw2W/krb6eS+tCNPf
iWkoSuQ2c/LDMXtuqfYFRATeYnfPdsMoxoo5MXWBJBfzVQ2qPzywve2br28J4iPg
O1z/1DnxFPS1nELj7+b/Y2O3KhY5Br/r1FAC5hGTtDZRSM5gAutq1AtltVj9LSZ7
DDw3B5tGUBG+ZgAt5sREEgoYhD1WbZGKaalO4LygYjBSnly86/ybxvSYhGU6rFLf
TN9rp4qUc7ZaDODLZC1WY+R1AOOdJLnxhoTT0I9aEiagN+uvEocncSJn4tVTumn/
+Qgrg3i4Qtaj+YOBFhKWRMnnR5wnMlL1xqwxzDFkNrF1ngLT1Sni1H0IVbYsqTmX
mpnp/WK0jtMyYzLopPlWR/fxG6tOzD0h4wlz+30srikUGOzexfZ211PkeDQ6WDnu
qqRAjqQlNKynADprzN750pioI2UEWv7OfJi+dUji8OIJ58i6j4T76c3zsPS+JNCG
kzbH5MP/25S+o8CkLSveH4d5IdMxvN1vCoOknmo80bAHCrl4YM8=
=6ppT
-----END PGP SIGNATURE-----

--=_DAk1QcjLtZKyFVIS5fpV5LU--
Bug#1153039: gosa 2.8~git20230203.10abe45+dfsg-19+deb13u1 flagged for acceptance
#4381
Author: Adam D Barratt
Date: Fri, 13 Nov 2026 14:20
17 lines
2090 bytes
package release.debian.org
tags 1153039 = trixie pending
thanks

Hi,

The upload referenced by this bug report has been flagged for acceptance into the proposed-updates queue for Debian trixie.

Thanks for your contribution!

Upload details
==============

Package: gosa
Version: 2.8~git20230203.10abe45+dfsg-19+deb13u1

Explanation: fix compatibility with PHP8.X
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads