Date: Wed, 6 Jul 2005 14:21:35 -0300 (BRT) From: Marcus Grando <marcus@corp.grupos.com.br> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/83069: [MAINTAINER] Update port: www/pecl-APC to 3.0.2 Message-ID: <20050706172135.000305626@corp.grupos.com.br> Resent-Message-ID: <200507061730.j66HUBrl004875@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83069 >Category: ports >Synopsis: [MAINTAINER] Update port: www/pecl-APC to 3.0.2 >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 Jul 06 17:30:10 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Marcus Grando >Release: FreeBSD 4.11-STABLE i386 >Organization: Grupos Internet S/A >Environment: System: FreeBSD corp.grupos.com.br 4.11-STABLE FreeBSD 4.11-STABLE #49: Mon May 9 12:28:47 BRT 2005 root@corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386 >Description: Update port: www/pecl-APC to 3.0.2 - Update to 3.0.2 - Add litte optimization to PHP4 from INSTALL >How-To-Repeat: >Fix: --- pecl-APC.patch begins here --- diff -ruN pecl-APC.orig/Makefile pecl-APC/Makefile --- pecl-APC.orig/Makefile Tue Mar 1 23:29:51 2005 +++ pecl-APC/Makefile Wed Jul 6 14:12:06 2005 @@ -6,8 +6,8 @@ # PORTNAME= APC -PORTVERSION= 2.0.4 -PORTREVISION= 1 +PORTVERSION= 3.0.2 +PORTREVISION= 0 CATEGORIES= www MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- @@ -18,7 +18,6 @@ COMMENT= Alternative PHP Cache USE_PHP= yes -USE_PHPIZE= yes USE_PHPEXT= yes PHP_MODNAME= apc @@ -29,19 +28,28 @@ OPTIONS= MMAP "Enable mmap memory support (default: IPC shm)" off \ SEMAPHORES "Enable sysv IPC semaphores (default: fcntl())" off \ + PHP4_OPT "Litte optimization for PHP4" off .include <bsd.port.pre.mk> -.if ${PHP_VER} == 5 -BROKEN= This port is not compatible with php${PHP_VER} +.if defined(WITH_MMAP) +CONFIGURE_ARGS+= --enable-apc-mmap .endif -.if !defined(WITHOUT_MMAP) -CONFIGURE_ARGS+= --enable-mmap +.if defined(WITH_SEMAPHORES) +CONFIGURE_ARGS+= --enable-apc-sem .endif -.if !defined(WITHOUT_SEMAPHORES) -CONFIGURE_ARGS+= --enable-sem +.if defined(WITH_PHP4_OPT) +.if ${PHP_VER} == 4 +.if exists(${LOCALBASE}/include/apache/httpd.h) +CFLAGS+= -I${LOCALBASE}/include/apache -DAPC_PHP4_STAT +.elif exists(${LOCALBASE}/include/apache2/httpd.h) +CFLAGS+= -I${LOCALBASE}/include/apache -DAPC_PHP4_STAT +.endif +.else +IGNORE= This optimization it's only to PHP4. PHP5 or newer don't need +.endif .endif .if !defined(NOPORTDOCS) diff -ruN pecl-APC.orig/distinfo pecl-APC/distinfo --- pecl-APC.orig/distinfo Sat Feb 26 18:44:16 2005 +++ pecl-APC/distinfo Wed Jul 6 10:50:30 2005 @@ -1,2 +1,2 @@ -MD5 (PECL/APC-2.0.4.tgz) = 4962f05bc752e3cfa1f662bbdfa33605 -SIZE (PECL/APC-2.0.4.tgz) = 44606 +MD5 (PECL/APC-3.0.2.tgz) = 4e0edfd5bc4f85dcfc4f0f02477ed2f1 +SIZE (PECL/APC-3.0.2.tgz) = 61556 --- pecl-APC.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050706172135.000305626>