Commit graph

98 commits

Author SHA1 Message Date
taca
af211b350d Update php55 to 5.5.4, approved by wiz@.
18 Sep 2013, PHP 5.5.4

- Core:
  . Fixed bug #60598 (cli/apache sapi segfault on objects manipulation).
    (Laruence)
  . Improved fputcsv() to allow specifying escape character.
  . Fixed bug #65490 (Duplicate calls to get lineno & filename for
    DTRACE_FUNCTION_*). (Chris Jones)
  . Fixed bug #65483 (quoted-printable encode stream filter incorrectly encoding
    spaces). (Michael M Slusarz)
  . Fixed bug #65470 (Segmentation fault in zend_error() with
    --enable-dtrace). (Chris Jones, Kris Van Hees)
  . Fixed bug #65225 (PHP_BINARY incorrectly set). (Patrick Allaert)
  . Fixed bug #62692 (PHP fails to build with DTrace). (Chris Jones, Kris Van Hees)
  . Fixed bug #61759 (class_alias() should accept classes with leading
    backslashes). (Julien)
  . Fixed bug #46311 (Pointer aliasing issue results in miscompile on gcc4.4).
    (Nikita Popov)

- cURL:
  . Fixed bug #65458 (curl memory leak). (Adam)

- Datetime:
  . Fixed bug #65554 (createFromFormat broken when weekday name is followed
    by some delimiters). (Valentin Logvinskiy, Stas).
  . Fixed bug #65564 (stack-buffer-overflow in DateTimeZone stuff caught
    by AddressSanitizer). (Remi).

- OPCache:
  . Fixed bug #65561 (Zend Opcache on Solaris 11 x86 needs ZEND_MM_ALIGNMENT=4).
    (Terry Ellison)

- Openssl:
  . Fixed bug #64802 (openssl_x509_parse fails to parse subject properly in
    some cases). (Mark Jones)

- Session:
  . Fixed bug #65475 (Session ID is not initialized properly when strict session
    is enabled). (Yasuo)
  . Fixed bug #51127/#65359 Request #25630/#43980/#54383 (Added php_serialize
    session serialize handler that uses plain serialize()). (Yasuo)

- Standard:
  . Fix issue with return types of password API helper functions. Found via
    static analysis by cjones. (Anthony Ferrara)
2013-09-21 16:08:37 +00:00
taca
b04633b3e7 Update php54 to 5.4.20, approved by wiz@.
19 Sep 2013, PHP 5.4.20

- Core:
  . Fixed bug #60598 (cli/apache sapi segfault on objects manipulation).
    (Laruence)
  . Fixed bug #65579 (Using traits with get_class_methods causes segfault).
    (Adam)
  . Fixed bug #65490 (Duplicate calls to get lineno & filename for
    DTRACE_FUNCTION_*). (Chris Jones)
  . Fixed bug #65483 (quoted-printable encode stream filter incorrectly encoding
    spaces). (Michael M Slusarz)
  . Fixed bug #65481 (shutdown segfault due to serialize) (Mike)
  . Fixed bug #65470 (Segmentation fault in zend_error() with
    --enable-dtrace). (Chris Jones, Kris Van Hees)
  . Fixed bug #65372 (Segfault in gc_zval_possible_root when return reference
    fails). (Laruence)
  . Fixed bug #65304 (Use of max int in array_sum). (Laruence)
  . Fixed bug #65291 (get_defined_constants() causes PHP to crash in a very
    limited case). (Arpad)
  . Fixed bug #65225 (PHP_BINARY incorrectly set). (Patrick Allaert)
  . Improved fix for bug #63186 (compile failure on netbsd). (Matteo)
  . Fixed bug #62692 (PHP fails to build with DTrace). (Chris Jones, Kris Van Hees)
  . Fixed bug #61759 (class_alias() should accept classes with leading
    backslashes). (Julien)
  . Fixed bug #61345 (CGI mode - make install don't work). (Michael Heimpold)
  . Cherry-picked some DTrace build commits (allowing builds on Linux,
    bug #62691, and bug #63706) from PHP 5.5 branch
  . Fixed bug #61268 (--enable-dtrace leads make to clobber
    Zend/zend_dtrace.d) (Chris Jones)

