From antonio@digitalsign.com  Tue Dec 21 10:46:42 2004
Return-Path: <antonio@digitalsign.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3CF1316A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Dec 2004 10:46:42 +0000 (GMT)
Received: from digitalsign.com (cm-virtua-fln-C8B08F9E.brdterra.com.br [200.176.143.158])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EEDA443D2D
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Dec 2004 10:46:40 +0000 (GMT)
	(envelope-from antonio@digitalsign.com)
Received: from digitalsign.com (localhost [127.0.0.1])
	by digitalsign.com (8.12.6/8.12.6) with ESMTP id iBLAkcZO022783
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 21 Dec 2004 08:46:38 -0200 (BRST)
	(envelope-from antonio@digitalsign.com)
Received: (from antonio@localhost)
	by digitalsign.com (8.12.6/8.12.6/Submit) id iBLAkbSr022782;
	Tue, 21 Dec 2004 08:46:37 -0200 (BRST)
Message-Id: <200412211046.iBLAkbSr022782@digitalsign.com>
Date: Tue, 21 Dec 2004 08:46:37 -0200 (BRST)
From: Antonio Carlos Venancio Junior <antonio@php.net>
Reply-To: Antonio Carlos Venancio Junior <antonio@php.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Update port: sysutils/pear-Log to 1.8.7
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         75350
>Category:       ports
>Synopsis:       Update port: sysutils/pear-Log to 1.8.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    edwin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 21 10:50:20 GMT 2004
>Closed-Date:    Sun Jan 09 04:48:54 GMT 2005
>Last-Modified:  Sun Jan 09 04:48:54 GMT 2005
>Originator:     Antnio Carlos Venncio Jnior
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
>Environment:
System: FreeBSD antonio.cb.sc.gov.br 4.10-STABLE FreeBSD 4.10-STABLE #6: Wed Nov 24 10:18:56 BRST 2004     root@antonio.cb.sc.gov.br:/usr/src/sys/compile/ANTONIO  i386
>Description:
+ update port: sysutils/pear-Log to 1.8.7
  + changelog: http://pear.php.net/package/Log/download/1.8.7
+ check PHP version
>How-To-Repeat:
>Fix:
diff -ruN pear-Log.orig/Makefile pear-Log/Makefile
--- pear-Log.orig/Makefile	Tue Dec 21 08:27:24 2004
+++ pear-Log/Makefile	Tue Dec 21 08:42:43 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	Log
-PORTVERSION=	1.8.6
+PORTVERSION=	1.8.7
 CATEGORIES=	sysutils www pear
 
 MAINTAINER=	antonio@php.net
@@ -17,16 +17,16 @@
 
 USE_PHP=	yes
 
-FILES=		Log.php Log/composite.php Log/console.php Log/display.php	\
-		Log/error_log.php Log/file.php Log/mail.php Log/mcal.php	\
-		Log/null.php Log/observer.php Log/sql.php Log/sqlite.php	\
-		Log/syslog.php Log/win.php
+FILES=		Log/composite.php Log/console.php Log/daemon.php \
+		Log/display.php Log/error_log.php Log/file.php Log/mail.php \
+		Log/mcal.php Log/null.php Log/observer.php Log/sql.php \
+		Log/sqlite.php Log/syslog.php Log/win.php Log.php
 DOCS=		guide.txt
-EXAMPLES=	composite.php console.php display.php error_log.php file.php	\
-		mail.php null.php observer_mail.php pear_error_handler.php	\
+EXAMPLES=	composite.php console.php display.php error_log.php file.php \
+		mail.php null.php observer_mail.php pear_error_handler.php \
 		php_error_handler.php sql.php sqlite.php syslog.php win.php
-TESTS=		composite.phpt console.phpt display.phpt error_log.phpt		\
-		extract.phpt extract2.phpt factory.phpt null.phpt priority.phpt	\
+TESTS=		composite.phpt console.phpt display.phpt error_log.phpt \
+		extract.phpt extract2.phpt factory.phpt null.phpt priority.phpt \
 		singleton.phpt sqlite.phpt sql_ident.phpt
 SQLS=		log.sql
 
@@ -47,6 +47,12 @@
 .endif
 
 .include <bsd.port.pre.mk>
