Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2004 20:12:09 GMT
From:      Antonio Carlos Venancio Junior <antonio@php.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/70882: New port: databases/pear-DB_DataObject An SQL Builder, Object Interface to Database Tables
Message-ID:  <200408232012.i7NKC9to041879@www.freebsd.org>
Resent-Message-ID: <200408232020.i7NKKGo3036502@freefall.freebsd.org>

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

>Number:         70882
>Category:       ports
>Synopsis:       New port: databases/pear-DB_DataObject An SQL Builder, Object Interface to Database Tables
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 23 20:20:15 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Antonio Carlos Venancio Junior
>Release:        FreeBSD 5.3-ALPHA
>Organization:
>Environment:
FreeBSD  5.3-ALPHA FreeBSD 5.3-ALPHA #2: Mon Aug 23 11:04:27 BRT 2004     root@:/usr/src/sys/i386/compile/ANTONIO  i386
>Description:
New port: databases/pear-DB_DataObject

An SQL Builder, Object Interface to Database Tables

PEAR::DB_DataObject performs 2 tasks:
1. Builds SQL statements based on the objects vars and the buiLder methods.
2. acts as a datastore for a table row.

The core class is designed to be extended for each of your tables so that you
 put the data logic inside the data classes.
Included is a Generator to make your configuration files and your base classes.
>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_DataObject
#       pear-DB_DataObject/Makefile
#       pear-DB_DataObject/pkg-descr
#       pear-DB_DataObject/distinfo
#
echo c - pear-DB_DataObject
mkdir -p pear-DB_DataObject > /dev/null 2>&1
echo x - pear-DB_DataObject/Makefile
sed 's/^X//' >pear-DB_DataObject/Makefile << 'END-of-pear-DB_DataObject/Makefile'
X# New ports collection makefile for:   pear-DB_DataObject
X# Date created:        23 August 2004
X# Whom:                Antonio Carlos Venancio Junior (<antonio@php.net>)
X#
X# $FreeBSD$
X#
X
XPORTNAME=      DB_DataObject
XPORTVERSION=   1.7.1
XCATEGORIES=    databases www pear
X
XMAINTAINER=    antonio@php.net
XCOMMENT=       An SQL Builder, Object Interface to Database Tables
X
XBUILD_DEPENDS= ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB \
X               ${PEARDIR}/Date.php:${PORTSDIR}/devel/pear-Date
XRUN_DEPENDS=   ${BUILD_DEPENDS}
X
XCATEGORY=      DB
XFILES=         DataObject.php DataObject/Cast.php DataObject/Error.php \
X               DataObject/Generator.php DataObject/createTables.php
X
XDOCS=          example.ini
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_DataObject/Makefile
echo x - pear-DB_DataObject/pkg-descr
sed 's/^X//' >pear-DB_DataObject/pkg-descr << 'END-of-pear-DB_DataObject/pkg-descr'
XPEAR::DB_DataObject performs 2 tasks:
X1. Builds SQL statements based on the objects vars and the buiLder methods.
X2. acts as a datastore for a table row.
X
XThe core class is designed to be extended for each of your tables so that you
X put the data logic inside the data classes.
XIncluded is a Generator to make your configuration files and your base classes.
X
XWWW: http://pear.php.net/package/DB_DataObject
END-of-pear-DB_DataObject/pkg-descr
echo x - pear-DB_DataObject/distinfo
sed 's/^X//' >pear-DB_DataObject/distinfo << 'END-of-pear-DB_DataObject/distinfo'
XMD5 (PEAR/DB_DataObject-1.7.1.tgz) = 555cc6425c85952221e0237963d3296f   
XSIZE (PEAR/DB_DataObject-1.7.1.tgz) = 44629
END-of-pear-DB_DataObject/distinfo
exit

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



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