From owner-svn-ports-all@freebsd.org Wed Jul 26 18:19:34 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DC7A2DACE60; Wed, 26 Jul 2017 18:19:34 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B2E99709DB; Wed, 26 Jul 2017 18:19:34 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v6QIJXsx016329; Wed, 26 Jul 2017 18:19:33 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v6QIJX2J016324; Wed, 26 Jul 2017 18:19:33 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201707261819.v6QIJX2J016324@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Wed, 26 Jul 2017 18:19:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r446673 - in head/mail: . p5-Email-Address-XS X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/mail: . p5-Email-Address-XS X-SVN-Commit-Revision: 446673 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jul 2017 18:19:35 -0000 Author: sunpoet Date: Wed Jul 26 18:19:33 2017 New Revision: 446673 URL: https://svnweb.freebsd.org/changeset/ports/446673 Log: Add p5-Email-Address-XS 1.00 This module implements RFC 2822 parser and formatter of email addresses and groups. It parses an input string from email headers which contain a list of email addresses or a groups of email addresses (like From, To, Cc, Bcc, Reply-To, Sender, ...). Also it can generate a string value for those headers from a list of email addresses objects. Parser and formatter functionality is implemented in XS and uses shared code from Dovecot IMAP server. It is a drop-in replacement for the Email::Address module which has several security issues. Existing applications that use Email::Address module could be easily switched to Email::Address::XS module. In most cases only changing use Email::Address to use Email::Address::XS and replacing every Email::Address occurrence with Email::Address::XS is sufficient. So unlike Email::Address, this module does not use regular expressions for parsing but instead native XS implementation parses input string sequentially according to RFC 2822 grammar. Additionally it has support also for named groups and so can be use instead of the Email::Address::List module. WWW: http://search.cpan.org/dist/Email-Address-XS/ Added: head/mail/p5-Email-Address-XS/ head/mail/p5-Email-Address-XS/Makefile (contents, props changed) head/mail/p5-Email-Address-XS/distinfo (contents, props changed) head/mail/p5-Email-Address-XS/pkg-descr (contents, props changed) head/mail/p5-Email-Address-XS/pkg-plist (contents, props changed) Modified: head/mail/Makefile Modified: head/mail/Makefile ============================================================================== --- head/mail/Makefile Wed Jul 26 18:19:10 2017 (r446672) +++ head/mail/Makefile Wed Jul 26 18:19:33 2017 (r446673) @@ -325,6 +325,7 @@ SUBDIR += p5-Email-Address SUBDIR += p5-Email-Address-List SUBDIR += p5-Email-Address-Loose + SUBDIR += p5-Email-Address-XS SUBDIR += p5-Email-AddressParser SUBDIR += p5-Email-Date SUBDIR += p5-Email-Date-Format Added: head/mail/p5-Email-Address-XS/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/p5-Email-Address-XS/Makefile Wed Jul 26 18:19:33 2017 (r446673) @@ -0,0 +1,22 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= Email-Address-XS +PORTVERSION= 1.00 +CATEGORIES= mail perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Parse and format RFC 2822 email addresses and groups + +LICENSE= ART10 GPLv1 +LICENSE_COMB= dual + +USE_PERL5= configure +USES= perl5 + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Email/Address/XS/XS.so + +.include Added: head/mail/p5-Email-Address-XS/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/p5-Email-Address-XS/distinfo Wed Jul 26 18:19:33 2017 (r446673) @@ -0,0 +1,3 @@ +TIMESTAMP = 1501088953 +SHA256 (Email-Address-XS-1.00.tar.gz) = 52d5a1f8c3bace4bae6d25b123a00213d6de027cac0da6666f1ed4f7b6bebd18 +SIZE (Email-Address-XS-1.00.tar.gz) = 24104 Added: head/mail/p5-Email-Address-XS/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/p5-Email-Address-XS/pkg-descr Wed Jul 26 18:19:33 2017 (r446673) @@ -0,0 +1,23 @@ +This module implements RFC 2822 parser and formatter of email addresses and +groups. It parses an input string from email headers which contain a list of +email addresses or a groups of email addresses (like From, To, Cc, Bcc, +Reply-To, Sender, ...). Also it can generate a string value for those headers +from a list of email addresses objects. + +Parser and formatter functionality is implemented in XS and uses shared code +from Dovecot IMAP server. + +It is a drop-in replacement for the Email::Address module which has several +security issues. Existing applications that use Email::Address module could be +easily switched to Email::Address::XS module. In most cases only changing use +Email::Address to use Email::Address::XS and replacing every Email::Address +occurrence with Email::Address::XS is sufficient. + +So unlike Email::Address, this module does not use regular expressions for +parsing but instead native XS implementation parses input string sequentially +according to RFC 2822 grammar. + +Additionally it has support also for named groups and so can be use instead of +the Email::Address::List module. + +WWW: http://search.cpan.org/dist/Email-Address-XS/ Added: head/mail/p5-Email-Address-XS/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/p5-Email-Address-XS/pkg-plist Wed Jul 26 18:19:33 2017 (r446673) @@ -0,0 +1,3 @@ +%%SITE_ARCH%%/Email/Address/XS.pm +%%SITE_ARCH%%/auto/Email/Address/XS/XS.so +%%PERL5_MAN3%%/Email::Address::XS.3.gz