diff options
author | Christian Hoffmann <hoffie@gentoo.org> | 2008-05-07 19:54:16 +0000 |
---|---|---|
committer | Christian Hoffmann <hoffie@gentoo.org> | 2008-05-07 19:54:16 +0000 |
commit | 7dbfe8aa5fc7fd348479108f406af2042a2e1c83 (patch) | |
tree | a0203bd1a0709a277448f1303f3109383e08f9f3 /dev-php5 | |
parent | Version bump wrt bug #218472 (diff) | |
download | historical-7dbfe8aa5fc7fd348479108f406af2042a2e1c83.tar.gz historical-7dbfe8aa5fc7fd348479108f406af2042a2e1c83.tar.bz2 historical-7dbfe8aa5fc7fd348479108f406af2042a2e1c83.zip |
update ini settings (thanks to Lars Strojny <lars@strojny.net> for pointing that out in #gentoo-php)
Package-Manager: portage-2.1.5_rc7
Diffstat (limited to 'dev-php5')
-rw-r--r-- | dev-php5/pecl-apc/ChangeLog | 10 | ||||
-rw-r--r-- | dev-php5/pecl-apc/Manifest | 9 | ||||
-rw-r--r-- | dev-php5/pecl-apc/pecl-apc-3.0.18-r1.ebuild | 76 |
3 files changed, 90 insertions, 5 deletions
diff --git a/dev-php5/pecl-apc/ChangeLog b/dev-php5/pecl-apc/ChangeLog index b4e8933427ea..65b4f1eda84c 100644 --- a/dev-php5/pecl-apc/ChangeLog +++ b/dev-php5/pecl-apc/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-php5/pecl-apc # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.45 2008/05/07 16:29:32 hoffie Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.46 2008/05/07 19:54:16 hoffie Exp $ + +*pecl-apc-3.0.18-r1 (07 May 2008) + + 07 May 2008; Christian Hoffmann <hoffie@gentoo.org> + +pecl-apc-3.0.18-r1.ebuild: + update ini settings (drop optimizer as it is simply ignored, add options + which upstream recently added, thanks to Lars Strojny <lars@strojny.net> + for pointing that out in #gentoo-php) 07 May 2008; Christian Hoffmann <hoffie@gentoo.org> pecl-apc-3.0.16.ebuild, pecl-apc-3.0.16-r1.ebuild: diff --git a/dev-php5/pecl-apc/Manifest b/dev-php5/pecl-apc/Manifest index bf5783c34613..d390f47b69e0 100644 --- a/dev-php5/pecl-apc/Manifest +++ b/dev-php5/pecl-apc/Manifest @@ -13,13 +13,14 @@ EBUILD pecl-apc-3.0.15.ebuild 2058 RMD160 c54fecc86934563d36c92204276d6137b99b34 EBUILD pecl-apc-3.0.16-r1.ebuild 2334 RMD160 d1b0de3160484a2fbdd1ced5eafa26fcbc234a79 SHA1 ba7141a17409164f03768b8ad980db74fca7805f SHA256 0d26954c186b7b042aed08f9a761678a9beb167cd26bd7476619564a73aed25c EBUILD pecl-apc-3.0.16.ebuild 2243 RMD160 70c2f96e8a758a9409966bf603bffbd811e9bbc3 SHA1 df9713628cffddbbd0468f55f35057a2772d7f12 SHA256 f57f11b8d5ce9b359402ad0fd1f3f48fb7610c457d876bf3c00765bc69c05e0a EBUILD pecl-apc-3.0.17.ebuild 2061 RMD160 d767d0d39d55c01193411b1f52574fd494bf0b19 SHA1 ef0fb0d4073c2e992ec8b9137fab3cf502e94a24 SHA256 46653d381c6c7d87c2625ab5901cea884e4d53c0c08e90baece061572d1b2847 +EBUILD pecl-apc-3.0.18-r1.ebuild 2658 RMD160 7a10222a18d330c2bfdfa0cc8f171ad986f39f16 SHA1 4533d8bd6dc148d1117e1e780c2d3cfd9a23795b SHA256 f06e20b0d23884ac00a9fdaf79cc98123808d17282eec26241c11847b07ccc55 EBUILD pecl-apc-3.0.18.ebuild 2059 RMD160 64df67bbb1f5e532c78ac26f7e4e73188dce6439 SHA1 fc1beadf671d14a99a8cd47d8fd88aa8481ef4a9 SHA256 f013ad0b4e2031256c255a5913378cdef092407eaf257b1b29686cbf24c3316e -MISC ChangeLog 6376 RMD160 444a8afa3a370886d73584e957c1c3b970bffe8f SHA1 6ce3e6e4aa5ab0004706caabceaafc15dd75af59 SHA256 02f0b277d5b462326a75e37cb805ba1ebb63ddda1ad58497ff6d1346a938f56e +MISC ChangeLog 6686 RMD160 6eef0cf33eca500e825a129cd126e0362968b253 SHA1 6efd9b6459e2007184e016f7f0d300acbb02a646 SHA256 0a6b0929d84e10a66556fae1a350a45cfda7547b66b20620a6979dd5cf34919b MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkgh2PIACgkQV6E0EIywUuWY6QCfYSJKx+PdKDzrX+9zt8H0gWcZ -Sb4AoJ6Y2gkl6tKhJByj4MFTAz/4xc2P -=ijlu +iEYEARECAAYFAkgiCO0ACgkQV6E0EIywUuXntgCfR8fCmuZfIO0DDtElAvhTQAwp +44UAoMIhADp2hLsNPlDVxFFqi9Li5YF/ +=W/NN -----END PGP SIGNATURE----- diff --git a/dev-php5/pecl-apc/pecl-apc-3.0.18-r1.ebuild b/dev-php5/pecl-apc/pecl-apc-3.0.18-r1.ebuild new file mode 100644 index 000000000000..0efbc9a47809 --- /dev/null +++ b/dev-php5/pecl-apc/pecl-apc-3.0.18-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.0.18-r1.ebuild,v 1.1 2008/05/07 19:54:16 hoffie Exp $ + +PHP_EXT_NAME="apc" +PHP_EXT_PECL_PKG="APC" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +DOCS="CHANGELOG INSTALL NOTICE TECHNOTES.txt TODO" + +inherit php-ext-pecl-r1 confutils eutils + +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" + +DESCRIPTION="A free, open, and robust framework for caching and optimizing PHP code." +LICENSE="PHP-3.01" +SLOT="0" +IUSE="mmap" + +DEPEND="!dev-php5/eaccelerator !dev-php5/xcache" +RDEPEND="${DEPEND}" + +need_php_by_category + +pkg_setup() { + require_php_sapi_from cgi apache2 +} + +src_compile() { + has_php + + my_conf="--enable-apc" + enable_extension_enable "apc-mmap" "mmap" 0 + enable_extension_with_built_with =${PHP_PKG} apache2 apxs /usr/sbin/apxs2 "optimisation for apache2" + + php-ext-pecl-r1_src_compile +} + +src_install() { + php-ext-pecl-r1_src_install + + php-ext-base-r1_addtoinifiles "apc.enabled" '"1"' + php-ext-base-r1_addtoinifiles "apc.shm_segments" '"1"' + php-ext-base-r1_addtoinifiles "apc.shm_size" '"30"' + php-ext-base-r1_addtoinifiles "apc.num_files_hint" '"1024"' + php-ext-base-r1_addtoinifiles "apc.ttl" '"7200"' + php-ext-base-r1_addtoinifiles "apc.user_ttl" '"7200"' + php-ext-base-r1_addtoinifiles "apc.gc_ttl" '"3600"' + php-ext-base-r1_addtoinifiles "apc.cache_by_default" '"1"' + php-ext-base-r1_addtoinifiles ";apc.filters" '""' + php-ext-base-r1_addtoinifiles ";apc.mmap_file_mask" '"/tmp/apcphp5.XXXXXX"' + php-ext-base-r1_addtoinifiles "apc.slam_defense" '"0"' + php-ext-base-r1_addtoinifiles "apc.file_update_protection" '"2"' + php-ext-base-r1_addtoinifiles "apc.enable_cli" '"0"' + php-ext-base-r1_addtoinifiles "apc.max_file_size" '"1M"' + php-ext-base-r1_addtoinifiles "apc.stat" '"1"' + php-ext-base-r1_addtoinifiles "apc.write_lock" '"1"' + php-ext-base-r1_addtoinifiles "apc.report_autofilter" '"0"' + php-ext-base-r1_addtoinifiles "apc.include_once_override" '"0"' + php-ext-base-r1_addtoinifiles "apc.rfc1867" '"0"' + php-ext-base-r1_addtoinifiles "apc.rfc1867_prefix" '"upload_"' + php-ext-base-r1_addtoinifiles "apc.rfc1867_name" '"APC_UPLOAD_PROGRESS"' + php-ext-base-r1_addtoinifiles "apc.rfc1867_freq" '"0"' + php-ext-base-r1_addtoinifiles "apc.localcache" '"0"' + php-ext-base-r1_addtoinifiles "apc.localcache.size" '"512"' + php-ext-base-r1_addtoinifiles "apc.coredump_unmap" '"0"' + + dodir "${PHP_EXT_SHARED_DIR}" + insinto "${PHP_EXT_SHARED_DIR}" + doins apc.php +} + +pkg_postinst() { + elog "The apc.php file shipped with this release of PECL-APC was" + elog "installed into ${ROOT}usr/share/php5/apc/." +} |