From fc2417c529e69eca853423299b4073637c9ce6d0 Mon Sep 17 00:00:00 2001 From: Aaron Dalton Date: Sun, 18 Jun 2006 17:04:25 +0000 Subject: Adding port www/p5-CGI-Untaint-date, validate an incoming date. Approved by: tobez (implicit) --- www/p5-CGI-Untaint-date/Makefile | 33 +++++++++++++++++++++++++++++++++ www/p5-CGI-Untaint-date/distinfo | 3 +++ www/p5-CGI-Untaint-date/pkg-descr | 13 +++++++++++++ www/p5-CGI-Untaint-date/pkg-plist | 7 +++++++ 4 files changed, 56 insertions(+) create mode 100644 www/p5-CGI-Untaint-date/Makefile create mode 100644 www/p5-CGI-Untaint-date/distinfo create mode 100644 www/p5-CGI-Untaint-date/pkg-descr create mode 100644 www/p5-CGI-Untaint-date/pkg-plist (limited to 'www/p5-CGI-Untaint-date') diff --git a/www/p5-CGI-Untaint-date/Makefile b/www/p5-CGI-Untaint-date/Makefile new file mode 100644 index 000000000000..31890f279cb9 --- /dev/null +++ b/www/p5-CGI-Untaint-date/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: p5-CGI-Untaint-date +# Date created: 18 Jun 2006 +# Whom: Aaron Dalton +# +# $FreeBSD$ +# + +PORTNAME= CGI-Untaint-date +PORTVERSION= 1.00 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= CGI +PKGNAMEPREFIX= p5- + +MAINTAINER= aaron@FreeBSD.org +COMMENT= Validate a date + +BUILD_DEPENDS= ${SITE_PERL}/CGI/Untaint.pm:${PORTSDIR}/www/p5-CGI-Untaint \ + ${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \ + ${SITE_PERL}/${PERL_ARCH}/Date/Simple.pm:${PORTSDIR}/devel/p5-Date-Simple +RUN_DEPENDS= ${BUILD_DEPENDS} + +MAN3= CGI::Untaint::date.3 + +PERL_CONFIGURE= yes + +.include + +.if ${PERL_LEVEL} < 500600 +IGNORE= requires at least Perl 5.6. Please install lang/perl5.8 and try again +.endif + +.include diff --git a/www/p5-CGI-Untaint-date/distinfo b/www/p5-CGI-Untaint-date/distinfo new file mode 100644 index 000000000000..ee8553ccc2a1 --- /dev/null +++ b/www/p5-CGI-Untaint-date/distinfo @@ -0,0 +1,3 @@ +MD5 (CGI-Untaint-date-1.00.tar.gz) = d042ddc051a289514943860e7effb56e +SHA256 (CGI-Untaint-date-1.00.tar.gz) = e635500cbdd56c7251ce61199c3f4d60508273ac07b3a6752347e65ca765c16c +SIZE (CGI-Untaint-date-1.00.tar.gz) = 2940 diff --git a/www/p5-CGI-Untaint-date/pkg-descr b/www/p5-CGI-Untaint-date/pkg-descr new file mode 100644 index 000000000000..32a8bff94687 --- /dev/null +++ b/www/p5-CGI-Untaint-date/pkg-descr @@ -0,0 +1,13 @@ +This Input Handler verifies that it is dealing with a reasonable date. +Reasonably means anything that Date::Manip thinks is sensible, so you +could use any of (for example): "December 12, 2001" "12th December, 2001" +"2001-12-12" "next Tuesday" "third Wednesday in March" + +See Date::Manip for much more information on what date formats are +acceptable. + +The resulting date will be a Date::Simple object. Date::Simple for more +information on this. + +WWW: http://search.cpan.org/dist/CGI-Untaint-date +Author: Tony Bowden diff --git a/www/p5-CGI-Untaint-date/pkg-plist b/www/p5-CGI-Untaint-date/pkg-plist new file mode 100644 index 000000000000..8cf5445be644 --- /dev/null +++ b/www/p5-CGI-Untaint-date/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/CGI/Untaint/date.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Untaint/date/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Untaint/date +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI/Untaint +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/CGI +@dirrmtry %%SITE_PERL%%/CGI/Untaint +@dirrmtry %%SITE_PERL%%/CGI -- cgit v1.2.3