Commit graph

74 commits

Author SHA1 Message Date
imil
be4d85b1a9 Uncomment the pid parameter for php-fpm.conf so the pidfile is created and
rc.d script can really start / stop php-fpm. Bump PKGREVISION.
2013-02-28 21:28:20 +00:00
taca
592c08d1e9 Update php53 to 5.3.22.
PHP                                                                        NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
21 Feb 2013, PHP 5.3.22

- Zend Engine:
  . Fixed bug #64099 (Wrong TSRM usage in zend_Register_class alias). (Johannes)
  . Fixed bug #63899 (Use after scope error in zend_compile). (Laruence)

- Core
  . Fixed bug #63943 (Bad warning text from strpos() on empty needle).
    (Laruence)

- Date:
  . Fixed bug #55397 (comparsion of incomplete DateTime causes SIGSEGV).
    (Laruence, Derick)

- FPM:
  . Fixed bug #63999 (php with fpm fails to build on Solaris 10 or 11). (Adam)

- SOAP
  . Added check that soap.wsdl_cache_dir conforms to open_basedir
    (CVE-2013-1635). (Dmitry)
  . Disabled external entities loading (CVE-2013-1643). (Dmitry)

- SPL:
  . Fixed bug #64106 (Segfault on SplFixedArray[][x] = y when extended). (Nikita Popov)
2013-02-22 03:06:16 +00:00
taca
f06824ef00 Fix build problem of graphics/php-gd with png 1.6.0. 2013-02-17 13:10:13 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
taca
1eb80a172c Update php53 to 5.3.21.
* pkgsrc change: use locally recreated suhosin patch file.


17 Jan 2013, PHP 5.3.21

- Zend Engine:
  . Fixed bug #63762 (Sigsegv when Exception::$trace is changed by user).
    (Johannes)

- cURL extension:
  . Fixed bug (segfault due to libcurl connection caching). (Pierrick)
  . Fixed bug #63795 (CURL >= 7.28.0 no longer support value 1 for
    CURLOPT_SSL_VERIFYHOST). (Pierrick)
  . Fixed bug #63352 (Can't enable hostname validation when using curl stream
    wrappers). (Pierrick)
  . Fixed bug #55438 (Curlwapper is not sending http header randomly).
    (phpnet@lostreality.org, Pierrick)
2013-01-17 16:18:24 +00:00
taca
2437e085ba Update php53 to 5.3.20.
20 Dec 2012, PHP 5.3.20

- Zend Engine:
  . Fixed bug #63635 (Segfault in gc_collect_cycles). (Dmitry)
  . Fixed bug #63512 (parse_ini_file() with INI_SCANNER_RAW removes quotes
    from value). (Pierrick)
  . Fixed bug #63468 (wrong called method as callback with inheritance).
    (Laruence)

- Core:
  . Fixed bug #63451 (config.guess file does not have AIX 7 defined,
    shared objects are not created). (kemcline at au1 dot ibm dot com)
  . Fixed bug #63377 (Segfault on output buffer).
    (miau dot jp at gmail dot com, Laruence)

- Apache2 Handler SAPI:
  . Enabled Apache 2.4 configure option for Windows (Pierre, Anatoliy)

- Date:
  . Fixed bug #63435 (Datetime::format('u') sometimes wrong by 1 microsecond).
    (Remi)

- Fileinfo:
  . Fixed bug #63248 (Load multiple magic files from a directory under Windows).
    (Anatoliy)
  . Fixed bug #63590 (Different results in TS and NTS under Windows).
    (Anatoliy)

- FPM:
  . Fixed bug #63581 (Possible null dereference and buffer overflow). (Remi)

- Imap:
  . Fixed bug #63126 (DISABLE_AUTHENTICATOR ignores array). (Remi)

- MySQLnd:
  . Fixed bug #63398 (Segfault when polling closed link). (Laruence)

- Reflection:
  . Fixed Bug #63614 (Fatal error on Reflection). (Laruence)

