Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2018 14:05:05 +0000 (UTC)
From:      Jochen Neumeister <joneum@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r471210 - in head/mail: . phpmailer6 phpmailer6/files
Message-ID:  <201805311405.w4VE55if010400@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: joneum
Date: Thu May 31 14:05:05 2018
New Revision: 471210
URL: https://svnweb.freebsd.org/changeset/ports/471210

Log:
  Add mail/phpmailer6
  
  PHP email transport class featuring multiple file attachments, SMTP
  servers, CCs, BCCs, HTML messages, and word wrap, and more. It can
  send email via sendmail, PHP mail(), or with SMTP. Methods are based
  on the popular AspEmail active server component.

Added:
  head/mail/phpmailer6/
     - copied from r471194, head/mail/phpmailer/
Modified:
  head/mail/Makefile
  head/mail/phpmailer6/Makefile
  head/mail/phpmailer6/distinfo
  head/mail/phpmailer6/files/pkg-message.in
  head/mail/phpmailer6/pkg-plist

Modified: head/mail/Makefile
==============================================================================
--- head/mail/Makefile	Thu May 31 13:59:15 2018	(r471209)
+++ head/mail/Makefile	Thu May 31 14:05:05 2018	(r471210)
@@ -496,6 +496,7 @@
     SUBDIR += php72-imap
     SUBDIR += phplist
     SUBDIR += phpmailer
+    SUBDIR += phpmailer6
     SUBDIR += pine-pgp-filters
     SUBDIR += pm-lib
     SUBDIR += policyd2

Modified: head/mail/phpmailer6/Makefile
==============================================================================
--- head/mail/phpmailer/Makefile	Thu May 31 05:24:29 2018	(r471194)
+++ head/mail/phpmailer6/Makefile	Thu May 31 14:05:05 2018	(r471210)
@@ -1,10 +1,10 @@
-# Created by: Zhen REN <bg1tpt@gmail.com>
 # $FreeBSD$
 
 PORTNAME=	phpmailer
-PORTVERSION=	5.2.26
+PORTVERSION=	6.0.5
 DISTVERSIONPREFIX=	v
 CATEGORIES=	mail
+PKGNAMESUFFIX=	6
 
 MAINTAINER=	joneum@FreeBSD.org
 COMMENT=	Full Featured Email Transfer Class for PHP
@@ -12,32 +12,32 @@ COMMENT=	Full Featured Email Transfer Class for PHP
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+CONFLICTS_INSTALL=	phpmailer
+
+PORTSCOUT=	limit:^6\.
+
+USES=		cpe php
+CPE_VENDOR=	phpmailer_project
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	PHPMailer
 GH_PROJECT=	PHPMailer
 
 NO_BUILD=	yes
 NO_ARCH=	yes
-USES=		cpe dos2unix php
-
-CPE_VENDOR=	phpmailer_project
 SUB_FILES=	pkg-message
 
-OPTIONS_DEFINE=	EXAMPLES
+OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}
-.for f in PHPMailerAutoload.php class.phpmailer.php class.pop3.php \
-	class.smtp.php composer.json
-	${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DATADIR}
+.for f in Exception.php PHPMailer.php POP3.php SMTP.php
+	${INSTALL_DATA} ${WRKSRC}/src/$f ${STAGEDIR}${DATADIR}
 .endfor
