Remove www/pecl-APC, it doesn't work with PHP 5.5+.
PR: 211344 Submitted by: rene Sponsored by: Absolight
This commit is contained in:
parent
9b87283544
commit
2d4f2b9c75
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420242
1
MOVED
1
MOVED
@ -8617,3 +8617,4 @@ multimedia/linux-realplayer||2016-08-09|Has expired: Not maintained upstream, co
|
||||
cad/NASTRAN|cad/NASTRAN-95|2016-08-12|Rename to match PORTNAME and upstream name
|
||||
ports-mgmt/xps||2016-08-11|Has expired: Does not support pkg(8)
|
||||
math/bamg||2016-08-14|No longer maintained upstream as is now part of freefem++
|
||||
www/pecl-APC||2016-08-15|No longer maintained upstream, and not working with PHP > 5.4
|
||||
|
@ -288,7 +288,7 @@ add-plist-phpext:
|
||||
# Extensions
|
||||
. if defined(USE_PHP) && ${USE_PHP:tl} != "yes"
|
||||
# non-version specific components
|
||||
_USE_PHP_ALL= apc bcmath bitset bz2 calendar ctype curl dba dom \
|
||||
_USE_PHP_ALL= bcmath bitset bz2 calendar ctype curl dba dom \
|
||||
exif fileinfo filter ftp gd gettext gmp \
|
||||
hash iconv igbinary imap interbase intl json ldap mbstring mcrypt \
|
||||
memcache mysqli odbc opcache \
|
||||
@ -302,7 +302,6 @@ _USE_PHP_VER55= ${_USE_PHP_ALL} mssql mysql sybase_ct
|
||||
_USE_PHP_VER56= ${_USE_PHP_ALL} mssql mysql sybase_ct
|
||||
_USE_PHP_VER70= ${_USE_PHP_ALL}
|
||||
|
||||
apc_DEPENDS= www/pecl-APC
|
||||
bcmath_DEPENDS= math/php${PHP_VER}-bcmath
|
||||
. if ${PHP_VER} == 70
|
||||
bitset_DEPENDS= math/pecl-bitset
|
||||
|
@ -20,8 +20,7 @@ EXTRACT_AFTER_ARGS= --no-same-owner --no-same-permissions -C ${WRKSRC}
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= DISTNAME=${DISTNAME}
|
||||
|
||||
OPTIONS_DEFINE= LDAP APC MEMCACHE
|
||||
APC_DESC= Enable pecl-APC support
|
||||
OPTIONS_DEFINE= LDAP MEMCACHE
|
||||
MEMCACHE_DESC= Enable pecl-memcache support
|
||||
|
||||
USE_MYSQL= yes
|
||||
@ -29,7 +28,6 @@ USE_PHP= ctype dom gd iconv json mcrypt pdo_mysql simplexml \
|
||||
spl xml zip
|
||||
WANT_PHP_WEB= yes
|
||||
|
||||
APC_USE= php=apc
|
||||
LDAP_USE= php=ldap
|
||||
MEMCACHE_USE= php=memcache
|
||||
|
||||
|
@ -8,9 +8,6 @@ PKGNAMEPREFIX= pear-
|
||||
MAINTAINER= horde@FreeBSD.org
|
||||
COMMENT= Horde Caching API
|
||||
|
||||
OPTIONS_DEFINE= APC
|
||||
APC_DESC= Require APC PHP extension
|
||||
|
||||
USES= horde
|
||||
USE_HORDE_RUN= Horde_Compress_Fast \
|
||||
Horde_Exception \
|
||||
@ -18,6 +15,4 @@ USE_HORDE_RUN= Horde_Compress_Fast \
|
||||
Horde_Util
|
||||
USE_PHP= hash
|
||||
|
||||
APC_USE= PHP=apc
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -18,14 +18,11 @@ USES= php:ext tar:tgz
|
||||
CONFIGURE_ARGS= --enable-memoize
|
||||
IGNORE_WITH_PHP= 70
|
||||
|
||||
OPTIONS_DEFINE= APC MEMCACHED MEMORY
|
||||
OPTIONS_DEFINE= MEMCACHED MEMORY
|
||||
OPTIONS_DEFAULT=MEMORY
|
||||
APC_DESC= Enable memoize APC module
|
||||
MEMCACHED_DESC= Enable memcached storage module
|
||||
MEMORY_DESC= Enable the memoize memory storage module
|
||||
|
||||
APC_CONFIGURE_ON= --enable-memoize-apc
|
||||
APC_USE= PHP=apc:build
|
||||
MEMCACHED_CONFIGURE_ON= --with-memoize-memcached
|
||||
MEMCACHED_BUILD_DEPENDS=libmemcached>=0:databases/libmemcached
|
||||
MEMCACHED_RUN_DEPENDS= libmemcached>=0:databases/libmemcached
|
||||
|
@ -8,6 +8,5 @@ time:
|
||||
Since this is a per-request cache, neither TTLs specified in the
|
||||
`memoize()` call or `memoize.default_ttl` are used.
|
||||
- memcached: Uses libmemcached or the memcached PHP extension
|
||||
- apc: Uses the APC PHP extension
|
||||
|
||||
WWW: http://pecl.php.net/package/memoize
|
||||
|
@ -17,7 +17,7 @@ RUN_DEPENDS= php5-libphutil>0:devel/libphutil \
|
||||
|
||||
OPTIONS_DEFINE= GD OPCACHE
|
||||
OPTIONS_DEFAULT=OPCACHE
|
||||
OPCACHE_DESC?= Use OPcache/APCu (APC on PHP < 5.5) to improve performance
|
||||
OPCACHE_DESC?= Use OPcache to improve performance
|
||||
|
||||
USES= shebangfix
|
||||
SHEBANG_FILES= externals/httpful/build \
|
||||
@ -36,8 +36,6 @@ GD_USE= PHP=gd
|
||||
. if ${PHP_EXT_DIR:C|[^0-9]||g} >= 20121212
|
||||
USE_PHP+= opcache
|
||||
RUN_DEPENDS+= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu
|
||||
. else
|
||||
USE_PHP+= apc
|
||||
. endif
|
||||
.endif
|
||||
|
||||
|
@ -18,15 +18,11 @@ PHP_MODNAME= memoize
|
||||
IGNORE_WITH_PHP= 70
|
||||
CONFIGURE_ARGS= --enable-memoize
|
||||
|
||||
OPTIONS_DEFINE= APC MEMCACHED MEMORY
|
||||
OPTIONS_DEFINE= MEMCACHED MEMORY
|
||||
OPTIONS_DEFAULT= MEMORY
|
||||
APC_DESC= Enable memoize APC module
|
||||
MEMCACHED_DESC= Enable memcached storage module
|
||||
MEMORY_DESC= Enable the memoize memory storage module
|
||||
|
||||
APC_CONFIGURE_ENABLE= memoize-apc
|
||||
APC_BUILD_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:www/pecl-APC
|
||||
|
||||
MEMCACHED_CONFIGURE_WITH= memoize-memcached
|
||||
MEMCACHED_BUILD_DEPENDS= libmemcached>0:databases/libmemcached
|
||||
MEMCACHED_RUN_DEPENDS= libmemcached>0:databases/libmemcached
|
||||
|
@ -8,6 +8,5 @@ time:
|
||||
Since this is a per-request cache, neither TTLs specified in the
|
||||
`memoize()` call or `memoize.default_ttl` are used.
|
||||
- memcached: Uses libmemcached or the memcached PHP extension
|
||||
- apc: Uses the APC PHP extension
|
||||
|
||||
WWW: https://github.com/arraypad/php-memoize
|
||||
|
@ -1404,7 +1404,6 @@
|
||||
SUBDIR += pear-XML_GRDDL
|
||||
SUBDIR += pear-twig
|
||||
SUBDIR += pebble
|
||||
SUBDIR += pecl-APC
|
||||
SUBDIR += pecl-amfext
|
||||
SUBDIR += pecl-http
|
||||
SUBDIR += pecl-http1
|
||||
|
@ -31,12 +31,11 @@ PLIST= ${WRKDIR}/plist
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= MEDIAWIKIDIR=${PREFIX}/${MEDIAWIKIDIR}
|
||||
|
||||
OPTIONS_DEFINE= MYSQL PGSQL SQLITE LDAP MEMCACHED APC XCACHE IMAGICK SOCKETS
|
||||
OPTIONS_DEFINE= MYSQL PGSQL SQLITE LDAP MEMCACHED XCACHE IMAGICK SOCKETS
|
||||
OPTIONS_DEFAULT=MYSQL SOCKETS
|
||||
|
||||
MEMCACHED_DESC= Use memcached
|
||||
APC_DESC= Use pecl-APC (Mediawiki recommended)
|
||||
XCACHE_DESC= Use xCache (instead of pecl-APC)
|
||||
XCACHE_DESC= Use xCache
|
||||
IMAGICK_DESC= Use ImageMagick
|
||||
SOCKETS_DESC= Use sockets
|
||||
|
||||
@ -69,9 +68,7 @@ RUN_DEPENDS= memcached:databases/memcached
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MAPC}
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:www/pecl-APC
|
||||
.elif ${PORT_OPTIONS:MXCACHE}
|
||||
.if ${PORT_OPTIONS:MXCACHE}
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xcache.so:www/xcache
|
||||
.endif
|
||||
|
||||
|
@ -34,12 +34,11 @@ PLIST= ${WRKDIR}/plist
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= MEDIAWIKIDIR=${PREFIX}/${MEDIAWIKIDIR}
|
||||
|
||||
OPTIONS_DEFINE= MYSQL PGSQL SQLITE LDAP MEMCACHED APC XCACHE IMAGICK SOCKETS
|
||||
OPTIONS_DEFINE= MYSQL PGSQL SQLITE LDAP MEMCACHED XCACHE IMAGICK SOCKETS
|
||||
OPTIONS_DEFAULT=MYSQL SOCKETS
|
||||
|
||||
MEMCACHED_DESC= Use memcached
|
||||
APC_DESC= Use pecl-APC (Mediawiki recommended)
|
||||
XCACHE_DESC= Use xCache (instead of pecl-APC)
|
||||
XCACHE_DESC= Use xCache
|
||||
IMAGICK_DESC= Use ImageMagick
|
||||
SOCKETS_DESC= Use sockets
|
||||
|
||||
@ -72,9 +71,7 @@ RUN_DEPENDS= memcached:databases/memcached
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MAPC}
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:www/pecl-APC
|
||||
.elif ${PORT_OPTIONS:MXCACHE}
|
||||
.if ${PORT_OPTIONS:MXCACHE}
|
||||
RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xcache.so:www/xcache
|
||||
.endif
|
||||
|
||||
|
@ -38,16 +38,13 @@ PLIST= ${WRKDIR}/plist
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= MEDIAWIKIDIR=${PREFIX}/${MEDIAWIKIDIR}
|
||||
|
||||
OPTIONS_DEFINE= LDAP MEMCACHED IMAGICK SOCKETS
|
||||
OPTIONS_DEFINE= LDAP MEMCACHED IMAGICK SOCKETS XCACHE
|
||||
OPTIONS_SINGLE= DB
|
||||
OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE
|
||||
OPTIONS_RADIO= ACCEL
|
||||
OPTIONS_RADIO_ACCEL= APC XCACHE
|
||||
OPTIONS_DEFAULT= MYSQL SOCKETS
|
||||
|
||||
MEMCACHED_DESC= Use memcached
|
||||
APC_DESC= Use pecl-APC (Mediawiki recommended)
|
||||
XCACHE_DESC= Use xCache (instead of pecl-APC)
|
||||
XCACHE_DESC= Use xCache
|
||||
IMAGICK_DESC= Use ImageMagick
|
||||
SOCKETS_DESC= Use sockets
|
||||
|
||||
@ -60,7 +57,6 @@ SOCKETS_USE= php=sockets
|
||||
|
||||
MEMCACHED_RUN_DEPENDS= memcached:databases/memcached
|
||||
IMAGICK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick
|
||||
APC_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:www/pecl-APC
|
||||
XCACHE_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xcache.so:www/xcache
|
||||
|
||||
pre-install:
|
||||
|
@ -34,16 +34,13 @@ PLIST= ${WRKDIR}/plist
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= MEDIAWIKIDIR=${PREFIX}/${MEDIAWIKIDIR}
|
||||
|
||||
OPTIONS_DEFINE= LDAP MEMCACHED IMAGICK SOCKETS
|
||||
OPTIONS_DEFINE= LDAP MEMCACHED IMAGICK SOCKETS XCACHE
|
||||
OPTIONS_SINGLE= DB
|
||||
OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE
|
||||
OPTIONS_RADIO= ACCEL
|
||||
OPTIONS_RADIO_ACCEL= APC XCACHE
|
||||
OPTIONS_DEFAULT= MYSQL SOCKETS
|
||||
|
||||
MEMCACHED_DESC= Use memcached
|
||||
APC_DESC= Use pecl-APC (Mediawiki recommended)
|
||||
XCACHE_DESC= Use xCache (instead of pecl-APC)
|
||||
XCACHE_DESC= Use xCache
|
||||
IMAGICK_DESC= Use ImageMagick
|
||||
SOCKETS_DESC= Use sockets
|
||||
|
||||
@ -56,7 +53,6 @@ SOCKETS_USE= php=sockets
|
||||
|
||||
MEMCACHED_RUN_DEPENDS= memcached:databases/memcached
|
||||
IMAGICK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick
|
||||
APC_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:www/pecl-APC
|
||||
XCACHE_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xcache.so:www/xcache
|
||||
|
||||
pre-install:
|
||||
|
@ -34,16 +34,13 @@ PLIST= ${WRKDIR}/plist
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= MEDIAWIKIDIR=${PREFIX}/${MEDIAWIKIDIR}
|
||||
|
||||
OPTIONS_DEFINE= LDAP MEMCACHED IMAGICK SOCKETS
|
||||
OPTIONS_DEFINE= LDAP MEMCACHED IMAGICK SOCKETS XCACHE
|
||||
OPTIONS_SINGLE= DB
|
||||
OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE
|
||||
OPTIONS_RADIO= ACCEL
|
||||
OPTIONS_RADIO_ACCEL= APC XCACHE
|
||||
OPTIONS_DEFAULT= MYSQL SOCKETS
|
||||
|
||||
MEMCACHED_DESC= Use memcached
|
||||
APC_DESC= Use pecl-APC (Mediawiki recommended)
|
||||
XCACHE_DESC= Use xCache (instead of pecl-APC)
|
||||
XCACHE_DESC= Use xCache
|
||||
IMAGICK_DESC= Use ImageMagick
|
||||
SOCKETS_DESC= Use sockets
|
||||
|
||||
@ -55,7 +52,6 @@ SOCKETS_USE= php=sockets
|
||||
|
||||
MEMCACHED_RUN_DEPENDS= memcached:databases/memcached
|
||||
IMAGICK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick
|
||||
APC_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:www/pecl-APC
|
||||
XCACHE_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xcache.so:www/xcache
|
||||
|
||||
pre-install:
|
||||
|
@ -1,47 +0,0 @@
|
||||
# Created by: Thierry Thomas <thierry@pompo.net>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= APC
|
||||
PORTVERSION= 3.1.14
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= www
|
||||
#MASTER_SITES= http://pecl.php.net/get/
|
||||
MASTER_SITES= LOCAL/sunpoet
|
||||
PKGNAMEPREFIX= pecl-
|
||||
DISTNAME= ${PORTNAME}-3.1.13
|
||||
DIST_SUBDIR= PECL
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Alternative PHP Cache
|
||||
|
||||
LICENSE= PHP301
|
||||
|
||||
DEPRECATED= Unmaintained by upstream and not work for PHP 5.5+
|
||||
EXPIRATION_DATE=2016-03-15
|
||||
|
||||
OPTIONS_DEFINE= DOCS FILEHITS IPC SEMAPHORES SPINLOCKS
|
||||
FILEHITS_DESC= Per request cache info
|
||||
IPC_DESC= IPC shm memory support (default: mmap)
|
||||
SEMAPHORES_DESC=System V IPC semaphores (default: fcntl)
|
||||
SPINLOCKS_DESC= Spinlocks (experimental)
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
CONFIGURE_ARGS= --enable-apc
|
||||
IGNORE_WITH_PHP=55 56 70
|
||||
PHP_MODNAME= ${PORTNAME:tl}
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
SUB_FILES= pkg-message
|
||||
USES= php:ext tar:tgz
|
||||
|
||||
PORTDOCS= CHANGELOG INSTALL NOTICE apc.php
|
||||
|
||||
FILEHITS_CONFIGURE_ARGS=--enable-apc-filehits
|
||||
IPC_CONFIGURE_ARGS= --disable-apc-mmap
|
||||
SEMAPHORES_CONFIGURE_ARGS= --enable-apc-sem
|
||||
SPINLOCKS_CONFIGURE_ARGS= --enable-apc-spinlocks
|
||||
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
||||
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (PECL/APC-3.1.13.tgz) = 5ef8ba07729e72946e95951672a5378bed98cb5a294e79bf0f0a97ac62829abd
|
||||
SIZE (PECL/APC-3.1.13.tgz) = 171591
|
@ -1,15 +0,0 @@
|
||||
************************************************************************
|
||||
You may edit %%LOCALBASE%%/etc/php.ini to change this variables:
|
||||
|
||||
apc.enabled="1"
|
||||
^^^ -> Default value
|
||||
|
||||
apc.shm_size="30"
|
||||
^^^^ -> Default value
|
||||
|
||||
* More information on %%DOCSDIR%%/INSTALL
|
||||
|
||||
Then restart your web server and consult the output of phpinfo().
|
||||
If there is an informational section for APC, the installation was
|
||||
successful.
|
||||
************************************************************************
|
@ -1,6 +0,0 @@
|
||||
APC is the Alternative PHP Cache.
|
||||
|
||||
It was conceived of to provide a free, open, and robust framework for
|
||||
caching and optimizing PHP intermediate code.
|
||||
|
||||
WWW: http://pecl.php.net/package/APC
|
@ -33,14 +33,12 @@ GROUPS= ${WWWGRP}
|
||||
|
||||
DISTFILES+= ${TYPO3SRC}${EXTRACT_SUFX}
|
||||
|
||||
OPTIONS_DEFINE= APC CURL GD GMP IMAGICK MBSTRING MYSQL ZLIB
|
||||
APC_DESC= Alternative PHP Cache
|
||||
OPTIONS_DEFINE= CURL GD GMP IMAGICK MBSTRING MYSQL ZLIB
|
||||
GD_DESC= GDlib/freetype support
|
||||
IMAGICK_DESC= ${IMAGEMAGICK_DESC}
|
||||
MBSTRING_DESC= ${MULTIBYTE_DESC}
|
||||
MYSQL_DESC= Install MySQL Server
|
||||
|
||||
APC_USE= PHP=apc
|
||||
CURL_USE= PHP=curl
|
||||
GD_USE= PHP=gd
|
||||
GMP_USE= PHP=gmp
|
||||
|
@ -29,15 +29,13 @@ GROUPS= ${WWWGRP}
|
||||
|
||||
DISTFILES+= ${TYPO3SRC}${EXTRACT_SUFX}
|
||||
|
||||
OPTIONS_DEFINE= APC CURL GD GMP IMAGICK MBSTRING MYSQL ZLIB
|
||||
OPTIONS_DEFINE= CURL GD GMP IMAGICK MBSTRING MYSQL ZLIB
|
||||
OPTIONS_DEFAULT= GD ZLIB
|
||||
APC_DESC= Alternative PHP Cache
|
||||
GD_DESC= GDlib/freetype support
|
||||
IMAGICK_DESC= ${IMAGEMAGICK_DESC}
|
||||
MBSTRING_DESC= ${MULTIBYTE_DESC}
|
||||
MYSQL_DESC= Install MySQL Server
|
||||
|
||||
APC_USE= PHP=apc
|
||||
CURL_USE= PHP=curl
|
||||
GD_USE= PHP=gd
|
||||
GMP_USE= PHP=gmp
|
||||
|
Loading…
Reference in New Issue
Block a user