- SOAP
  . Fixed bug #63271 (SOAP wsdl cache is not enabled after initial requests).
    (John Jawed, Dmitry)
2013-01-07 14:23:57 +00:00
taca
4e756c61f9 Update php53 to 5.3.19.
22 Nov 2012, PHP 5.3.19

- Core
  . Fixed bug #63241 (PHP fails to open Windows deduplicated files).
    (daniel dot stelter-gliese at innogames dot de)
  . Fixed bug #62444 (Handle leak in is_readable on windows).
    (krazyest at seznam dot cz)

- Libxml
  . Fixed bug #63389 (Missing context check on libxml_set_streams_context()
    causes memleak). (Laruence)

- Mbstring:
  . Fixed bug #63447 (max_input_vars doesn't filter variables when
    mbstring.encoding_translation = On). (Laruence)

- MySQL:
  . Fixed compilation failure on mixed 32/64 bit systems. (Andrey)

- OCI8:
  . Fixed bug #63265 (Add ORA-00028 to the PHP_OCI_HANDLE_ERROR macro)
    (Chris Jones)

- PCRE:
  . Fixed bug #63055 (Segfault in zend_gc with SF2 testsuite).
    (Dmitry, Laruence)
  . Fixed bug #63284 (Upgrade PCRE to 8.31). (Anatoliy)

- PDO:
  . Fixed bug #63235 (buffer overflow in use of SQLGetDiagRec).
    (Martin Osvald, Remi)

- PDO_pgsql:
  . Fixed bug #62593 (Emulate prepares behave strangely with PARAM_BOOL).
    (Will Fitch)

- Streams:
  . Fixed bug #63240 (stream_get_line() return contains delimiter string).
    (Tjerk, Gustavo)

- Phar:
  . Fixed bug #63297 (Phar fails to write an openssl based signature).
    (Anatoliy)
2012-11-23 13:20:03 +00:00
taca
dd70c7b639 Fix build problem when suhosin option enabled with a little dirty way.
Since this problem was build problem with suhosin option, no PKGREVISION
bump.

Thanks Amitai Schlair who noted this problem via private mail.
2012-10-20 00:29:40 +00:00
taca
0a94aaa50f Update php53 to 5.3.18.
18 Oct 2012, PHP 5.3.18

- Core:
  . Fixed bug #63111 (is_callable() lies for abstract static method). (Dmitry)
  . Fixed bug #63093 (Segfault while load extension failed in zts-build).
    (Laruence)
  . Fixed bug #62976 (Notice: could not be converted to int when comparing
    some builtin classes). (Laruence)
  . Fixed bug #61767 (Shutdown functions not called in certain error
    situation). (Dmitry)
  . Fixed bug #61442 (exception threw in __autoload can not be catched).
    (Laruence)
  . Fixed bug #60909 (custom error handler throwing Exception + fatal error
    = no shutdown function). (Dmitry)

- cURL:
  . Fixed bug #62085 (file_get_contents a remote file by Curl wrapper will
    cause cpu Soaring). (Pierrick)

- FPM:
  . Fixed bug #62954 (startup problems fpm / php-fpm). (fat)
  . Fixed bug #62886 (PHP-FPM may segfault/hang on startup). (fat)
  . Fixed bug #63085 (Systemd integration and daemonize). (remi, fat)
  . Fixed bug #62947 (Unneccesary warnings on FPM). (fat)
  . Fixed bug #62887 (Only /status?plain&full gives "last request cpu"). (fat)
  . Fixed bug #62216 (Add PID to php-fpm init.d script). (fat)

- Intl:
  . Fix bug #62915 (defective cloning in several intl classes). (Gustavo)

- SOAP
  . Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
    (Dmitry)

- SPL:
  . Bug #62987 (Assigning to ArrayObject[null][something] overrides all
    undefined variables). (Laruence)
