pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases Add PDO (PHP Data Objects) extensions. These...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3d87e631590b
branches: trunk
changeset: 500496:3d87e631590b
user: jdolecek <jdolecek%pkgsrc.org@localhost>
date: Sun Oct 09 13:11:18 2005 +0000
description:
Add PDO (PHP Data Objects) extensions. These implement unified,
object-oriented interface to various databases. PDO comes bundled
with upcoming PHP 5.1, but can also be used with PHP 5.0 via PECL.
diffstat:
databases/php-pdo/DESCR | 6 ++++++
databases/php-pdo/Makefile | 27 +++++++++++++++++++++++++++
databases/php-pdo/PLIST.pdo | 4 ++++
databases/php-pdo/buildlink3.mk | 21 +++++++++++++++++++++
databases/php-pdo/distinfo | 6 ++++++
databases/php-pdo/module.mk | 15 +++++++++++++++
databases/php-pdo_dblib/DESCR | 3 +++
databases/php-pdo_dblib/Makefile | 12 ++++++++++++
databases/php-pdo_dblib/distinfo | 5 +++++
databases/php-pdo_mysql/DESCR | 3 +++
databases/php-pdo_mysql/Makefile | 9 +++++++++
databases/php-pdo_mysql/distinfo | 5 +++++
databases/php-pdo_odbc/DESCR | 5 +++++
databases/php-pdo_odbc/Makefile | 10 ++++++++++
databases/php-pdo_odbc/distinfo | 5 +++++
databases/php-pdo_pgsql/DESCR | 3 +++
databases/php-pdo_pgsql/Makefile | 9 +++++++++
databases/php-pdo_pgsql/distinfo | 5 +++++
databases/php-pdo_sqlite/DESCR | 7 +++++++
databases/php-pdo_sqlite/Makefile | 9 +++++++++
databases/php-pdo_sqlite/distinfo | 5 +++++
21 files changed, 174 insertions(+), 0 deletions(-)
diffs (258 lines):
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo/DESCR Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,6 @@
+PHP is a programming language designed to be embedded into web pages.
+
+PDO provides a uniform data access interface, sporting advanced
+features such as prepared statements and bound parameters. PDO
+drivers are dynamically loadable and may be developed independently
+from the core, but still accessed using the same API.
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo/Makefile Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/09 13:11:18 jdolecek Exp $
+
+MODNAME= PDO
+PKGMODNAME= pdo
+PKGNAME= php-${PKGMODNAME}-${PHP_BASE_VERS}.${PECL_VERSION}
+PKGREVISION= # empty
+PECL_VERSION= 1.0RC1
+CATEGORIES+= databases
+MAINTAINER= tech-pkg%NetBSD.org@localhost
+COMMENT= PHP extension for PHP Data Objects (base)
+
+CONFIGURE_ARGS+= --with-${PKGMODNAME}
+
+PHP_VERSION_REQD= 5
+
+PLIST_SRC+= ${.CURDIR}/../../databases/php-pdo/PLIST.pdo
+
+PDO_INCLUDES= php_pdo_driver.h php_pdo.h
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/include/php/ext/pdo
+ for inc in ${PDO_INCLUDES}; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$inc ${PREFIX}/include/php/ext/pdo/$$inc;\
+ done
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo/PLIST.pdo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo/PLIST.pdo Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST.pdo,v 1.1.1.1 2005/10/09 13:11:18 jdolecek Exp $
+include/php/ext/pdo/php_pdo.h
+include/php/ext/pdo/php_pdo_driver.h
+@dirrm include/php/ext/pdo
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo/buildlink3.mk Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/10/09 13:11:18 jdolecek Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PHP_PDO_BUILDLINK3_MK:= ${PHP_PDO_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= php-pdo
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nphp-pdo}
+BUILDLINK_PACKAGES+= php-pdo
+
+.if !empty(PHP_PDO_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.php-pdo+= php-pdo-*.1.0RC1
+BUILDLINK_PKGSRCDIR.php-pdo?= ../../databases/php-pdo
+BUILDLINK_INCDIRS.php-pdo?= include/php/ext/pdo
+.endif # PHP_PDO_BUILDLINK3_MK
+
+
+.include "../../lang/php/ext.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo/distinfo Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/09 13:11:18 jdolecek Exp $
+
+SHA1 (php-PDO/PDO-1.0RC1.tgz) = 1d70df41f1f61294e6a90694aa43f38252059876
+RMD160 (php-PDO/PDO-1.0RC1.tgz) = b3603614c301862b3e77c634ab9a8d6718603e63
+Size (php-PDO/PDO-1.0RC1.tgz) = 46925 bytes
+SHA1 (patch-aa) = cfc560a992bd8706f79828f31b7210fcef14e25f
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo/module.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo/module.mk Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: module.mk,v 1.1.1.1 2005/10/09 13:11:18 jdolecek Exp $
+
+# Items common for all PDO drivers
+
+MODNAME= PDO_${PDO_DRIVER:tu}
+PKGMODNAME= pdo_${PDO_DRIVER}
+PKGNAME= php-${PKGMODNAME}-${PHP_BASE_VERS}.${PECL_VERSION}
+PKGREVISION= # empty
+PDO_VERSION?= 1.0RC1
+PECL_VERSION?= ${PDO_VERSION}
+CATEGORIES+= databases
+MAINTAINER= jdolecek%NetBSD.org@localhost
+COMMENT= PHP PDO extension for ${PDO_COMMENT} databases
+
+.include "../../databases/php-pdo/buildlink3.mk"
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo_dblib/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo_dblib/DESCR Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,3 @@
+PHP is a programming language designed to be embedded into web pages.
+
+This extension provides a FreeTDS/Sybase/MSSQL driver for PDO.
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo_dblib/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo_dblib/Makefile Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/09 13:11:18 jdolecek Exp $
+
+PDO_DRIVER= dblib
+PDO_COMMENT= FreeTDS/Sybase/MS SQL
+
+CONFIGURE_ARGS+= --with-${PKGMODNAME}=shared,${BUILDLINK_DIR}/freetds
+
+# requires 0.63 version to compile, doesn't compile with 0.61
+BUILDLINK_DEPENDS.freetds+= freetds>=0.63
+
+.include "../../databases/freetds/buildlink3.mk"
+.include "../../databases/php-pdo/module.mk"
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo_dblib/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo_dblib/distinfo Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/09 13:11:18 jdolecek Exp $
+
+SHA1 (php-PDO_DBLIB/PDO_DBLIB-1.0RC1.tgz) = 6f3865932bb96fac3f49aa2c7f4d4fa8cf6164b9
+RMD160 (php-PDO_DBLIB/PDO_DBLIB-1.0RC1.tgz) = 5922102bcdfda827f6c504b3cfc802ed31053a43
+Size (php-PDO_DBLIB/PDO_DBLIB-1.0RC1.tgz) = 7953 bytes
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo_mysql/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo_mysql/DESCR Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,3 @@
+PHP is a programming language designed to be embedded into web pages.
+
+This extension provides a MySQL 3.x/4.x driver for PDO.
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo_mysql/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo_mysql/Makefile Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/09 13:11:18 jdolecek Exp $
+
+PDO_DRIVER= mysql
+PDO_COMMENT= MySQL
+
+CONFIGURE_ARGS+= --with-${PKGMODNAME}=shared,${BUILDLINK_PREFIX.mysql-client}
+
+.include "../../mk/mysql.buildlink3.mk"
+.include "../../databases/php-pdo/module.mk"
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo_mysql/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo_mysql/distinfo Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/09 13:11:18 jdolecek Exp $
+
+SHA1 (php-PDO_MYSQL/PDO_MYSQL-1.0RC1.tgz) = 310bdcb7443a2f80a2f65f4a5add383deafd265b
+RMD160 (php-PDO_MYSQL/PDO_MYSQL-1.0RC1.tgz) = 490484b27f5033a2ec72dfd07181629fb3c0ff3d
+Size (php-PDO_MYSQL/PDO_MYSQL-1.0RC1.tgz) = 11553 bytes
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo_odbc/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo_odbc/DESCR Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,5 @@
+PHP is a programming language designed to be embedded into web pages.
+
+This extension provides an ODBC v3 driver for PDO. It supports
+unixODBC and IBM DB2 libraries, and will support more in future
+releases.
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo_odbc/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo_odbc/Makefile Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/09 13:11:18 jdolecek Exp $
+
+PDO_DRIVER= odbc
+PDO_COMMENT= ODBC
+PECL_VERSION?= 0.9
+
+CONFIGURE_ARGS+= --with-${PKGMODNAME}=unixodbc,${BUILDLINK_PREFIX.unixodbc}
+
+.include "../../databases/unixodbc/buildlink3.mk"
+.include "../../databases/php-pdo/module.mk"
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo_odbc/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo_odbc/distinfo Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/09 13:11:18 jdolecek Exp $
+
+SHA1 (php-PDO_ODBC/PDO_ODBC-0.9.tgz) = cd53c65b68115aa5bfc777a52b975bd57d3f89aa
+RMD160 (php-PDO_ODBC/PDO_ODBC-0.9.tgz) = 56a162b264358e4c71cb7b150376561d71aa51a6
+Size (php-PDO_ODBC/PDO_ODBC-0.9.tgz) = 12838 bytes
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo_pgsql/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo_pgsql/DESCR Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,3 @@
+PHP is a programming language designed to be embedded into web pages.
+
+This extension provides an PostgreSQL driver for PDO.
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo_pgsql/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo_pgsql/Makefile Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/09 13:11:18 jdolecek Exp $
+
+PDO_DRIVER= pgsql
+PDO_COMMENT= PostgreSQL
+
+CONFIGURE_ARGS+= --with-${PKGMODNAME}=shared,${PGSQL_PREFIX}
+
+.include "../../mk/pgsql.buildlink3.mk"
+.include "../../databases/php-pdo/module.mk"
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo_pgsql/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo_pgsql/distinfo Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/09 13:11:18 jdolecek Exp $
+
+SHA1 (php-PDO_PGSQL/PDO_PGSQL-1.0RC1.tgz) = dabc5e1d28b863ac64f1df9d38928f5aa1914406
+RMD160 (php-PDO_PGSQL/PDO_PGSQL-1.0RC1.tgz) = eeb2bf6ceca3668d8c425dddfbfa4c7b1fe8d5e3
+Size (php-PDO_PGSQL/PDO_PGSQL-1.0RC1.tgz) = 11468 bytes
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo_sqlite/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo_sqlite/DESCR Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,7 @@
+PHP is a programming language designed to be embedded into web pages.
+
+This extension provides an SQLite v3 driver for PDO. SQLite V3 is
+NOT compatible with the bundled SQLite 2 in PHP 5, but is a
+significant step forwards, featuring complete utf-8 support, native
+support for blobs, native support for prepared statements with
+bound parameters and improved concurrency.
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo_sqlite/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo_sqlite/Makefile Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/09 13:11:18 jdolecek Exp $
+
+PDO_DRIVER= sqlite
+PDO_COMMENT= SQLite v3
+
+CONFIGURE_ARGS+= --with-${PKGMODNAME}=shared,${BUILDLINK_PREFIX.sqlite3}
+
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../databases/php-pdo/module.mk"
diff -r 011ab34d3651 -r 3d87e631590b databases/php-pdo_sqlite/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo_sqlite/distinfo Sun Oct 09 13:11:18 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/09 13:11:18 jdolecek Exp $
+
+SHA1 (php-PDO_SQLITE/PDO_SQLITE-1.0RC1.tgz) = 2837639b6aa58233311acb20b9c8dba00a095415
+RMD160 (php-PDO_SQLITE/PDO_SQLITE-1.0RC1.tgz) = 2d98d9e7e093d04aef4cbd30bbb4a69e976bedf8
+Size (php-PDO_SQLITE/PDO_SQLITE-1.0RC1.tgz) = 859745 bytes
Home |
Main Index |
Thread Index |
Old Index