Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2019 19:02:36 +0000 (UTC)
From:      Dan Langille <dvl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r489262 - in head/mail: . p5-Email-Address-UseXS
Message-ID:  <201901041902.x04J2a09090202@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>

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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901041902.x04J2a09090202>