Commit graph

17 commits

Author SHA1 Message Date
taca
24fe43b93b Add a patch to fix for CVE-2011-1148 (and more bugfix) from PHP's repository.
Bump PKGREVISION.
2011-05-16 13:08:45 +00:00
taca
7fe89eac72 Update lang/php53 package to PHP 5.3.
PHP 5.3.6 Released!

[17-Mar-2011]
The PHP development team would like to announce the immediate availability
of PHP 5.3.6. This release focuses on improving the stability of the PHP
5.3.x branch with over 60 bug fixes, some of which are security related.

Security Enhancements and Fixes in PHP 5.3.6:

* Enforce security in the fastcgi protocol parsing with fpm SAPI.
* Fixed bug #54247 (format-string vulnerability on Phar). (CVE-2011-1153)
* Fixed bug #54193 (Integer overflow in shmop_read()). (CVE-2011-1092)
* Fixed bug #54055 (buffer overrun with high values for precision ini setting).
* Fixed bug #54002 (crash on crafted tag in exif). (CVE-2011-0708)
* Fixed bug #53885 (ZipArchive segfault with FL_UNCHANGED on empty
  archive). (CVE-2011-0421)

Key enhancements in PHP 5.3.6 include:

* Upgraded bundled Sqlite3 to version 3.7.4.
* Upgraded bundled PCRE to version 8.11.
* Added ability to connect to HTTPS sites through proxy with basic
  authentication using stream_context/http/header/Proxy-Authorization.
* Added options to debug backtrace functions.
* Changed default value of ini directive serialize_precision from 100 to 17.
* Fixed Bug #53971 (isset() and empty() produce apparently spurious
  runtime error).
* Fixed Bug #53958 (Closures can't 'use' shared variables by value and
  by reference).
* Fixed bug #53577 (Regression introduced in 5.3.4 in open_basedir
  with a trailing forward slash).
* Over 60 other bug fixes.
2011-03-19 07:01:18 +00:00
taca
79d86e5bab Oops, it should be commit before CHANGE-2011 update.
Add Add patches to fix SA43328.
2011-02-21 16:38:40 +00:00
taca
38654763ca Bump PKGREVISION for DL_AUTO_VARS. 2011-02-21 16:29:15 +00:00
taca
c46af70b89 Re-enable DL_AUTO_VARS as php5 package. 2011-02-21 16:23:58 +00:00
rumko
a1d7464442 lang/php53: add the missing suhosin patch
5.3.5 was released due to a critical issue and the previous suhosin
patch still applies. Prior art of this can be seen in OpenBSD's and
FreeBSD's ports.

ok@ wiz
2011-01-30 17:58:06 +00:00
wiz
22538e12e3 Update patches for png-1.5. 2011-01-13 13:52:52 +00:00
taca
19f9412c61 Update php53 pacakge to 5.3.5.
* Add fix for VAX floating point handling (Bug #53682), r307192 from
  PHP's repositry.  (It is in PHP 5.2.17 but not in 5.3.5).


06 Jan 2011, PHP 5.3.5
- Fixed Bug #53632 (infinite loop with x87 fpu). (Scott, Rasmus)
2011-01-07 09:20:16 +00:00
taca
cc5afbf2c3 Update lang/php53 package to 5.3.4 (PHP 5.3.4).
The PHP development team is proud to announce the immediate release of PHP
5.3.4. This is a maintenance release in the 5.3 series, which includes a large
number of bug fixes.

Security Enhancements and Fixes in PHP 5.3.4:

* Fixed crash in zip extract method (possible CWE-170).
* Paths with NULL in them (foo\0bar.txt) are now considered as invalid
  (CVE-2006-7243).
* Fixed a possible double free in imap extension (Identified by Mateusz
  Kocielski). (CVE-2010-4150).
* Fixed NULL pointer dereference in
  ZipArchive::getArchiveComment. (CVE-2010-3709).
* Fixed possible flaw in open_basedir (CVE-2010-3436).
* Fixed MOPS-2010-24, fix string validation. (CVE-2010-2950).
* Fixed symbolic resolution support when the target is a DFS share.
* Fixed bug #52929 (Segfault in filter_var with FILTER_VALIDATE_EMAIL with
  large amount of data) (CVE-2010-3710).