2012-10-19 14:57:02 +00:00
asau
88feb4ac62 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-02 20:11:34 +00:00
taca
db7d0fc1db Re-enable suhosin PKG_OPTION. 2012-09-15 00:08:10 +00:00
taca
7f54231d35 Update php53 to 5.3.17 (PHP 5.3.17).
13 Sep 2012, PHP 5.3.17

- Core:
  . Fixed bug (segfault while build with zts and GOTO vm-kind). (Laruence)
  . Fixed bug #62955 (Only one directive is loaded from "Per Directory Values"
    Windows registry). (aserbulov at parallels dot com)
  . Fixed bug #62763 (register_shutdown_function and extending class).
    (Laruence)
  . Fixed bug #62744 (dangling pointers made by zend_disable_class). (Laruence)
  . Fixed bug #62716 (munmap() is called with the incorrect length).
    (slangley@google.com)
  . Fixed bug ##62460 (php binaries installed as binary.dSYM). (Reeze Xia)

- CURL:
  . Fixed bug #62839 (curl_copy_handle segfault with CURLOPT_FILE). (Pierrick)

- DateTime:
  . Fixed bug #62852 (Unserialize invalid DateTime causes crash).
    (reeze.xia@gmail.com)

- Intl:
  . Fix null pointer dereferences in some classes of ext/intl. (Gustavo)

- MySQLnd:
  . Fixed bug #62885 (mysqli_poll - Segmentation fault). (Laruence)

- PDO:
  . Fixed bug #62685 (Wrong return datatype in PDO::inTransaction()). (Laruence)

- Session:
  . Fixed bug (segfault due to retval is not initialized). (Laruence)

- SPL:
  . Fixed bug #62904 (Crash when cloning an object which inherits SplFixedArray)
    (Laruence)

- Enchant:
  . Fixed bug #62838 (enchant_dict_quick_check() destroys zval, but fails to
  initialize it). (Tony, Mateusz Goik).

16 Aug 2012, PHP 5.3.16

- Core:
  . Fixed bug #60194 (--with-zend-multibyte and --enable-debug reports LEAK
    with run-test.php). (Laruence)

- CURL:
  . Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false).
    (r.hampartsumyan@gmail.com, Laruence)

- DateTime:
  . Fixed Bug #62500 (Segfault in DateInterval class when extended). (Laruence)

- Reflection:
  . Fixed bug #62715 (ReflectionParameter::isDefaultValueAvailable() wrong
    result). (Laruence)

- SPL:
  . Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance
    gives Segmentation fault). (Laruence, Gustavo)
2012-09-14 15:52:08 +00:00
taca
9bfa9e200d Update php53 to 5.3.16 (PHP 5.3.16).
PHP                                                                        NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
16 Aug 2012, PHP 5.3.16

- Core:
  . Fixed bug #60194 (--with-zend-multibyte and --enable-debug reports LEAK
    with run-test.php). (Laruence)

- CURL:
  . Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false).
    (r.hampartsumyan@gmail.com, Laruence)

- DateTime:
  . Fixed Bug #62500 (Segfault in DateInterval class when extended). (Laruence)

- Reflection:
  . Fixed bug #62715 (ReflectionParameter::isDefaultValueAvailable() wrong
    result). (Laruence)

- SPL:
  . Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance
    gives Segmentation fault). (Laruence, Gustavo)
2012-08-17 15:32:31 +00:00
fhajny
e34891812e Fix a silly bug in latest PHP. Arbitrary symbol cannot be 'sun', which
is taken on all SunOS platforms.
2012-07-31 12:23:12 +00:00
obache
efa783919f readline support require GNU readline. 2012-07-27 00:16:47 +00:00
fhajny
03d4d96dd4 Fix file descriptor leak on SunOS. Bump PKGREVISION.
See https://bugs.php.net/bug.php?id=47675
2012-07-25 13:20:30 +00:00
fhajny
bf57f37fc3 Add support for readline (for interactive PHP CLI). 2012-07-25 13:18:43 +00:00
taca
831021c438 Update php53 pacakge to 5.3.15 (PHP 5.3.15).
19-July-2012

