Up to [cvs.NetBSD.org] / pkgsrc / net / php-sockets
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
multiple PHP support Also bump PKGREVISION.
php-sockets: Support GCC >= 10.
net: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections.
php-sockets: Support newer GCC and clang on SunOS.
Use OPSYSVARS.
Use -D_XOPEN_SOURCE=500 on SunOS for msghdr extensions.
Pullup ticket #4269 - requested by taca
lang/php53: security update
lang/php54: security update
lang/php55: security update
Revisions pulled up:
- lang/php/phpversion.mk 1.46-1.52
- lang/php53/Makefile 1.44-1.45
- lang/php53/Makefile.php 1.38
- lang/php53/distinfo 1.69-1.70
- lang/php53/patches/patch-ext_date_lib_parse__iso__intervals.c 1.1
- lang/php53/patches/patch-ext_date_lib_parse__iso__intervals.re 1.1
- lang/php53/patches/patch-ext_openssl_openssl.c deleted
- lang/php54/Makefile 1.15-1.16
- lang/php54/distinfo 1.28-1.31
- lang/php54/patches/patch-ext_date_lib_parse__iso__intervals.c 1.1
- lang/php54/patches/patch-ext_date_lib_parse__iso__intervals.re 1.1
- lang/php55/Makefile 1.6-1.7
- lang/php55/PLIST 1.2
- lang/php55/distinfo 1.7-1.12
- lang/php55/patches/patch-configure 1.3
- lang/php55/patches/patch-ext_date_lib_parse__iso__intervals.c 1.1
- lang/php55/patches/patch-ext_date_lib_parse__iso__intervals.re 1.1
- lang/php55/patches/patch-ext_opcache_config.m4 1.1
- lang/php55/patches/patch-ext_sockets_sockaddr__conv.c 1.1
- lang/php55/patches/patch-sockaddr__conv.c deleted
- net/php-sockets/Makefile 1.12
---
Module Name: pkgsrc
Committed By: joerg
Date: Tue Oct 15 14:43:51 UTC 2013
Modified Files:
pkgsrc/lang/php55: distinfo
Added Files:
pkgsrc/lang/php55/patches: patch-sockaddr__conv.c
Log Message:
Add patch that would fix the build of net/php-sockets for PHP 5.5, if I
knew how to get it applied.
---
Module Name: pkgsrc
Committed By: taca
Date: Tue Oct 15 15:46:37 UTC 2013
Modified Files:
pkgsrc/lang/php55: distinfo
pkgsrc/net/php-sockets: Makefile
Added Files:
pkgsrc/lang/php55/patches: patch-ext_sockets_sockaddr__conv.c
Removed Files:
pkgsrc/lang/php55/patches: patch-sockaddr__conv.c
Log Message:
Fix php-socket with php55.
- Use USE_PHP_EXT_PATCHES in net/php-sockets.
- Make AI_V4MAPPED noop if platform dosen't have it.
It is poor assumption that AI_V4MAPPED is always defined and V4 mapped
address is always available.
---
Module Name: pkgsrc
Committed By: taca
Date: Fri Oct 18 12:25:12 UTC 2013
Modified Files:
pkgsrc/lang/php: phpversion.mk
pkgsrc/lang/php54: distinfo
Log Message:
Update php54 to 5.4.21 (PHP 5.4.21).
17 Oct 2013, PHP 5.4.21
- Core:
. Fixed bug #65322 (compile time errors won't trigger auto loading). (Nikita)
- CLI server:
. Fixed bug #65633 (built-in server treat some http headers as
case-sensitive). (Adam)
- Datetime:
. Fixed bug #64157 (DateTime::createFromFormat() reports confusing error
message). (Boro Sitnikovski)
- DBA extension:
. Fixed bug #65708 (dba functions cast $key param to string in-place,
bypassing copy on write). (Adam)
- Filter:
. Add RFC 6598 IPs to reserved addresses. (Sebastian Nohn)
. Fixed bug #64441 (FILTER_VALIDATE_URL rejects fully qualified domain names).
(Syra)
- IMAP:
. Fixed bug #65721 (configure script broken in 5.5.4 and 5.4.20 when enabling
imap). (ryotakatsuki at gmail dot com)
- Standard:
. Fixed bug #61548 (content-type must appear at the end of headers for 201
Location to work in http). (Mike)
- Build system:
. Fixed bug #62396 ('make test' crashes starting with 5.3.14 (missing
gzencode())). (Mike)
---
Module Name: pkgsrc
Committed By: taca
Date: Fri Oct 18 15:49:08 UTC 2013
Modified Files:
pkgsrc/lang/php: phpversion.mk
pkgsrc/lang/php55: distinfo
pkgsrc/lang/php55/patches: patch-configure
Added Files:
pkgsrc/lang/php55/patches: patch-ext_opcache_config.m4
Log Message:
Update php55 to 5.5.5.
17 Oct 2013, PHP 5.5.5
- Core:
. Fixed bug #64979 (Wrong behavior of static variables in closure generators).
(Nikita)
. Fixed bug #65322 (compile time errors won't trigger auto loading). (Nikita)
. Fixed bug #65821 (By-ref foreach on property access of string offset
segfaults). (Nikita)
- CLI server:
. Fixed bug #65633 (built-in server treat some http headers as
case-sensitive). (Adam)
. Fixed bug #65818 (Segfault with built-in webserver and chunked transfer
encoding). (Felipe)
. Added application/pdf to PHP CLI Web Server mime types (Chris Jones)
- Datetime:
. Fixed bug #64157 (DateTime::createFromFormat() reports confusing error
message). (Boro Sitnikovski)
. Fixed bug #65502 (DateTimeImmutable::createFromFormat returns DateTime).
(Boro Sitnikovski)
. Fixed bug #65548 (Comparison for DateTimeImmutable doesn't work).
(Boro Sitnikovski)
- DBA extension:
. Fixed bug #65708 (dba functions cast $key param to string in-place,
bypassing copy on write). (Adam)
- Filter:
. Add RFC 6598 IPs to reserved addresses. (Sebastian Nohn)
. Fixed bug #64441 (FILTER_VALIDATE_URL rejects fully qualified domain names).
(Syra)
- FTP:
. Fixed bug #65667 (ftp_nb_continue produces segfault). (Philip Hofstetter)
- GD
. Ensure that the defined interpolation method is used with the generic
scaling methods. (Pierre)
- IMAP:
. Fixed bug #65721 (configure script broken in 5.5.4 and 5.4.20 when enabling
imap). (ryotakatsuki at gmail dot com)
- OPcache:
. Added support for GNU Hurd. (Svante Signell)
. Added function opcache_compile_file() to load PHP scripts into cache
without execution. (Julien)
. Fixed bug #65845 (Error when Zend Opcache Optimizer is fully enabled).
(Dmitry)
. Fixed bug #65665 (Exception not properly caught when opcache enabled).
(Laruence)
. Fixed bug #65510 (5.5.2 crashes in _get_zval_ptr_ptr_var). (Dmitry)
. Fixed issue #135 (segfault in interned strings if initial memory is too
low). (Julien)
- Sockets:
. Fixed bug #65808 (the socket_connect() won't work with IPv6 address).
(Mike)
- SPL:
. Fix bug #64782 (SplFileObject constructor make $context optional / give it
a default value). (Nikita)
- Standard:
. Fixed bug #61548 (content-type must appear at the end of headers for 201
Location to work in http). (Mike)
- XMLReader:
. Fixed bug #51936 (Crash with clone XMLReader). (Mike)
. Fixed bug #64230 (XMLReader does not suppress errors). (Mike)
- Build system:
. Fixed bug #51076 (race condition in shtool's mkdir -p implementation).
(Mike, Raphael Geissert)
. Fixed bug #62396 ('make test' crashes starting with 5.3.14 (missing
gzencode())). (Mike)
---
Module Name: pkgsrc
Committed By: taca
Date: Fri Nov 15 16:33:14 UTC 2013
Modified Files:
pkgsrc/lang/php: phpversion.mk
pkgsrc/lang/php55: PLIST distinfo
Log Message:
Update php55 package to 5.5.6.
14 Nov 2013, PHP 5.5.6
- Core:
. Fixed bug #65947 (basename is no more working after fgetcsv in certain
situation). (Laruence)
. Improved performance of array_merge() and func_get_args() by eliminating
useless copying. (Dmitry)
. Fixed bug #65939 (Space before ";" breaks php.ini parsing).
(brainstorm at nopcode dot org)
. Fixed bug #65911 (scope resolution operator - strange behavior with $this).
(Bob Weinand)
. Fixed bug #65936 (dangling context pointer causes crash). (Tony)
- FPM:
. Changed default listen() backlog to 65535. (Tony)
- MySQLi:
. Fixed bug #66043 (Segfault calling bind_param() on mysqli). (Laruence)
- OPcache
. Increased limit for opcache.max_accelerated_files to 1,000,000. (Chris)
. Fixed issue #115 (path issue when using phar). (Dmitry)
. Fixed issue #149 (Phar mount points not working with OPcache enabled).
(Dmitry)
- ODBC
. Fixed bug #65950 (Field name truncation if the field name is bigger than
32 characters). (patch submitted by: michael dot y at zend dot com, Yasuo)
- PDO:
. Fixed bug #66033 (Segmentation Fault when constructor of PDO statement
throws an exception). (Laruence)
. Fixed bug 65946 (sql_parser permanently converts values bound to strings)
- Standard:
. Fixed bug #64760 (var_export() does not use full precision for floating-point
numbers) (Yasuo)
---
Module Name: pkgsrc
Committed By: taca
Date: Sat Nov 16 09:45:26 UTC 2013
Modified Files:
pkgsrc/lang/php: phpversion.mk
pkgsrc/lang/php54: distinfo
Log Message:
Update php54 to 5.4.22.
Version 5.4.22
14-Nov-2013
* Core:
- Fixed bug #65911 (scope resolution operator - strange behavior with
$this).
CLI server:
- Fixed bug #65818 (Segfault with built-in webserver and chunked transfer
encoding).
* Exif:
- Fixed crash on unknown encoding.
* FTP:
- Fixed bug #65667 (ftp_nb_continue produces segfault).
* ODBC:
- Fixed bug #65950 (Field name truncation if the field name is bigger than
32 characters).
* Sockets:
- Fixed bug #65808 (the socket_connect() won't work with IPv6 address).
* Standard:
- Fixed bug #64760 (var_export() does not use full precision for
floating-point numbers).
* XMLReader:
- Fixed bug #51936 (Crash with clone XMLReader).
- Fixed bug #64230 (XMLReader does not suppress errors).
---
Module Name: pkgsrc
Committed By: taca
Date: Thu Dec 5 16:16:40 UTC 2013
Modified Files:
pkgsrc/lang/php53: Makefile distinfo
Added Files:
pkgsrc/lang/php53/patches: patch-ext_date_lib_parse__iso__intervals.c
patch-ext_date_lib_parse__iso__intervals.re
Log Message:
Add fix for CVE-2013-6712, ext/date DoS vulnerability.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Thu Dec 5 16:17:15 UTC 2013
Modified Files:
pkgsrc/lang/php54: Makefile distinfo
Added Files:
pkgsrc/lang/php54/patches: patch-ext_date_lib_parse__iso__intervals.c
patch-ext_date_lib_parse__iso__intervals.re
Log Message:
Add fix for CVE-2013-6712, ext/date DoS vulnerability.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Thu Dec 5 16:17:48 UTC 2013
Modified Files:
pkgsrc/lang/php55: Makefile distinfo
Added Files:
pkgsrc/lang/php55/patches: patch-ext_date_lib_parse__iso__intervals.c
patch-ext_date_lib_parse__iso__intervals.re
Log Message:
Add fix for CVE-2013-6712, ext/date DoS vulnerability.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Fri Dec 13 15:30:35 UTC 2013
Modified Files:
pkgsrc/lang/php: phpversion.mk
pkgsrc/lang/php53: Makefile Makefile.php distinfo
Removed Files:
pkgsrc/lang/php53/patches: patch-ext_openssl_openssl.c
Log Message:
Update php53 to 5.3.28 (PHP 5.3.28).
12 Dec 2013, PHP 5.3.28
- Openssl:
. Fixed handling null bytes in subjectAltName (CVE-2013-4073).
(Christian Heimes)
. Fixed memory corruption in openssl_x509_parse() (CVE-2013-6420).
(Stefan Esser).
---
Module Name: pkgsrc
Committed By: taca
Date: Fri Dec 13 15:32:21 UTC 2013
Modified Files:
pkgsrc/lang/php: phpversion.mk
pkgsrc/lang/php54: Makefile distinfo
Log Message:
Update php54 to 5.4.23 (PHP 5.4.23).
28 Nov 2013, PHP 5.4.23
- Core:
. Fixed bug #66094 (unregister_tick_function tries to cast a Closure to a
string). (Laruence)
. Fixed bug #65947 (basename is no more working after fgetcsv in certain
situation). (Laruence)
- JSON
. Fixed whitespace part of bug #64874 ("json_decode handles whitespace and
case-sensitivity incorrectly"). (Andrea Faulds)
- MySQLi:
. Fixed bug #66043 (Segfault calling bind_param() on mysqli). (Laruence)
- mysqlnd:
. Fixed bug #66124 (mysqli under mysqlnd loses precision when bind_param
with 'i'). (Andrey)
. Fixed bug #66141 (mysqlnd quote function is wrong with NO_BACKSLASH_ESCAPES
after failed query). (Andrey)
- OpenSSL:
. Fixed memory corruption in openssl_x509_parse() (CVE-2013-6420).
(Stefan Esser).
- PDO
. Fixed bug 65946 (sql_parser permanently converts values bound to strings)
---
Module Name: pkgsrc
Committed By: taca
Date: Fri Dec 13 15:33:22 UTC 2013
Modified Files:
pkgsrc/lang/php: phpversion.mk
pkgsrc/lang/php55: Makefile distinfo
Log Message:
Update php55 to 5.5.7 (PHP 5.5.7).
12 Dec 2013, PHP 5.5.7
- CLI server:
. Added some MIME types to the CLI web server (Chris Jones)
. Implemented FR #65917 (getallheaders() is not supported by the built-in web
server) - also implements apache_response_headers() (Andrea Faulds)
- Core:
. Fixed bug #66094 (unregister_tick_function tries to cast a Closure to a
string). (Laruence)
- OPCache
. Fixed bug #66176 (Invalid constant substitution). (Dmitry)
. Fixed bug #65915 (Inconsistent results with require return value). (Dmitry)
. Fixed bug #65559 (Opcache: cache not cleared if changes occur while
running). (Dmitry)
- OpenSSL:
. Fixed memory corruption in openssl_x509_parse() (CVE-2013-6420).
(Stefan Esser).
- readline
. Fixed Bug #65714 (PHP cli forces the tty to cooked mode). (Remi)
Fix php-socket with php55. - Use USE_PHP_EXT_PATCHES in net/php-sockets. - Make AI_V4MAPPED noop if platform dosen't have it. It is poor assumption that AI_V4MAPPED is always defined and V4 mapped address is always available.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Fix build on SunOS with PHP_VERSION_DEFAULT=54. SunOS does have if_indextoname, but config.m4 won't find it.
Add DESTDIR support.
Fix CONFLICTS of php/pear packages, the asterix was missing (thanks tv). While going through the tree, fix some more packages which had similiar issues with too strict conflicts, bump the revisions of those.
Rename all PHP 4 packages to php4-*, all PHP 5 packages to php5-*, all PEAR packages to php?-pear-* and all Apache packages to ap13-* or ap2-* respectively. Add new variables to simplify the Makefile handling. Add CONFLICTS on the old names. Reset revisions of bumped packages. ap-php will now depend on the default Apache and PHP version. All programs using it have an implicit option of the Apache version as well. OK from jlam@ and adrianp@.
Recursive revision bump / recommended bump for gettext ABI change.
Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in
http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
now that PHP 5.x Makefile.common doesn't pollute CONFIGURE_ARGS, it safe to include "../../lang/php/ext.mk" after extension CONFIGURE_ARGS setting; successful build confirmed with both PHP 4.x and PHP 5.x
extension modules must be able to override CONFIGURE_ARGS, so include lang/php/ext.mk before setting CONFIGURE_ARGS
new PHP extension module framework, which makes it possible to build individual PHP extension packages with either PHP 4.x or PHP 5.x convert existing php4-* packages to this framework and import as php-*
Initial revision