ports/74408: New port: databases/pear-MDB2 PEAR database abstraction layer

Antonio Carlos Venancio Junior antonio at php.net
Fri Nov 26 12:00:49 UTC 2004


>Number:         74408
>Category:       ports
>Synopsis:       New port: databases/pear-MDB2 PEAR database abstraction layer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 26 12:00:48 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Antônio Carlos Venâncio Júnior
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD antonio.cb.sc.gov.br 4.10-STABLE FreeBSD 4.10-STABLE #6: Wed Nov 24 10:18:56 BRST 2004     root at antonio.cb.sc.gov.br:/usr/src/sys/compile/ANTONIO  i386
>Description:
New port: databases/pear-MDB2 PEAR database abstraction layer

PEAR MDB2 is a merge of the PEAR DB and Metabase php database abstraction
layers.

Note that the API will be adapted to better fit with the new php5 only PDO
before the first stable release.

It provides a common API for all support RDBMS. The main difference to most
other DB abstraction packages is that MDB2 goes much further to ensure
portability.

Currently supported RDBMS:
MySQL
PostGreSQL
Oracle
Frontbase
Querysim
Interbase/Firebird
MSSQL
SQLite
Other soon to follow.

>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pear-MDB2
#	pear-MDB2/Makefile
#	pear-MDB2/distinfo
#	pear-MDB2/pkg-descr
#
echo c - pear-MDB2
mkdir -p pear-MDB2 > /dev/null 2>&1
echo x - pear-MDB2/Makefile
sed 's/^X//' >pear-MDB2/Makefile << 'END-of-pear-MDB2/Makefile'
X# New ports collection makefile for:   pear-MDB2
X# Date created:        26 November 2004
X# Whom:                Antonio Carlos Venancio Junior (<antonio at inf.ufsc.br>)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	MDB2
XPORTVERSION=	2.0.0
XCATEGORIES=	databases www pear
XDISTNAME=	${PORTNAME}-${PORTVERSION}beta2
X
XMAINTAINER=	antonio at php.net
XCOMMENT=	PEAR database abstraction layer
X
XBUILD_DEPENDS=  ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
XRUN_DEPENDS=    ${PEARDIR}/XML/Parser.php:${PORTSDIR}/devel/pear-XML_Parser
X
XUSE_PHP=	yes
X
XFILES=		MDB2/Date.php MDB2/Extended.php MDB2/Iterator.php MDB2/LOB.php \
X		MDB2/Driver/fbsql.php MDB2/Driver/ibase.php MDB2/Driver/mssql.php \
X		MDB2/Driver/mysql.php MDB2/Driver/oci8.php MDB2/Driver/pgsql.php \
X		MDB2/Driver/querysim.php MDB2/Driver/sqlite.php \
X		MDB2/Driver/Datatype/Common.php MDB2/Driver/Datatype/fbsql.php \
X		MDB2/Driver/Datatype/ibase.php MDB2/Driver/Datatype/mssql.php \
X		MDB2/Driver/Datatype/mysql.php MDB2/Driver/Datatype/oci8.php \
X		MDB2/Driver/Datatype/pgsql.php MDB2/Driver/Datatype/sqlite.php \
X		MDB2/Driver/Manager/Common.php MDB2/Driver/Manager/fbsql.php \
X		MDB2/Driver/Manager/ibase.php MDB2/Driver/Manager/mssql.php \
X		MDB2/Driver/Manager/mysql.php MDB2/Driver/Manager/oci8.php \
X		MDB2/Driver/Manager/pgsql.php MDB2/Driver/Manager/sqlite.php \
X		MDB2/Driver/Native/fbsql.php MDB2/Driver/Native/ibase.php \
X		MDB2/Driver/Native/mssql.php MDB2/Driver/Native/mysql.php \
X		MDB2/Driver/Native/oci8.php MDB2/Driver/Native/pgsql.php \
X		MDB2/Driver/Native/sqlite.php MDB2/Driver/Reverse/Common.php \
X		MDB2/Driver/Reverse/fbsql.php MDB2/Driver/Reverse/ibase.php \
X		MDB2/Driver/Reverse/mssql.php MDB2/Driver/Reverse/mysql.php \
X		MDB2/Driver/Reverse/oci8.php MDB2/Driver/Reverse/pgsql.php \
X		MDB2/Driver/Reverse/sqlite.php MDB2/Tools/Manager.php \
X		MDB2/Tools/Parser.php MDB2/Tools/reverse_engineer_xml_schema.php \
X		MDB2/Wrapper/peardb.php MDB2.php
XDOCS=		CONTRIBUTORS datatypes.html Driver_Datatype_skeleton.php \
X		Driver_Manager_skeleton.php Driver_Native_skeleton.php \
X		Driver_Reverse_skeleton.php Driver_skeleton.php MAINTAINERS \
X		MDB.dtd MDB.xsl querysim_readme.txt README STATUS TODO \
X		xml_schema_documentation.html examples/example.php \
X		examples/metapear_test_db.schema examples/peardb_wrapper_example.php
XTESTS=		clitest.php Console_TestListener.php driver_test.schema \
X		HTML_TestListener.php lob_test.schema MDB2_api_testcase.php \
X		MDB2_bugs_testcase.php MDB2_manager_testcase.php \
X		MDB2_native_testcase.php MDB2_reverse_testcase.php \
X		MDB2_usage_testcase.php README test.php test.schema \
X		testchoose.php tests.css testUtils.php test_setup.php.dist \
X		templates/results.tpl
X
X.include <bsd.port.pre.mk>
X
XPHP_VERS=       ${PHP_VERSION:S/.//g}
X
X.if defined(PHP_VERS) && ${PHP_VERS} < 420
XIGNORE=         "You need PHP 4.2.0 or later to install PEAR::MDB2"
X.endif
X
X.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
X.include <bsd.port.post.mk>
END-of-pear-MDB2/Makefile
echo x - pear-MDB2/distinfo
sed 's/^X//' >pear-MDB2/distinfo << 'END-of-pear-MDB2/distinfo'
XMD5 (PEAR/MDB2-2.0.0beta2.tgz) = 202829a526d27207bc46823b3b5b8553
XSIZE (PEAR/MDB2-2.0.0beta2.tgz) = 176377
END-of-pear-MDB2/distinfo
echo x - pear-MDB2/pkg-descr
sed 's/^X//' >pear-MDB2/pkg-descr << 'END-of-pear-MDB2/pkg-descr'
XPEAR MDB2 is a merge of the PEAR DB and Metabase php database abstraction
Xlayers.
X
XNote that the API will be adapted to better fit with the new php5 only PDO
Xbefore the first stable release.
X
XIt provides a common API for all support RDBMS. The main difference to most
Xother DB abstraction packages is that MDB2 goes much further to ensure
Xportability.
X
XCurrently supported RDBMS:
XMySQL
XPostGreSQL
XOracle
XFrontbase
XQuerysim
XInterbase/Firebird
XMSSQL
XSQLite
XOther soon to follow.
X
XWWW: http://pear.php.net/package/MDB2/
END-of-pear-MDB2/pkg-descr
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list