Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jan 2008 10:17:29 -0500 (EST)
From:      Tuc <freebsd-ports@t-b-o-h.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/119264: New port: net-mgmt/p5-Data-Validate-IP IP Validation routines
Message-ID:  <200801021517.m02FHTjE024909@himinbjorg.tucs-beachin-obx-house.com>
Resent-Message-ID: <200801021520.m02FK1Jb089134@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         119264
>Category:       ports
>Synopsis:       New port: net-mgmt/p5-Data-Validate-IP IP Validation routines
>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:   Wed Jan 02 15:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>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 ip 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-IP
#	p5-Data-Validate-IP/Makefile
#	p5-Data-Validate-IP/distinfo
#	p5-Data-Validate-IP/pkg-descr
#	p5-Data-Validate-IP/pkg-plist
#
echo c - p5-Data-Validate-IP
mkdir -p p5-Data-Validate-IP > /dev/null 2>&1
echo x - p5-Data-Validate-IP/Makefile
sed 's/^X//' >p5-Data-Validate-IP/Makefile << 'END-of-p5-Data-Validate-IP/Makefile'
X# New ports collection makefile for:	net-mgmt/p5-Data-Validate-IP
X# Date created:				02 January 2008
X# Whom:					Tuc <freebsd-ports@t-b-o-h.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Data-Validate-IP
XPORTVERSION=	0.08
XCATEGORIES=	net-mgmt 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 IPs
X
XBUILD_DEPENDS=	${SITE_PERL}/Net/Netmask.pm:${PORTSDIR}/net-mgmt/p5-Net-Netmask
XRUN_DEPENDS=	${SITE_PERL}/Net/Netmask.pm:${PORTSDIR}/net-mgmt/p5-Net-Netmask
X
XPERL_CONFIGURE=	yes
X
XMAN3=	Data::Validate::IP.3
X
X.include <bsd.port.mk>
END-of-p5-Data-Validate-IP/Makefile
echo x - p5-Data-Validate-IP/distinfo
sed 's/^X//' >p5-Data-Validate-IP/distinfo << 'END-of-p5-Data-Validate-IP/distinfo'
XMD5 (Data-Validate-IP-0.08.tar.gz) = 42c9313f2efe300e940916d440db7510
XSHA256 (Data-Validate-IP-0.08.tar.gz) = c2dafe09ab292b95a9eb2863507eafd7aa52b054d4fbdafd713bcb9bb320b83d
XSIZE (Data-Validate-IP-0.08.tar.gz) = 6299
END-of-p5-Data-Validate-IP/distinfo
echo x - p5-Data-Validate-IP/pkg-descr
sed 's/^X//' >p5-Data-Validate-IP/pkg-descr << 'END-of-p5-Data-Validate-IP/pkg-descr'
XThis module collects ip validation routines to make input validation, and 
Xuntainting 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. (e.g. is_username('0'))
X
XThe value to test is always the first (and often only) argument.
X
XWWW: http://search.cpan.org/~neely/Data-Validate-IP-0.08
END-of-p5-Data-Validate-IP/pkg-descr
echo x - p5-Data-Validate-IP/pkg-plist
sed 's/^X//' >p5-Data-Validate-IP/pkg-plist << 'END-of-p5-Data-Validate-IP/pkg-plist'
X%%SITE_PERL%%/Data/Validate/IP.pm
X%%SITE_PERL%%/auto/Data/Validate/IP/new.al
X%%SITE_PERL%%/auto/Data/Validate/IP/is_ipv4.al
X%%SITE_PERL%%/auto/Data/Validate/IP/is_private_ipv4.al
X%%SITE_PERL%%/auto/Data/Validate/IP/is_loopback_ipv4.al
X%%SITE_PERL%%/auto/Data/Validate/IP/is_testnet_ipv4.al
X%%SITE_PERL%%/auto/Data/Validate/IP/is_multicast_ipv4.al
X%%SITE_PERL%%/auto/Data/Validate/IP/is_linklocal_ipv4.al
X%%SITE_PERL%%/auto/Data/Validate/IP/is_public_ipv4.al
X%%SITE_PERL%%/auto/Data/Validate/IP/_mask.al
X%%SITE_PERL%%/auto/Data/Validate/IP/autosplit.ix
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Validate/IP/.packlist
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Validate/IP
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/IP
X@dirrmtry %%SITE_PERL%%/auto/Data/Validate
X@dirrmtry %%SITE_PERL%%/auto/Data
X@dirrmtry %%SITE_PERL%%/Data
END-of-p5-Data-Validate-IP/pkg-plist
exit

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



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