Package: php5 / 5.6.33+dfsg-0+deb8u1

Metadata

Package Version Patches format
php5 5.6.33+dfsg-0+deb8u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 libtool_fixes.patch | (download)

TSRM/configure.in | 3 0 + 3 - 0 !
configure.in | 3 0 + 3 - 0 !
2 files changed, 6 deletions(-)

 libtool_fixes


0002 static_openssl.patch | (download)

acinclude.m4 | 4 1 + 3 - 0 !
1 file changed, 1 insertion(+), 3 deletions(-)

 static_openssl


0003 debian_quirks.patch | (download)

configure.in | 10 5 + 5 - 0 !
ext/ext_skel | 2 1 + 1 - 0 !
php.ini-development | 2 1 + 1 - 0 !
php.ini-production | 44 1 + 43 - 0 !
sapi/cli/php.1.in | 11 6 + 5 - 0 !
scripts/Makefile.frag | 4 2 + 2 - 0 !
scripts/php-config.in | 6 3 + 3 - 0 !
scripts/phpize.in | 4 2 + 2 - 0 !
8 files changed, 21 insertions(+), 62 deletions(-)

 debian_quirks


0004 libtool2.2.patch | (download)

scripts/phpize.in | 11 9 + 2 - 0 !
1 file changed, 9 insertions(+), 2 deletions(-)

 libtool2.2


0005 we_WANT_libtool.patch | (download)

build/build2.mk | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 we_want_libtool


0006 strtod_arm_fix.patch | (download)

Zend/zend_strtod.c | 27 19 + 8 - 0 !
1 file changed, 19 insertions(+), 8 deletions(-)

 strtod_arm_fix


0007 php 5.4.9 phpinfo.patch | (download)

ext/standard/info.c | 3 0 + 3 - 0 !
ext/standard/tests/general_functions/phpinfo.phpt | 1 0 + 1 - 0 !
2 files changed, 4 deletions(-)

 php-5.4.9-phpinfo

Drop "Configure Command" from phpinfo as it doesn't
provide any useful information.
The available extensions are not related to this command.

0008 extension_api.patch | (download)

configure.in | 5 4 + 1 - 0 !
scripts/php-config.in | 4 4 + 0 - 0 !
2 files changed, 8 insertions(+), 1 deletion(-)

 extension_api


0009 no_apache_installed.patch | (download)

sapi/apache/config.m4 | 6 0 + 6 - 0 !
sapi/apache2filter/config.m4 | 8 0 + 8 - 0 !
sapi/apache2handler/config.m4 | 8 0 + 8 - 0 !
sapi/apache_hooks/config.m4 | 6 0 + 6 - 0 !
4 files changed, 28 deletions(-)

 no_apache_installed


0010 recode_is_shared.patch | (download)

ext/recode/config9.m4 | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 recode_is_shared


0011 proc_open.patch | (download)

ext/standard/proc_open.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 proc_open


0012 php.ini_securitynotes.patch | (download)

php.ini-development | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 php.ini_securitynotes


0013 php 5.4.7 libdb.patch | (download)

ext/dba/config.m4 | 52 2 + 50 - 0 !
ext/dba/dba.c | 8 8 + 0 - 0 !
2 files changed, 10 insertions(+), 50 deletions(-)

 php-5.4.7-libdb


0014 use_embedded_timezonedb.patch | (download)

ext/date/lib/parse_tz.c | 529 525 + 4 - 0 !
ext/date/lib/timelib.m4 | 14 14 + 0 - 0 !
2 files changed, 539 insertions(+), 4 deletions(-)

 use_embedded_timezonedb

Add support for use of the system timezone database, rather
than embedding a copy.  Discussed upstream but was not desired.

History:
r10 : make timezone case insensitive
r9: fix another compile error without --with-system-tzdata configured (Michael Heimpold)
r8: fix compile error without --with-system-tzdata configured
r7: improve check for valid timezone id to exclude directories
r6: fix fd leak in r5, fix country code/BC flag use in 
    timezone_identifiers_list() using system db,
    fix use of PECL timezonedb to override system db,
r5: reverts addition of "System/Localtime" fake tzname.
    updated for 5.3.0, parses zone.tab to pick up mapping between
    timezone name, country code and long/lat coords
r4: added "System/Localtime" tzname which uses /etc/localtime
r3: fix a crash if /usr/share/zoneinfo doesn't exist (Raphael Geissert)
r2: add filesystem trawl to set up name alias index
r1: initial revision

0015 force_libmysqlclient_r.patch | (download)

ext/mysql/config.m4 | 2 1 + 1 - 0 !
ext/mysqli/config.m4 | 2 1 + 1 - 0 !
ext/pdo_mysql/config.m4 | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 force_libmysqlclient_r


0016 sybase alias.patch | (download)

ext/mssql/php_mssql.c | 32 32 + 0 - 0 !
1 file changed, 32 insertions(+)

 sybase-alias


0017 strcmp_null OnUpdateErrorLog.patch | (download)

tests/func/null-new_val.phpt | 10 10 + 0 - 0 !
1 file changed, 10 insertions(+)

 strcmp_null-onupdateerrorlog