o Zend Engine
	* Fixed bug #51094 (parse_ini_file() with INI_SCANNER_RAW cuts a value
	  that includes a semi-colon)

o COM
	* Fixed bug #62146 com_dotnet cannot be built shared

o Core
	* Fixed potential overflow in _php_stream_scandir, CVE-2012-2688
	* Fixed bug #62432 (ReflectionMethod random corrupt memory on high
	  concurrent)
	* Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt)

o Fileinfo
	* Fixed magic file regex support

o FPM
	* Fixed bug #61045 (fpm don't send error log to fastcgi clients)
	* Fixed bug #61835 (php-fpm is not allowed to run as root)
	* Fixed bug #61295 (php-fpm should not fail with commented 'user' for
	  non-root start)
	* Fixed bug #61026 (FPM pools can listen on the same address)
	* Fixed bug #62033 (php-fpm exits with status 0 on some failures to
	  start)
	* Fixed bug #62153 (when using unix sockets, multiples FPM instances
	  can be launched without errors)
	* Fixed bug #62160 (Add process.priority to set nice(2) priorities)
	* Fixed bug #61218 (FPM drops connection while receiving some binary
	  values in FastCGI requests)
	* Fixed bug #62205 (php-fpm segfaults (null passed to strstr))

o Intl
	* Fixed bug #62083 (grapheme_extract() memory leaks)
	* Fixed bug #62081 (IntlDateFormatter constructor leaks memory when
	  called twice)
	* Fixed bug #62070 (Collator::getSortKey() returns garbage)
	* Fixed bug #62017 (datefmt_create with incorrectly encoded timezone
	  leaks pattern)
	* Fixed bug #60785 (memory leak in IntlDateFormatter constructor)

o JSON
	* Reverted fix for bug #61537

o Phar
	* Fixed bug #62227 (Invalid phar stream path causes crash)

o Reflection
	* Fixed bug #62384 (Attempting to invoke a Closure more than once
	  causes segfault)
	* Fixed bug #62202 (ReflectionParameter::getDefaultValue() memory
	  leaks with constant)

o SPL
	* Fixed bug #62262 (RecursiveArrayIterator does not implement Countable)

o SQLite
	* Fixed open_basedir bypass, CVE-2012-3365

o XML Write
	* Fixed bug #62064 (memory leak in the XML Writer module)

o Zip
	* Upgraded libzip to 0.10
2012-07-20 12:28:17 +00:00
taca
6f7b634b24 Limit upper version of PHP. 2012-06-16 05:24:10 +00:00
taca
15d9349a82 Update php53 to 5.3.14 (PHP 5.3.14).
Version 5.3.14
06-June-2012

* CLI SAPI
    - Fixed bug #61546 (functions related to current script failed when
      chdir() in cli sapi)

* Core
    - Fixed CVE-2012-2143
    - Fixed bug #62005 (unexpected behavior when incrementally assigning to a
      member of a null object)
    - Fixed bug #61730 (Segfault from array_walk modifying an array passed by
      reference)
    - Fixed missing bound check in iptcparse()
    - Fixed bug #61764 ('I' unpacks n as signed if n > 2^31-1 on LP64)
    - Fixed bug #54197 ([PATH=] sections incompatibility with
      user_ini.filename set to null)
    - Fixed bug #61713 (Logic error in charset detection for htmlentities)
    - Fixed bug #61991 (long overflow in realpath_cache_get())
    - Changed php://fd to be available only for CLI.

* CURL
    - Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction)

* COM
    - Fixed bug #62146 com_dotnet cannot be built shared

* Fileinfo
    - Fixed bug #61812 (Uninitialised value used in libmagic)

* Iconv
    - Fixed a bug that iconv extension fails to link to the correct library
      when another extension makes use of a library that links to the iconv
      library. See https://bugs.gentoo.org/show_bug.cgi?id=364139 for detail

* Intl
    - Fixed bug #62082 (Memory corruption in internal function
      get_icu_disp_value_src_php()

