Package: release.debian.org Severity: normal Tags: trixie X-Debbugs-Cc: [email protected], [email protected] Control: affects -1 + src:gosa-plugins-mailaddress User: [email protected] Usertags: pu
Please accept upload of gosa-plugins-mailaddress 2.8~git20211027.08b10a2-2+deb13u1 to Debian trixie. [ Reason ] Fix PHP 8.4 deprecation warnings and incompatibilities. [ Impact ] GOsa² in Debian Edu still throwing many deprecation warnings and having other issues. [ Tests ] Manual tests on Debian Edu 13 main server. [ Risks ] Only for GOsa², if the mailaddress plugin is used. [ 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-mailaddress (2.8~git20211027.08b10a2-2+deb13u1) trixie; urgency=medium + + * debian/patches: + + Add 1010_fix-entry-removal-in-mailaddress-plugin.patch. Fix entry removal + in mail plugin. + + Add 1011_Fix-Undefined-constant-in-mailAccount.patch. Fix fatal error with + an undefined constant in mailAccount.inc. Thanks to Lars Kruse for + submitting the fix. (Closes: #1092291, #1148867). + + Add 1012_php84-deprecated-static-class-plinfo.patch. Fix deprecated use of + get_class() without params. (See gosa src:pkg bug #1147711). + + -- Mike Gabriel <[email protected]> Fri, 25 Sep 2026 10:50:59 +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-mailaddress-2.8~git20211027.08b10a2/debian/changelog gosa-plugins-mailaddress-2.8~git20211027.08b10a2/debian/changelog --- gosa-plugins-mailaddress-2.8~git20211027.08b10a2/debian/changelog 2023-01-26 23:38:15.000000000 +0100 +++ gosa-plugins-mailaddress-2.8~git20211027.08b10a2/debian/changelog 2026-09-25 10:50:59.000000000 +0200 @@ -1,3 +1,16 @@ +gosa-plugins-mailaddress (2.8~git20211027.08b10a2-2+deb13u1) trixie; urgency=medium + + * debian/patches: + + Add 1010_fix-entry-removal-in-mailaddress-plugin.patch. Fix entry removal + in mail plugin. + + Add 1011_Fix-Undefined-constant-in-mailAccount.patch. Fix fatal error with + an undefined constant in mailAccount.inc. Thanks to Lars Kruse for + submitting the fix. (Closes: #1092291, #1148867). + + Add 1012_php84-deprecated-static-class-plinfo.patch. Fix deprecated use of + get_class() without params. (See gosa src:pkg bug #1147711). + + -- Mike Gabriel <[email protected]> Fri, 25 Sep 2026 10:50:59 +0200 + gosa-plugins-mailaddress (2.8~git20211027.08b10a2-2) unstable; urgency=medium * Team upload to unstable, no source changes. diff -Nru gosa-plugins-mailaddress-2.8~git20211027.08b10a2/debian/patches/1010_fix-entry-removal-in-mailaddress-plugin.patch gosa-plugins-mailaddress-2.8~git20211027.08b10a2/debian/patches/1010_fix-entry-removal-in-mailaddress-plugin.patch --- gosa-plugins-mailaddress-2.8~git20211027.08b10a2/debian/patches/1010_fix-entry-removal-in-mailaddress-plugin.patch 1970-01-01 01:00:00.000000000 +0100 +++ gosa-plugins-mailaddress-2.8~git20211027.08b10a2/debian/patches/1010_fix-entry-removal-in-mailaddress-plugin.patch 2026-09-25 10:50:59.000000000 +0200 @@ -0,0 +1,23 @@ +Description: Fix entry removal in mail plugin +Author: eannj <[email protected]> +Abstract: + Without this patch, it is not possible to remove entries from + "Alternative addresses" or from "Forward messages to non group members" + list in "mail" tab of group objects. One selects an address and press + "delete" but nothing happens, the page is refreshed but address entry + remains. The same operation succeeds for users. It fails only for group + objects. The attached patch fixes the issue. + +--- a/admin/groups/mailaddress/class_groupMail.inc ++++ b/admin/groups/mailaddress/class_groupMail.inc +@@ -203,8 +203,8 @@ + } + } + } +- if (isset ($_POST['delete_forwarder'])) { +- $this->delForwarder (get_post ('forwarder_list')); ++ if (isset($_POST['delete_forwarder']) && isset($_POST['forwarder_list'])){ ++ $this->delForwarder (get_post('forwarder_list')); + } + + diff -Nru gosa-plugins-mailaddress-2.8~git20211027.08b10a2/debian/patches/1011_Fix-Undefined-constant-in-mailAccount.patch gosa-plugins-mailaddress-2.8~git20211027.08b10a2/debian/patches/1011_Fix-Undefined-constant-in-mailAccount.patch --- gosa-plugins-mailaddress-2.8~git20211027.08b10a2/debian/patches/1011_Fix-Undefined-constant-in-mailAccount.patch 1970-01-01 01:00:00.000000000 +0100 +++ gosa-plugins-mailaddress-2.8~git20211027.08b10a2/debian/patches/1011_Fix-Undefined-constant-in-mailAccount.patch 2026-09-25 10:50:59.000000000 +0200 @@ -0,0 +1,15 @@ +Description: Fix fatal error with an undefined constant in mailAccount.inc +Author: Lars Kruse <[email protected]> +Bug-Debian: #1092291, #1148867 + +--- a/personal/mailaddress/class_mailAccount.inc ++++ b/personal/mailaddress/class_mailAccount.inc +@@ -195,7 +195,7 @@ + } + + $smarty->assign ("multiple_support",$this->multiple_support_active); +- if ($this->multiple_support-active) { ++ if ($this->multiple_support_active) { + $smarty->assign ("multi_mail",array_slice ($this->multi_attrs_all['mail'],1)); + } + return ($display.$smarty->fetch (get_template_path ("generic.tpl",TRUE,dirname (__FILE__)))); diff -Nru gosa-plugins-mailaddress-2.8~git20211027.08b10a2/debian/patches/1012_php84-deprecated-static-class-plinfo.patch gosa-plugins-mailaddress-2.8~git20211027.08b10a2/debian/patches/1012_php84-deprecated-static-class-plinfo.patch --- gosa-plugins-mailaddress-2.8~git20211027.08b10a2/debian/patches/1012_php84-deprecated-static-class-plinfo.patch 1970-01-01 01:00:00.000000000 +0100 +++ gosa-plugins-mailaddress-2.8~git20211027.08b10a2/debian/patches/1012_php84-deprecated-static-class-plinfo.patch 2026-09-25 10:50:59.000000000 +0200 @@ -0,0 +1,15 @@ +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 + +--- a/personal/mailaddress/class_mailAccount.inc ++++ b/personal/mailaddress/class_mailAccount.inc +@@ -549,7 +549,7 @@ + ), + "plCategory" => array ("users"), + "plOptions" => array (), +- "plRequirements" => array ('onFailureDisablePlugin'=>array (get_class ())), ++ "plRequirements" => array ('onFailureDisablePlugin'=>array (static::class)), + "plProvidedAcls" => array ( + "mail" => _("Mail address"), + "alias" => _("Mail aliases"), diff -Nru gosa-plugins-mailaddress-2.8~git20211027.08b10a2/debian/patches/series gosa-plugins-mailaddress-2.8~git20211027.08b10a2/debian/patches/series --- gosa-plugins-mailaddress-2.8~git20211027.08b10a2/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ gosa-plugins-mailaddress-2.8~git20211027.08b10a2/debian/patches/series 2026-09-25 10:50:59.000000000 +0200 @@ -0,0 +1,3 @@ +1010_fix-entry-removal-in-mailaddress-plugin.patch +1011_Fix-Undefined-constant-in-mailAccount.patch +1012_php84-deprecated-static-class-plinfo.patch

