ports/78237: Update port: databases/pear-DB to 1.7.0

Antonio Carlos Venancio Junior antonio at php.net
Tue Mar 1 12:10:21 UTC 2005


>Number:         78237
>Category:       ports
>Synopsis:       Update port: databases/pear-DB to 1.7.0
>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:   Tue Mar 01 12:10:20 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 to 1.7.0
  + changelog: http://pear.php.net/package/DB/download/1.7.0/
+ 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	Tue Mar  1 09:02:52 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	DB
-PORTVERSION=	1.6.8
+PORTVERSION=	1.7.0
 PORTEPOCH=	1
 CATEGORIES=	databases www pear
 
@@ -32,11 +32,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	Tue Mar  1 08:47:28 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.0.tgz) = cd305febfed5bea075def13002c8e70d
+SIZE (PEAR/DB-1.7.0.tgz) = 124636
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list