0018 dont gitclean in build.patch | (download)

build/build.mk | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 dont-gitclean-in-build


0019 qdbm is usr_include_qdbm.patch | (download)

ext/dba/config.m4 | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 qdbm-is-usr_include_qdbm


0020 use_embedded_timezonedb_fixes.patch | (download)

ext/date/tests/date_default_timezone_set-1.phpt | 3 0 + 3 - 0 !
1 file changed, 3 deletions(-)

 use_embedded_timezonedb_fixes


0021 session_save_path.patch | (download)

ext/session/session.c | 2 1 + 1 - 0 !
php.ini-development | 2 1 + 1 - 0 !
php.ini-production | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 session_save_path


0022 php fpm man section and cleanup.patch | (download)

sapi/fpm/php-fpm.8.in | 22 2 + 20 - 0 !
1 file changed, 2 insertions(+), 20 deletions(-)

 php-fpm-man-section-and-cleanup


0023 fpm config.patch | (download)

sapi/fpm/php-fpm.conf.in | 12 8 + 4 - 0 !
1 file changed, 8 insertions(+), 4 deletions(-)

 fpm-config


0024 php fpm sysconfdir.patch | (download)

sapi/fpm/fpm/fpm_conf.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 php-fpm-sysconfdir


0025 lp564920 fix big files.patch | (download)

main/streams/plain_wrapper.c | 8 7 + 1 - 0 !
1 file changed, 7 insertions(+), 1 deletion(-)

 lp564920-fix-big-files


0026 temporary path fixes for multiarch.patch | (download)

acinclude.m4 | 4 2 + 2 - 0 !
ext/dba/config.m4 | 2 1 + 1 - 0 !
ext/gmp/config.m4 | 2 2 + 0 - 0 !
ext/ldap/config.m4 | 2 1 + 1 - 0 !
ext/mssql/config.m4 | 2 1 + 1 - 0 !
ext/mysql/config.m4 | 14 6 + 8 - 0 !
ext/pcre/config0.m4 | 2 1 + 1 - 0 !
ext/pdo_dblib/config.m4 | 2 1 + 1 - 0 !
8 files changed, 15 insertions(+), 15 deletions(-)

 temporary-path-fixes-for-multiarch


0027 hurd noptrace.patch | (download)

sapi/fpm/config.m4 | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 hurd-noptrace


0028 php 5.3.9 mysqlnd.patch | (download)

ext/mysqlnd/mysqlnd.c | 2 1 + 1 - 0 !
ext/pdo_mysql/pdo_mysql.c | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 php-5.3.9-mysqlnd


0029 php 5.3.9 gnusrc.patch | (download)

Zend/zend_language_parser.c | 2 2 + 0 - 0 !
configure.in | 2 2 + 0 - 0 !
ext/interbase/interbase.c | 1 0 + 1 - 0 !
ext/pdo_firebird/firebird_driver.c | 1 0 + 1 - 0 !
ext/standard/file.c | 3 0 + 3 - 0 !
ext/zlib/zlib_fopen_wrapper.c | 2 0 + 2 - 0 !
main/php.h | 1 1 + 0 - 0 !
main/streams/cast.c | 1 0 + 1 - 0 !
main/streams/memory.c | 1 0 + 1 - 0 !
main/streams/streams.c | 1 0 + 1 - 0 !
10 files changed, 5 insertions(+), 10 deletions(-)

 php-5.3.9-gnusrc


0030 php 5.3.3 macropen.patch | (download)

ext/dba/dba.c | 2 1 + 1 - 0 !
ext/dba/dba_db3.c | 2 1 + 1 - 0 !
ext/dba/dba_db4.c | 4 2 + 2 - 0 !
3 files changed, 4 insertions(+), 4 deletions(-)

 php-5.3.3-macropen


0031 php 5.2.4 norpath.patch | (download)

acinclude.m4 | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 php-5.2.4-norpath


0032 php fpm listen on unix socket.patch | (download)

sapi/fpm/php-fpm.conf.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 php-fpm-listen-on-unix-socket


0033 php 5.2.4 embed.patch | (download)

sapi/embed/config.m4 | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 php-5.2.4-embed


0034 php 5.4.0 dlopen.patch | (download)

Zend/zend.h | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 php-5.4.0-dlopen


0035 php fpm m68k.patch | (download)

sapi/fpm/fpm/fpm_atomic.h | 34 34 + 0 - 0 !
1 file changed, 34 insertions(+)

 php-fpm-m68k


0036 expose_all_built_and_installed_apis.patch | (download)

scripts/man1/php-config.1.in | 2 1 + 1 - 0 !
scripts/php-config.in | 5 4 + 1 - 0 !
2 files changed, 5 insertions(+), 2 deletions(-)

 expose_all_built_and_installed_apis


0037 Use system timezone.patch | (download)

ext/date/php_date.c | 17 17 + 0 - 0 !
1 file changed, 17 insertions(+)

 use system timezone

Upstream don't want this patch. See
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=730771 for a summary.

