aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-05-05 13:59:57 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-05-05 13:59:57 +0000
commit91dbcb3298e53690aae1ed218a4ade4a280df12d (patch)
treec495cb006321d439e331e1214c632384abd4f076
parent2815d726b125ec9528effe37fcf14ef7578cca78 (diff)
Notes
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-Class-DBI-Untaint/Makefile32
-rw-r--r--databases/p5-Class-DBI-Untaint/distinfo2
-rw-r--r--databases/p5-Class-DBI-Untaint/pkg-descr8
-rw-r--r--databases/p5-Class-DBI-Untaint/pkg-plist7
5 files changed, 50 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 5d82527d3e74..1c906c881b9c 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -131,6 +131,7 @@
SUBDIR += p5-Class-DBI-SAK
SUBDIR += p5-Class-DBI-SQLite
SUBDIR += p5-Class-DBI-ToSax
+ SUBDIR += p5-Class-DBI-Untaint
SUBDIR += p5-Class-DBI-mysql
SUBDIR += p5-DBD-CSV
SUBDIR += p5-DBD-Excel
diff --git a/databases/p5-Class-DBI-Untaint/Makefile b/databases/p5-Class-DBI-Untaint/Makefile
new file mode 100644
index 000000000000..5cadffe49ff7
--- /dev/null
+++ b/databases/p5-Class-DBI-Untaint/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: p5-Class-DBI-Untaint
+# Date created: Apr 26 2004
+# Whom: Lars Thegler <lars@thegler.dk>
+#
+# $FreeBSD$
+
+PORTNAME= Class-DBI-Untaint
+PORTVERSION= 0.01
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Class
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lars@thegler.dk
+COMMENT= Class::DBI constraints using CGI::Untaint
+
+BUILD_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI \
+ ${SITE_PERL}/CGI/Untaint.pm:${PORTSDIR}/www/p5-CGI-Untaint
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Class::DBI::Untaint.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+post-configure:
+ ${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/p5-Class-DBI-Untaint/distinfo b/databases/p5-Class-DBI-Untaint/distinfo
new file mode 100644
index 000000000000..c070e923a3c2
--- /dev/null
+++ b/databases/p5-Class-DBI-Untaint/distinfo
@@ -0,0 +1,2 @@
+MD5 (Class-DBI-Untaint-0.01.tar.gz) = 3b442a54c2ce8a8f8caa619560e002f5
+SIZE (Class-DBI-Untaint-0.01.tar.gz) = 1884
diff --git a/databases/p5-Class-DBI-Untaint/pkg-descr b/databases/p5-Class-DBI-Untaint/pkg-descr
new file mode 100644
index 000000000000..e96b360543f1
--- /dev/null
+++ b/databases/p5-Class-DBI-Untaint/pkg-descr
@@ -0,0 +1,8 @@
+Using this module will plug-in a new constraint type to Class::DBI
+that uses CGI::Untaint.
+
+Any column can then be said to require untainting of a given type
+- i.e. that any value which you attempted to set that column to
+(include at create() time) must pass an untaint as_type() check.
+
+WWW: http://search.cpan.org/dist/Class-DBI-Untaint/
diff --git a/databases/p5-Class-DBI-Untaint/pkg-plist b/databases/p5-Class-DBI-Untaint/pkg-plist
new file mode 100644
index 000000000000..8b4ae6e0452b
--- /dev/null
+++ b/databases/p5-Class-DBI-Untaint/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Class/DBI/Untaint.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Untaint/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI/Untaint
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/DBI 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Class 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Class/DBI 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Class 2>/dev/null || true