Bug 223828

Summary: mail/phpmailer needs updating
Product: Ports & Packages Reporter: Ken <mayhem30>
Component: Individual Port(s)Assignee: Jochen Neumeister <joneum>
Status: Closed FIXED    
Severity: Affects Many People CC: joneum, kai
Priority: --- Flags: bugzilla: maintainer-feedback? (tz)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
phpmailer-5.2.26.patch
none
phpmailer6.shar none

Description Ken 2017-11-23 20:15:47 UTC
The mail/phpmailer port needs updating.

There are 2 versions available:

PHPMailer v5.2.26 and PHPMailer v6.0.1

Perhaps have a separate port for v6.0 until everyone has the time to migrate over to the new config?

https://github.com/PHPMailer/PHPMailer/releases
Comment 1 Torsten Zuehlsdorff freebsd_committer freebsd_triage 2018-01-08 16:50:11 UTC
I think we will need a phpmailer6 port. I'm currently on very low time, so it will take a while. I'm sorry.
Comment 2 Torsten Zuehlsdorff freebsd_committer freebsd_triage 2018-05-17 10:27:36 UTC
I really don't find the time to take care of the port. So i stopped being MAINTAINER. Therefore i reset the Assignee of this PR.
Comment 3 Kai Knoblich freebsd_committer freebsd_triage 2018-05-17 11:37:13 UTC
Created attachment 193478 [details]
phpmailer-5.2.26.patch

Hello, 

here's a patch that updates PHPMailer to 5.2.26 . If phpmailer6 is wanted, then it might be better to create a separate PR for it.

Changes by upstream:
- https://github.com/PHPMailer/PHPMailer/compare/v5.2.24...v5.2.26

Changes to the port:
- sorted variables a bit to pet portlint

QA:
~~~
- poudriere (11.1-RELEASE amd64 + i386) -> OK
- portlint -> OK
Comment 4 Jochen Neumeister freebsd_committer freebsd_triage 2018-05-19 07:11:31 UTC
mail/phpmailer has now version 5.2.26 in the ports.

I think it's good to create a new port for phpmailer version 6. If someone has a patch here, I like to use it :-)

Kai: Thanks for the patch for version 5.2.26 - unfortunately I had seen this PR too late. :-/
Comment 5 Kai Knoblich freebsd_committer freebsd_triage 2018-05-19 08:51:28 UTC
(In reply to Jochen Neumeister from comment #4)

Hi Jochen,

no worries, it was just a small patch to bring some progress in this PR. :-)

I can prepare a patch for mail/phpmailer6 if you like.
Comment 6 Kai Knoblich freebsd_committer freebsd_triage 2018-05-19 08:53:43 UTC
Comment on attachment 193478 [details]
phpmailer-5.2.26.patch

mail/phpmailer has been updated to 5.2.26 in r470295 by joneum
Comment 7 Jochen Neumeister freebsd_committer freebsd_triage 2018-05-19 15:10:51 UTC
(In reply to Kai from comment #5)

Hey Kai :-)

As you have the time, very much! :-)
Comment 8 Kai Knoblich freebsd_committer freebsd_triage 2018-05-19 19:17:52 UTC
Created attachment 193539 [details]
phpmailer6.shar

Attached is the shar archive for phpmailer 6.0.5 (= mail/phpmailer6) . 

Changes by upstream since version 5.2.26:
- https://github.com/PHPMailer/PHPMailer/compare/v5.2.26...v6.0.5

Changes to the port in contrary to mail/phpmailer:
- the source archive has no longer the examples files so the related option has been removed
- added NLS option to give the user the choice to enable/disable the translation files

QA:
~~~
- poudriere (11.1-RELEASE amd64 + i386)-> OK
- portlint -> OK
Comment 9 Jochen Neumeister freebsd_committer freebsd_triage 2018-05-31 17:00:22 UTC
mail/phpmailer6 is now into the ports: https://svnweb.freebsd.org/changeset/ports/471210