- cURL:
  . Fixed bug #65458 (curl memory leak). (Adam)

- Datetime:
  . Fixed bug #65554 (createFromFormat broken when weekday name is followed
    by some delimiters). (Valentin Logvinskiy, Stas).
  . Fixed bug #65564 (stack-buffer-overflow in DateTimeZone stuff caught
    by AddressSanitizer). (Remi).

- Openssl:
  . Fixed bug #64802 (openssl_x509_parse fails to parse subject properly in
    some cases). (Mark Jones)

- Session:
  . Fixed bug #62129 (rfc1867 crashes php even though turned off). (gxd305 at
    gmail dot com)
  . Fixed bug #50308 (session id not appended properly for empty anchor tags).
    (Arpad)
  . Fixed possible buffer overflow under Windows. Note: Not a security fix.
    (Yasuo)
  . Changed session.auto_start to PHP_INI_PERDIR. (Yasuo)

- SOAP:
  . Fixed bug #65018 (SoapHeader problems with SoapServer). (Dmitry)

- SPL:
  . Fixed bug #65328 (Segfault when getting SplStack object Value). (Laruence)

- PDO:
  . Fixed bug #64953 (Postgres prepared statement positional parameter
    casting). (Mike)

- Phar:
  . Fixed bug #65028 (Phar::buildFromDirectory creates corrupt archives for
    some specific contents). (Stas)

- Pgsql:
  . Fixed bug #65336 (pg_escape_literal/identifier() silently returns false).
    (Yasuo)
  . Fixed bug #62978 (Disallow possible SQL injections with pg_select()/pg_update()
    /pg_delete()/pg_insert()). (Yasuo)

- Zlib:
  . Fixed bug #65391 (Unable to send vary header user-agent when
    ob_start('ob_gzhandler') is called) (Mike)
2013-09-21 16:06:07 +00:00
taca
558212ae2d Update php55 to 5.5.3.
22 Aug 2013, PHP 5.5.3

- Openssl:
  . Fixed UMR in fix for CVE-2013-4248.
2013-08-23 03:12:49 +00:00
taca
0ee7ff105d Update php54 to 5.4.19.
22 Aug 2013, PHP 5.4.19
- Core:
  . Fixed bug #64503 (Compilation fails with error: conflicting types for
    'zendparse'). (Laruence)

- Openssl:
  . Fixed UMR in fix for CVE-2013-4248.
2013-08-23 03:11:55 +00:00
taca
bea2b7500c Need to update PHP55_VERSION. Thanks to joerg@ who noted to me. 2013-08-18 20:56:32 +00:00
taca
4dd9976760 Update php54 to 5.4.18.
15 Aug 2013, PHP 5.4.18

- Core:
  . Fixed value of FILTER_SANITIZE_FULL_SPECIAL_CHARS constant (previously was
    erroneously set to FILTER_SANITIZE_SPECIAL_CHARS value). (Andrey
    avp200681 gmail com).
  . Fixed bug #65254 (Exception not catchable when exception thrown in autoload
    with a namespace). (Laruence)
  . Fixed bug #65108 (is_callable() triggers Fatal Error).
    (David Soria Parra, Laruence)
  . Fixed bug #65088 (Generated configure script is malformed on OpenBSD).
    (Adam)
  . Fixed bug #62964 (Possible XSS on "Registered stream filters" info).
    (david at nnucomputerwhiz dot com)
  . Fixed bug #62672 (Error on serialize of ArrayObject). (Lior Kaplan)
  . Fixed bug #62475 (variant_* functions causes crash when null given as an
    argument). (Felipe)
  . Fixed bug #60732 (php_error_docref links to invalid pages). (Jakub Vrana)
  . Fixed bug #65226 (chroot() does not get enabled). (Anatol)