* JSON
    - Fixed bug #61537 (json_encode() incorrectly truncates/discards
      information)

* PDO
    - Fixed bug #61755 (A parsing bug in the prepared statements can lead to
      access violations)

* Phar
    - Fixed bug #61065 (Secunia SA44335)

* Streams
    - Fixed bug #61961 (file_get_contents leaks when access empty file with
      maxlen set)
2012-06-16 01:27:24 +00:00
sbd
21792a9296 Recursive PKGREVISION bump for libxml2 buildlink addition. 2012-06-14 07:43:06 +00:00
taca
ad420cee3f Add fix for http://secunia.com/advisories/44335/, also CVE-2012-2386.
Bump PKGREVISION.
2012-06-12 14:45:51 +00:00
abs
5468552f2a Work around (FSVO work around) VAX's lack of inf. 2012-06-03 21:23:10 +00:00
taca
0698adcb8a Add a patch to fix for CVE_2012-2143 from PHP's repository.
Bump PKGREVISION.
2012-05-31 15:58:10 +00:00
marino
f7eb64e2e0 lang/php53: Fix unwanted directory removal
Replace OWN_DIRS with @pkgdir to avoid unwanted deletion of PHP extension
directory when the only extension is deinstalled.
2012-05-19 09:51:34 +00:00
taca
90b3cea3b6 * Remove duplicate definition of PHP_EXTENSION_DIR from Makefile.php. 2012-05-13 16:11:19 +00:00
taca
1ed9a4228a Update php53 pacakge to 5.3.13 (PHP 5.3.13).
08 May 2012, PHP 5.3.13
- CGI
  . Improve fix for PHP-CGI query string parameter vulnerability, CVE-2012-2311.
    (Stas)
2012-05-09 06:52:51 +00:00
taca
e064333372 Fix miss spelling in comment: s/CVS-/CVE-/. 2012-05-06 14:31:20 +00:00
taca
94595e0e08 Additional fix for CVS-2012-1823; it wasn't fixed by PHP 5.3.12.
Bump PKGREVISION.
2012-05-06 14:27:46 +00:00
taca
ee5b63f43a Update php53 package to 5.3.12.
03 Mar 2012, PHP 5.3.12
- Fix PHP-CGI query string parameter vulnerability, CVE-2012-1823. (Rasmus)
2012-05-04 01:48:41 +00:00
taca
83d64de9b4 Update php53 package to 5.3.11.
For full changes, please refer <http://www.php.net/ChangeLog-5.php#5.3.11>.

Security Enhancements:

* Fixed bug #54374 (Insufficient validating of upload name leading to
  corrupted $_FILES indices). (CVE-2012-1172).
* Add open_basedir checks to readline_write_history and readline_read_history.
* Fixed bug #61043 (Regression in magic_quotes_gpc fix for CVE-2012-0831).

Key enhancements in these releases include:

* Added debug info handler to DOM objects.
* Fixed bug #61172 (Add Apache 2.4 support).
2012-04-26 14:26:32 +00:00
taca
7d914d3d0d Add a patch to fix possible newline injection problem of header() function
from PHP 5.4.0.  This is a small security fix.

Bump PKGREVISION.
2012-04-05 03:17:26 +00:00
taca
e03f6ca4a2 Update php53 package to 5.3.10. Below security fix is already included
in php-5.3.9nb2 package.

02 Feb 2012, PHP 5.3.10

- Core:
  . Fixed arbitrary remote code execution vulnerability reported by Stefan
    Esser, CVE-2012-0830. (Stas, Dmitry)
2012-02-03 03:10:33 +00:00
taca
d481331d82 And more fix for memory leaks by revision 323013 from PHP's repository.
Hopefully, these 18 minutes is allowed to avoid to PKGREVISION bump.
2012-02-02 16:19:44 +00:00
taca
abdd26b3ad Add fix for "Critical PHP Remote Vulnerability Introduced in Fix for PHP
Hashtable Collision DOS" by revision 323007 from PHP's repository.

