Bug 257635

Summary: security/mailzu: patches to exlude php short tag
Product: Ports & Packages Reporter: Krzysztof <ports>
Component: Individual Port(s)Assignee: Li-Wen Hsu <lwhsu>
Status: Closed FIXED    
Severity: Affects Some People CC: lwhsu
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
mailzu php open tags patch
ports: maintainer-approval+
poudriere log for new version of mailzu none

Description Krzysztof 2021-08-05 13:41:03 UTC
Created attachment 226969 [details]
mailzu php open tags patch

I've made some patches to security/mailzu which changes php short open tags to "normal" php open tags: <? -> ?<php

Also there is update of pkg-message.in which removes information about short tags and adds sample configuration for nginx.

I've tested port with poudriere, so log from poudriere is included also.
Comment 1 Krzysztof 2021-08-05 13:42:08 UTC
Created attachment 226970 [details]
poudriere log for new version of mailzu

log from poudriere
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-08-09 16:48:16 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f28572fb24c7c691f88815e9cce52d4fa3599fa0

commit f28572fb24c7c691f88815e9cce52d4fa3599fa0
Author:     Krzysztof <ports@bsdserwis.com>
AuthorDate: 2021-08-09 16:46:51 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-08-09 16:46:51 +0000

    security/mailzu: Exlude php short tag

    PR:             257635

 security/mailzu/Makefile                           |   2 +-
 security/mailzu/files/patch-config_langs.php       |  10 +-
 security/mailzu/files/patch-help.php (new)         | 148 ++++++++++++++++++++
 security/mailzu/files/patch-lib_CmnFns.class.php   |  83 ++++++++++-
 security/mailzu/files/patch-lib_Template.class.php |  95 ++++++++++++-
 .../files/patch-templates_auth.template.php (new)  |  89 ++++++++++++
 .../patch-templates_common.template.php (new)      | 153 +++++++++++++++++++++
 .../patch-templates_sendmail.template.php (new)    |  44 ++++++
 .../patch-templates_summary.template.php (new)     |  64 +++++++++
 .../patch-templates_viewmail.template.php (new)    |  69 ++++++++++
 security/mailzu/files/pkg-message.in               |  23 +++-
 11 files changed, 767 insertions(+), 13 deletions(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-08-09 16:49:17 UTC
A commit in branch 2021Q3 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=48dbe244c1fff5de288b3daef0e427a8b2b45580

commit 48dbe244c1fff5de288b3daef0e427a8b2b45580
Author:     Krzysztof <ports@bsdserwis.com>
AuthorDate: 2021-08-09 16:46:51 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-08-09 16:48:39 +0000

    security/mailzu: Exlude php short tag

    PR:             257635
    (cherry picked from commit f28572fb24c7c691f88815e9cce52d4fa3599fa0)

 security/mailzu/Makefile                           |   2 +-
 security/mailzu/files/patch-config_langs.php       |  10 +-
 security/mailzu/files/patch-help.php (new)         | 148 ++++++++++++++++++++
 security/mailzu/files/patch-lib_CmnFns.class.php   |  83 ++++++++++-
 security/mailzu/files/patch-lib_Template.class.php |  95 ++++++++++++-
 .../files/patch-templates_auth.template.php (new)  |  89 ++++++++++++
 .../patch-templates_common.template.php (new)      | 153 +++++++++++++++++++++
 .../patch-templates_sendmail.template.php (new)    |  44 ++++++
 .../patch-templates_summary.template.php (new)     |  64 +++++++++
 .../patch-templates_viewmail.template.php (new)    |  69 ++++++++++
 security/mailzu/files/pkg-message.in               |  23 +++-
 11 files changed, 767 insertions(+), 13 deletions(-)