- CGI:
  . Fixed Bug #65143 (Missing php-cgi man page). (Remi)

- CLI server:
  . Fixed bug #65066 (Cli server not responsive when responding with 422 http
    status code). (Adam)

- CURL:
  . Fixed bug #62665 (curl.cainfo doesn't appear in php.ini). (Lior Kaplan)

- FPM:
  . Fixed bug #63983 (enabling FPM borks compile on FreeBSD).
    (chibisuke at web dot de, Felipe)

- FTP:
  . Fixed bug #65228 (FTPs memory leak with SSL).
    (marco dot beierer at mbsecurity dot ch)

- GMP:
  . Fixed bug #65227 (Memory leak in gmp_cmp second parameter). (Felipe)

- Imap:
  . Fixed bug #64467 (Segmentation fault after imap_reopen failure).
    (askalski at gmail dot com)

- Intl:
  . Fixed bug #62759 (Buggy grapheme_substr() on edge case). (Stas)
  . Fixed bug #61860 (Offsets may be wrong for grapheme_stri* functions).
    (Stas)

- mysqlnd:
  . Fixed segfault in mysqlnd when doing long prepare. (Andrey)

- ODBC:
  . Fixed bug #61387 (NULL valued anonymous column causes segfault in
    odbc_fetch_array). (Brandon Kirsch)

- Openssl:
  . Fixed handling null bytes in subjectAltName (CVE-2013-4073).
    (Christian Heimes)

- PDO:
  . Allowed PDO_OCI to compile with Oracle Database 12c client libraries.
    (Chris Jones)

- PDO_dblib:
  . Fixed bug #65219 (PDO/dblib not working anymore ("use dbName" not sent)).
    (Stanley Sufficool)

- PDO_pgsql:
  . Fixed meta data retrieve when OID is larger than 2^31. (Yasuo)

- Phar:
  . Fixed Bug #65142 (Missing phar man page). (Remi)

- Session
  . Fixed bug #62535 ($_SESSION[$key]["cancel_upload"] doesn't work as
    documented). (Arpad)
  . Fixed bug #35703 (when session_name("123") consist only digits,
    should warning). (Yasuo)
  . Fixed bug #49175 (mod_files.sh does not support hash bits). Patch by
    oorza2k5 at gmail dot com (Yasuo)

- Sockets:
  . Implemented FR #63472 (Setting SO_BINDTODEVICE with socket_set_option).
    (Damjan Cvetko)

- SPL:
  . Fixed bug #65136 (RecursiveDirectoryIterator segfault). (Laruence)
  . Fixed bug #61828 (Memleak when calling Directory(Recursive)Iterator
    /Spl(Temp)FileObject ctor twice). (Laruence)
  . Fixed bug #60560 (SplFixedArray un-/serialize, getSize(), count() return 0,
    keys are strings). (Adam)

- XML:
  . Fixed bug #65236 (heap corruption in xml parser, CVE-2013-4113). (Rob)
2013-08-16 15:28:23 +00:00
taca
ef1cbc9e4c Correct checking condition of PHP_CHECK_INSTALLED. 2013-08-14 14:53:03 +00:00
taca
06eeb89332 * Add php55 support.
* Make PKG_PHP's value as description in comment.
2013-07-29 16:38:12 +00:00
taca
45492d07f0 Clean up php's framework.
* Define PHP's version at one place.
* Remove obsolete description in comments.
* Add "used by www/php-fpm/Makefile" in php5[34]/Makefile.php.
* Remove commented out support for suhosin extension from php54.
* Add PHP_CHECK_INSTALLED and PHP_EXTENSION_DIR to php/phpversion.mk.

