Changes of Revision 3
[-] | Added | php-eaccelerator.changes |
1
2 +------------------------------------------------------------------- 3 +Sun Nov 25 11:34:34 UTC 2012 - cs@linux-administrator.com 4 + 5 +- update to 0.9.6.1 6 + 7 |
||
[-] | Changed | php-eaccelerator.spec ^ |
148 1
2 3 Summary: PHP accelerator, optimizer, encoder and dynamic content cacher 4 Name: php-eaccelerator 5 -Version: 0.9.5.2 6 -Release: 5%{?dist} 7 +Version: 0.9.6.1 8 +Release: 1%{?dist} 9 Epoch: 1 10 # The eaccelerator module itself is GPLv2+ 11 # The PHP control panel is under the Zend license (control.php and dasm.php) 12
13 Group: Development/Languages 14 URL: http://eaccelerator.net/ 15 Source: http://bart.eaccelerator.net/source/%{version}/eaccelerator-%{version}.tar.bz2 16 -Patch0: eaccelerator-0.9.5-rc1-config.patch 17 -Patch1: eaccelerator-0.9.5.1-nophpversioncheck.patch 18 +Patch0: eaccelerator-0.9.6.1-config.patch 19 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root 20 %if %{?php_zend_api}0 21 # Require clean ABI/API versions if available (Fedora) 22
23 %prep 24 %setup -q -n eaccelerator-%{version} 25 %patch0 -p1 -b .config 26 -%patch1 -p1 -b .nophpversioncheck 27 # Change paths in the example config, other values are changed by a patch 28 %{__sed} -i 's|/usr/lib/php4/|%{php_extdir}/|g; 29 s|/tmp/eaccelerator|%{_var}/cache/php-eaccelerator|g' \ 30
31 32 33 %changelog 34 -* Mon Nov 26 2007 Matthias Saou <http://freshrpms.net/> 1:0.9.5.2-2 35 -- Add proper "ifs" to get PHP requirements right on EL4 and EL5 (#417221). 36 - 37 -* Mon Nov 26 2007 Matthias Saou <http://freshrpms.net/> 1:0.9.5.2-1 38 -- Update to 0.9.5.2. 39 - 40 -* Wed Aug 22 2007 Matthias Saou <http://freshrpms.net/> 1:0.9.5.1-7 41 -- Rebuild for new BuildID feature. 42 - 43 -* Sun Aug 12 2007 Matthias Saou <http://freshrpms.net/> 1:0.9.5.1-6 44 -- Change the ifarch ppc* to ifnarch x86(_64) since alpha also needs to be 45 - excluded (#251302). 46 - 47 -* Mon Aug 6 2007 Matthias Saou <http://freshrpms.net/> 1:0.9.5.1-5 48 -- Update License field. 49 - 50 -* Wed Jul 25 2007 Jeremy Katz <katzj@redhat.com> - 1:0.9.5.1-4 51 -- rebuild for toolchain bug 52 - 53 -* Tue Jul 24 2007 Matthias Saou <http://freshrpms.net/> 1:0.9.5.1-3 54 -- Include patch to skip the exact PHP version check, we'll rely on our 55 - package's php_zend_api version requirement to "get it right". 56 - 57 -* Thu Jul 19 2007 Jesse Keating <jkeating@redhat.com> 1:0.9.5.1-2 58 -- Rebuild for new php 59 - 60 -* Fri Jun 22 2007 Matthias Saou <http://freshrpms.net/> 1:0.9.5.1-1 61 -- Update to 0.9.5.1. 62 -- Major spec file cleanup, based on current PHP packaging guidelines. 63 -- Set Epoch to 1, since the proper versionning is lower than previously :-( 64 -- Remove two upstreamed patches (php52fix and trac187). 65 -- Use sed instead of perl for the config file changes. 66 -- No longer use dist because we want to use the same package on F-n and n+1. 67 - 68 -* Wed May 16 2007 Matthias Saou <http://freshrpms.net/> 5.2.2_0.9.5-2 69 -- Include ppc64 %%ifarch, since it's now a Fedora target. 70 -- Include patch to fix trac bug #187. 71 - 72 -* Wed May 16 2007 Matthias Saou <http://freshrpms.net/> 5.2.2_0.9.5-1 73 -- Rebuild against PHP 5.2.2. 74 - 75 -* Mon Feb 19 2007 Matthias Saou <http://freshrpms.net/> 5.2.1_0.9.5-1 76 -- Rebuild against PHP 5.2.1. 77 - 78 -* Mon Dec 4 2006 Matthias Saou <http://freshrpms.net/> 5.2.0_0.9.5-2 79 -- Include patch to fix use of PHP 5.2 (ea #204, rh #218166). 80 - 81 -* Wed Nov 29 2006 Matthias Saou <http://freshrpms.net/> 5.2.0_0.9.5-1 82 -- Rebuild against PHP 5.2.0. 83 - 84 -* Wed Nov 8 2006 Matthias Saou <http://freshrpms.net/> 5.1.6_0.9.5-2 85 -- Change to require php-common instead of php, for fastcgi without apache. 86 - 87 -* Mon Oct 16 2006 Matthias Saou <http://freshrpms.net/> 5.1.6_0.9.5-1 88 -- Update to 0.9.5 final. 89 -- Add cleanup of the cache directory upon package removal. 90 - 91 -* Thu Sep 7 2006 Matthias Saou <http://freshrpms.net/> 5.1.6_0.9.5-0.4.rc1 92 -- Rebuild for PHP 5.1.6, eA still checks the exact PHP version it seems :-( 93 -- Put "Requires: php = %%{php_version}" back to avoid broken setups if/when 94 - PHP gets updated. 95 - 96 -* Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 5.1.4_0.9.5-0.4.rc1 97 -- FC6 rebuild. 98 - 99 -* Tue Aug 22 2006 Matthias Saou <http://freshrpms.net/> 5.1.4_0.9.5-0.3.rc1 100 -- Update to 0.9.5-rc1. 101 -- Enable shared-memory, sessions and content-caching (#201319). 102 -- Remove both patches of fixes, merged upstream. 103 -- Change from creating a full eaccelerator.ini to using the included one with 104 - path substitutions and a patch to change default values. 105 - 106 -* Tue May 23 2006 Matthias Saou <http://freshrpms.net/> 5.1.x_0.9.5-0.2.beta2 107 -- Rebuild against PHP 5.1.4. 108 - 109 -* Fri May 5 2006 Matthias Saou <http://freshrpms.net/> 5.1.x_0.9.5-0.2.beta2 110 -- Rework heavily the API version requirement detection, should work with 111 - chroots builds where PHP isn't installed outside. 112 -- Replace the CC way of getting the API version with php -i output. 113 - 114 -* Tue Apr 11 2006 Matthias Saou <http://freshrpms.net/> 5.1.x_0.9.5-0.1.beta2 115 -- Update to 0.9.5-beta2. 116 - 117 -* Tue Mar 14 2006 Matthias Saou <http://freshrpms.net/> 5.1.x_0.9.3-0.3 118 -- Pass userid 48 to configure script on PPC for sysvipc semaphores. 119 - 120 -* Tue Mar 14 2006 Matthias Saou <http://freshrpms.net/> 5.1.x_0.9.3-0.2 121 -- Update to latest eaccelerator-svn200603090012 snapshot. 122 - 123 -* Thu Feb 9 2006 Matthias Saou <http://freshrpms.net/> 5.1.x_0.9.3-0.1 124 -- Update to 5.1.x compatible snapshot. 125 -- Will try to make re2c available in Extras in order to build require it. 126 - 127 -* Mon Oct 17 2005 Matthias Saou <http://freshrpms.net/> 4.x.x_0.9.3-4 128 -- Re-add %%{?_smp_mflags}, as this was a false alarm. 129 -- Force SEM to FCNTL as the IPC version is buggy on x86_64 SMP at least. 130 - 131 -* Mon Jun 27 2005 Matthias Saou <http://freshrpms.net/> 4.x.x_0.9.3-3 132 -- Include buffer overflow patch from zoeloelip, this should fix the real 133 - problem that wasn't in fact solved with the removal of _smp_mflags. 134 -- Add explicit shm_and_disk defaults to the ini file. 135 - 136 -* Mon Jun 27 2005 Matthias Saou <http://freshrpms.net/> 4.x.x_0.9.3-2 137 -- Remove %%{?_smp_mflags}, since the module crashes otherwise (#161189). 138 - 139 -* Tue Jun 21 2005 Matthias Saou <http://freshrpms.net/> 4.x.x_0.9.3-1 140 -- Update to 0.9.3, bugfix release. 141 - 142 -* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 143 -- rebuilt 144 - 145 -* Tue Jan 11 2005 Matthias Saou <http://freshrpms.net/> 4.x.x_0.9.2a-0 146 -- Initial RPM release based on the php-mmcache spec file. 147 - 148 |
||
[+] | Deleted | eaccelerator-0.9.5-rc1-config.patch ^ |
@@ -1,22 +0,0 @@ -diff -Naupr eaccelerator-0.9.5-rc1.orig/eaccelerator.ini eaccelerator-0.9.5-rc1/eaccelerator.ini ---- eaccelerator-0.9.5-rc1.orig/eaccelerator.ini 2006-07-25 15:00:00.000000000 +0200 -+++ eaccelerator-0.9.5-rc1/eaccelerator.ini 2006-08-22 14:29:08.000000000 +0200 -@@ -15,9 +15,6 @@ - ;extension="eaccelerator.so" - zend_extension="/usr/lib/php4/eaccelerator.so" - ;zend_extension_ts="/usr/lib/php4/eaccelerator.so" --;extension="eaccelerator.dll" --;zend_extension_ts="c:\php4\eaccelerator.dll" --;zend_extension="c:\php4\eaccelerator.dll" - - ; The amount of shared memory (in megabytes) that eAccelerator will use. - ; "0" means OS default. Default value is "0". -@@ -73,7 +70,7 @@ eaccelerator.shm_max = "0" - ; all scripts which were not accessed at last "shm_ttl" seconds from shared - ; memory. Default value is "0" that means - don't remove any files from - ; shared memory. --eaccelerator.shm_ttl = "0" -+eaccelerator.shm_ttl = "3600" - - ; When eAccelerator fails to get shared memory for new script it tryes to - ; remove old script if the previous try was made more then "shm_prune_period" | ||
[+] | Deleted | eaccelerator-0.9.5.1-nophpversioncheck.patch ^ |
@@ -1,38 +0,0 @@ -diff -Naupr eaccelerator-0.9.5.1.orig/eaccelerator.c eaccelerator-0.9.5.1/eaccelerator.c ---- eaccelerator-0.9.5.1.orig/eaccelerator.c 2006-09-15 17:46:10.000000000 +0200 -+++ eaccelerator-0.9.5.1/eaccelerator.c 2007-07-24 13:02:51.000000000 +0200 -@@ -1937,24 +1937,6 @@ static void eaccelerator_globals_dtor(ze - - static void register_eaccelerator_as_zend_extension(); - --static int eaccelerator_check_php_version(TSRMLS_D) { -- zval v; -- int ret = 0; -- if (zend_get_constant("PHP_VERSION", sizeof("PHP_VERSION")-1, &v TSRMLS_CC)) { -- if (Z_TYPE(v) == IS_STRING && -- Z_STRLEN(v) == sizeof(PHP_VERSION)-1 && -- strcmp(Z_STRVAL(v),PHP_VERSION) == 0) { -- ret = 1; -- } else { -- zend_error(E_CORE_WARNING,"[%s] This build of \"%s\" was compiled for PHP version %s. Rebuild it for your PHP version (%s) or download precompiled binaries.\n", EACCELERATOR_EXTENSION_NAME,EACCELERATOR_EXTENSION_NAME,PHP_VERSION,Z_STRVAL(v)); -- } -- zval_dtor(&v); -- } else { -- zend_error(E_CORE_WARNING,"[%s] This build of \"%s\" was compiled for PHP version %s. Rebuild it for your PHP version.\n", EACCELERATOR_EXTENSION_NAME,EACCELERATOR_EXTENSION_NAME,PHP_VERSION); -- } -- return ret; --} -- - static void make_hash_dirs(char *fullpath, int lvl) { - int j; - int n = strlen(fullpath); -@@ -1997,9 +1979,6 @@ PHP_MINIT_FUNCTION(eaccelerator) { - } - #endif - } -- if (!eaccelerator_check_php_version(TSRMLS_C)) { -- return FAILURE; -- } - ZEND_INIT_MODULE_GLOBALS(eaccelerator, eaccelerator_init_globals, NULL); - REGISTER_INI_ENTRIES(); - REGISTER_STRING_CONSTANT("EACCELERATOR_VERSION", EACCELERATOR_VERSION, CONST_CS | CONST_PERSISTENT); | ||
[+] | Added | eaccelerator-0.9.6.1-config.patch ^ |
@@ -0,0 +1,12 @@ +diff -Naupr eaccelerator-0.9.5-rc1.orig/eaccelerator.ini eaccelerator-0.9.5-rc1/eaccelerator.ini +--- eaccelerator-0.9.5-rc1.orig/eaccelerator.ini 2006-07-25 15:00:00.000000000 +0200 ++++ eaccelerator-0.9.5-rc1/eaccelerator.ini 2006-08-22 14:29:08.000000000 +0200 +@@ -73,7 +70,7 @@ eaccelerator.shm_max = "0" + ; all scripts which were not accessed at last "shm_ttl" seconds from shared + ; memory. Default value is "0" that means - don't remove any files from + ; shared memory. +-eaccelerator.shm_ttl = "0" ++eaccelerator.shm_ttl = "3600" + + ; When eAccelerator fails to get shared memory for new script it tryes to + ; remove old script if the previous try was made more then "shm_prune_period" | ||
Changed | eaccelerator-0.9.6.1.tar.bz2 ^ |