mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Add Email::Address::UseXS which is intended for use with mail/p5-Email-Sender
Email::Address::UseXS - ensure that any code uses Email::Address::XS instead of Email::Address To use, simply add use Email::Address::UseXS; in your code before anything that tries to load in Email::Address. Differential Revision: https://reviews.freebsd.org/D18479
This commit is contained in:
parent
a901ee11ee
commit
c87b95273c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=489262
5 changed files with 39 additions and 0 deletions
|
@ -316,6 +316,7 @@
|
||||||
SUBDIR += p5-Email-Address
|
SUBDIR += p5-Email-Address
|
||||||
SUBDIR += p5-Email-Address-List
|
SUBDIR += p5-Email-Address-List
|
||||||
SUBDIR += p5-Email-Address-Loose
|
SUBDIR += p5-Email-Address-Loose
|
||||||
|
SUBDIR += p5-Email-Address-UseXS
|
||||||
SUBDIR += p5-Email-Address-XS
|
SUBDIR += p5-Email-Address-XS
|
||||||
SUBDIR += p5-Email-AddressParser
|
SUBDIR += p5-Email-AddressParser
|
||||||
SUBDIR += p5-Email-Date
|
SUBDIR += p5-Email-Date
|
||||||
|
|
21
mail/p5-Email-Address-UseXS/Makefile
Normal file
21
mail/p5-Email-Address-UseXS/Makefile
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Created by: Dan Langille <dvl@FreeBSD.org>
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PORTNAME= Email-Address-UseXS
|
||||||
|
PORTVERSION= 1.000
|
||||||
|
CATEGORIES= mail perl5
|
||||||
|
MASTER_SITES= CPAN
|
||||||
|
PKGNAMEPREFIX= p5-
|
||||||
|
|
||||||
|
MAINTAINER= dvl@FreeBSD.org
|
||||||
|
COMMENT= Ensure that any code uses Email::Address::XS instead of Email::Address
|
||||||
|
|
||||||
|
LICENSE= ART10 GPLv1+
|
||||||
|
LICENSE_COMB= dual
|
||||||
|
|
||||||
|
USES= perl5
|
||||||
|
USE_PERL5= configure
|
||||||
|
|
||||||
|
NO_ARCH= yes
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
mail/p5-Email-Address-UseXS/distinfo
Normal file
3
mail/p5-Email-Address-UseXS/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1544210127
|
||||||
|
SHA256 (Email-Address-UseXS-1.000.tar.gz) = b10a52409a2c85b65afcd4ed108233833440d298689bb97a256c75b5b7802df0
|
||||||
|
SIZE (Email-Address-UseXS-1.000.tar.gz) = 14040
|
12
mail/p5-Email-Address-UseXS/pkg-descr
Normal file
12
mail/p5-Email-Address-UseXS/pkg-descr
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
To use, simply add use Email::Address::UseXS; in your code before anything that
|
||||||
|
tries to load in Email::Address.
|
||||||
|
|
||||||
|
use Email::Address::UseXS;
|
||||||
|
print Email::Address->parse('user@example.com');
|
||||||
|
|
||||||
|
Email::Address is dangerous, badly-formed input can cause very slow regex
|
||||||
|
expressions (taking minutes or more to run).
|
||||||
|
|
||||||
|
See https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-7686 for details.
|
||||||
|
|
||||||
|
WWW: https://metacpan.org/pod/Email::Address::UseXS
|
2
mail/p5-Email-Address-UseXS/pkg-plist
Normal file
2
mail/p5-Email-Address-UseXS/pkg-plist
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
%%SITE_PERL%%/Email/Address/UseXS.pm
|
||||||
|
%%PERL5_MAN3%%/Email::Address::UseXS.3.gz
|
Loading…
Add table
Reference in a new issue