From be4131d61915be1dd39ed7919197e0462d3969f1 Mon Sep 17 00:00:00 2001 From: Torsten Zuehlsdorff Date: Thu, 12 Jan 2017 11:37:03 +0000 Subject: [PATCH] mail/phpmailer: Update from 5.2.20 to 5.2.22 - SECURITY: Fix CVE-2017-5223, local file disclosure vulnerability if content passed to msgHTML() is sourced from unfiltered user input - Add simple contact form example - Emoji in test content MFH: 2017Q1 Security: CVE-2017-5223 --- mail/phpmailer/Makefile | 2 +- mail/phpmailer/distinfo | 6 +++--- mail/phpmailer/pkg-plist | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/mail/phpmailer/Makefile b/mail/phpmailer/Makefile index c18039cfae7f..a5656ccea42a 100644 --- a/mail/phpmailer/Makefile +++ b/mail/phpmailer/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= phpmailer -PORTVERSION= 5.2.20 +PORTVERSION= 5.2.22 DISTVERSIONPREFIX= v CATEGORIES= mail diff --git a/mail/phpmailer/distinfo b/mail/phpmailer/distinfo index 50845f678cb5..a2935237b7e3 100644 --- a/mail/phpmailer/distinfo +++ b/mail/phpmailer/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1482937380 -SHA256 (PHPMailer-PHPMailer-v5.2.20_GH0.tar.gz) = 4716acef60503f345323849842f3138a8453c178d3829477553bf1e347664976 -SIZE (PHPMailer-PHPMailer-v5.2.20_GH0.tar.gz) = 156793 +TIMESTAMP = 1484220608 +SHA256 (PHPMailer-PHPMailer-v5.2.22_GH0.tar.gz) = e30631e04333e05eb10077c94385d002c2cd3452d451da3b3899951e3aa1ff42 +SIZE (PHPMailer-PHPMailer-v5.2.22_GH0.tar.gz) = 157657 diff --git a/mail/phpmailer/pkg-plist b/mail/phpmailer/pkg-plist index eaee91ef000f..578ad1156a6c 100644 --- a/mail/phpmailer/pkg-plist +++ b/mail/phpmailer/pkg-plist @@ -1,5 +1,6 @@ %%PORTEXAMPLES%%%%EXAMPLESDIR%%/DKIM.phps %%PORTEXAMPLES%%%%EXAMPLESDIR%%/code_generator.phps +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/contactform.phps %%PORTEXAMPLES%%%%EXAMPLESDIR%%/contents.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/contentsutf8.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/exceptions.phps