[php-pecl-apc/f12/master] update to 3.1.4
Remi Collet
remi at fedoraproject.org
Sat Sep 18 08:54:12 UTC 2010
commit 941292173310331454226dd2f4e62ad3502b3ea4
Author: remi <fedora at famillecollet.com>
Date: Sat Sep 18 10:54:01 2010 +0200
update to 3.1.4
php-pecl-apc.spec | 25 +++++++++++++++++--------
sources | 2 +-
2 files changed, 18 insertions(+), 9 deletions(-)
---
diff --git a/php-pecl-apc.spec b/php-pecl-apc.spec
index bddf998..d7a50b7 100644
--- a/php-pecl-apc.spec
+++ b/php-pecl-apc.spec
@@ -1,13 +1,13 @@
%{!?__pecl: %{expand: %%global __pecl %{_bindir}/pecl}}
-%define php_extdir %(php-config --extension-dir 2>/dev/null || echo %{_libdir}/php4)
+%global php_extdir %(php-config --extension-dir 2>/dev/null || echo %{_libdir}/php4)
%global php_zendabiver %((echo 0; php -i 2>/dev/null | sed -n 's/^PHP Extension => //p') | tail -1)
%global php_version %((echo 0; php-config --version 2>/dev/null) | tail -1)
-%define pecl_name APC
+%global pecl_name APC
Summary: APC caches and optimizes PHP intermediate code
Name: php-pecl-apc
-Version: 3.1.3p1
-Release: 1%{?dist}
+Version: 3.1.4
+Release: 2%{?dist}
License: PHP
Group: Development/Languages
URL: http://pecl.php.net/package/APC
@@ -72,13 +72,14 @@ popd
extension = apc.so
; Options for the APC module version >= 3.1.3
+; See http://www.php.net/manual/en/apc.configuration.php
; This can be set to 0 to disable APC.
apc.enabled=1
; The number of shared memory segments to allocate for the compiler cache.
apc.shm_segments=1
-; The size of each shared memory segment in MB.
-apc.shm_size=64
+; The size of each shared memory segment, with M/G suffixe
+apc.shm_size=64M
; A "hint" about the number of distinct source files that will be included or
; requested on your web server. Set to zero or omit if you're not sure;
apc.num_files_hint=1024
@@ -130,9 +131,12 @@ apc.rfc1867_ttl=3600
apc.include_once_override=0
apc.lazy_classes=00
apc.lazy_functions=0
-; not documented
+; Enables APC handling of signals, such as SIGSEGV, that write core files when signaled.
+; APC will attempt to unmap the shared memory segment in order to exclude it from the core file
apc.coredump_unmap=0
+; Records a md5 hash of files.
apc.file_md5=0
+; not documented
apc.preload_path
EOF
@@ -142,7 +146,6 @@ cd %{pecl_name}-%{version}
TEST_PHP_EXECUTABLE=$(which php) php run-tests.php \
-n -q -d extension_dir=modules \
-d extension=apc.so \
-|| true # 1 test fails http://pecl.php.net/bugs/bug.php?id=16793
%if 0%{?pecl_install:1}
@@ -174,6 +177,12 @@ fi
%changelog
+* Sun Aug 08 2010 Remi Collet <Fedora at FamilleCollet.com> - 3.1.4-2
+- fix default value for apc.shm_size (need M suffixes)
+
+* Thu Aug 05 2010 Remi Collet <Fedora at FamilleCollet.com> - 3.1.4-1
+- update to Version 3.1.4 (beta) - API 3.1.0 (beta)
+
* Fri Aug 14 2009 Remi Collet <Fedora at FamilleCollet.com> - 3.1.3p1-1
- update to 3.1.3 patch1 (beta, for PHP 5.3 support)
- add test suite (disabled for http://pecl.php.net/bugs/bug.php?id=16793)
diff --git a/sources b/sources
index 0d10f39..9309245 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-941cf59c3f8042c1d6961b7afb1002b9 APC-3.1.3p1.tgz
+1f7a58f850e795b0958a3f99ae8c2cc4 APC-3.1.4.tgz
More information about the scm-commits
mailing list