From nobody Sun Nov 12 19:23:17 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ST2XP6HBrz50sbf; Sun, 12 Nov 2023 19:23:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ST2XP5lhFz3Rgh; Sun, 12 Nov 2023 19:23:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699816997; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ETC/StIbXxUeJpMotilDszcbfAbPZfhs2vE/JimlEp8=; b=Y7mwook0sj51c2HjSJa6KtxExZqIZR9w6F853y2UlOr4WjXqP+1e5EHuAuYH7zsBiYAicH dGMR43nm7T8xsDy1WBQqBw4YJlKIwy1Mc5jtTu7skL0/DAD42JRSTbz3rlDCkfITKAqMu7 YMxqAPnxfuXok5ndHQF1y71wE8zL4JgzBMICg/TqetzdNBcDpFauEp7OsK2RzfENs16pVM PsZQTYYzAFG/d2Ss5k6D97Z1mBpOn94MSgzd2WAPca8HlY+CHR4soxbUShiJB+HqDBT/OI 9HE5zMiys43urXrSmXmsENnWwXBUPhRjXSbQvfwg/9/H0DAa+5QrgeR//hs1Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699816997; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ETC/StIbXxUeJpMotilDszcbfAbPZfhs2vE/JimlEp8=; b=cNB3X6H2a57f67iCCLmseFN3dlPp0RiiZlgD5lpSev769aMhTsilUEnoLh/DCxbvXUsWGS frd6iEdm4+t0XC6eaJzZn//yj1FHrBPeWu6O9bm9Z5fuPwdko1aX/XBHamrnLjxg5th5JJ fbhUHVglirUABp+ej4TADCsNaNppKlkSUt2FYRorT47O64YGPelM/aWty8lRudf34RDcBz vgeDaYOEOYUzCPycFv+s8V+Ux6lCoxYdLa18ptSMb6+V6I7y0Eoyqqrz4CvgBxMjGMTdVx uiNq16p+75qTGkn4c2NPVNijv2nz84W3SsBgwk2szEmeslaht/PrhXTpg18meg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699816997; a=rsa-sha256; cv=none; b=qh4GI12idK95t7D9KYIJyaVm/ZDJpIyl5xtMMQ3aN3OjzBy+Kgd3TzUd+pMF3AFSMoxsk5 MO0S9KPmQD68lIzHFZC6xYKt7wZZRFo+1p7X3fIuLEs0KKMegqn1XkhTBkOIsNnaIbzKkv vWBdDvXyABAwhAbvKnBuPN2U/XbtN1hQrDU1XqFKPot9Aa0Vi+IhPp2w6RzCHfOMHJ4D0k vVHa1jHDY54VkO4kAUdP4xm7J988bVhJNXqEJcl4UwYGcOLxEfQlpu6aOQOc2uOAZ4zrNR HMyPwsT978tY0WmHedaE//wUOinNfu2wHoT4obsY0KcCWOKC/H/aO1jTn46JPA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ST2XP4hP8zbS5; Sun, 12 Nov 2023 19:23:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3ACJNHJk058672; Sun, 12 Nov 2023 19:23:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ACJNHxb058669; Sun, 12 Nov 2023 19:23:17 GMT (envelope-from git) Date: Sun, 12 Nov 2023 19:23:17 GMT Message-Id: <202311121923.3ACJNHxb058669@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 0a3ee7285db2 - main - security/mailzu: Fix runtime with php82 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0a3ee7285db280eac52dc5af753c3449cc877d53 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=0a3ee7285db280eac52dc5af753c3449cc877d53 commit 0a3ee7285db280eac52dc5af753c3449cc877d53 Author: Krzysztof AuthorDate: 2023-11-12 19:14:58 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-11-12 19:23:02 +0000 security/mailzu: Fix runtime with php82 After adding two more patches is working correctly (no error/warning messages in web server logs). PR: 274969 Approved by: submitter is maintainer --- security/mailzu/Makefile | 4 ++-- security/mailzu/files/patch-lib_LDAPEngine.class.php | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/security/mailzu/Makefile b/security/mailzu/Makefile index fc35282dc586..f1ce3496e73a 100644 --- a/security/mailzu/Makefile +++ b/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} @@ -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 diff --git a/security/mailzu/files/patch-lib_LDAPEngine.class.php b/security/mailzu/files/patch-lib_LDAPEngine.class.php new file mode 100644 index 000000000000..05783036ec9c --- /dev/null +++ b/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 != '' ) {