Skip to content

Commit

Permalink
security/mailzu: Fix runtime with php82
Browse files Browse the repository at this point in the history
After adding two more patches is working correctly (no error/warning
messages in web server logs).

PR:		274969
Approved by:	submitter is maintainer
  • Loading branch information
Krzysztof authored and 5u623l20 committed Nov 12, 2023
1 parent a5bd988 commit 0a3ee72
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions security/mailzu/Makefile
@@ -1,6 +1,6 @@
PORTNAME= mailzu
DISTVERSION= 0.8rc3
PORTREVISION= 9
PORTREVISION= 10
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/MailZu%200.8RC3
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
Expand All @@ -21,7 +21,7 @@ RUN_DEPENDS= ${LOCALBASE}/sbin/amavisd:security/amavisd-new \

USES= php:flavors,web
USE_PHP= sockets
IGNORE_WITH_PHP= 82 83
IGNORE_WITH_PHP= 83

NO_ARCH= yes
NO_BUILD= yes
Expand Down
10 changes: 10 additions & 0 deletions security/mailzu/files/patch-lib_LDAPEngine.class.php
@@ -0,0 +1,10 @@
--- lib/LDAPEngine.class.php.orig 2007-06-14 19:00:15 UTC
+++ lib/LDAPEngine.class.php
@@ -283,6 +283,7 @@ class LDAPEngine {
*/
function searchUserDN($searchFilter) {

+ $dn = "";
switch ($this->serverType) {
case "ldap":
if ( $this->searchUser != '' ) {

0 comments on commit 0a3ee72

Please sign in to comment.