aboutsummaryrefslogtreecommitdiff
path: root/www/p5-CGI-Untaint-date
diff options
context:
space:
mode:
authorAaron Dalton <aaron@FreeBSD.org>2006-06-18 17:04:25 +0000
committerAaron Dalton <aaron@FreeBSD.org>2006-06-18 17:04:25 +0000
commitfc2417c529e69eca853423299b4073637c9ce6d0 (patch)
tree946f06b2222ef4e1af302febf408b03c91c6db43 /www/p5-CGI-Untaint-date
parentfbec2dbd629ab3dc4e7a3694fd60dcb87446d82f (diff)
downloadports-fc2417c529e69eca853423299b4073637c9ce6d0.tar.gz
ports-fc2417c529e69eca853423299b4073637c9ce6d0.zip
Adding port www/p5-CGI-Untaint-date, validate an incoming date.
Approved by: tobez (implicit)
Notes
Notes: svn path=/head/; revision=165688
Diffstat (limited to 'www/p5-CGI-Untaint-date')
-rw-r--r--www/p5-CGI-Untaint-date/Makefile33
-rw-r--r--www/p5-CGI-Untaint-date/distinfo3
-rw-r--r--www/p5-CGI-Untaint-date/pkg-descr13
-rw-r--r--www/p5-CGI-Untaint-date/pkg-plist7
4 files changed, 56 insertions, 0 deletions
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 <aaron@FreeBSD.org>
+#
+# $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 <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires at least Perl 5.6. Please install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
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 <kasei@tmtm.com>
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