No functional should be made.
2013-07-21 17:29:47 +00:00
taca
0e7b42e829 Update PHP53_VERSION to 5.3.27. 2013-07-12 00:09:14 +00:00
taca
d378e8ba37 Make PHP54_VERSION to 5.4.17. 2013-07-07 16:22:21 +00:00
taca
7015c34b75 Update PHP53_VERSION and PHP54_VERSION. 2013-06-07 13:56:25 +00:00
taca
c4e7d4a4ee Update PHP53_VERSION and PHP54_VERSION. It should be updated with
last update of php53/php54.
2013-06-03 15:23:14 +00:00
taca
cc160d4233 Update PHP53_VERSION and PHP54_VERSION. 2013-04-12 17:01:46 +00:00
taca
bc92f55652 * Make default version of PHP to 5.4: PHP_VERSION_DEFAULT's default is 54.
* Update PHP53_VERSION and PHP54_VERSION.
2013-03-16 02:02:13 +00:00
taca
4f0e2257cc Update PHP53_VERSION and PHP54_VERSION. 2013-02-22 03:08:22 +00:00
taca
5e0eb25a21 Switch php53 to t.3.21. 2013-01-17 16:19:33 +00:00
taca
85c09a581c Switch php54 to 5.4.11. 2013-01-17 15:49:11 +00:00
taca
54af9d7921 Update PHP53_VERSION and PHP54_VERSION to make match to php53 and php54. 2013-01-07 14:26:14 +00:00
taca
5289ca26ba Update versions of php53 and php54 for PHP extensions.
Reset PKGREVISION of database/php-ldap.
2012-11-23 13:22:51 +00:00
taca
4179122553 Update definition of PHP version for php53 and php54. 2012-10-19 14:59:15 +00:00
cheusov
98a0ec4f42 Move documentation for *_REQD variables to "Infrastructure variables"
as suggested by obache@
2012-10-03 23:48:00 +00:00
cheusov
d9d49610f9 Update documentation for {PYTHON,RUBY,PHP}_VERSION_REQD variables, move them
to "user variables" section.  pkglint is now aware of them.  Bump pkglint
version.  Oked by wiz@
2012-09-16 20:03:50 +00:00
taca
ac59301e61 Update PHP53_VERSION and PHP54_VERSION. 2012-09-14 15:54:22 +00:00
taca
a98fe022a1 Remove remained codes for PHP 5.2.x. 2012-08-17 15:38:19 +00:00
taca
608d4e1e9b Update PHP53_VERSION and PHP54_VERSION. 2012-08-17 15:37:30 +00:00
taca
421d7a3d65 Update PHP53_VERSION and PHP54_VERSION noted by Uwe Klaus. 2012-07-25 10:50:12 +00:00
taca
e84e46bef8 Remove support for php5 (PHP 5.2.x). 2012-06-16 15:18:13 +00:00
taca
176439945e Update of frame work for PHP and support for PHP 5.4.x.
* PHP_VERSION_DEFAULT, PHP_VERSIONS_ACCEPTED, PKG_PHP_VERSION now
  don't accept 5 any more but 52, 53, 54.
  Each value corresponding to PHP 5.2.x, 5.3.x, 5.4.x.
* PHP_PKG_PREFIX might be "php54".
* phpversion.mk defines PHP_BASE_VERS.
* phpversion.mk defines each PHP's exact version for now.

TODO:
	php{5,53,54}/Makefile.{common,php} could be arranged to some
	redundant codes.
2012-06-16 02:47:51 +00:00
obache
d74bd35143 PKG_PHP_VERSION may be 52 for some situation. 2012-05-12 11:27:46 +00:00
obache
edbcee2144 * allow to specify phpize sub directory with PHPSETUPSUBDIR.
* allow to override DIST_SUBDIR
2012-05-12 08:23:34 +00:00
taca
02eb740d5d Correct default value in description of PHP_VERSION_DEFAULT. 2012-05-04 16:07:51 +00:00
obache
7e5c33ea25 Note warning about PECL_LEGACY_VERSION_SCHEME. 2012-01-27 01:55:27 +00:00
joerg
2bb5313796 Catch up with PHP 5.3 base. 2012-01-12 18:25:50 +00:00
obache
bdaf2325dc Change default PKGNAME scheme for PECL packages.
Drop ${PHP_BASE_VARS} from PKGVERSION by default.

