freebsd-ports/databases/p5-SQL-Interp/Makefile
Cheng-Lung Sung 1baf0aca01 SQL::Interp converts a list of intermixed SQL fragments and
variable references into a conventional SQL string and list
of bind values suitable for passing onto DBI. This simple
technique creates database calls that are simpler to create
and easier to read, while still giving you full access to
custom SQL.

SQL::Interp properly binds or escapes variables. This recommended
practice safeguards against "SQL injection" attacks. The DBI
documentation has several links on the topic.

Besides the simple techniques shown above, The SQL-Interpolate
distribution includes the optional DBIx::Interp module.

WWW: http://search.cpan.org/dist/SQL-Interp/
2008-01-16 12:42:56 +00:00

23 lines
513 B
Makefile

# New ports collection makefile for: SQL-Interp
# Date created: 16 Jan 2008
# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= SQL-Interp
PORTVERSION= 1.06
CATEGORIES= databases perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= clsung@FreeBSD.org
COMMENT= Interpolate Perl variables into SQL with DBI
RUN_DEPENDS= p5-DBI>=0:${PORTSDIR}/databases/p5-DBI
PERL_CONFIGURE= yes
MAN3= DBIx::Interp.3 SQL::Interp.3
.include <bsd.port.mk>