diff options
author | mnag <mnag@FreeBSD.org> | 2010-04-22 08:11:28 +0800 |
---|---|---|
committer | mnag <mnag@FreeBSD.org> | 2010-04-22 08:11:28 +0800 |
commit | 0f7e8c88fc124e5ab4536a658f9f6af930eca2c9 (patch) | |
tree | 91fb7f75928b1a012b6b35b2c165c3e45ce33c14 /www | |
parent | 3193426af51ad77d4e256867bde78083b94e1379 (diff) | |
download | freebsd-ports-gnome-0f7e8c88fc124e5ab4536a658f9f6af930eca2c9.tar.gz freebsd-ports-gnome-0f7e8c88fc124e5ab4536a658f9f6af930eca2c9.tar.zst freebsd-ports-gnome-0f7e8c88fc124e5ab4536a658f9f6af930eca2c9.zip |
- Remove pecl-APC-devel since pecl-APC was updated to 3.1.3p1.
Diffstat (limited to 'www')
-rw-r--r-- | www/pecl-APC-devel/Makefile | 85 | ||||
-rw-r--r-- | www/pecl-APC-devel/distinfo | 3 | ||||
-rw-r--r-- | www/pecl-APC-devel/files/patch-apc_sem.c | 35 | ||||
-rw-r--r-- | www/pecl-APC-devel/files/patch-php_apc.c | 10 | ||||
-rw-r--r-- | www/pecl-APC-devel/files/pkg-message.in | 15 | ||||
-rw-r--r-- | www/pecl-APC-devel/pkg-descr | 6 |
6 files changed, 0 insertions, 154 deletions
diff --git a/www/pecl-APC-devel/Makefile b/www/pecl-APC-devel/Makefile deleted file mode 100644 index 100497901a01..000000000000 --- a/www/pecl-APC-devel/Makefile +++ /dev/null @@ -1,85 +0,0 @@ -# Ports collection makefile for: pear-APC -# Date created: 31 August 2003 -# Whom: Thierry Thomas (<thierry@pompo.net>) -# -# $FreeBSD$ -# - -PORTNAME= APC -DISTVERSION= 3.0.19 -CATEGORIES= www -MASTER_SITES= http://pecl.php.net/get/ -PKGNAMEPREFIX= pecl- -EXTRACT_SUFX= .tgz -DIST_SUBDIR= PECL - -MAINTAINER= mnag@FreeBSD.org -COMMENT= Alternative PHP Cache - -USE_PHP= yes -USE_PHPEXT= yes -PHP_MODNAME= apc - -SUB_FILES= pkg-message -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 \ - SPINLOCKS "Enable spinlocks (experimental)" off \ - FILEHITS "Enable per request cache info" off \ - PHP4_OPT "Little optimization to PHP4" off - -PORTDOCS= * - -.include <bsd.port.pre.mk> - -.if defined(WITH_MMAP) -CONFIGURE_ARGS+= --enable-apc-mmap -.endif - -.if defined(WITH_SEMAPHORES) -CONFIGURE_ARGS+= --enable-apc-sem -.endif - -.if defined(WITH_SPINLOCKS) -CONFIGURE_ARGS+= --enable-apc-spinlocks -.endif - -.if defined(WITH_FILEHITS) -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 - -post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/NOTICE ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/apc.php ${DOCSDIR} -.endif - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> diff --git a/www/pecl-APC-devel/distinfo b/www/pecl-APC-devel/distinfo deleted file mode 100644 index 97e3ea6f5793..000000000000 --- a/www/pecl-APC-devel/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (PECL/APC-3.0.19.tgz) = 951f43d2873e3572f5d5ae71a9b66f90 -SHA256 (PECL/APC-3.0.19.tgz) = a02677a7884361d64fbf3745c402f2a6ff313e817b0d0a2010acb64cd05247b0 -SIZE (PECL/APC-3.0.19.tgz) = 115735 diff --git a/www/pecl-APC-devel/files/patch-apc_sem.c b/www/pecl-APC-devel/files/patch-apc_sem.c deleted file mode 100644 index d83ba6d5a51f..000000000000 --- a/www/pecl-APC-devel/files/patch-apc_sem.c +++ /dev/null @@ -1,35 +0,0 @@ -# -# Fix http://pecl.php.net/bugs/bug.php?id=5280 -# ---- apc_sem.c.orig 2008-01-25 00:32:24.000000000 -0200 -+++ apc_sem.c 2008-01-25 00:35:28.000000000 -0200 -@@ -82,12 +82,16 @@ - } - } - -- if ((semid = semget(key, 1, IPC_CREAT | IPC_EXCL | perms)) >= 0) { -+ if ((semid = semget(key, 2, IPC_CREAT | IPC_EXCL | perms)) >= 0) { - /* sempahore created for the first time, initialize now */ - arg.val = initval; - if (semctl(semid, 0, SETVAL, arg) < 0) { - apc_eprint("apc_sem_create: semctl(%d,...) failed:", semid); - } -+ arg.val = getpid(); -+ if (semctl(semid, 1, SETVAL, arg) < 0) { -+ apc_eprint("apc_sem_create: semctl(%d,...) failed:", semid); -+ } - } - else if (errno == EEXIST) { - /* sempahore already exists, don't initialize */ -@@ -107,7 +111,10 @@ - { - /* we expect this call to fail often, so we do not check */ - union semun arg; -- semctl(semid, 0, IPC_RMID, arg); -+ int semPid = semctl(semid, 1, GETVAL, 0); -+ if (semPid == getpid()) { -+ semctl(semid, 0, IPC_RMID, arg); -+ } - } - - void apc_sem_lock(int semid) diff --git a/www/pecl-APC-devel/files/patch-php_apc.c b/www/pecl-APC-devel/files/patch-php_apc.c deleted file mode 100644 index 4d62b861e422..000000000000 --- a/www/pecl-APC-devel/files/patch-php_apc.c +++ /dev/null @@ -1,10 +0,0 @@ ---- ./php_apc.c.orig 2010-04-12 16:41:50.000000000 -0400 -+++ ./php_apc.c 2010-04-12 16:41:56.000000000 -0400 -@@ -955,7 +955,6 @@ - - #ifdef ZEND_ENGINE_2 - /* {{{ arginfo */ --static - ZEND_BEGIN_ARG_INFO(php_apc_fetch_arginfo, 0) - ZEND_ARG_INFO(0, "key") - ZEND_ARG_INFO(1, "success") diff --git a/www/pecl-APC-devel/files/pkg-message.in b/www/pecl-APC-devel/files/pkg-message.in deleted file mode 100644 index 4eaba38d6050..000000000000 --- a/www/pecl-APC-devel/files/pkg-message.in +++ /dev/null @@ -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. -************************************************************************ diff --git a/www/pecl-APC-devel/pkg-descr b/www/pecl-APC-devel/pkg-descr deleted file mode 100644 index 588547de5a3c..000000000000 --- a/www/pecl-APC-devel/pkg-descr +++ /dev/null @@ -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 |