update APC to 3.0.15 and adapt to the new configuration style

we use for PHP extensions (symlink rather than phpxs)

ok robert@
This commit is contained in:
sthen 2007-12-06 11:21:09 +00:00
parent 265a8b6259
commit 13b7117027
5 changed files with 23 additions and 15 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.8 2007/09/17 15:12:32 sthen Exp $
# $OpenBSD: Makefile,v 1.9 2007/12/06 11:21:09 sthen Exp $
SHARED_ONLY= Yes
COMMENT= Alternative PHP Cache
DISTNAME= APC-3.0.14
PKGNAME= pecl-${DISTNAME}p0
DISTNAME= APC-3.0.15
PKGNAME= pecl-${DISTNAME}
CATEGORIES= www
HOMEPAGE= http://pecl.php.net/package/APC
@ -58,5 +58,8 @@ post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/pecl-APC
@${INSTALL_DATA} ${WRKSRC}/apc.php ${WRKSRC}/INSTALL \
${PREFIX}/pecl-APC
@${INSTALL_DATA_DIR} ${PREFIX}/conf/php5.sample
@echo "extension=apc.so" > \
${PREFIX}/conf/php5.sample/apc.ini
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (APC-3.0.14.tgz) = D0Uvk2I5thB9Pi5c2k9L2g==
RMD160 (APC-3.0.14.tgz) = Wcdq6K5KojfRGOCGDELxHkFnUdE=
SHA1 (APC-3.0.14.tgz) = IRR75ljZebj/5NZs2Tv5BXAa7tc=
SHA256 (APC-3.0.14.tgz) = 8FGV0WOYOo82M25iLmAIv+zUZD18VhOm5Kiwftc14FA=
SIZE (APC-3.0.14.tgz) = 108511
MD5 (APC-3.0.15.tgz) = +hXqwEAiFyjzqur5WV3m4Q==
RMD160 (APC-3.0.15.tgz) = 7eCYyhQR3RTynanRJ5WAfkyd/8s=
SHA1 (APC-3.0.15.tgz) = pUJUcoln3krcSlfwpt10vZK23L4=
SHA256 (APC-3.0.15.tgz) = HEdahNEtsqRfFImkjzddd4VK4sHWYm2z6BLMwERhkRo=
SIZE (APC-3.0.15.tgz) = 112056

View File

@ -1,7 +1,9 @@
To finish the install of pecl-APC, you need
to enable the module by using the following command
You can enable this module by creating a symbolic
link from ${PREFIX}/conf/php5.sample/apc.ini to
${PREFIX}/conf/php5/apc.ini.
# ${LOCALBASE}/sbin/phpxs -a apc
ln -fs ${PREFIX}/conf/php5.sample/apc.ini \
${PREFIX}/conf/php5/apc.ini
If you already have Apache running on your machine,
you should not use "apachectl restart" - instead,

View File

@ -1,4 +1,6 @@
@comment $OpenBSD: PLIST,v 1.2 2007/09/17 15:12:32 sthen Exp $
@comment $OpenBSD: PLIST,v 1.3 2007/12/06 11:21:09 sthen Exp $
@comment conf/php5.sample/
conf/php5.sample/apc.ini
@comment lib/
@comment lib/php/
@comment lib/php/modules/

View File

@ -1,7 +1,8 @@
To completely deinstall the pecl-APC, you need
to disable the module by using the following command
You can disable this module by removing the
${PREFIX}/conf/php5/apc.ini symbolic link by
issuing the following command:
# ${LOCALBASE}/sbin/phpxs -r apc
rm -f ${PREFIX}/conf/php5/apc.ini
If you already have Apache running on your machine,
you should not use "apachectl restart" - instead,