-.for d in extras language
-	@${MKDIR} ${STAGEDIR}${DATADIR}/$d
-	${INSTALL_DATA} ${WRKSRC}/$d/* ${STAGEDIR}${DATADIR}/$d
-.endfor
 
-do-install-EXAMPLES-on:
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	@cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
+post-install-NLS-on:
+	@${MKDIR} ${STAGEDIR}${DATADIR}/language
+	${INSTALL_DATA} ${WRKSRC}/language/* ${STAGEDIR}${DATADIR}/language
 
 .include <bsd.port.mk>

Modified: head/mail/phpmailer6/distinfo
==============================================================================
--- head/mail/phpmailer/distinfo	Thu May 31 05:24:29 2018	(r471194)
+++ head/mail/phpmailer6/distinfo	Thu May 31 14:05:05 2018	(r471210)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1526637076
-SHA256 (PHPMailer-PHPMailer-v5.2.26_GH0.tar.gz) = b1b1f7c3a81bdf9958fc0194b2243f500c34ca62f3ff85a64565dc2605c4c894
-SIZE (PHPMailer-PHPMailer-v5.2.26_GH0.tar.gz) = 159174
+TIMESTAMP = 1527709440
+SHA256 (PHPMailer-PHPMailer-v6.0.5_GH0.tar.gz) = 3b3148182b4f886c2c1eab1936a2c8d2f90f444e73bfbae265e3ed8e2738d21e
+SIZE (PHPMailer-PHPMailer-v6.0.5_GH0.tar.gz) = 88092

Modified: head/mail/phpmailer6/files/pkg-message.in
==============================================================================
--- head/mail/phpmailer/files/pkg-message.in	Thu May 31 05:24:29 2018	(r471194)
+++ head/mail/phpmailer6/files/pkg-message.in	Thu May 31 14:05:05 2018	(r471210)
@@ -1,4 +1,6 @@
 You need to adjust php's include_path to contain `%%DATADIR%%'!
 For example, insert
-	include_path = ".:%%DATADIR%%"
+	
+		include_path = ".:%%DATADIR%%"
+
 into `%%LOCALBASE%%/etc/php.ini'.

Modified: head/mail/phpmailer6/pkg-plist
==============================================================================
--- head/mail/phpmailer/pkg-plist	Thu May 31 05:24:29 2018	(r471194)
+++ head/mail/phpmailer6/pkg-plist	Thu May 31 14:05:05 2018	(r471210)
@@ -1,59 +1,7 @@
-%%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
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gmail.phps
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gmail_xoauth.phps
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/phpmailer.png
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/phpmailer_mini.png
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/index.html
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mail.phps
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mailing_list.phps
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pop_before_smtp.phps
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scripts/XRegExp.js
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scripts/shAutoloader.js
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scripts/shBrushPhp.js
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scripts/shCore.js
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scripts/shLegacy.js
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/send_file_upload.phps
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/send_multiple_file_upload.phps
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sendmail.phps
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/signed-mail.phps
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/smtp.phps
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/smtp_check.phps
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/smtp_no_auth.phps
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ssl_options.phps
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styles/shCore.css
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styles/shCoreDefault.css
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styles/shCoreDjango.css
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styles/shCoreEclipse.css
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styles/shCoreEmacs.css
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styles/shCoreFadeToGrey.css
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styles/shCoreMDUltra.css
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styles/shCoreMidnight.css
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styles/shCoreRDark.css
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styles/shThemeAppleScript.css
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styles/shThemeDefault.css
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styles/shThemeDjango.css
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styles/shThemeEclipse.css
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styles/shThemeEmacs.css
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styles/shThemeFadeToGrey.css
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styles/shThemeMDUltra.css
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styles/shThemeMidnight.css
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styles/shThemeRDark.css
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styles/shThemeVisualStudio.css
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/styles/wrapping.png
-%%DATADIR%%/PHPMailerAutoload.php
-%%DATADIR%%/class.phpmailer.php
-%%DATADIR%%/class.pop3.php
-%%DATADIR%%/class.smtp.php
-%%DATADIR%%/composer.json
-%%DATADIR%%/extras/EasyPeasyICS.php
-%%DATADIR%%/extras/README.md
-%%DATADIR%%/extras/htmlfilter.php
-%%DATADIR%%/extras/ntlm_sasl_client.php
+%%DATADIR%%/Exception.php
+%%DATADIR%%/PHPMailer.php
+%%DATADIR%%/POP3.php
+%%DATADIR%%/SMTP.php
 %%DATADIR%%/language/phpmailer.lang-am.php
 %%DATADIR%%/language/phpmailer.lang-ar.php
 %%DATADIR%%/language/phpmailer.lang-az.php
@@ -75,6 +23,7 @@
 %%DATADIR%%/language/phpmailer.lang-fr.php
 %%DATADIR%%/language/phpmailer.lang-gl.php
 %%DATADIR%%/language/phpmailer.lang-he.php
+%%DATADIR%%/language/phpmailer.lang-hi.php
 %%DATADIR%%/language/phpmailer.lang-hr.php
 %%DATADIR%%/language/phpmailer.lang-hu.php
 %%DATADIR%%/language/phpmailer.lang-id.php



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805311405.w4VE55if010400>