From freebsd-ports@t-b-o-h.net  Wed Jan  2 15:44:23 2008
Return-Path: <freebsd-ports@t-b-o-h.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D1D3216A418
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  2 Jan 2008 15:44:23 +0000 (UTC)
	(envelope-from freebsd-ports@t-b-o-h.net)
Received: from vjofn.tucs-beachin-obx-house.com (vjofn-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::5e5])
	by mx1.freebsd.org (Postfix) with ESMTP id A49AE13C469
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  2 Jan 2008 15:44:23 +0000 (UTC)
	(envelope-from freebsd-ports@t-b-o-h.net)
Received: from himinbjorg.tucs-beachin-obx-house.com ([208.45.246.58])
	(authenticated bits=0)
	by vjofn.tucs-beachin-obx-house.com (8.12.9/8.12.9) with ESMTP id m02FiM4V096167
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 2 Jan 2008 10:44:22 -0500 (EST)
Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1])
	by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6) with ESMTP id m02FiMFV028661
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 2 Jan 2008 10:44:22 -0500 (EST)
	(envelope-from freebsd-ports@t-b-o-h.net)
Received: (from tbohnet@localhost)
	by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6/Submit) id m02FiMBh028660;
	Wed, 2 Jan 2008 10:44:22 -0500 (EST)
	(envelope-from tbohnet)
Message-Id: <200801021544.m02FiMBh028660@himinbjorg.tucs-beachin-obx-house.com>
Date: Wed, 2 Jan 2008 10:44:22 -0500 (EST)
From: Tuc <freebsd-ports@t-b-o-h.net>
Reply-To: Tuc <freebsd-ports@t-b-o-h.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: www/p5-Data-Validate-URI Collection of URI validation routines
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         119265
>Category:       ports
>Synopsis:       New port: www/p5-Data-Validate-URI Collection of URI validation routines
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 02 15:50:03 UTC 2008
>Closed-Date:    Mon Jan 14 11:15:44 UTC 2008
>Last-Modified:  Mon Jan 14 11:15:44 UTC 2008
>Originator:     Tuc
>Release:        FreeBSD 5.5-STABLE i386
>Organization:
T-B-O-H
>Environment:
System: FreeBSD himinbjorg.tucs-beachin-obx-house.com 5.5-STABLE FreeBSD 5.5-STABLE #9: Tue Jan 23 23:44:47 EST 2007 root@himinbjorg.tucs-beachin-obx-house.com:/usr/obj/usr/src/sys/HIMINBJORG53 i386


	
>Description:
This module collects common URI validation routines to make input validation,
and untainting easier and more readable.
>How-To-Repeat:
	
>Fix:

# 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-Data-Validate-URI
#	p5-Data-Validate-URI/Makefile
#	p5-Data-Validate-URI/distinfo
#	p5-Data-Validate-URI/pkg-descr
#	p5-Data-Validate-URI/pkg-plist
#
echo c - p5-Data-Validate-URI
mkdir -p p5-Data-Validate-URI > /dev/null 2>&1
echo x - p5-Data-Validate-URI/Makefile
sed 's/^X//' >p5-Data-Validate-URI/Makefile << 'END-of-p5-Data-Validate-URI/Makefile'
X# New ports collection makefile for:	www/p5-Data-Validate-URI
X# Date created:				02 January 2008
X# Whom:					Tuc <freebsd-ports@t-b-o-h.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Data-Validate-URI
XPORTVERSION=	0.04
XCATEGORIES=	www perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Data
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	freebsd-ports@t-b-o-h.net
XCOMMENT=	Common data validation methods for URIs
X
XBUILD_DEPENDS=	${SITE_PERL}/Data/Validate/Domain.pm:${PORTSDIR}/dns/p5-Data-Validate-Domain \
X		${SITE_PERL}/Data/Validate/IP.pm:${PORTSDIR}/net-mgmt/p5-Data-Validate-IP
XRUN_DEPENDS=	${SITE_PERL}/Data/Validate/Domain.pm:${PORTSDIR}/dns/p5-Data-Validate-Domain \
X		${SITE_PERL}/Data/Validate/IP.pm:${PORTSDIR}/net-mgmt/p5-Data-Validate-IP
X
XPERL_CONFIGURE=	yes
X
XMAN3=	Data::Validate::URI.3
X
X.include <bsd.port.mk>
END-of-p5-Data-Validate-URI/Makefile
echo x - p5-Data-Validate-URI/distinfo
sed 's/^X//' >p5-Data-Validate-URI/distinfo << 'END-of-p5-Data-Validate-URI/distinfo'
XMD5 (Data-Validate-URI-0.04.tar.gz) = 1cbada5653a33e496e07b2c3c70c80ae
XSHA256 (Data-Validate-URI-0.04.tar.gz) = 5b0acd34dd08f7e6db6b5c76c0cdf26cece3729ae06a4ff1da7b86e985b5035a
XSIZE (Data-Validate-URI-0.04.tar.gz) = 10313
END-of-p5-Data-Validate-URI/distinfo
echo x - p5-Data-Validate-URI/pkg-descr
sed 's/^X//' >p5-Data-Validate-URI/pkg-descr << 'END-of-p5-Data-Validate-URI/pkg-descr'
XThis module collects common URI validation routines to make input validation,
Xand untainting easier and more readable.
X
XAll functions return an untainted value if the test passes, and undef if it
Xfails. This means that you should always check for a defined status 
Xexplicitly. Don't assume the return will be true.
X
XThe value to test is always the first (and often only) argument.
X
XThere are a number of other URI validation modules out there as well.
XThis one focuses on being fast, lightweight, and relatively 'real-world'. 
Xi.e. it's good if you want to check user input, and don't need to parse 
Xout the URI/URL into chunks.
X
XRight now the module focuses on HTTP URIs, since they're arguably the most 
Xcommon. 
X
XWWW: http://search.cpan.org/~sonnen/Data-Validate-URI
END-of-p5-Data-Validate-URI/pkg-descr
echo x - p5-Data-Validate-URI/pkg-plist
sed 's/^X//' >p5-Data-Validate-URI/pkg-plist << 'END-of-p5-Data-Validate-URI/pkg-plist'
X%%SITE_PERL%%/Data/Validate/URI.pm
X%%SITE_PERL%%/auto/Data/Validate/URI/new.al
X%%SITE_PERL%%/auto/Data/Validate/URI/is_uri.al
X%%SITE_PERL%%/auto/Data/Validate/URI/is_http_uri.al
X%%SITE_PERL%%/auto/Data/Validate/URI/is_https_uri.al
X%%SITE_PERL%%/auto/Data/Validate/URI/is_web_uri.al
X%%SITE_PERL%%/auto/Data/Validate/URI/_split_uri.al
X%%SITE_PERL%%/auto/Data/Validate/URI/autosplit.ix
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Validate/URI/.packlist
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Validate/URI
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Validate
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto
X@dirrmtry %%SITE_PERL%%/auto/Data/Validate/URI
X@dirrmtry %%SITE_PERL%%/auto/Data/Validate
X@dirrmtry %%SITE_PERL%%/auto/Data
X@dirrmtry %%SITE_PERL%%/Data
END-of-p5-Data-Validate-URI/pkg-plist
exit

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Tue Jan 8 00:47:47 UTC 2008 
Responsible-Changed-Why:  
` 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119265 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Mon Jan 14 11:15:43 UTC 2008 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119265 
>Unformatted:
