ports/52229: New port: p5-Validate-Net validates net-related strings

Alex Kapranoff alex at kapranoff.ru
Wed May 14 13:30:07 UTC 2003


>Number:         52229
>Category:       ports
>Synopsis:       New port: p5-Validate-Net validates net-related strings
>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 May 14 06:30:05 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alex Kapranoff
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
IN-LINE Technologies
>Environment:
System: FreeBSD capsule.domain 4.8-STABLE FreeBSD 4.8-STABLE #0: Mon May 5 17:10:30 MSD 2003 root at capsule.domain:/usr/obj/usr/src/sys/CAPSULE i386


	
>Description:
Validate::Net is a class designed to assist with the validation of
internet related strings. It can be used to validate CGI forms, inter-
nally by modules, and in any place where you want to check that an
internet related string is valid before handing it off to a Net::*
modules.

It allows you to catch errors early, and with more detailed error mes-
sages than you are likely to get further down in the Net::* modules.
>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-Validate-Net/
#	p5-Validate-Net/Makefile
#	p5-Validate-Net/distinfo
#	p5-Validate-Net/pkg-descr
#	p5-Validate-Net/pkg-plist
#
echo c - p5-Validate-Net/
mkdir -p p5-Validate-Net/ > /dev/null 2>&1
echo x - p5-Validate-Net/Makefile
sed 's/^X//' >p5-Validate-Net/Makefile << 'END-of-p5-Validate-Net/Makefile'
X# New ports collection makefile for:	p5-Validate-Net
X# Date created:				May 14th 2003
X# Whom:	      				Alex Kapranoff <alex at kapranoff.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Validate-Net
XPORTVERSION=	0.4
XCATEGORIES=	net perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	../../authors/id/A/AD/ADAMK
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	ports at freebsd.org
XCOMMENT=	Perl5 module that validates Net:: related strings
X
XBUILD_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Class/Default.pm:${PORTSDIR}/devel/p5-Class-Default
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XINSTALL_TARGET=	pure_install
X
XMAN3=		Validate::Net.3
XMAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
X
X.include <bsd.port.mk>
END-of-p5-Validate-Net/Makefile
echo x - p5-Validate-Net/distinfo
sed 's/^X//' >p5-Validate-Net/distinfo << 'END-of-p5-Validate-Net/distinfo'
XMD5 (Validate-Net-0.4.tar.gz) = 924994f1fbc9163e76c4fe24a0fbb9ed
END-of-p5-Validate-Net/distinfo
echo x - p5-Validate-Net/pkg-descr
sed 's/^X//' >p5-Validate-Net/pkg-descr << 'END-of-p5-Validate-Net/pkg-descr'
XValidate::Net is a class designed to assist with the validation of
Xinternet related strings such as domains & ips. It can be used to
Xvalidate CGI forms, internally by modules, and in any place where you
Xwant to check that an internet related string is valid before handing
Xit off to a Net::* modules.
X
XIt allows you to catch errors early, and with more detailed error
Xmessages than you are likely to get further down in the Net::*
Xmodules.
END-of-p5-Validate-Net/pkg-descr
echo x - p5-Validate-Net/pkg-plist
sed 's/^X//' >p5-Validate-Net/pkg-plist << 'END-of-p5-Validate-Net/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/Validate/Net.pm
X at unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Validate 2>/dev/null || true
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Validate/Net/.packlist
X at dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Validate/Net
X at unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Validate 2>/dev/null|| true
END-of-p5-Validate-Net/pkg-plist
exit

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



More information about the freebsd-ports-bugs mailing list