+
+PHP_VERS=	${PHP_VERSION:S/.//g}
+
+.if defined(PHP_VERS) && ${PHP_VERS} < 430
+IGNORE=		"You need PHP 4.3.0 or later to install PEAR::Log"
+.endif
 
 .if defined(WITH_PEAR_DB)
 BUILD_DEPENDS+=	${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB
diff -ruN pear-Log.orig/distinfo pear-Log/distinfo
--- pear-Log.orig/distinfo	Tue Dec 21 08:27:24 2004
+++ pear-Log/distinfo	Tue Dec 21 08:30:53 2004
@@ -1,2 +1,2 @@
-MD5 (PEAR/Log-1.8.6.tgz) = cf6a7e6b93a1cd53ea3f38d8574c5ed6
-SIZE (PEAR/Log-1.8.6.tgz) = 30793
+MD5 (PEAR/Log-1.8.7.tgz) = b62df8970d3050291997f95dd5a887b2
+SIZE (PEAR/Log-1.8.7.tgz) = 32693
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Dec 21 22:16:10 GMT 2004 
State-Changed-Why:  
I see this in the Makefile: 
LOCALBASE?=     /usr/local 

.if exists(${LOCALBASE}/etc/php.conf) 
.include "${LOCALBASE}/etc/php.conf" 
.endif 

.if defined(PHP_VER) && ${PHP_VER} == 5 
OPTIONS+=       PHP_SQLITE "PHP sqlite support" off 
.endif 

.include <bsd.port.pre.mk> 

Can you please check if this has the same effect: 
.include <bsd.port.pre.mk> 

.if exists(${LOCALBASE}/etc/php.conf) 
.include "${LOCALBASE}/etc/php.conf" 
.endif 

.if defined(PHP_VER) && ${PHP_VER} == 5 
OPTIONS+=       PHP_SQLITE "PHP sqlite support" off 
.endif 

? 

Waiting for your reply, Edwn 



Responsible-Changed-From-To: freebsd-ports-bugs->edwin 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Dec 21 22:16:10 GMT 2004 
Responsible-Changed-Why:  
I'll handle it with submitter. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=75350 

From: =?ISO-8859-1?Q?Ant=F4nio_Carlos_Ven=E2ncio_J=FAnior?= <antonio@php.net>
To: Edwin Groothuis <edwin@FreeBSD.org>
Cc:  
Subject: Re: ports/75350: Update port: sysutils/pear-Log to 1.8.7
Date: Mon, 03 Jan 2005 11:06:35 -0200

 Edwin,
 
 	yes.
 
 Edwin Groothuis wrote:
 > Synopsis: Update port: sysutils/pear-Log to 1.8.7
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: edwin
 > State-Changed-When: Tue Dec 21 22:16:10 GMT 2004
 > State-Changed-Why: 
 > I see this in the Makefile:
 > 	LOCALBASE?=     /usr/local
 > 
 > 	.if exists(${LOCALBASE}/etc/php.conf)
 > 	.include "${LOCALBASE}/etc/php.conf"
 > 	.endif
 > 
 > 	.if defined(PHP_VER) && ${PHP_VER} == 5
 > 	OPTIONS+=       PHP_SQLITE "PHP sqlite support" off
 > 	.endif
 > 
 > 	.include <bsd.port.pre.mk>
 > 
 > Can you please check if this has the same effect:
 > 	.include <bsd.port.pre.mk>
 > 
 > 	.if exists(${LOCALBASE}/etc/php.conf)
 > 	.include "${LOCALBASE}/etc/php.conf"
 > 	.endif
 > 
 > 	.if defined(PHP_VER) && ${PHP_VER} == 5
 > 	OPTIONS+=       PHP_SQLITE "PHP sqlite support" off
 > 	.endif
 > 
 > ?
 > 
 > Waiting for your reply, Edwn
 > 
 > 
 > 
 > Responsible-Changed-From-To: freebsd-ports-bugs->edwin
 > Responsible-Changed-By: edwin
 > Responsible-Changed-When: Tue Dec 21 22:16:10 GMT 2004
 > Responsible-Changed-Why: 
 > I'll handle it with submitter.
 > 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=75350
 > 
 
 
 -- 
 Ate'
 
 Antonio
 echo antonio php net | sed 's/ /@/;s/ /./g'
 FreeBSD/OpenBSD | PHP/MySQL | PGP Key ID 0x5BBEB073
 "Can't buy what I want because its FREE!" - Pearl Jam
State-Changed-From-To: feedback->closed 
State-Changed-By: edwin 
State-Changed-When: Sun Jan 9 04:47:59 GMT 2005 
State-Changed-Why:  
Commited, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=75350 
>Unformatted:
