diff options
author | xtraeme <xtraeme> | 2004-04-20 09:49:33 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2004-04-20 09:49:33 +0000 |
commit | 172f6363a7649a5f60cc4337349bffc48feb6317 (patch) | |
tree | ec8ee2f285dba8378750c77141b951c79b3eb193 /databases/adodb | |
parent | 640066c5e92ae5e41f07a734589233c255b98196 (diff) | |
download | pkgsrc-172f6363a7649a5f60cc4337349bffc48feb6317.tar.gz |
Initial import of adodb-4.00, from pkgsrc-wip packaged by Adrian
Portelli.
ADOdb stands for Active Data Objects Data Base. It currently supports MySQL,
PostgreSQL, Interbase, Informix, Oracle, MS SQL 7, Foxpro, Access, ADO, Sybase,
DB2 and generic ODBC. The Sybase, Informix and PostgreSQL drivers are community
contributions. We hope more people will contribute drivers to support more
databases.
Unique Features of ADOdb
- Easy for Windows programmers to understand. Makes porting ASP code to PHP
easy because many of the conventions are similar to Microsoft's ADO.
- We provide support code to handle inserts and updates which can be adapted
to multiple databases quickly. Methods are provided for date handling,
string concatenation and string quoting characters for differing databases.
- A metatype system is built in so that we can figure out that types such as
CHAR, TEXT and STRING are equivalent in different databases.
- Easy to port because all the database dependent code are stored in stub
functions. You do not need to port the core logic of the classes.
- SQL to popup menu (<SELECT>) support included
- PHP4 Session support.
Diffstat (limited to 'databases/adodb')
-rw-r--r-- | databases/adodb/DESCR | 18 | ||||
-rw-r--r-- | databases/adodb/Makefile | 50 | ||||
-rw-r--r-- | databases/adodb/PLIST | 122 | ||||
-rw-r--r-- | databases/adodb/distinfo | 4 |
4 files changed, 194 insertions, 0 deletions
diff --git a/databases/adodb/DESCR b/databases/adodb/DESCR new file mode 100644 index 00000000000..8961a0b90fc --- /dev/null +++ b/databases/adodb/DESCR @@ -0,0 +1,18 @@ +ADOdb stands for Active Data Objects Data Base. It currently supports MySQL, +PostgreSQL, Interbase, Informix, Oracle, MS SQL 7, Foxpro, Access, ADO, Sybase, +DB2 and generic ODBC. The Sybase, Informix and PostgreSQL drivers are community +contributions. We hope more people will contribute drivers to support more +databases. + +Unique Features of ADOdb +- Easy for Windows programmers to understand. Makes porting ASP code to PHP + easy because many of the conventions are similar to Microsoft's ADO. +- We provide support code to handle inserts and updates which can be adapted + to multiple databases quickly. Methods are provided for date handling, + string concatenation and string quoting characters for differing databases. +- A metatype system is built in so that we can figure out that types such as + CHAR, TEXT and STRING are equivalent in different databases. +- Easy to port because all the database dependent code are stored in stub + functions. You do not need to port the core logic of the classes. +- SQL to popup menu (<SELECT>) support included +- PHP4 Session support. diff --git a/databases/adodb/Makefile b/databases/adodb/Makefile new file mode 100644 index 00000000000..a8c29bad0a8 --- /dev/null +++ b/databases/adodb/Makefile @@ -0,0 +1,50 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/04/20 09:49:33 xtraeme Exp $ +# + +DISTNAME= adodb400 +PKGNAME= adodb-4.00 +CATEGORIES= databases www +MASTER_SITES= http://phplens.com/lens/dl/ +EXTRACT_SUFX= .tgz + +MAINTAINER= adrianp@stindustries.net +HOMEPAGE= http://php.weblogs.com/ADODB +COMMENT= Active Data Objects Data Base for php4 + +DEPENDS+= php>=4.0.5:../../www/php4 + +WRKSRC= ${WRKDIR}/adodb +NO_CONFIGURE= YES +NO_BUILD= YES +NO_BUILDLINK= YES + +DOC_FILES= license.txt readme.htm readme.txt tips_portable_sql.htm \ + tute.htm docs-datadict.htm old-changelog.htm docs-adodb.htm \ + docs-session.htm docs-perf.htm + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/adodb + ${INSTALL_DATA_DIR} ${PREFIX}/share/adodb/cute_icons_for_site + ${INSTALL_DATA_DIR} ${PREFIX}/share/adodb/datadict + ${INSTALL_DATA_DIR} ${PREFIX}/share/adodb/drivers + ${INSTALL_DATA_DIR} ${PREFIX}/share/adodb/lang + ${INSTALL_DATA_DIR} ${PREFIX}/share/adodb/perf + ${INSTALL_DATA_DIR} ${PREFIX}/share/adodb/tests + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/adodb + ${INSTALL_SCRIPT} ${WRKSRC}/*.php ${PREFIX}/share/adodb + ${INSTALL_DATA} ${WRKSRC}/cute_icons_for_site/*.png \ + ${PREFIX}/share/adodb/cute_icons_for_site + ${INSTALL_DATA} ${WRKSRC}/cute_icons_for_site/*.gif \ + ${PREFIX}/share/adodb/cute_icons_for_site + ${INSTALL_SCRIPT} ${WRKSRC}/datadict/*.php \ + ${PREFIX}/share/adodb/datadict + ${INSTALL_SCRIPT} ${WRKSRC}/drivers/*.php ${PREFIX}/share/adodb/drivers + ${INSTALL_SCRIPT} ${WRKSRC}/lang/*.php ${PREFIX}/share/adodb/lang + ${INSTALL_SCRIPT} ${WRKSRC}/perf/*.php ${PREFIX}/share/adodb/perf + ${INSTALL_SCRIPT} ${WRKSRC}/tests/*.php ${PREFIX}/share/adodb/tests + ${INSTALL_SCRIPT} ${WRKSRC}/tests/*.xml ${PREFIX}/share/adodb/tests + for FILE in ${DOC_FILES}; do \ + ${INSTALL_DATA} ${WRKSRC}/$$FILE ${PREFIX}/share/doc/adodb; \ + done + +.include "../../mk/bsd.pkg.mk" diff --git a/databases/adodb/PLIST b/databases/adodb/PLIST new file mode 100644 index 00000000000..85742364df6 --- /dev/null +++ b/databases/adodb/PLIST @@ -0,0 +1,122 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/20 09:49:33 xtraeme Exp $ +share/adodb/adodb-cryptsession.php +share/adodb/adodb-csvlib.inc.php +share/adodb/adodb-datadict.inc.php +share/adodb/adodb-error.inc.php +share/adodb/adodb-errorhandler.inc.php +share/adodb/adodb-errorpear.inc.php +share/adodb/adodb-lib.inc.php +share/adodb/adodb-pager.inc.php +share/adodb/adodb-pear.inc.php +share/adodb/adodb-perf.inc.php +share/adodb/adodb-session-clob.php +share/adodb/adodb-session.php +share/adodb/adodb-time.inc.php +share/adodb/adodb-xmlschema.inc.php +share/adodb/adodb.inc.php +share/adodb/crypt.inc.php +share/adodb/cute_icons_for_site/adodb.gif +share/adodb/cute_icons_for_site/adodb.png +share/adodb/cute_icons_for_site/adodb2.gif +share/adodb/cute_icons_for_site/adodb2.png +share/adodb/datadict/datadict-access.inc.php +share/adodb/datadict/datadict-db2.inc.php +share/adodb/datadict/datadict-generic.inc.php +share/adodb/datadict/datadict-ibase.inc.php +share/adodb/datadict/datadict-informix.inc.php +share/adodb/datadict/datadict-mssql.inc.php +share/adodb/datadict/datadict-mysql.inc.php +share/adodb/datadict/datadict-oci8.inc.php +share/adodb/datadict/datadict-postgres.inc.php +share/adodb/datadict/datadict-sybase.inc.php +share/adodb/drivers/adodb-access.inc.php +share/adodb/drivers/adodb-ado.inc.php +share/adodb/drivers/adodb-ado_access.inc.php +share/adodb/drivers/adodb-ado_mssql.inc.php +share/adodb/drivers/adodb-borland_ibase.inc.php +share/adodb/drivers/adodb-csv.inc.php +share/adodb/drivers/adodb-db2.inc.php +share/adodb/drivers/adodb-fbsql.inc.php +share/adodb/drivers/adodb-firebird.inc.php +share/adodb/drivers/adodb-ibase.inc.php +share/adodb/drivers/adodb-informix.inc.php +share/adodb/drivers/adodb-informix72.inc.php +share/adodb/drivers/adodb-mssql.inc.php +share/adodb/drivers/adodb-mssqlpo.inc.php +share/adodb/drivers/adodb-mysql.inc.php +share/adodb/drivers/adodb-mysqlt.inc.php +share/adodb/drivers/adodb-oci8.inc.php +share/adodb/drivers/adodb-oci805.inc.php +share/adodb/drivers/adodb-oci8po.inc.php +share/adodb/drivers/adodb-odbc.inc.php +share/adodb/drivers/adodb-odbc_mssql.inc.php +share/adodb/drivers/adodb-odbc_oracle.inc.php +share/adodb/drivers/adodb-oracle.inc.php +share/adodb/drivers/adodb-postgres.inc.php +share/adodb/drivers/adodb-postgres64.inc.php +share/adodb/drivers/adodb-postgres7.inc.php +share/adodb/drivers/adodb-proxy.inc.php +share/adodb/drivers/adodb-sapdb.inc.php +share/adodb/drivers/adodb-sqlanywhere.inc.php +share/adodb/drivers/adodb-sqlite.inc.php +share/adodb/drivers/adodb-sybase.inc.php +share/adodb/drivers/adodb-vfp.inc.php +share/adodb/lang/adodb-cz.inc.php +share/adodb/lang/adodb-en.inc.php +share/adodb/lang/adodb-es.inc.php +share/adodb/lang/adodb-fr.inc.php +share/adodb/lang/adodb-it.inc.php +share/adodb/lang/adodb-pt-br.inc.php +share/adodb/lang/adodb-ru1251.inc.php +share/adodb/lang/adodb-sv.inc.php +share/adodb/perf/perf-db2.inc.php +share/adodb/perf/perf-informix.inc.php +share/adodb/perf/perf-mssql.inc.php +share/adodb/perf/perf-mysql.inc.php +share/adodb/perf/perf-oci8.inc.php +share/adodb/perf/perf-postgres.inc.php +share/adodb/pivottable.inc.php +share/adodb/rsfilter.inc.php +share/adodb/server.php +share/adodb/tests/benchmark.php +share/adodb/tests/client.php +share/adodb/tests/test-datadict.php +share/adodb/tests/test-perf.php +share/adodb/tests/test-xmlschema.php +share/adodb/tests/test.php +share/adodb/tests/test2.php +share/adodb/tests/test3.php +share/adodb/tests/test4.php +share/adodb/tests/test5.php +share/adodb/tests/testcache.php +share/adodb/tests/testdatabases.inc.php +share/adodb/tests/testgenid.php +share/adodb/tests/testmssql.php +share/adodb/tests/testoci8.php +share/adodb/tests/testoci8cursor.php +share/adodb/tests/testpaging.php +share/adodb/tests/testpear.php +share/adodb/tests/testsessions.php +share/adodb/tests/time.php +share/adodb/tests/tmssql.php +share/adodb/tests/xmlschema.xml +share/adodb/toexport.inc.php +share/adodb/tohtml.inc.php +share/doc/adodb/docs-adodb.htm +share/doc/adodb/docs-datadict.htm +share/doc/adodb/docs-perf.htm +share/doc/adodb/docs-session.htm +share/doc/adodb/license.txt +share/doc/adodb/old-changelog.htm +share/doc/adodb/readme.htm +share/doc/adodb/readme.txt +share/doc/adodb/tips_portable_sql.htm +share/doc/adodb/tute.htm +@dirrm share/doc/adodb +@dirrm share/adodb/tests +@dirrm share/adodb/perf +@dirrm share/adodb/lang +@dirrm share/adodb/drivers +@dirrm share/adodb/datadict +@dirrm share/adodb/cute_icons_for_site +@dirrm share/adodb diff --git a/databases/adodb/distinfo b/databases/adodb/distinfo new file mode 100644 index 00000000000..209b58cbd0f --- /dev/null +++ b/databases/adodb/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/04/20 09:49:33 xtraeme Exp $ + +SHA1 (adodb400.tgz) = 40640dfee6c1bea52b5cb4a2bc908d89cf2c8be8 +Size (adodb400.tgz) = 406010 bytes |