Skip site navigation (1)Skip section navigation (2)
Date:      10 May 2001 11:37:47 -0000
From:      "Andre Goeree" <abgoeree@uwnet.nl>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/27246: New port: databases/adodb
Message-ID:  <20010510113747.5789.qmail@mandark.attica.home>

next in thread | raw e-mail | index | archive | help

>Number:         27246
>Category:       ports
>Synopsis:       New port: databases/adodb
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 10 04:50:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     abgoeree@uwnet.nl
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD 4.3-STABLE #0: Sun May 6 19:31:47 CEST 2001
	requires apache13, mod_php4

>Description:

PHP is a wonderful language for building dynamic web pages. 
Unfortunately, PHP's database access functions are not standardised. 
Every database extension uses a different and incompatibile API.
This creates a need for a database class library to hide the differences 
between the different databases (encapsulate the differences) so we can 
easily switch databases. 

ADODB stands for Active Data Objects Data Base. 

We currently support MySQL, PostgreSQL, Interbase, Oracle, MS SQL 7, 
Foxpro, Access, ADO, Sybase and generic ODBC. 
The Sybase and PostgreSQL drivers are community contributions. 
We hope more people will contribute drivers to support more databases.

WWW: http://php.weblogs.com/ADODB

* Ported according the porters handbook
* Checked out with portlint
* Tested with postgresql, mysql and the latest ACID (cvs).

Note that adodb is also a requirement for future versions of 
security/acid.

>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:
#
#       adodb
#       adodb/Makefile
#       adodb/distinfo
#       adodb/pkg-plist
#       adodb/pkg-comment
#       adodb/pkg-descr
#
echo c - adodb
mkdir -p adodb > /dev/null 2>&1
echo x - adodb/Makefile
sed 's/^X//' >adodb/Makefile << 'END-of-adodb/Makefile'
X# New ports collection makefile for: adodb
X# Date created:                4 May 2001
X# Whom:                        abgoeree@uwnet.nl
X#
X# $FreeBSD$
X#
X
XPORTNAME=      adodb
XPORTVERSION=   1.01
XCATEGORIES=    databases www
XMASTER_SITES=  http://phplens.com/lens/dl/
XDISTNAME=      ${PORTNAME}101
XEXTRACT_SUFX=  .tgz
X
XMAINTAINER=    abgoeree@uwnet.nl
X
XRUN_DEPENDS=   ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
X
XWRKSRC=                ${WRKDIR}/${PORTNAME}
XNO_BUILD=      YES
X
Xdo-install:
X       ${MKDIR} ${PREFIX}/share/doc/apache/php/adodb
X       ${INSTALL_DATA} ${WRKSRC}/* ${PREFIX}/share/doc/apache/php/adodb
X
X.include <bsd.port.mk>
END-of-adodb/Makefile
echo x - adodb/distinfo
sed 's/^X//' >adodb/distinfo << 'END-of-adodb/distinfo'
XMD5 (adodb101.tgz) = 9051a3f028b95f2d3beeef43fdd2dac4
END-of-adodb/distinfo
echo x - adodb/pkg-plist
sed 's/^X//' >adodb/pkg-plist << 'END-of-adodb/pkg-plist'
Xshare/doc/apache/php/adodb/adodb-access.inc.php
Xshare/doc/apache/php/adodb/adodb-ado.inc.php
Xshare/doc/apache/php/adodb/adodb-ado_access.inc.php
Xshare/doc/apache/php/adodb/adodb-ado_mssql.inc.php
Xshare/doc/apache/php/adodb/adodb-csv.inc.php
Xshare/doc/apache/php/adodb/adodb-db2.inc.php
Xshare/doc/apache/php/adodb/adodb-fbsql.inc.php
Xshare/doc/apache/php/adodb/adodb-ibase.inc.php
Xshare/doc/apache/php/adodb/adodb-mssql.inc.php
Xshare/doc/apache/php/adodb/adodb-mysql.inc.php
Xshare/doc/apache/php/adodb/adodb-mysqlt.inc.php
Xshare/doc/apache/php/adodb/adodb-oci8.inc.php
Xshare/doc/apache/php/adodb/adodb-odbc.inc.php
Xshare/doc/apache/php/adodb/adodb-odbc_mssql.inc.php
Xshare/doc/apache/php/adodb/adodb-oracle.inc.php
Xshare/doc/apache/php/adodb/adodb-postgres.inc.php
Xshare/doc/apache/php/adodb/adodb-postgres7.inc.php
Xshare/doc/apache/php/adodb/adodb-session.php
Xshare/doc/apache/php/adodb/adodb-sybase.inc.php
Xshare/doc/apache/php/adodb/adodb-vfp.inc.php
Xshare/doc/apache/php/adodb/adodb.inc.php
Xshare/doc/apache/php/adodb/benchmark.php
Xshare/doc/apache/php/adodb/client.php
Xshare/doc/apache/php/adodb/hs~test.php
Xshare/doc/apache/php/adodb/license.txt
Xshare/doc/apache/php/adodb/readme.htm
Xshare/doc/apache/php/adodb/readme.txt
Xshare/doc/apache/php/adodb/server.php
Xshare/doc/apache/php/adodb/test.php
Xshare/doc/apache/php/adodb/test2.php
Xshare/doc/apache/php/adodb/test3.php
Xshare/doc/apache/php/adodb/testdatabases.inc.php
Xshare/doc/apache/php/adodb/tohtml.inc.php
Xshare/doc/apache/php/adodb/tute.htm
Xshare/doc/apache/php/adodb/vssver.scc
X@dirrm share/doc/apache/php/adodb
X@dirrm share/doc/apache/php
END-of-adodb/pkg-plist
echo x - adodb/pkg-comment
sed 's/^X//' >adodb/pkg-comment << 'END-of-adodb/pkg-comment'
XADODB library for PHP4
END-of-adodb/pkg-comment
echo x - adodb/pkg-descr
sed 's/^X//' >adodb/pkg-descr << 'END-of-adodb/pkg-descr'
XPHP is a wonderful language for building dynamic web pages. 
XUnfortunately, PHP's database access functions are not standardised. 
XEvery database extension uses a different and incompatibile API.
XThis creates a need for a database class library to hide the differences 
Xbetween the different databases (encapsulate the differences) so we can 
Xeasily switch databases. 
X
XADODB stands for Active Data Objects Data Base. 
X
XWe currently support MySQL, PostgreSQL, Interbase, Oracle, MS SQL 7, 
XFoxpro, Access, ADO, Sybase and generic ODBC. 
XThe Sybase and PostgreSQL drivers are community contributions. 
XWe hope more people will contribute drivers to support more databases.
X
XWWW: http://php.weblogs.com/ADODB
END-of-adodb/pkg-descr
exit

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010510113747.5789.qmail>