ports/78367: New port: databases/pear-DB_QueryTool PEAR OO-interface for easily retrieving and modifying data in a DB

Antonio Carlos Venancio Junior antonio at php.net
Thu Mar 3 17:20:17 UTC 2005


>Number:         78367
>Category:       ports
>Synopsis:       New port: databases/pear-DB_QueryTool PEAR OO-interface for easily retrieving and modifying data in a DB
>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:   Thu Mar 03 17:20:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Antônio Carlos Venâncio Júnior
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
FreeBSD antonio.cb.sc.gov.br 4.11-STABLE FreeBSD 4.11-STABLE #5: Tue Feb 22 17:32:18 BRT 2005     root at antonio.cb.sc.gov.br:/usr/obj/usr/src/sys/ANTONIO  i386
>Description:
New port: databases/pear-DB_QueryTool PEAR OO-interface for easily retrieving and modifying data in a DB

PEAR::DB_QueryTool is an OO-abstraction to the SQL-Query language, it provides
methods such as setWhere, setOrder, setGroup, setJoin, etc. to easily build
queries.

It also provides an easy to learn interface that interacts nicely with
HTML-forms using arrays that contain the column data, that shall be
updated/added in a DB. This package bases on an SQL-Builder which lets you
easily build SQL-Statements and execute them.
>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-DB_QueryTool
#	pear-DB_QueryTool/Makefile
#	pear-DB_QueryTool/distinfo
#	pear-DB_QueryTool/pkg-descr
#
echo c - pear-DB_QueryTool
mkdir -p pear-DB_QueryTool > /dev/null 2>&1
echo x - pear-DB_QueryTool/Makefile
sed 's/^X//' >pear-DB_QueryTool/Makefile << 'END-of-pear-DB_QueryTool/Makefile'
X# Ports collection makefile for:  pear-DB_QueryTool
X# Date created:			  03 March 2005
X# Whom:				  Antonio Carlos Venancio Junior (<antonio at inf.ufsc.br>)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	DB_QueryTool
XPORTVERSION=	1.0.0
XCATEGORIES=	databases www pear
X
XMAINTAINER=	antonio at php.net
XCOMMENT=	PEAR OO-interface for easily retrieving and modifying data in a DB
X
XBUILD_DEPENDS=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB \
X		${PEARDIR}/Log.php:${PORTSDIR}/sysutils/pear-Log
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XCATEGORY=	DB
XFILES=		QueryTool.php QueryTool/Query.php QueryTool/EasyJoin.php \
X		QueryTool/Result.php QueryTool/Result/Object.php
XEXAMPLES=	example.php mysql.sql pgsql.sql
XTESTS=		Common.php Get.php GetAll.php GetCount.php GetQueryString.php index.php \
X		Having.php Limit.php sql.php UnitTest.php Where.php SetDbInstance.php \
X		simpletest_tests/all_tests.php simpletest_tests/db_querytool_include.php \
X		simpletest_tests/db_querytool_test_base.php \
X		simpletest_tests/db_querytool_testDbInstance.php \
X		simpletest_tests/db_querytool_testGet.php \
X		simpletest_tests/db_querytool_testGetAll.php \
X		simpletest_tests/db_querytool_testGetCount.php \
X		simpletest_tests/db_querytool_testGetQueryString.php \
X		simpletest_tests/db_querytool_testHaving.php \
X		simpletest_tests/db_querytool_testLimit.php \
X		simpletest_tests/db_querytool_tests_get.php \
X		simpletest_tests/db_querytool_tests_usage.php \
X		simpletest_tests/db_querytool_testWhere.php \
X		simpletest_tests/db_settings.php simpletest_tests/index.php \
X		simpletest_tests/readme.txt simpletest_tests/simple_include.php
X_EXAMPLESDIR=	docs/examples
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
X.include <bsd.port.post.mk>
END-of-pear-DB_QueryTool/Makefile
echo x - pear-DB_QueryTool/distinfo
sed 's/^X//' >pear-DB_QueryTool/distinfo << 'END-of-pear-DB_QueryTool/distinfo'
XMD5 (PEAR/DB_QueryTool-1.0.0.tgz) = 9cb78be2a3f7bba2671a4a7e42e7be37
XSIZE (PEAR/DB_QueryTool-1.0.0.tgz) = 38880
END-of-pear-DB_QueryTool/distinfo
echo x - pear-DB_QueryTool/pkg-descr
sed 's/^X//' >pear-DB_QueryTool/pkg-descr << 'END-of-pear-DB_QueryTool/pkg-descr'
XPEAR::DB_QueryTool is an OO-abstraction to the SQL-Query language, it provides 
Xmethods such as setWhere, setOrder, setGroup, setJoin, etc. to easily build 
Xqueries.
X
XIt also provides an easy to learn interface that interacts nicely with 
XHTML-forms using arrays that contain the column data, that shall be 
Xupdated/added in a DB. This package bases on an SQL-Builder which lets you 
Xeasily build SQL-Statements and execute them.
X
XWWW: http://pear.php.net/package/DB_QueryTool/
END-of-pear-DB_QueryTool/pkg-descr
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list