svn commit: r489262 - in head/mail: . p5-Email-Address-UseXS
Dan Langille
dvl at FreeBSD.org
Fri Jan 4 19:08:46 UTC 2019
For the record, a new version of mail/p5-Email-Sender was committed 2 minutes before this one.
That new version completely removes the need for this port, but I intend to let it stay because it might be useful to others.
--
Dan Langille - BSDCan / PGCon
dan at langille.org
> On Jan 4, 2019, at 2:02 PM, Dan Langille <dvl at FreeBSD.org> wrote:
>
> Author: dvl
> Date: Fri Jan 4 19:02:36 2019
> New Revision: 489262
> URL: https://svnweb.freebsd.org/changeset/ports/489262
>
> Log:
> 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
>
> Added:
> head/mail/p5-Email-Address-UseXS/
> head/mail/p5-Email-Address-UseXS/Makefile (contents, props changed)
> head/mail/p5-Email-Address-UseXS/distinfo (contents, props changed)
> head/mail/p5-Email-Address-UseXS/pkg-descr (contents, props changed)
> head/mail/p5-Email-Address-UseXS/pkg-plist (contents, props changed)
> Modified:
> head/mail/Makefile
>
> Modified: head/mail/Makefile
> ==============================================================================
> --- head/mail/Makefile Fri Jan 4 19:00:01 2019 (r489261)
> +++ head/mail/Makefile Fri Jan 4 19:02:36 2019 (r489262)
> @@ -316,6 +316,7 @@
> SUBDIR += p5-Email-Address
> SUBDIR += p5-Email-Address-List
> SUBDIR += p5-Email-Address-Loose
> + SUBDIR += p5-Email-Address-UseXS
> SUBDIR += p5-Email-Address-XS
> SUBDIR += p5-Email-AddressParser
> SUBDIR += p5-Email-Date
>
> Added: head/mail/p5-Email-Address-UseXS/Makefile
> ==============================================================================
> --- /dev/null 00:00:00 1970 (empty, because file is newly added)
> +++ head/mail/p5-Email-Address-UseXS/Makefile Fri Jan 4 19:02:36 2019 (r489262)
> @@ -0,0 +1,21 @@
> +# Created by: Dan Langille <dvl at FreeBSD.org>
> +# $FreeBSD$
> +
> +PORTNAME= Email-Address-UseXS
> +PORTVERSION= 1.000
> +CATEGORIES= mail perl5
> +MASTER_SITES= CPAN
> +PKGNAMEPREFIX= p5-
> +
> +MAINTAINER= dvl at 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>
>
> Added: head/mail/p5-Email-Address-UseXS/distinfo
> ==============================================================================
> --- /dev/null 00:00:00 1970 (empty, because file is newly added)
> +++ head/mail/p5-Email-Address-UseXS/distinfo Fri Jan 4 19:02:36 2019 (r489262)
> @@ -0,0 +1,3 @@
> +TIMESTAMP = 1544210127
> +SHA256 (Email-Address-UseXS-1.000.tar.gz) = b10a52409a2c85b65afcd4ed108233833440d298689bb97a256c75b5b7802df0
> +SIZE (Email-Address-UseXS-1.000.tar.gz) = 14040
>
> Added: head/mail/p5-Email-Address-UseXS/pkg-descr
> ==============================================================================
> --- /dev/null 00:00:00 1970 (empty, because file is newly added)
> +++ head/mail/p5-Email-Address-UseXS/pkg-descr Fri Jan 4 19:02:36 2019 (r489262)
> @@ -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 at 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
>
> Added: head/mail/p5-Email-Address-UseXS/pkg-plist
> ==============================================================================
> --- /dev/null 00:00:00 1970 (empty, because file is newly added)
> +++ head/mail/p5-Email-Address-UseXS/pkg-plist Fri Jan 4 19:02:36 2019 (r489262)
> @@ -0,0 +1,2 @@
> +%%SITE_PERL%%/Email/Address/UseXS.pm
> +%%PERL5_MAN3%%/Email::Address::UseXS.3.gz
> _______________________________________________
> svn-ports-head at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-ports-head
> To unsubscribe, send any mail to "svn-ports-head-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20190104/a5e93126/attachment.sig>
More information about the svn-ports-head
mailing list