ports/134953: [UPDATE] update mail/phpmailer to 5.0.2

Zhen REN bg1tpt at gmail.com
Tue May 26 09:40:08 UTC 2009


>Number:         134953
>Category:       ports
>Synopsis:       [UPDATE] update mail/phpmailer to 5.0.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 26 09:40:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Zhen REN
>Release:        7.2-RELEASE
>Organization:
>Environment:
FreeBSD 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #0: Tue Mar 24 09:54:54 UTC 2009     root@:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
update mail/phpmailer to 5.0.2
>How-To-Repeat:
N/A
>Fix:
N/A

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/phpmailer/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	6 Jul 2008 23:28:49 -0000	1.3
+++ Makefile	26 May 2009 09:25:32 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	phpmailer
-PORTVERSION=	2.0.2
+PORTVERSION=	5.0.2
 CATEGORIES=	mail
 MASTER_SITES=	SF
 DISTNAME=	PHPMailer_v${DISTVERSION}
@@ -14,10 +14,11 @@
 MAINTAINER=	bg1tpt at gmail.com
 COMMENT=	Full Featured Email Transfer Class for PHP
 
-WRKSRC=		${WRKDIR}
+WRKSRC=		${WRKDIR}/${DISTNAME}
 
 USE_DOS2UNIX=	yes
 NO_BUILD=	yes
+IGNORE_WITH_PHP=	4
 USE_PHP=	pcre
 
 PKGMESSAGE=	${WRKDIR}/pkg-message
@@ -36,11 +37,10 @@
 	@${INSTALL_DATA} ${WRKSRC}/test/* ${DATADIR}/test
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-.for f in README LICENSE
+.for f in aboutus.html ChangeLog.txt docs.ini README LICENSE
 	@${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}
 .endfor
 	@${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
-	@${CP} -R ${WRKSRC}/phpdoc/* ${DOCSDIR}
 .endif
 .if !defined(NOPORTEXAMPLES)
 	@${MKDIR} ${EXAMPLESDIR}
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/mail/phpmailer/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	6 Jul 2008 23:28:49 -0000	1.3
+++ distinfo	26 May 2009 09:15:47 -0000
@@ -1,3 +1,3 @@
-MD5 (PHPMailer_v2.0.2.tar.gz) = e7b5e62e4790af763e756b79c9dba012
-SHA256 (PHPMailer_v2.0.2.tar.gz) = eabd4ee53c9e454807e92ec8b593b1e709795a8cff70de232018d7448cf2b99d
-SIZE (PHPMailer_v2.0.2.tar.gz) = 97031
+MD5 (PHPMailer_v5.0.2.tar.gz) = 2f7296bb63e863c5528c2d591e38f4e5
+SHA256 (PHPMailer_v5.0.2.tar.gz) = 82c4dd174bec48cb36f631be0b596ebc6e4beb18494ed5399c4bf341401b213a
+SIZE (PHPMailer_v5.0.2.tar.gz) = 81426
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/mail/phpmailer/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- pkg-plist	6 Jul 2008 23:28:49 -0000	1.3
+++ pkg-plist	26 May 2009 09:33:15 -0000
@@ -1,44 +1,40 @@
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.txt
 %%PORTDOCS%%%%DOCSDIR%%/LICENSE
-%%PORTDOCS%%%%DOCSDIR%%/PHPMailer/PHPMailer.html
-%%PORTDOCS%%%%DOCSDIR%%/PHPMailer/SMTP.html
-%%PORTDOCS%%%%DOCSDIR%%/PHPMailer/_class_phpmailer_php.html
-%%PORTDOCS%%%%DOCSDIR%%/PHPMailer/_class_smtp_php.html
+%%PORTDOCS%%%%DOCSDIR%%/Note_for_SMTP_debugging.txt
 %%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/blank.html
-%%PORTDOCS%%%%DOCSDIR%%/classtrees_PHPMailer.html
-%%PORTDOCS%%%%DOCSDIR%%/elementindex.html
-%%PORTDOCS%%%%DOCSDIR%%/elementindex_PHPMailer.html
-%%PORTDOCS%%%%DOCSDIR%%/errors.html
+%%PORTDOCS%%%%DOCSDIR%%/aboutus.html
+%%PORTDOCS%%%%DOCSDIR%%/docs.ini
 %%PORTDOCS%%%%DOCSDIR%%/extending.html
 %%PORTDOCS%%%%DOCSDIR%%/faq.html
-%%PORTDOCS%%%%DOCSDIR%%/index.html
-%%PORTDOCS%%%%DOCSDIR%%/li_PHPMailer.html
-%%PORTDOCS%%%%DOCSDIR%%/media/banner.css
-%%PORTDOCS%%%%DOCSDIR%%/media/stylesheet.css
-%%PORTDOCS%%%%DOCSDIR%%/packages.html
-%%PORTDOCS%%%%DOCSDIR%%/phpmailer_sm.gif
 %%PORTDOCS%%%%DOCSDIR%%/pop3_article.txt
 %%PORTDOCS%%%%DOCSDIR%%/use_gmail.txt
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/contents.html
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/index.html
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pop3_before_smtp_test.php
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_gmail.php
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_mail.php
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_sendmail.php
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_smtp.php
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/bkgrnd.gif
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/phpmailer.gif
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/phpmailer.png
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/phpmailer_mini.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/index.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_db_smtp_basic.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_mail_advanced.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_mail_basic.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_pop_before_smtp_advanced.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_pop_before_smtp_basic.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_sendmail_advanced.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_sendmail_basic.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_smtp_advanced.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_smtp_advanced_no_auth.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_smtp_basic.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_smtp_basic_no_auth.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_smtp_gmail_advanced.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_smtp_gmail_basic.php
 %%DATADIR%%/class.phpmailer.php
 %%DATADIR%%/class.pop3.php
 %%DATADIR%%/class.smtp.php
+%%DATADIR%%/language/phpmailer.lang-ar.php
 %%DATADIR%%/language/phpmailer.lang-br.php
 %%DATADIR%%/language/phpmailer.lang-ca.php
+%%DATADIR%%/language/phpmailer.lang-ch.php
 %%DATADIR%%/language/phpmailer.lang-cz.php
 %%DATADIR%%/language/phpmailer.lang-de.php
 %%DATADIR%%/language/phpmailer.lang-dk.php
-%%DATADIR%%/language/phpmailer.lang-en.php
 %%DATADIR%%/language/phpmailer.lang-es.php
 %%DATADIR%%/language/phpmailer.lang-et.php
 %%DATADIR%%/language/phpmailer.lang-fi.php
@@ -54,14 +50,15 @@
 %%DATADIR%%/language/phpmailer.lang-ru.php
 %%DATADIR%%/language/phpmailer.lang-se.php
 %%DATADIR%%/language/phpmailer.lang-tr.php
-%%DATADIR%%/test/phpmailer_test.php
-%%DATADIR%%/test/phpunit.php
+%%DATADIR%%/language/phpmailer.lang-zh.php
+%%DATADIR%%/language/phpmailer.lang-zh_cn.php
+%%DATADIR%%/test/contents.html
+%%DATADIR%%/test/phpmailerTest.php
 %%DATADIR%%/test/test.png
+%%DATADIR%%/test/testemail.php
 @dirrm %%DATADIR%%/test
 @dirrm %%DATADIR%%/language
 @dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/media
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/PHPMailer
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/images
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrm %%PORTEXAMPLES%%%%EXAMPLESDIR%%/images
+%%PORTEXAMPLES%%@dirrm %%PORTEXAMPLES%%%%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%PORTDOCS%%%%DOCSDIR%%


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list