Key Bug Fixes in PHP 5.3.4 include:

* Added stat support for zip stream.
* Added follow_location (enabled by default) option for the http stream
  support.
* Added a 3rd parameter to get_html_translation_table. It now takes a charset
  hint, like htmlentities et al.
* Implemented FR #52348, added new constant ZEND_MULTIBYTE to detect zend
  multibyte at runtime.
* Multiple improvements to the FPM SAPI.
* Over 100 other bug fixes.

For users upgrading from PHP 5.2 there is a migration guide available here,
detailing the changes between those releases and PHP 5.3.

For a full list of changes in PHP 5.3.4, see the ChangeLog. For source
downloads please visit our downloads page, Windows binaries can be found on
windows.php.net/download/.
2010-12-13 13:16:37 +00:00
taca
43e96d0eb1 - GC bug fix: http://svn.php.net/viewvc?view=revision&revision=303016
- CVE-2010-3710 (a part of SA41724)
	http://svn.php.net/viewvc?view=revision&revision=303779
- CVE-2010-3870 (a part of SA41724)
	http://svn.php.net/viewvc?view=revision&revision=304959
- CVE-2010-4150 (php-imap)
	http://svn.php.net/viewvc?view=revision&revision=305032
- CVE-2010-4156 (SA42135)
	http://svn.php.net/viewvc?view=revision&revision=305214

Bump PKGREVISION.
2010-11-25 03:43:50 +00:00
tron
14d5bd68a6 Update "php53" package to version 5.3.3. Changes since version 5.3.2:
- Rewrote var_export() to use smart_str rather than output buffering,
  prevents data disclosure if a fatal error occurs (CVE-2010-2531).
  (Scott)
- Fixed a NULL pointer dereference when processing invalid XML-RPC
  requests (Fixes CVE-2010-0397, bug #51288). (Raphael Geissert)
- Fixed SplObjectStorage unserialization problems (CVE-2010-2225).
  (Stas)
- A large number of not security related bug fixes
2010-07-24 22:23:37 +00:00
wiz
92e0cb52cb Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00
joerg
2f7fed16b3 Patch pdo-mysql to not append empty -I arguments. 2010-05-28 15:31:04 +00:00
taca
7a5e57a219 Explicitly set PKGNAME to handle PKG_OPTIONS properly, noted by
PR pkg/43170 by Nathaniel Madura.  And add suhosin-patch to distinfo.

Bump PKG_REVISION.
2010-04-16 15:19:23 +00:00
taca
3fa16a2877 Add patch for php-xmlrpc to fix CVE-2010-0397 security problem.
These patch are created from r296152 and r296153 from svn from PHP.
2010-03-27 06:23:13 +00:00
jdolecek
297e59b53b explicitly disable sqlite3 and intl, we don't want to compile them into main PHP executable;
the extensions were not actually built since necessary libraries were not found due to pkgsrc
framework, but better be explicit

fix MESSAGE_SRC to use lang/php53 locations

bump PKGREVISION
2010-03-21 17:10:01 +00:00
taca
a894886201 Importing PHP 5.3.2 as lang/php53.
This package and lang/php5 aren't installed at the same time.
Setting PHP_VERSION_DEFAULT as "5" or "53" to select PHP 5.2.x or 5.3.x.


PHP is an HTML-embedded scripting language. It is modular, with
some object-oriented features. Much of its syntax is borrowed from
C, Java and Perl with a couple of unique PHP-specific features
thrown in.  The language is designed to allow web developers to
write dynamically generated pages quickly.
2010-03-16 15:31:58 +00:00