ports/102253: [NEW PORT] textproc/p5-POSIX-Regex: OO interface for the gnu regex engine

Gea-Suan Lin gslin at gslin.org
Sat Aug 19 02:40:25 UTC 2006


>Number:         102253
>Category:       ports
>Synopsis:       [NEW PORT] textproc/p5-POSIX-Regex: OO interface for the gnu regex engine
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 19 02:40:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
This is a port of the glibc gnu regex engine into perl.  There are few
reasons you would need this.  The few I can think of include:

0) You wish to use untrusted user expressions in such a way as to be
able to catch errors.  Example:  eval { alarm 2;  m/((){1024}){1024}/ }
is an instant uncatchable segmentation fault.  GNU's regexps will still
fail, but in a timeout way rather than an instant segfault way.

1) You wish to have POSIX compliance on ... something ...  Perl's
regexps are slightly different -- arguably better, but different.

WWW:	http://search.cpan.org/dist/POSIX-Regex/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-POSIX-Regex-0.89.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-POSIX-Regex
#	p5-POSIX-Regex/pkg-descr
#	p5-POSIX-Regex/Makefile
#	p5-POSIX-Regex/pkg-plist
#	p5-POSIX-Regex/distinfo
#
echo c - p5-POSIX-Regex
mkdir -p p5-POSIX-Regex > /dev/null 2>&1
echo x - p5-POSIX-Regex/pkg-descr
sed 's/^X//' >p5-POSIX-Regex/pkg-descr << 'END-of-p5-POSIX-Regex/pkg-descr'
XThis is a port of the glibc gnu regex engine into perl.  There are few
Xreasons you would need this.  The few I can think of include:
X
X0) You wish to use untrusted user expressions in such a way as to be
Xable to catch errors.  Example:  eval { alarm 2;  m/((){1024}){1024}/ }
Xis an instant uncatchable segmentation fault.  GNU's regexps will still
Xfail, but in a timeout way rather than an instant segfault way.
X
X1) You wish to have POSIX compliance on ... something ...  Perl's
Xregexps are slightly different -- arguably better, but different.
X
XWWW:	http://search.cpan.org/dist/POSIX-Regex/
END-of-p5-POSIX-Regex/pkg-descr
echo x - p5-POSIX-Regex/Makefile
sed 's/^X//' >p5-POSIX-Regex/Makefile << 'END-of-p5-POSIX-Regex/Makefile'
X# New ports collection makefile for:	p5-POSIX-Regex
X# Date created:		2006-08-19
X# Whom:			Gea-Suan Lin <gslin at gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	POSIX-Regex
XPORTVERSION=	0.89
XCATEGORIES=	textproc perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	POSIX
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	gslin at gslin.org
XCOMMENT=	OO interface for the gnu regex engine
X
XPERL_CONFIGURE=	yes
X
XMAN3=		POSIX::Regex.3
X
Xpost-patch:
X	${PERL} -pi -e 's/REG_NOERROR/0/g' ${WRKSRC}/Regex.xs
X
X.include <bsd.port.mk>
END-of-p5-POSIX-Regex/Makefile
echo x - p5-POSIX-Regex/pkg-plist
sed 's/^X//' >p5-POSIX-Regex/pkg-plist << 'END-of-p5-POSIX-Regex/pkg-plist'
X at comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/POSIX/Regex.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/POSIX/Regex/.packlist
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/POSIX/Regex/Regex.bs
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/POSIX/Regex/Regex.so
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/POSIX/Regex/autosplit.ix
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POSIX/Regex
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POSIX
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/POSIX
END-of-p5-POSIX-Regex/pkg-plist
echo x - p5-POSIX-Regex/distinfo
sed 's/^X//' >p5-POSIX-Regex/distinfo << 'END-of-p5-POSIX-Regex/distinfo'
XMD5 (POSIX-Regex-0.89.tar.gz) = 0b37034a809231c4581476339fa32c39
XSHA256 (POSIX-Regex-0.89.tar.gz) = 08e253fe0c9ac3b5be5f85454e51fd64fad6a21f15b258385bbfd5878794a579
XSIZE (POSIX-Regex-0.89.tar.gz) = 5001
END-of-p5-POSIX-Regex/distinfo
exit
--- p5-POSIX-Regex-0.89.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list