It used to be required to support multiple php version.
But after PHP version based ${PHP_PKG_PREFIX} was introduced,
such trick is not required anymore.
In addition to this, such version name schme invokes unwanted version bump
when base php version is bumped, plus, such version scheme is hard to
use for DEPENDS pattern.

To avoid downgrading of package using such legacy version scheme,
PECL_LEGACY_VERSION_SCHEME is introduced.
If it is defined, current version scheme is still used for currently
supported PHP version (5 and 53), but instead of ${PHP_BASE_VARS},
current fixed PHP base version in pkgsrc is used to avoid unwanted version bump
from update of PHP base package.
With newer PHP (54, or so on), new version scheme will be used if
it is defined.
This trick will not be required and should be removed after php5 and php53 will
be gone away from pkgsrc.
2011-12-17 13:46:27 +00:00
cheusov
6b8153bb6c Do not change PHP_VERSIONS_ACCEPTED in phpversion.mk.
It is not necessary anymore. No objections in tech-pkg@.
2011-10-29 13:47:03 +00:00
taca
43e909a9b7 Make PHP's default version to 5.3.x. 2011-09-14 16:44:26 +00:00
adam
a93be2d228 Install module correctly 2011-04-13 13:23:39 +00:00
wiz
a2163548a9 Add MULTI variable, and add it to BUILD_DEFS, to more easily find
variable settings affecting binary packages.

From Aleksey Cheusov in PR 44695.
2011-03-12 14:07:13 +00:00
obache
8ddddf9348 set TZ=UTC to generate PLIST, same as do-install. 2011-01-12 08:15:45 +00:00
obache
2007a8d867 prevent php errors/warnings from being recorded as part of generated PLIST. 2011-01-12 08:11:49 +00:00
taca
5398315daa A little improvement of a sentence. 2010-09-23 07:38:05 +00:00
obache
cc125a1b73 Improve pear package handling
* support packages from other than default channels
* replace deprecated function usage in pear_plist.php
* generate filelist from installed registry, to support "install as" files.

tested with all pear pacakgs in pkgsrc.
2010-08-29 06:08:07 +00:00
obache
c1a91941e4 Always install pear with `-n', or failed to install if extension is required
but not loaded in php.ini.
2010-08-25 06:37:20 +00:00
jdolecek
3ae1602b29 add support for PHP 5.2.*-only packages 2010-03-21 11:07:37 +00:00
jdolecek
bd2f9ccca0 set LIBTOOL_OVERRIDE (force pkgsrc libtool) for PHP extensions 2010-03-21 11:06:05 +00:00
taca
d3f4c4ac08 Explicitly setenv TZ=UTC when installing with pear since pear of PHP 5.3.2
check system's timezone and produce useless warnings.
2010-03-16 15:34:01 +00:00
taca
d08cf9a998 Prepair for importing PHP 5.3.2.
* Add "53" as PHP 5.3.x for several PHP_VERSION_* and its frends.
* Add PKG_PHP_MAJOR_VERS which currently only takes "5".
* Add "php53" to PHP_PKG_PREFIX.
* Add checking installed PHP's version against required version.
2010-03-16 15:25:36 +00:00
joerg
90b19de9ab Remove PHP 4 from the list of supported versions. 2010-02-10 17:46:10 +00:00
obache
96731b7eb3 Use -P (--packagingroot) instead of -R (--installroot).
packaging fake root should be set with -P.
(-R is for really using there and package will be registerd as there).
2010-02-03 12:22:18 +00:00