Bug 257635 - security/mailzu: patches to exlude php short tag
Summary: security/mailzu: patches to exlude php short tag
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Li-Wen Hsu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-05 13:41 UTC by Krzysztof
Modified: 2021-08-09 16:49 UTC (History)
1 user (show)

See Also:


Attachments
mailzu php open tags patch (31.16 KB, patch)
2021-08-05 13:41 UTC, Krzysztof
ports: maintainer-approval+
Details | Diff
poudriere log for new version of mailzu (51.54 KB, text/plain)
2021-08-05 13:42 UTC, Krzysztof
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 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 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(-)