Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Mar 2005 09:05:58 -0300 (BRT)
From:      Antonio Carlos Venancio Junior <antonio@php.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/78294: Update port: databases/pear-DB to 1.7.1
Message-ID:  <200503021205.j22C5vRE003768@digitalsign.com>
Resent-Message-ID: <200503021210.j22CALuu059711@freefall.freebsd.org>

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

>Number:         78294
>Category:       ports
>Synopsis:       Update port: databases/pear-DB to 1.7.1
>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 12:10:21 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@antonio.cb.sc.gov.br:/usr/obj/usr/src/sys/ANTONIO  i386
>Description:
+ update port: databases/pear-DB to 1.7.1
  + changelog: http://pear.php.net/package/DB/download/1.7.1/
+ patch FILES and TESTS
>How-To-Repeat:
>Fix:
diff -ruN pear-DB.orig/Makefile pear-DB/Makefile
--- pear-DB.orig/Makefile	Tue Mar  1 08:47:00 2005
+++ pear-DB/Makefile	Wed Mar  2 08:59:50 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	DB
-PORTVERSION=	1.6.8
+PORTVERSION=	1.7.1
 PORTEPOCH=	1
 CATEGORIES=	databases www pear
 
@@ -16,6 +16,8 @@
 BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
+USE_REINPLACE=	yes
+
 FILES=		DB.php DB/common.php DB/dbase.php DB/fbsql.php DB/ibase.php \
 		DB/ifx.php DB/msql.php DB/mssql.php DB/mysql.php DB/mysqli.php \
 		DB/oci8.php DB/odbc.php DB/pgsql.php DB/sybase.php DB/storage.php \
@@ -32,11 +34,21 @@
 		driver/10errormap.phpt driver/11transactions.phpt \
 		driver/13limit.phpt driver/14fetchmode_object.phpt \
 		driver/15quote.phpt driver/16tableinfo.phpt driver/17query.phpt \
-		driver/18get.phpt driver/bug22328.phpt driver/connect.inc \
-		driver/mktable.inc driver/run.cvs driver/setup.inc.cvs \
-		driver/skipif.inc
+		driver/18get.phpt driver/19getlistof.phpt driver/connect.inc \
+		driver/mktable.inc driver/multiconnect.php driver/run.cvs \
+		driver/setup.inc.cvs driver/skipif.inc
 _DOCSDIR=	doc
 
 .include <bsd.port.pre.mk>
 .include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
+
+post-patch:
+.for file in ${FILES}
+	@${REINPLACE_CMD} -e "s|@package_version@|${PORTVERSION}|" ${WRKSRC}/${file}
+.endfor
+	@${REINPLACE_CMD} -e "s|@include_path@|${PREFIX}/${LPEARDIR}|g" \
+		${WRKSRC}/tests/include.inc
+	@${REINPLACE_CMD} -e "s|@include_path@|${PREFIX}/${LPEARDIR}|g" \
+		${WRKSRC}/tests/driver/setup.inc.cvs
+
 .include <bsd.port.post.mk>
diff -ruN pear-DB.orig/distinfo pear-DB/distinfo
--- pear-DB.orig/distinfo	Tue Mar  1 08:47:00 2005
+++ pear-DB/distinfo	Wed Mar  2 08:59:56 2005
@@ -1,2 +1,2 @@
-MD5 (PEAR/DB-1.6.8.tgz) = 7f67e1fd3b68d0468e7f665bfd998a1c
-SIZE (PEAR/DB-1.6.8.tgz) = 92460
+MD5 (PEAR/DB-1.7.1.tgz) = 6b7f3e8acb14dc2717317fe00e07d2d0
+SIZE (PEAR/DB-1.7.1.tgz) = 126897
>Release-Note:
>Audit-Trail:
>Unformatted:



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