mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
security/mailzu: Fix support php83 and minor patches
PR: 284535 MFH: 2025Q1
This commit is contained in:
parent
de6cde2517
commit
af1aff8f87
3 changed files with 25 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
PORTNAME= mailzu
|
PORTNAME= mailzu
|
||||||
DISTVERSION= 0.8rc3
|
DISTVERSION= 0.8rc3
|
||||||
PORTREVISION= 11
|
PORTREVISION= 12
|
||||||
CATEGORIES= security
|
CATEGORIES= security
|
||||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/MailZu%200.8RC3
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/MailZu%200.8RC3
|
||||||
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
|
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
|
||||||
|
@ -21,7 +21,6 @@ RUN_DEPENDS= ${LOCALBASE}/sbin/amavisd:security/amavisd-new \
|
||||||
|
|
||||||
USES= php:flavors,web
|
USES= php:flavors,web
|
||||||
USE_PHP= sockets
|
USE_PHP= sockets
|
||||||
IGNORE_WITH_PHP= 83
|
|
||||||
|
|
||||||
NO_ARCH= yes
|
NO_ARCH= yes
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
|
11
security/mailzu/files/patch-messagesPendingAdmin.php
Normal file
11
security/mailzu/files/patch-messagesPendingAdmin.php
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- messagesPendingAdmin.php.orig 2007-06-14 19:00:15 UTC
|
||||||
|
+++ messagesPendingAdmin.php
|
||||||
|
@@ -36,6 +36,8 @@ $_SESSION['sessionNav'] = "Site Pending Requests";
|
||||||
|
// Get current page number
|
||||||
|
$requestedPage = CmnFns::getGlobalVar('page', GET);
|
||||||
|
|
||||||
|
+global $content_type;
|
||||||
|
+
|
||||||
|
$db = new DBEngine();
|
||||||
|
|
||||||
|
$t = new Template(translate('Site Quarantine'));
|
|
@ -27,7 +27,17 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -81,7 +81,9 @@ function MsgPrintHeader($struct,$hdr_list) {
|
@@ -50,7 +50,8 @@ function endMessage() {
|
||||||
|
* $param The mime structure object and the specific header name
|
||||||
|
*/
|
||||||
|
function MsgPrintHeader($struct,$hdr_list) {
|
||||||
|
-
|
||||||
|
+ global $header_value;
|
||||||
|
+
|
||||||
|
foreach ($hdr_list as $hdr) {
|
||||||
|
$header_value = $struct->headers[strtolower($hdr)];
|
||||||
|
if (is_array($header_value)) {
|
||||||
|
@@ -81,7 +82,9 @@ function MsgPrintHeader($struct,$hdr_list) {
|
||||||
function MsgPrintHeaderFull($struct,$hdr_list) {
|
function MsgPrintHeaderFull($struct,$hdr_list) {
|
||||||
|
|
||||||
foreach ($hdr_list as $hdr) {
|
foreach ($hdr_list as $hdr) {
|
||||||
|
@ -38,7 +48,7 @@
|
||||||
if (!$header_value) continue;
|
if (!$header_value) continue;
|
||||||
if (is_array($header_value)) {
|
if (is_array($header_value)) {
|
||||||
$value_array = $header_value;
|
$value_array = $header_value;
|
||||||
@@ -116,17 +118,17 @@ function MsgDisplayOptions($mail_id, $recip_email) {
|
@@ -116,17 +119,17 @@ function MsgDisplayOptions($mail_id, $recip_email) {
|
||||||
<table class="stdFont" width="100%">
|
<table class="stdFont" width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
|
@ -60,7 +70,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -138,14 +140,14 @@ function MsgOriginalOptions() {
|
@@ -138,14 +141,14 @@ function MsgOriginalOptions() {
|
||||||
<table width="100%">
|
<table width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="stdFont" align="right">
|
<td class="stdFont" align="right">
|
||||||
|
|
Loading…
Add table
Reference in a new issue