ports/78298: Update port: databases/pear-DB_DataObject to 1.7.5
Antonio Carlos Venancio Junior
antonio at php.net
Wed Mar 2 13:00:38 UTC 2005
>Number: 78298
>Category: ports
>Synopsis: Update port: databases/pear-DB_DataObject to 1.7.5
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 02 13:00:37 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Antônio Carlos Venâncio Júnior
>Release: FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: 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:
+ update port: databases/pear-DB_DataObject to 1.7.5
+ changelog: http://pear.php.net/package/DB_DataObject/download/1.7.5/
+ remove PHP dependency check
+ replace @version@ strings
+ update pkg-descr
>How-To-Repeat:
>Fix:
diff -ruN pear-DB_DataObject.orig/Makefile pear-DB_DataObject/Makefile
--- pear-DB_DataObject.orig/Makefile Wed Mar 2 09:24:47 2005
+++ pear-DB_DataObject/Makefile Wed Mar 2 09:38:48 2005
@@ -6,7 +6,7 @@
#
PORTNAME= DB_DataObject
-PORTVERSION= 1.7.2
+PORTVERSION= 1.7.5
CATEGORIES= databases www pear
MAINTAINER= antonio at php.net
@@ -16,28 +16,23 @@
${PEARDIR}/Date.php:${PORTSDIR}/devel/pear-Date
RUN_DEPENDS= ${BUILD_DEPENDS}
-USE_PHP= yes
+USE_REINPLACE= yes
CATEGORY= DB
-FILES= DataObject.php DataObject/Cast.php DataObject/Error.php \
- DataObject/Generator.php DataObject/createTables.php
-
+FILES= DataObject.php DataObject/Cast.php DataObject/Generator.php \
+ DataObject/createTables.php DataObject/Error.php
DOCS= example.ini
-LATEST_LINK= pear-DB_DataObject
-OPTIONS= PEAR_VALIDATE "PEAR::Validate support" off
-
-.include <bsd.port.pre.mk>
-
-PHP_VERS= ${PHP_VERSION:S/.//g}
+LATEST_LINK= pear-DB_DataObject
+OPTIONS= PEAR_VALIDATE "PEAR::Validate support" off
-.if defined(PHP_VERS) && ${PHP_VERS} < 420
-IGNORE= "You need PHP 4.2.0 or later to install PEAR::DB_DataObject"
-.endif
+post-patch:
+ @${REINPLACE_CMD} -e "s|@version@|${PORTVERSION}|" ${WRKSRC}/DataObject.php
.if defined(WITH_PEAR_VALIDATE)
-BUILD_DEPENDS+= ${PEARDIR}/Validate.php:${PORTSDIR}/devel/pear-Validate
+RUN_DEPENDS+= ${PEARDIR}/Validate.php:${PORTSDIR}/devel/pear-Validate
.endif
+.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
.include <bsd.port.post.mk>
diff -ruN pear-DB_DataObject.orig/distinfo pear-DB_DataObject/distinfo
--- pear-DB_DataObject.orig/distinfo Wed Mar 2 09:24:47 2005
+++ pear-DB_DataObject/distinfo Wed Mar 2 09:25:56 2005
@@ -1,2 +1,2 @@
-MD5 (PEAR/DB_DataObject-1.7.2.tgz) = f6961fb5f9976bb2492e7c87942fc7b0
-SIZE (PEAR/DB_DataObject-1.7.2.tgz) = 45244
+MD5 (PEAR/DB_DataObject-1.7.5.tgz) = ad4cd9e6c544aeb2f3391bfb84c3c77f
+SIZE (PEAR/DB_DataObject-1.7.5.tgz) = 48592
diff -ruN pear-DB_DataObject.orig/pkg-descr pear-DB_DataObject/pkg-descr
--- pear-DB_DataObject.orig/pkg-descr Wed Mar 2 09:24:47 2005
+++ pear-DB_DataObject/pkg-descr Wed Mar 2 09:41:16 2005
@@ -1,9 +1,8 @@
PEAR::DB_DataObject performs 2 tasks:
-1. Builds SQL statements based on the objects vars and the buiLder methods.
+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.
-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.
-
-WWW: http://pear.php.net/package/DB_DataObject
+WWW: http://pear.php.net/package/DB_DataObject/
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list