Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 2013 13:20:02 GMT
From:      Spil <spil.oss@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182459: www/pecl-zendopcache is now part of the base php package
Message-ID:  <201309281320.r8SDK2gK049590@oldred.freebsd.org>
Resent-Message-ID: <201309281330.r8SDU0ax020769@freefall.freebsd.org>

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

>Number:         182459
>Category:       ports
>Synopsis:       www/pecl-zendopcache is now part of the base php package
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 28 13:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Spil
>Release:        FreeBSD 9.2-RC3 amd64
>Organization:
n.a.
>Environment:
FreeBSD build.example.org 9.2-RC3 FreeBSD 9.2-RC3 #0 r254795: Sat Aug 24 20:25:04 UTC 2013     root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
PHP has included the PECL extension opcache from ZEND into the base php package as of php 5.5, see https://wiki.php.net/rfc/optimizerplus

The patches mark www/pecl-zendopcache as incompatible with 5.5 and create an additional port www/php55-opcache like for other bundled extensions. 

extension must be enabled as a zend-extension not a regular extension

This may require an entry in UPDATING as well for people upgrading 5.4 to 5.5
>How-To-Repeat:
Install lang/php55
Install www/pecl-zendopcache
>Fix:
--- www/pecl-zendopcache/Makefile.orig  2013-09-28 15:10:09.729882929 +0200
+++ www/pecl-zendopcache/Makefile       2013-09-28 15:11:29.136280823 +0200
@@ -1,5 +1,5 @@
 # Created by: Alex Dupre <ale@FreeBSD.org>
-# $FreeBSD$
+# $FreeBSD: www/pecl-zendopcache/Makefile 327776 2013-09-20 23:36:50Z bapt $

 PORTNAME=      zendopcache
 PORTVERSION=   7.0.2
@@ -20,6 +20,7 @@
 USE_PHP_BUILD= yes
 USE_ZENDEXT=   yes
 PHP_MODNAME=   opcache
+IGNORE_WITH_PHP=       55

 PORTDOCS=      *

--- /dev/null   2013-09-28 15:17:08.000000000 +0200
+++ www/php55-opcache/Makefile  2013-09-28 15:02:17.281283227 +0200
@@ -0,0 +1,13 @@
+# Created by: Alex Dupre <ale@FreeBSD.org>
+# $FreeBSD: textproc/php55-ctype/Makefile 327773 2013-09-20 23:17:30Z bapt $
+
+CATEGORIES=    www
+
+MASTERDIR=     ${.CURDIR}/../../lang/php55
+
+PKGNAMESUFFIX= -opcache
+
+USE_ZENDEXT=   yes
+
+NO_STAGE=      yes
+.include "${MASTERDIR}/Makefile"


>Release-Note:
>Audit-Trail:
>Unformatted:



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