checks for reserved words in mostly all SQL-derived languages, allows
for selective quoting.
This commit is contained in:
parent
f27eaedbc7
commit
1b7fb23d67
20
databases/p5-SQL-ReservedWords/Makefile
Normal file
20
databases/p5-SQL-ReservedWords/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2006/12/10 12:58:10 espie Exp $
|
||||
|
||||
COMMENT= "reserved words in SQL and specific databases"
|
||||
|
||||
MODULES= cpan
|
||||
DISTNAME= SQL-ReservedWords-0.7
|
||||
CATEGORIES= databases
|
||||
|
||||
# perl
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
CONFIGURE_STYLE= modbuild
|
||||
|
||||
MAKE_ENV= TEST_POD=Yes
|
||||
RUN_DEPENDS= ::devel/p5-Sub-Exporter
|
||||
|
||||
.include <bsd.port.mk>
|
4
databases/p5-SQL-ReservedWords/distinfo
Normal file
4
databases/p5-SQL-ReservedWords/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (SQL-ReservedWords-0.7.tar.gz) = d5227b8c5fe43dd6aafc59196d4e88a5
|
||||
RMD160 (SQL-ReservedWords-0.7.tar.gz) = ed85e4c2f85426ff8d61e530f56881a8f19b8823
|
||||
SHA1 (SQL-ReservedWords-0.7.tar.gz) = 5827f189bd6c5e1db603ea1c86a5f486b369a5b3
|
||||
SIZE (SQL-ReservedWords-0.7.tar.gz) = 19254
|
12
databases/p5-SQL-ReservedWords/patches/patch-scripts_sqlrw
Normal file
12
databases/p5-SQL-ReservedWords/patches/patch-scripts_sqlrw
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-scripts_sqlrw,v 1.1.1.1 2006/12/10 12:58:10 espie Exp $
|
||||
--- scripts/sqlrw.orig Sun Dec 10 13:51:54 2006
|
||||
+++ scripts/sqlrw Sun Dec 10 13:52:09 2006
|
||||
@@ -56,7 +56,7 @@ print <<REPORT;
|
||||
REPORT
|
||||
|
||||
sub usage {
|
||||
- require POD::Usage;
|
||||
+ require Pod::Usage;
|
||||
Pod::Usage::pod2usage( @_ );
|
||||
}
|
||||
|
7
databases/p5-SQL-ReservedWords/pkg/DESCR
Normal file
7
databases/p5-SQL-ReservedWords/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
Allows you to test whether some word is reserved in SQL, or in some
|
||||
database backend.
|
||||
|
||||
Covers all SQL standards, along with most databases:
|
||||
DB2, ODBC, PostgreSQL, SQLite, MySQL, Oracle, SQLServer and Sybase.
|
||||
|
||||
Can be used to effect selective quoting...
|
23
databases/p5-SQL-ReservedWords/pkg/PLIST
Normal file
23
databases/p5-SQL-ReservedWords/pkg/PLIST
Normal file
@ -0,0 +1,23 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/12/10 12:58:10 espie Exp $
|
||||
bin/sqlrw
|
||||
${P5SITE}/SQL/
|
||||
${P5SITE}/SQL/ReservedWords/
|
||||
${P5SITE}/SQL/ReservedWords.pm
|
||||
${P5SITE}/SQL/ReservedWords/DB2.pm
|
||||
${P5SITE}/SQL/ReservedWords/MySQL.pm
|
||||
${P5SITE}/SQL/ReservedWords/ODBC.pm
|
||||
${P5SITE}/SQL/ReservedWords/Oracle.pm
|
||||
${P5SITE}/SQL/ReservedWords/PostgreSQL.pm
|
||||
${P5SITE}/SQL/ReservedWords/SQLServer.pm
|
||||
${P5SITE}/SQL/ReservedWords/SQLite.pm
|
||||
${P5SITE}/SQL/ReservedWords/Sybase.pm
|
||||
@man man/man1/sqlrw.1
|
||||
@man man/man3p/SQL::ReservedWords.3p
|
||||
@man man/man3p/SQL::ReservedWords::DB2.3p
|
||||
@man man/man3p/SQL::ReservedWords::MySQL.3p
|
||||
@man man/man3p/SQL::ReservedWords::ODBC.3p
|
||||
@man man/man3p/SQL::ReservedWords::Oracle.3p
|
||||
@man man/man3p/SQL::ReservedWords::PostgreSQL.3p
|
||||
@man man/man3p/SQL::ReservedWords::SQLServer.3p
|
||||
@man man/man3p/SQL::ReservedWords::SQLite.3p
|
||||
@man man/man3p/SQL::ReservedWords::Sybase.3p
|
Loading…
Reference in New Issue
Block a user