summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2008-04-30 19:37:34 +0000
committeradrianp <adrianp@pkgsrc.org>2008-04-30 19:37:34 +0000
commita784c528459667b6e783f886c665ef836a4a13dd (patch)
treeefcf0aa34abef81494b3b41988445c97cd5e33d3
parente6327359a63c3021eb8bedef9e30a9300f6f93b9 (diff)
downloadpkgsrc-a784c528459667b6e783f886c665ef836a4a13dd.tar.gz
Provides a common API for all supported RDBMS. The main difference to most
other DB abstraction packages is that MDB2 goes much further to ensure portability. MDB2 provides most of its many features optionally that can be used to construct portable SQL statements.
-rw-r--r--databases/pear-MDB2/DESCR24
-rw-r--r--databases/pear-MDB2/Makefile11
-rw-r--r--databases/pear-MDB2/distinfo5
3 files changed, 40 insertions, 0 deletions
diff --git a/databases/pear-MDB2/DESCR b/databases/pear-MDB2/DESCR
new file mode 100644
index 00000000000..f943c8e0332
--- /dev/null
+++ b/databases/pear-MDB2/DESCR
@@ -0,0 +1,24 @@
+It provides a common API for all supported RDBMS. The main difference to most
+other DB abstraction packages is that MDB2 goes much further to ensure
+portability. MDB2 provides most of its many features optionally that
+can be used to construct portable SQL statements:
+* Object-Oriented API
+* A DSN (data source name) or array format for specifying database servers
+* Datatype abstraction and on demand datatype conversion
+* Various optional fetch modes to fix portability issues
+* Portable error codes
+* Sequential and non sequential row fetching as well as bulk fetching
+* Ability to make buffered and unbuffered queries
+* Ordered array and associative array for the fetched rows
+* Prepare/execute (bind) named and unnamed placeholder emulation
+* Sequence/autoincrement emulation
+* Replace emulation
+* Limited sub select emulation
+* Row limit emulation
+* Transactions/savepoint support
+* Large Object support
+* Index/Unique Key/Primary Key support
+* Pattern matching abstraction
+* Module framework to load advanced functionality on demand
+* Ability to read the information schema
+* RDBMS management methods (creating, dropping, altering)
diff --git a/databases/pear-MDB2/Makefile b/databases/pear-MDB2/Makefile
new file mode 100644
index 00000000000..1f5a434f72e
--- /dev/null
+++ b/databases/pear-MDB2/Makefile
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/04/30 19:37:34 adrianp Exp $
+
+DISTNAME= MDB2-2.4.1
+CATEGORIES= databases
+
+MAINTAINER= adrianp@NetBSD.org
+HOMEPAGE= http://pear.php.net/package/MDB2
+COMMENT= Merge of PEAR DB and Metabase database abstraction layers
+
+.include "../../lang/php/pear.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/pear-MDB2/distinfo b/databases/pear-MDB2/distinfo
new file mode 100644
index 00000000000..4deacf6e4b0
--- /dev/null
+++ b/databases/pear-MDB2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/04/30 19:37:34 adrianp Exp $
+
+SHA1 (pear/MDB2-2.4.1.tgz) = 91e12cc3ae6203db6cf5b6bb42c7befa11777800
+RMD160 (pear/MDB2-2.4.1.tgz) = 2298a0c5963779f7d42f268d79ed607835413e4b
+Size (pear/MDB2-2.4.1.tgz) = 119790 bytes