mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
be4131d619
- 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
44 lines
946 B
Makefile
44 lines
946 B
Makefile
# Created by: Zhen REN <bg1tpt@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= phpmailer
|
|
PORTVERSION= 5.2.22
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= mail
|
|
|
|
MAINTAINER= tz@FreeBSD.org
|
|
COMMENT= Full Featured Email Transfer Class for PHP
|
|
|
|
LICENSE= LGPL21
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
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
|
|
|
|
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}
|
|
.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}
|
|
|
|
.include <bsd.port.mk>
|