🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #3144

Bug#1153042: trixie-pu: package gosa-plugins-mailaddress/2.8~git20211027.08b10a2-2+deb13u1

#3144
From: Mike Gabriel
Date: Wed, 04 Nov 2026 19:40
140 lines
10385 bytes
This is a multi-part MIME message sent by reportbug.


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

UGFja2FnZTogcmVsZWFzZS5kZWJpYW4ub3JnClNldmVyaXR5OiBub3JtYWwKVGFnczogdHJpeGll
ClgtRGViYnVncy1DYzogZ29zYS1wbHVnaW5zLW1haWxhZGRyZXNzQHBhY2thZ2VzLmRlYmlhbi5v
cmcsIGRlYmlhbi1lZHVAbGlzdHMuZGViaWFuLm9yZwpDb250cm9sOiBhZmZlY3RzIC0xICsgc3Jj
Omdvc2EtcGx1Z2lucy1tYWlsYWRkcmVzcwpVc2VyOiByZWxlYXNlLmRlYmlhbi5vcmdAcGFja2Fn
ZXMuZGViaWFuLm9yZwpVc2VydGFnczogcHUKClBsZWFzZSBhY2NlcHQgdXBsb2FkIG9mIGdvc2Et
cGx1Z2lucy1tYWlsYWRkcmVzcyAyLjh+Z2l0MjAyMTEwMjcuMDhiMTBhMi0yK2RlYjEzdTEgdG8g
RGViaWFuIHRyaXhpZS4KClsgUmVhc29uIF0KRml4IFBIUCA4LjQgZGVwcmVjYXRpb24gd2Fybmlu
Z3MgYW5kIGluY29tcGF0aWJpbGl0aWVzLgoKWyBJbXBhY3QgXQpHT3NhwrIgaW4gRGViaWFuIEVk
dSBzdGlsbCB0aHJvd2luZyBtYW55IGRlcHJlY2F0aW9uIHdhcm5pbmdzIGFuZCBoYXZpbmcgb3Ro
ZXIgaXNzdWVzLgoKWyBUZXN0cyBdCk1hbnVhbCB0ZXN0cyBvbiBEZWJpYW4gRWR1IDEzIG1haW4g
c2VydmVyLgoKWyBSaXN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QgdXNlIG9mCisgICAgICBnZXRfY2xhc3MoKSB3aXRob3V0IHBhcmFtcy4gKFNlZSBn
b3NhIHNyYzpwa2cgYnVnICMxMTQ3NzExKS4KKworIC0tIE1pa2UgR2FicmllbCA8c3Vud2VhdmVy
QGRlYmlhbi5vcmc+ICBGcmksIDI1IFNlcCAyMDI2IDEwOjUwOjU5ICswMjAwCisKClsgT3RoZXIg
aW5mbyBdCkdldHRpbmcgdGhpcyBwYWNrYWdlIGludG8gdHJpeGllIGJlZm9yZSB0aGUgRGViaWFu
IDEzLjggcG9pbnQgcmVsZWFzZQp3aWxsIGJlIGhpZ2hseSBhcHByZWNpYXRlZCEhIQoKVGhpcyB1
cGxvYWQgaXMgaW1wb3J0YW50IHRvIHRoZSBEZWJpYW4gRWR1IHRlYW0uCg==

--===============4538817296760245962==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="gosa-plugins-mailaddress_2.8~git20211027.08b10a2-2_2.8~git20211027.08b10a2-2+deb13u1.debdiff"

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 <sunweaver@debian.org>  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 <greg@brazcubas.br>
+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 <devel@sumpfralle.de>
+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 <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: #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

--===============4538817296760245962==--
Technical Details
Message-ID: <NVOZX-9QYs-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Newsgroups: linux.debian.bugs.dist,linux.debian.devel.release
Subject: Bug#1153042: trixie-pu: package gosa-plugins-mailaddress/2.8~git20211027.08b10a2-2+deb13u1
Date: Wed, 04 Nov 2026 20:40:01 +0100
Message-ID: <NVOZX-9QYs-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Nov  4 19:35:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 1153042@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: gosa-plugins-mailaddress@packages.debian.org, debian-edu@lists.debian.org, debian-release@lists.debian.org
X-Debian-Pr-Message: report 1153042
X-Debian-Pr-Package: release.debian.org
X-Debian-Pr-Keywords: trixie
Content-Type: multipart/mixed; boundary="===============4538817296760245962=="
MIME-Version: 1.0
X-Mailer: reportbug 13.2.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000670
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 140
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 04 Nov 2026 20:34:22 +0100
X-Original-Message-ID: <179382086229.3147927.10394771383123626766.reportbug@sunobo>