rpms/php-pecl-apc/devel .cvsignore, 1.5, 1.6 php-pecl-apc.spec, 1.12, 1.13 sources, 1.6, 1.7

Remi Collet remi at fedoraproject.org
Sat Aug 15 05:55:07 UTC 2009


Author: remi

Update of /cvs/extras/rpms/php-pecl-apc/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2784

Modified Files:
	.cvsignore php-pecl-apc.spec sources 
Log Message:
update to 3.1.3p1 (still beta), better php 5.3.0 support


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-apc/devel/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- .cvsignore	13 Jul 2009 06:56:00 -0000	1.5
+++ .cvsignore	15 Aug 2009 05:55:05 -0000	1.6
@@ -1 +1 @@
-APC-3.1.2.tgz
+APC-3.1.3p1.tgz


Index: php-pecl-apc.spec
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-apc/devel/php-pecl-apc.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- php-pecl-apc.spec	26 Jul 2009 18:33:51 -0000	1.12
+++ php-pecl-apc.spec	15 Aug 2009 05:55:06 -0000	1.13
@@ -6,8 +6,8 @@
 
 Summary:       APC caches and optimizes PHP intermediate code
 Name:          php-pecl-apc
-Version:       3.1.2
-Release:       2%{?dist}
+Version:       3.1.3p1
+Release:       1%{?dist}
 License:       PHP
 Group:         Development/Languages
 URL:           http://pecl.php.net/package/APC
@@ -71,14 +71,14 @@ popd
 ; Enable apc extension module
 extension = apc.so
 
-; Options for the APC module version 3.1.x
+; Options for the APC module version >= 3.1.3
 
 ; 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=32
+apc.shm_size=64
 ; 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
@@ -88,6 +88,8 @@ apc.user_entries_hint=4096
 ; The number of seconds a cache entry is allowed to idle in a slot in case this
 ; cache entry slot is needed by another entry.
 apc.ttl=7200
+; use the SAPI request start time for TTL
+apc.use_request_time=1
 ; The number of seconds a user cache entry is allowed to idle in a slot in case
 ; this cache entry slot is needed by another entry.
 apc.user_ttl=7200
@@ -126,6 +128,8 @@ apc.rfc1867_freq=0
 apc.rfc1867_ttl=3600
 ; Optimize include_once and require_once calls and avoid the expensive system calls used.
 apc.include_once_override=0
+apc.lazy_classes=00
+apc.lazy_functions=0
 ; not documented
 apc.coredump_unmap=0
 apc.file_md5=0
@@ -133,6 +137,14 @@ apc.preload_path
 EOF
 
 
+%check
+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}
 %post
 %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || :
@@ -162,6 +174,11 @@ fi
 
 
 %changelog
+* 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)
+- add use_request_time, lazy_classes, lazy_functions options (apc.ini)
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.1.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pecl-apc/devel/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- sources	13 Jul 2009 06:56:00 -0000	1.6
+++ sources	15 Aug 2009 05:55:06 -0000	1.7
@@ -1 +1 @@
-0a18cf164b3e044e27edd4c1d8c3145c  APC-3.1.2.tgz
+941cf59c3f8042c1d6961b7afb1002b9  APC-3.1.3p1.tgz




More information about the fedora-extras-commits mailing list