http://thexploit.com/sec/critical-php-remote-vulnerability-introduced-in-fix-for-php-hashtable-collision-dos/

Bump PKGREVISION.
2012-02-02 16:00:40 +00:00
taca
c809a97f7a Trying to fix build problem on NetBSD current recently. 2012-02-02 15:44:09 +00:00
taca
f36adb398d Use official suhosin-patch for PHP 5.3.9 instead of local one based on
for PHP5.3.7.

Bump PKGREVISION.
2012-01-20 03:22:08 +00:00
taca
a2947ebee2 Fix build problem of databases/php-mssql. 2012-01-12 12:58:47 +00:00
taca
c468a4b44b Update php53 pacakge to 5.3.9; PHP 5.3.9.
suhosin-patch is provided as modified one; only copyright year.


PHP 5.3.9 Released!

[10-Jan-2012] The PHP development team would like to announce the immediate
availability of PHP 5.3.9. This release focuses on improving the stability of
the PHP 5.3.x branch with over 90 bug fixes, some of which are security
related.

Security Enhancements and Fixes in PHP 5.3.9:

	* Added max_input_vars directive to prevent attacks based on hash
	  collisions. (CVE-2011-4885)
	* Fixed bug #60150 (Integer overflow during the parsing of invalid
          exif header). (CVE-2011-4566)

Key enhancements in PHP 5.3.9 include:

	* Fixed bug #55475 (is_a() triggers autoloader, new optional 3rd
          argument to is_a and is_subclass_of).
	* Fixed bug #55609 (mysqlnd cannot be built shared)
	* Many changes to the FPM SAPI module

For a full list of changes in PHP 5.3.9, see the ChangeLog. For source
downloads please visit our downloads page, Windows binaries can be found on
windows.php.net/download/.

All users are strongly encouraged to upgrade to PHP 5.3.9.
2012-01-11 14:53:35 +00:00
taca
7466fd84ff Wrong distinfo was accidently generated.
Noted by David Wetzel on netbsd-users.
2012-01-04 02:31:47 +00:00
taca
4165c06674 Add security fix for http://www.ocert.org/advisories/ocert-2011-003.html
from r321038 from PHP's repository.

Bump PKGREVISION.
2012-01-03 16:23:14 +00:00
taca
38d4783600 A small correction in comment text of the patch. 2011-10-20 14:30:55 +00:00
taca
078db828f9 Add fix for 2011-3379 from r317183 from PHP's repository.
Bump PKGREVISION.
2011-10-20 13:32:20 +00:00
taca
2f40ca9dfe Revert accidental commit with previous commit. 2011-10-20 12:39:33 +00:00
taca
203e457e90 Re-add suhosin-patch to distinfo. 2011-10-20 12:38:24 +00:00
jklos
9e67ff9ce2 Atomic operations via gcc are not supported on many archs. Allow them only
on amd64, powerpc, i386 and alpha.
2011-10-06 05:34:00 +00:00
taca
6b79674599 Add some patches to fix build problem of databases/php-mssql with recent
updated databases/freetds.
2011-09-12 16:24:32 +00:00
taca
5055825758 Update php53 package to 5.3.8.
(crypt()'s problem was already fixed our php53-5.3.7nb1 package.)


PHP                                                                        NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
23 Aug 2011, PHP 5.3.8

- Core:
  . Fixed bug #55439 (crypt() returns only the salt for MD5). (Stas)

- OpenSSL:
  . Reverted a change in timeout handling restoring PHP 5.3.6 behavior,
    as the new behavior caused mysqlnd SSL connections to hang (#55283).
    (Pierre, Andrey, Johannes)
2011-08-23 22:22:27 +00:00
obache
193effbb0a missing bump PKGREVISION of last fix for php53 MD5 password encryption problem. 2011-08-22 11:43:30 +00:00
taca
af8cd37640 Add fix for MD5 password encryption problem (r315218 from PHP repository).
Bump PKGREVISION.
2011-08-22 09:40:00 +00:00