From nobody@FreeBSD.org  Mon May 18 16:35:05 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 621121065670
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 May 2009 16:35:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 3594E8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 May 2009 16:35:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n4IGZ5ep062634
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 May 2009 16:35:05 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n4IGZ4SH062633;
	Mon, 18 May 2009 16:35:04 GMT
	(envelope-from nobody)
Message-Id: <200905181635.n4IGZ4SH062633@www.freebsd.org>
Date: Mon, 18 May 2009 16:35:04 GMT
From: Till Klampaeckel <till@php.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Create www/pecl-APC-dev
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         134656
>Category:       ports
>Synopsis:       Create www/pecl-APC-dev
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mnag
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 18 16:40:00 UTC 2009
>Closed-Date:    Thu Apr 22 00:16:34 UTC 2010
>Last-Modified:  Thu Apr 22 00:16:34 UTC 2010
>Originator:     Till Klampaeckel
>Release:        n/a
>Organization:
n/a
>Environment:
>Description:
APC "recently" released beta versions that break compat with PHP4 but add other features and improvements. They are still beta versions, but I was wondering if they could be rolled into their own port.
>How-To-Repeat:

>Fix:
Obviously, make makesum in the new port dir.

Here's the diff between old and new:
Files pecl-APC/Makefile and pecl-APC-devel/Makefile differ
Files pecl-APC/distinfo and pecl-APC-devel/distinfo differ
Only in pecl-APC/files: patch-apc_sem.c

Here's the patch to the Makefile:
--- pecl-APC/Makefile   2009-03-24 23:18:42.000000000 -0500
+++ pecl-APC-devel/Makefile     2009-05-18 11:31:24.000000000 -0500
@@ -6,7 +6,7 @@
 #

 PORTNAME=      APC
-DISTVERSION=   3.0.19
+DISTVERSION=   3.1.2
 CATEGORIES=    www
 MASTER_SITES=  http://pecl.php.net/get/
 PKGNAMEPREFIX= pecl-
@@ -26,10 +26,9 @@ PKGMESSAGE=  ${WRKDIR}/pkg-message
 CONFIGURE_ARGS=        --enable-apc

 OPTIONS=       MMAP            "Enable mmap memory support (default: IPC shm)" off \
-               SEMAPHORES      "Enable sysv IPC semaphores (default: fcntl())" off \
+               SEMAPHORES      "Enable sysv IPC semaphores (default: fcntl())" off \
                SPINLOCKS       "Enable spinlocks (experimental)"               off \
                FILEHITS        "Enable per request cache info"                 off \
-               PHP4_OPT        "Little optimization to PHP4"                   off

 PORTDOCS=      *

@@ -51,26 +50,7 @@ CONFIGURE_ARGS+=     --enable-apc-spinlocks
 CONFIGURE_ARGS+=       --enable-apc-filehits
 .endif

-.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/apache2 -DAPC_PHP4_STAT
-.elif exists(${LOCALBASE}/include/apache21/httpd.h)
-CFLAGS+=       -I${LOCALBASE}/include/apache21 -DAPC_PHP4_STAT
-.elif exists(${LOCALBASE}/include/apache22/httpd.h)
-CFLAGS+=       -I${LOCALBASE}/include/apache22 -DAPC_PHP4_STAT
-.endif
-.else
-pre-configure:
-       @${ECHO_CMD}
-       @${ECHO_CMD} "*** WARNING ***"
-       @${ECHO_CMD} "This optimization is only for PHP4. PHP5 or newer does not need it"
-       @${ECHO_CMD} "I will continue instalation..."
-       @${ECHO_CMD}
-.endif
-.endif
+CONFLICTS=     pecl-APC-3.0.*

 post-install:
 .if !defined(NOPORTDOCS)


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Mon May 18 18:24:55 UTC 2009 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134656 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat May 30 18:42:22 UTC 2009 
State-Changed-Why:  
empty pr. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134656 
State-Changed-From-To: closed->open 
State-Changed-By: miwi 
State-Changed-When: Sun May 31 13:19:53 UTC 2009 
State-Changed-Why:  
reopen, 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134656 
Responsible-Changed-From-To: miwi->mnag 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sat Jul 4 21:30:44 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134656 
State-Changed-From-To: open->closed 
State-Changed-By: mnag 
State-Changed-When: Thu Apr 22 00:16:33 UTC 2010 
State-Changed-Why:  
pecl-APC was updated to 3.1.3p1. Thanks 

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