This delta is recovered from previous versions of the system timezone patch in
Debian, and appears to have inadvertently been dropped. Author unknown.

To be used in tandem with use_embedded_timezonedb.patch and use_embedded_timezonedb_fixes.patch.

0038 zlib largefile function renaming.patch | (download)

ext/zlib/zlib.c | 12 12 + 0 - 0 !
1 file changed, 12 insertions(+)

 zlib-largefile-function-renaming


0039 php5 fpm do reload on SIGHUP.patch | (download)

sapi/fpm/fpm/fpm_events.c | 5 5 + 0 - 0 !
sapi/fpm/fpm/fpm_signals.c | 3 3 + 0 - 0 !
sapi/fpm/php-fpm.8.in | 2 1 + 1 - 0 !
3 files changed, 9 insertions(+), 1 deletion(-)

 php5-fpm-do-reload-on-sighup


0040 php 5.4.8 ldap_r.patch | (download)

ext/ldap/config.m4 | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 php-5.4.8-ldap_r

Use -lldap_r by default.

0041 php 5.4.9 fixheader.patch | (download)

configure.in | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 php-5.4.9-fixheader

Make generated php_config.h constant across rebuilds.

0042 php 5.6.0 noNO.patch | (download)

ext/standard/tests/strings/setlocale_variation2.phpt | 11 8 + 3 - 0 !
1 file changed, 8 insertions(+), 3 deletions(-)

 php-5.6.0-nono


0043 php 5.6.0 oldpcre.patch | (download)

ext/pcre/tests/bug37911.phpt | 2 1 + 1 - 0 !
ext/pcre/tests/grep2.phpt | 10 2 + 8 - 0 !
ext/pcre/tests/match_flags3.phpt | 2 1 + 1 - 0 !
3 files changed, 4 insertions(+), 10 deletions(-)

 php-5.6.0-oldpcre


0044 hack phpdbg to explicitly link with libedit.patch | (download)

sapi/phpdbg/config.m4 | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 hack-phpdbg-to-explicitly-link-with-libedit


0045 getallheaders for php fpm 62596.patch | (download)

sapi/fpm/fpm/fpm_main.c | 85 84 + 1 - 0 !
1 file changed, 84 insertions(+), 1 deletion(-)

 getallheaders for php-fpm #62596


0046 Fix ZEND_MM_ALIGNMENT on m64k.patch | (download)

Zend/Zend.m4 | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix zend_mm_alignment on m64k


0047 revert f07b8f36ae8099e29d19fbe8806bc07b21dcd4ac.patch | (download)

ext/standard/tests/file/bug68532.phpt | 25 0 + 25 - 0 !
ext/standard/tests/file/stream_rfc2397_007.phpt | 1 0 + 1 - 0 !
main/streams/memory.c | 20 8 + 12 - 0 !
3 files changed, 8 insertions(+), 38 deletions(-)

 revert-f07b8f36ae8099e29d19fbe8806bc07b21dcd4ac


0049 make opcache lockfile path configurable.patch | (download)

ext/opcache/README | 3 3 + 0 - 0 !
ext/opcache/ZendAccelerator.h | 1 1 + 0 - 0 !
ext/opcache/zend_accelerator_module.c | 2 2 + 0 - 0 !
ext/opcache/zend_shared_alloc.c | 11 7 + 4 - 0 !
4 files changed, 13 insertions(+), 4 deletions(-)

 make opcache lockfile path configurable

Signed-off-by: William Dauchy <william@gandi.net>
Signed-off-by: Baptiste Daroussin <baptiste.daroussin@gandi.net>
Signed-off-by: Fatih Acar <fatih.acar@gandi.net>

0050 Detect invalid port in xp_socket parse ip address.patch | (download)

ext/standard/tests/streams/parseip-001.phpt | 37 37 + 0 - 0 !
main/streams/xp_socket.c | 29 18 + 11 - 0 !
2 files changed, 55 insertions(+), 11 deletions(-)

 detect invalid port in xp_socket parse ip address

For historical reasons, fsockopen() accepts the port and hostname
separately: fsockopen('127.0.0.1', 80)

However, with the introdcution of stream transports in PHP 4.3,
it became possible to include the port in the hostname specifier:

fsockopen('127.0.0.1:80')
Or more formally: fsockopen('tcp://127.0.0.1:80')

Confusing results when these two forms are combined, however.
fsockopen('127.0.0.1:80', 443) results in fsockopen() attempting
to connect to '127.0.0.1:80:443' which any reasonable stack would
consider invalid.

Unfortunately, PHP parses the address looking for the first colon
(with special handling for IPv6, don't worry) and calls atoi()
from there.  atoi() in turn, simply stops parsing at the first
non-numeric character and returns the value so far.

The end result is that the explicitly supplied port is treated
as ignored garbage, rather than producing an error.

0051 Fix PHP bug 64827 Segfault in zval_mark_grey zend_gc.patch | (download)

Zend/zend_gc.c | 84 59 + 25 - 0 !
1 file changed, 59 insertions(+), 25 deletions(-)

 fix php bug #64827: segfault in zval_mark_grey (zend_gc.c)