From owner-svn-ports-all@freebsd.org Thu May 31 14:05:07 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E3E98FD08A8; Thu, 31 May 2018 14:05:06 +0000 (UTC) (envelope-from joneum@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 95F36871F8; Thu, 31 May 2018 14:05:06 +0000 (UTC) (envelope-from joneum@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 733751B28F; Thu, 31 May 2018 14:05:06 +0000 (UTC) (envelope-from joneum@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4VE56L1010405; Thu, 31 May 2018 14:05:06 GMT (envelope-from joneum@FreeBSD.org) Received: (from joneum@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4VE55if010400; Thu, 31 May 2018 14:05:05 GMT (envelope-from joneum@FreeBSD.org) Message-Id: <201805311405.w4VE55if010400@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: joneum set sender to joneum@FreeBSD.org using -f From: Jochen Neumeister Date: Thu, 31 May 2018 14:05:05 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: joneum X-SVN-Commit-Paths: in head/mail: . phpmailer6 phpmailer6/files X-SVN-Commit-Revision: 471210 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2018 14:05:07 -0000 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 # $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 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