Thu May 1 15:52:33 2014 UTC ()
Update php55 to 5.5.12.

01 May 2014, PHP 5.5.12
- Core:
  . Fixed bug #61019 (Out of memory on command stream_get_contents). (Mike)
  . Fixed bug #64330 (stream_socket_server() creates wrong Abstract Namespace
    UNIX sockets). (Mike)
  . Fixed bug #66182 (exit in stream filter produces segfault). (Mike)
  . Fixed bug #66736 (fpassthru broken). (Mike)
  . Fixed bug #67024 (getimagesize should recognize BMP files with negative
    height). (Gabor Buella)
  . Fixed bug #67043 (substr_compare broke by previous change) (Tjerk)

- cURL:
  . Fixed bug #66562 (curl_exec returns differently than curl_multi_getcontent).
    (Freek Lijten)

- Date:
  . Fixed bug #66721 (__wakeup of DateTime segfaults when invalid object data is
    supplied). (Boro Sitnikovski)

- Embed:
  . Fixed bug #65715 (php5embed.lib isn't provided anymore). (Anatol).

- Fileinfo:
  . Fixed bug #66987 (Memory corruption in fileinfo ext / bigendian).
    (Remi)

- FPM:
  . Fixed bug #66482 (unknown entry 'priority' in php-fpm.conf).
  . Fixed bug #67060 (possible privilege escalation due to insecure default configuration). (CVE-2014-0185) (christian at hoffie dot info)

- JSON:
  . Fixed bug #66021 (Blank line inside empty array/object when
    JSON_PRETTY_PRINT is set). (Kevin Israel)

- LDAP:
  . Fixed issue with null bytes in LDAP bindings. (Matthew Daley)

- mysqli:
  . Fixed problem in mysqli_commit()/mysqli_rollback() with second parameter
    (extra comma) and third parameters (lack of escaping). (Andrey)

- OpenSSL:
  . Fix bug #66942 (memory leak in openssl_seal()). (Chuan Ma)
  . Fix bug #66952 (memory leak in openssl_open()). (Chuan Ma)

- SimpleXML:
  . Fixed bug #66084 (simplexml_load_string() mangles empty node name)
    (Anatol)

- SQLite:
  . Fixed bug #66967 (Updated bundled libsqlite to 3.8.4.3). (Anatol)

- XSL:
  . Fixed bug #53965 (<xsl:include> cannot find files with relative paths
    when loaded with "file://"). (Anatol)

- Apache2 Handler SAPI:
  . Fixed Apache log issue caused by APR's lack of support for %zu
    (APR issue https://issues.apache.org/bugzilla/show_bug.cgi?id=56120).
    (Jeff Trawick)


(taca)
diff -r1.60 -r1.61 pkgsrc/lang/php/phpversion.mk
diff -r1.19 -r1.20 pkgsrc/lang/php55/distinfo
diff -r1.5 -r1.6 pkgsrc/lang/php55/patches/patch-configure
diff -r1.1 -r1.2 pkgsrc/lang/php55/patches/patch-ext_sqlite3_libsqlite_sqlite3.c

cvs diff -r1.60 -r1.61 pkgsrc/lang/php/phpversion.mk (switch to unified diff)

--- pkgsrc/lang/php/phpversion.mk 2014/04/05 03:43:40 1.60
+++ pkgsrc/lang/php/phpversion.mk 2014/05/01 15:52:33 1.61
@@ -1,216 +1,216 @@ @@ -1,216 +1,216 @@
1# $NetBSD: phpversion.mk,v 1.60 2014/04/05 03:43:40 taca Exp $ 1# $NetBSD: phpversion.mk,v 1.61 2014/05/01 15:52:33 taca Exp $
2# 2#
3# This file selects a PHP version, based on the user's preferences and 3# This file selects a PHP version, based on the user's preferences and
4# the installed packages. It does not add a dependency on the PHP 4# the installed packages. It does not add a dependency on the PHP
5# package. 5# package.
6# 6#
7# === User-settable variables === 7# === User-settable variables ===
8# 8#
9# PHP_VERSION_DEFAULT 9# PHP_VERSION_DEFAULT
10# The PHP version to choose when more than one is acceptable to 10# The PHP version to choose when more than one is acceptable to
11# the package. 11# the package.
12# 12#
13# Possible: 53 54 55 13# Possible: 53 54 55
14# Default: 54 14# Default: 54
15# 15#
16# === Infrastructure variables === 16# === Infrastructure variables ===
17# 17#
18# PHP_VERSION_REQD 18# PHP_VERSION_REQD
19# PHP version to use. This variable should not be set in 19# PHP version to use. This variable should not be set in
20# packages. Normally it is used by bulk build tools. 20# packages. Normally it is used by bulk build tools.
21# 21#
22# Possible: ${PHP_VERSIONS_ACCEPTED} 22# Possible: ${PHP_VERSIONS_ACCEPTED}
23# Default: ${PHP_VERSION_DEFAULT} 23# Default: ${PHP_VERSION_DEFAULT}
24# 24#
25# === Package-settable variables === 25# === Package-settable variables ===
26# 26#
27# PHP_VERSIONS_ACCEPTED 27# PHP_VERSIONS_ACCEPTED
28# The PHP versions that are accepted by the package. 28# The PHP versions that are accepted by the package.
29# 29#
30# Possible: 53 54 55 30# Possible: 53 54 55
31# Default: 54 53 31# Default: 54 53
32# 32#
33# PHP_CHECK_INSTALLED 33# PHP_CHECK_INSTALLED
34# Check installed version of PHP. Should be used lang/php53, 34# Check installed version of PHP. Should be used lang/php53,
35# lang/php54 and lang/php55 only. 35# lang/php54 and lang/php55 only.
36# 36#
37# Possible: Yes No 37# Possible: Yes No
38# Default: Yes 38# Default: Yes
39# 39#
40# === Variables defined by this file === 40# === Variables defined by this file ===
41# 41#
42# PKG_PHP_VERSION 42# PKG_PHP_VERSION
43# The selected PHP version. 43# The selected PHP version.
44# 44#
45# Possible: 53 54 55 45# Possible: 53 54 55
46# Default: ${PHP_VERSION_DEFAULT} 46# Default: ${PHP_VERSION_DEFAULT}
47# 47#
48# PHP_BASE_VERS 48# PHP_BASE_VERS
49# The selected PHP's full version depends on PKG_PHP_VERSION 49# The selected PHP's full version depends on PKG_PHP_VERSION
50# 50#
51# PKG_PHP_MAJOR_VERS 51# PKG_PHP_MAJOR_VERS
52# The selected PHP's major version. 52# The selected PHP's major version.
53# 53#
54# Possible: 5 54# Possible: 5
55# Default: 5 55# Default: 5
56# 56#
57# PKG_PHP 57# PKG_PHP
58# The same as ${PKG_PHP_VERSION}, prefixed with "php-". 58# The same as ${PKG_PHP_VERSION}, prefixed with "php-".
59# 59#
60# PHPPKGSRCDIR 60# PHPPKGSRCDIR
61# The directory of the PHP implementation, relative to the 61# The directory of the PHP implementation, relative to the
62# package directory. 62# package directory.
63# 63#
64# Example: ../../lang/php54 64# Example: ../../lang/php54
65# 65#
66# PHP_PKG_PREFIX 66# PHP_PKG_PREFIX
67# The prefix that is prepended to the package name. 67# The prefix that is prepended to the package name.
68# 68#
69# Example: php53, php54, php55 69# Example: php53, php54, php55
70# 70#
71# PHP_EXTENSION_DIR 71# PHP_EXTENSION_DIR
72# Relative path to ${PREFIX} for PHP's extensions. It is derived from 72# Relative path to ${PREFIX} for PHP's extensions. It is derived from
73# initial release of major version. 73# initial release of major version.
74# 74#
75# Example: lib/php/20090630 75# Example: lib/php/20090630
76# 76#
77# Keywords: php 77# Keywords: php
78# 78#
79 79
80.if !defined(PHPVERSION_MK) 80.if !defined(PHPVERSION_MK)
81PHPVERSION_MK= defined 81PHPVERSION_MK= defined
82 82
83# Define each PHP's version. 83# Define each PHP's version.
84PHP53_VERSION= 5.3.28 84PHP53_VERSION= 5.3.28
85PHP54_VERSION= 5.4.27 85PHP54_VERSION= 5.4.27
86PHP55_VERSION= 5.5.11 86PHP55_VERSION= 5.5.12
87 87
88# Define initial release of major version. 88# Define initial release of major version.
89PHP53_RELDATE= 20090630 89PHP53_RELDATE= 20090630
90PHP54_RELDATE= 20120301 90PHP54_RELDATE= 20120301
91PHP55_RELDATE= 20130620 91PHP55_RELDATE= 20130620
92 92
93_VARGROUPS+= php 93_VARGROUPS+= php
94_USER_VARS.php= PHP_VERSION_DEFAULT 94_USER_VARS.php= PHP_VERSION_DEFAULT
95_PKG_VARS.php= PHP_VERSIONS_ACCEPTED PHP_VERSION_REQD 95_PKG_VARS.php= PHP_VERSIONS_ACCEPTED PHP_VERSION_REQD
96_SYS_VARS.php= PKG_PHP_VERSION PKG_PHP PHPPKGSRCDIR PHP_PKG_PREFIX \ 96_SYS_VARS.php= PKG_PHP_VERSION PKG_PHP PHPPKGSRCDIR PHP_PKG_PREFIX \
97 PKG_PHP_MAJOR_VERS 97 PKG_PHP_MAJOR_VERS
98 98
99.include "../../mk/bsd.prefs.mk" 99.include "../../mk/bsd.prefs.mk"
100 100
101PHP_VERSION_DEFAULT?= 54 101PHP_VERSION_DEFAULT?= 54
102PHP_VERSIONS_ACCEPTED?= 54 55 53 102PHP_VERSIONS_ACCEPTED?= 54 55 53
103 103
104# transform the list into individual variables 104# transform the list into individual variables
105.for pv in ${PHP_VERSIONS_ACCEPTED} 105.for pv in ${PHP_VERSIONS_ACCEPTED}
106_PHP_VERSION_${pv}_OK= yes 106_PHP_VERSION_${pv}_OK= yes
107.endfor 107.endfor
108 108
109# check what is installed 109# check what is installed
110.if exists(${LOCALBASE}/lib/php/20130620) 110.if exists(${LOCALBASE}/lib/php/20130620)
111_PHP_VERSION_55_INSTALLED= yes 111_PHP_VERSION_55_INSTALLED= yes
112_PHP_INSTALLED= yes 112_PHP_INSTALLED= yes
113.elif exists(${LOCALBASE}/lib/php/20120301) 113.elif exists(${LOCALBASE}/lib/php/20120301)
114_PHP_VERSION_54_INSTALLED= yes 114_PHP_VERSION_54_INSTALLED= yes
115_PHP_INSTALLED= yes 115_PHP_INSTALLED= yes
116.elif exists(${LOCALBASE}/lib/php/20090626) || exists(${LOCALBASE}/include/php/Zend/zend_gc.h) 116.elif exists(${LOCALBASE}/lib/php/20090626) || exists(${LOCALBASE}/include/php/Zend/zend_gc.h)
117_PHP_VERSION_53_INSTALLED= yes 117_PHP_VERSION_53_INSTALLED= yes
118_PHP_INSTALLED= yes 118_PHP_INSTALLED= yes
119.endif 119.endif
120 120
121# if a version is explicitely required, take it 121# if a version is explicitely required, take it
122.if defined(PHP_VERSION_REQD) 122.if defined(PHP_VERSION_REQD)
123_PHP_VERSION= ${PHP_VERSION_REQD} 123_PHP_VERSION= ${PHP_VERSION_REQD}
124.endif 124.endif
125# if the default is already installed, it is first choice 125# if the default is already installed, it is first choice
126.if !defined(_PHP_VERSION) 126.if !defined(_PHP_VERSION)
127.if defined(_PHP_VERSION_${PHP_VERSION_DEFAULT}_OK) 127.if defined(_PHP_VERSION_${PHP_VERSION_DEFAULT}_OK)
128.if defined(_PHP_VERSION_${PHP_VERSION_DEFAULT}_INSTALLED) 128.if defined(_PHP_VERSION_${PHP_VERSION_DEFAULT}_INSTALLED)
129_PHP_VERSION= ${PHP_VERSION_DEFAULT} 129_PHP_VERSION= ${PHP_VERSION_DEFAULT}
130.endif 130.endif
131.endif 131.endif
132.endif 132.endif
133# prefer an already installed version, in order of "accepted" 133# prefer an already installed version, in order of "accepted"
134.if !defined(_PHP_VERSION) 134.if !defined(_PHP_VERSION)
135.for pv in ${PHP_VERSIONS_ACCEPTED} 135.for pv in ${PHP_VERSIONS_ACCEPTED}
136.if defined(_PHP_VERSION_${pv}_INSTALLED) 136.if defined(_PHP_VERSION_${pv}_INSTALLED)
137_PHP_VERSION?= ${pv} 137_PHP_VERSION?= ${pv}
138.else 138.else
139# keep information as last resort - see below 139# keep information as last resort - see below
140_PHP_VERSION_FIRSTACCEPTED?= ${pv} 140_PHP_VERSION_FIRSTACCEPTED?= ${pv}
141.endif 141.endif
142.endfor 142.endfor
143.endif 143.endif
144# if the default is OK for the addon pkg, take this 144# if the default is OK for the addon pkg, take this
145.if !defined(_PHP_VERSION) 145.if !defined(_PHP_VERSION)
146.if defined(_PHP_VERSION_${PHP_VERSION_DEFAULT}_OK) 146.if defined(_PHP_VERSION_${PHP_VERSION_DEFAULT}_OK)
147_PHP_VERSION= ${PHP_VERSION_DEFAULT} 147_PHP_VERSION= ${PHP_VERSION_DEFAULT}
148.endif 148.endif
149.endif 149.endif
150# take the first one accepted by the package 150# take the first one accepted by the package
151.if !defined(_PHP_VERSION) 151.if !defined(_PHP_VERSION)
152_PHP_VERSION= ${_PHP_VERSION_FIRSTACCEPTED} 152_PHP_VERSION= ${_PHP_VERSION_FIRSTACCEPTED}
153.endif 153.endif
154 154
155# 155#
156# Variable assignment for multi-PHP packages 156# Variable assignment for multi-PHP packages
157MULTI+= PHP_VERSION_REQD=${_PHP_VERSION} 157MULTI+= PHP_VERSION_REQD=${_PHP_VERSION}
158 158
159# export some of internal variables 159# export some of internal variables
160PKG_PHP_VERSION:= ${_PHP_VERSION:C/\.[0-9]//} 160PKG_PHP_VERSION:= ${_PHP_VERSION:C/\.[0-9]//}
161PKG_PHP:= PHP${_PHP_VERSION:C/([0-9])([0-9])/\1.\2/} 161PKG_PHP:= PHP${_PHP_VERSION:C/([0-9])([0-9])/\1.\2/}
162 162
163# currently we have only PHP 5.x packages. 163# currently we have only PHP 5.x packages.
164PKG_PHP_MAJOR_VERS:= 5 164PKG_PHP_MAJOR_VERS:= 5
165 165
166PHP_CHECK_INSTALLED?= Yes 166PHP_CHECK_INSTALLED?= Yes
167 167
168# if installed PHP isn't compatible with required PHP, bail out 168# if installed PHP isn't compatible with required PHP, bail out
169.if empty(PHP_CHECK_INSTALLED:M[nN][oO]) 169.if empty(PHP_CHECK_INSTALLED:M[nN][oO])
170.if defined(_PHP_INSTALLED) && !defined(_PHP_VERSION_${_PHP_VERSION}_INSTALLED) 170.if defined(_PHP_INSTALLED) && !defined(_PHP_VERSION_${_PHP_VERSION}_INSTALLED)
171PKG_SKIP_REASON+= "Package accepts ${PKG_PHP}, but different version is installed" 171PKG_SKIP_REASON+= "Package accepts ${PKG_PHP}, but different version is installed"
172.endif 172.endif
173.endif 173.endif
174 174
175MESSAGE_SUBST+= PKG_PHP_VERSION=${PKG_PHP_VERSION} \ 175MESSAGE_SUBST+= PKG_PHP_VERSION=${PKG_PHP_VERSION} \
176 PKG_PHP=${PKG_PHP} 176 PKG_PHP=${PKG_PHP}
177PLIST_SUBST+= PKG_PHP_VERSION=${PKG_PHP_VERSION} \ 177PLIST_SUBST+= PKG_PHP_VERSION=${PKG_PHP_VERSION} \
178 PKG_PHP_MAJOR_VERS=${PKG_PHP_MAJOR_VERS} \ 178 PKG_PHP_MAJOR_VERS=${PKG_PHP_MAJOR_VERS} \
179 PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR} 179 PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR}
180 180
181# force the selected PHP version for recursive builds 181# force the selected PHP version for recursive builds
182PHP_VERSION_REQD:= ${PKG_PHP_VERSION} 182PHP_VERSION_REQD:= ${PKG_PHP_VERSION}
183 183
184# 184#
185# set variables for the version we decided to use: 185# set variables for the version we decided to use:
186# 186#
187.if ${_PHP_VERSION} == "53" 187.if ${_PHP_VERSION} == "53"
188PHPPKGSRCDIR= ../../lang/php53 188PHPPKGSRCDIR= ../../lang/php53
189PHP_BASE_VERS= ${PHP53_VERSION} 189PHP_BASE_VERS= ${PHP53_VERSION}
190PHP_PKG_PREFIX= php53 190PHP_PKG_PREFIX= php53
191PHP_EXTENSION_DIR= lib/php/${PHP53_RELDATE} 191PHP_EXTENSION_DIR= lib/php/${PHP53_RELDATE}
192.elif ${_PHP_VERSION} == "54" 192.elif ${_PHP_VERSION} == "54"
193PHPPKGSRCDIR= ../../lang/php54 193PHPPKGSRCDIR= ../../lang/php54
194PHP_BASE_VERS= ${PHP54_VERSION} 194PHP_BASE_VERS= ${PHP54_VERSION}
195PHP_PKG_PREFIX= php54 195PHP_PKG_PREFIX= php54
196PHP_EXTENSION_DIR= lib/php/${PHP54_RELDATE} 196PHP_EXTENSION_DIR= lib/php/${PHP54_RELDATE}
197.elif ${_PHP_VERSION} == "55" 197.elif ${_PHP_VERSION} == "55"
198PHPPKGSRCDIR= ../../lang/php55 198PHPPKGSRCDIR= ../../lang/php55
199PHP_BASE_VERS= ${PHP55_VERSION} 199PHP_BASE_VERS= ${PHP55_VERSION}
200PHP_PKG_PREFIX= php55 200PHP_PKG_PREFIX= php55
201PHP_EXTENSION_DIR= lib/php/${PHP55_RELDATE} 201PHP_EXTENSION_DIR= lib/php/${PHP55_RELDATE}
202.else 202.else
203# force an error 203# force an error
204PKG_SKIP_REASON+= "${PKG_PHP} is not a valid package" 204PKG_SKIP_REASON+= "${PKG_PHP} is not a valid package"
205.endif 205.endif
206 206
207# 207#
208# check installed version aginst required: 208# check installed version aginst required:
209# 209#
210.if !empty(PHP_CHECK_INSTALLED:M[nN][oO]) 210.if !empty(PHP_CHECK_INSTALLED:M[nN][oO])
211.if defined(_PHP_VERSION_INSTALLED) && ${_PHP_VERSION} != ${_PHP_VERSION_INSTALLED} 211.if defined(_PHP_VERSION_INSTALLED) && ${_PHP_VERSION} != ${_PHP_VERSION_INSTALLED}
212PKG_SKIP_REASON+= "${PKGBASE} requires ${PKG_PHP}, but php-${_PHP_VERSION_INSTALLED} is already installed." 212PKG_SKIP_REASON+= "${PKGBASE} requires ${PKG_PHP}, but php-${_PHP_VERSION_INSTALLED} is already installed."
213.endif 213.endif
214.endif 214.endif
215 215
216.endif # PHPVERSION_MK 216.endif # PHPVERSION_MK

cvs diff -r1.19 -r1.20 pkgsrc/lang/php55/Attic/distinfo (switch to unified diff)

--- pkgsrc/lang/php55/Attic/distinfo 2014/04/14 10:17:19 1.19
+++ pkgsrc/lang/php55/Attic/distinfo 2014/05/01 15:52:33 1.20
@@ -1,25 +1,25 @@ @@ -1,25 +1,25 @@
1$NetBSD: distinfo,v 1.19 2014/04/14 10:17:19 jperkin Exp $ 1$NetBSD: distinfo,v 1.20 2014/05/01 15:52:33 taca Exp $
2 2
3SHA1 (php-5.5.11.tar.bz2) = 58d660e5455b3f2abdfe3205182ffe3a58b5d1cd 3SHA1 (php-5.5.12.tar.bz2) = eaa0b27368f98af2fa9aa6f08d7ea23bdb53c748
4RMD160 (php-5.5.11.tar.bz2) = 9666e7e595ffa8cc8db87534d75fb05efda495ad 4RMD160 (php-5.5.12.tar.bz2) = c09c98e85c503cf030b0f215fcab0986945ce7ba
5Size (php-5.5.11.tar.bz2) = 13207627 bytes 5Size (php-5.5.12.tar.bz2) = 13251734 bytes
6SHA1 (patch-acinclude.m4) = 9e9c433e4cb96e469f7cf14b2064a0f41fc4568a 6SHA1 (patch-acinclude.m4) = 9e9c433e4cb96e469f7cf14b2064a0f41fc4568a
7SHA1 (patch-aclocal.m4) = 14ae2898e1d68b552e76a7e4ee7006f1aee1f932 7SHA1 (patch-aclocal.m4) = 14ae2898e1d68b552e76a7e4ee7006f1aee1f932
8SHA1 (patch-build_libtool.m4) = 6ee935c55cc01704c6e9edb4e383b2ddb7c746e7 8SHA1 (patch-build_libtool.m4) = 6ee935c55cc01704c6e9edb4e383b2ddb7c746e7
9SHA1 (patch-configure) = 8d8af34ce99d91f8086079963b31b145caab66d3 9SHA1 (patch-configure) = 7b4bef368e6709c26c0db31a4c7ebc04e4d55e9c
10SHA1 (patch-ext_gd_config.m4) = 91c9798333d4776856a0a9e20196986856b758b2 10SHA1 (patch-ext_gd_config.m4) = 91c9798333d4776856a0a9e20196986856b758b2
11SHA1 (patch-ext_imap_config.m4) = 01681e8b54ee586ec4db72a5da2d0aec3fa89fcc 11SHA1 (patch-ext_imap_config.m4) = 01681e8b54ee586ec4db72a5da2d0aec3fa89fcc
12SHA1 (patch-ext_mssql_php__mssql.c) = 4ef1837850443e9db2e71620a3ddaed5ab5c435b 12SHA1 (patch-ext_mssql_php__mssql.c) = 4ef1837850443e9db2e71620a3ddaed5ab5c435b
13SHA1 (patch-ext_opcache_config.m4) = 7c0d98feaeec8a0ca61f6f77a1906aa2d601be3f 13SHA1 (patch-ext_opcache_config.m4) = 7c0d98feaeec8a0ca61f6f77a1906aa2d601be3f
14SHA1 (patch-ext_pdo__mysql_config.m4) = 3526e737da25129710218e7141d5a05ae0a51390 14SHA1 (patch-ext_pdo__mysql_config.m4) = 3526e737da25129710218e7141d5a05ae0a51390
15SHA1 (patch-ext_pdo_config.m4) = 26a4ad02e5c6b7a54c3c54a6d026a3ccfed62c59 15SHA1 (patch-ext_pdo_config.m4) = 26a4ad02e5c6b7a54c3c54a6d026a3ccfed62c59
16SHA1 (patch-ext_phar_Makefile.frag) = 1af23d9135557bc7ba2f3627b317d4cbef37aaba 16SHA1 (patch-ext_phar_Makefile.frag) = 1af23d9135557bc7ba2f3627b317d4cbef37aaba
17SHA1 (patch-ext_phar_phar_phar.php) = 011f2d68048dbc63f5efcab4e23062daa9e8e08c 17SHA1 (patch-ext_phar_phar_phar.php) = 011f2d68048dbc63f5efcab4e23062daa9e8e08c
18SHA1 (patch-ext_sqlite3_libsqlite_sqlite3.c) = 8b72c83819e4d348001c11ec122d377f95b2099d 18SHA1 (patch-ext_sqlite3_libsqlite_sqlite3.c) = b384b9daa466f2a8a3e6cfd4ea6cff81f9342941
19SHA1 (patch-ext_standard_basic__functions.c) = f2a44998145306c2cb2d2f3822c0e7cc70c778b4 19SHA1 (patch-ext_standard_basic__functions.c) = f2a44998145306c2cb2d2f3822c0e7cc70c778b4
20SHA1 (patch-makedist) = 3f6b0621d30264824f2cb4c2903d15ba95be3937 20SHA1 (patch-makedist) = 3f6b0621d30264824f2cb4c2903d15ba95be3937
21SHA1 (patch-php.ini-development) = 4fc40f0af5f6e58b614794e066a5738694dc8ef8 21SHA1 (patch-php.ini-development) = 4fc40f0af5f6e58b614794e066a5738694dc8ef8
22SHA1 (patch-php.ini-production) = 47c1b14ee78fbcaa084a58d2c0c3e843104072be 22SHA1 (patch-php.ini-production) = 47c1b14ee78fbcaa084a58d2c0c3e843104072be
23SHA1 (patch-run-tests.php) = ff80b8ad52d7c0a43fa318ed9bffca9d7b3e688d 23SHA1 (patch-run-tests.php) = ff80b8ad52d7c0a43fa318ed9bffca9d7b3e688d
24SHA1 (patch-sapi_cgi_Makefile.frag) = 3784758c085066d1088ae1420b0f9bcf98f74de9 24SHA1 (patch-sapi_cgi_Makefile.frag) = 3784758c085066d1088ae1420b0f9bcf98f74de9
25SHA1 (patch-sapi_fpm_php-fpm.conf.in) = 2369bb6a426a7fb47dc73c88f0daa0f6fa67b593 25SHA1 (patch-sapi_fpm_php-fpm.conf.in) = 2369bb6a426a7fb47dc73c88f0daa0f6fa67b593

cvs diff -r1.5 -r1.6 pkgsrc/lang/php55/patches/Attic/patch-configure (switch to unified diff)

--- pkgsrc/lang/php55/patches/Attic/patch-configure 2014/03/19 21:56:31 1.5
+++ pkgsrc/lang/php55/patches/Attic/patch-configure 2014/05/01 15:52:33 1.6
@@ -1,117 +1,117 @@ @@ -1,117 +1,117 @@
1$NetBSD: patch-configure,v 1.5 2014/03/19 21:56:31 asau Exp $ 1$NetBSD: patch-configure,v 1.6 2014/05/01 15:52:33 taca Exp $
2 2
3--- configure.orig 2014-03-05 10:52:32.000000000 +0000 3--- configure.orig 2014-04-30 08:40:22.000000000 +0000
4+++ configure 4+++ configure
5@@ -23604,7 +23604,7 @@ fi 5@@ -23604,7 +23604,7 @@ fi
6 if test "$found_openssl" = "no"; then 6 if test "$found_openssl" = "no"; then
7  7
8 if test "$PHP_OPENSSL_DIR" = "yes"; then 8 if test "$PHP_OPENSSL_DIR" = "yes"; then
9- PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl" 9- PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl"
10+ PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl /" 10+ PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl /"
11 fi 11 fi
12  12
13 for i in $PHP_OPENSSL_DIR; do 13 for i in $PHP_OPENSSL_DIR; do
14@@ -25754,7 +25754,7 @@ $as_echo "yes" >&6; } 14@@ -25754,7 +25754,7 @@ $as_echo "yes" >&6; }
15 PHP_SQLITE3_CFLAGS="-I@ext_srcdir@/libsqlite $other_flags $threadsafe_flags $debug_flags" 15 PHP_SQLITE3_CFLAGS="-I@ext_srcdir@/libsqlite $other_flags $threadsafe_flags $debug_flags"
16  16
17  17
18- for header_file in ext/sqlite3/libsqlite/sqlite3.h; do 18- for header_file in ext/sqlite3/libsqlite/sqlite3.h; do
19+ for header_file; do 19+ for header_file; do
20  20
21  21
22 unique=`echo $header_file|$SED 's/[^a-zA-Z0-9]/_/g'` 22 unique=`echo $header_file|$SED 's/[^a-zA-Z0-9]/_/g'`
23@@ -36811,7 +36811,7 @@ fi 23@@ -36811,7 +36811,7 @@ fi
24 if test "$found_openssl" = "no"; then 24 if test "$found_openssl" = "no"; then
25  25
26 if test "$PHP_OPENSSL_DIR" = "yes"; then 26 if test "$PHP_OPENSSL_DIR" = "yes"; then
27- PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl" 27- PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl"
28+ PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl /" 28+ PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl /"
29 fi 29 fi
30  30
31 for i in $PHP_OPENSSL_DIR; do 31 for i in $PHP_OPENSSL_DIR; do
32@@ -48213,7 +48213,7 @@ fi 32@@ -48213,7 +48213,7 @@ fi
33 if test "$found_openssl" = "no"; then 33 if test "$found_openssl" = "no"; then
34  34
35 if test "$PHP_OPENSSL_DIR" = "yes"; then 35 if test "$PHP_OPENSSL_DIR" = "yes"; then
36- PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl" 36- PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl"
37+ PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl /" 37+ PHP_OPENSSL_DIR="/usr/local/ssl /usr/local /usr /usr/local/openssl /"
38 fi 38 fi
39  39
40 for i in $PHP_OPENSSL_DIR; do 40 for i in $PHP_OPENSSL_DIR; do
41@@ -65190,7 +65190,7 @@ rm -f core *.core core.conftest.* gmon.o 41@@ -65189,7 +65189,7 @@ rm -f core *.core core.conftest.* gmon.o
42 fi 42 fi
43  43
44  44
45-if test "$flock_type" == "unknown"; then 45-if test "$flock_type" == "unknown"; then
46+if test "$flock_type" = "unknown"; then 46+if test "$flock_type" = "unknown"; then
47 as_fn_error $? "Don't know how to define struct flock on this system, set --enable-opcache=no" "$LINENO" 5 47 as_fn_error $? "Don't know how to define struct flock on this system, set --enable-opcache=no" "$LINENO" 5
48 fi 48 fi
49  49
50@@ -104584,12 +104584,7 @@ old_CC=$CC 50@@ -104582,12 +104582,7 @@ old_CC=$CC
51 if test "$PHP_THREAD_SAFETY" = "yes" && test -n "$ac_cv_pthreads_cflags"; then 51 if test "$PHP_THREAD_SAFETY" = "yes" && test -n "$ac_cv_pthreads_cflags"; then
52 CXXFLAGS="$CXXFLAGS $ac_cv_pthreads_cflags" 52 CXXFLAGS="$CXXFLAGS $ac_cv_pthreads_cflags"
53 INLINE_CFLAGS="$INLINE_CFLAGS $ac_cv_pthreads_cflags" 53 INLINE_CFLAGS="$INLINE_CFLAGS $ac_cv_pthreads_cflags"
54- cat >meta_ccld<<EOF 54- cat >meta_ccld<<EOF
55-#! /bin/sh 55-#! /bin/sh
56-exec $CC $ac_cv_pthreads_cflags \$@ 56-exec $CC $ac_cv_pthreads_cflags \$@
57-EOF 57-EOF
58- CC="$abs_builddir/meta_ccld" 58- CC="$abs_builddir/meta_ccld"
59- chmod +x meta_ccld 59- chmod +x meta_ccld
60+ CPPFLAGS="$CPPFLAGS $ac_cv_pthreads_cflags" 60+ CPPFLAGS="$CPPFLAGS $ac_cv_pthreads_cflags"
61 fi 61 fi
62  62
63 if test "$PHP_THREAD_SAFETY" = "yes" && test "$PHP_MYSQL" = "yes"; then 63 if test "$PHP_THREAD_SAFETY" = "yes" && test "$PHP_MYSQL" = "yes"; then
64@@ -107703,7 +107698,7 @@ if test -z "$aix_libpath"; then aix_libp 64@@ -107701,7 +107696,7 @@ if test -z "$aix_libpath"; then aix_libp
65 hardcode_shlibpath_var=no 65 hardcode_shlibpath_var=no
66 ;; 66 ;;
67  67
68- freebsd1*) 68- freebsd1*)
69+ freebsd1|freebsd1.*) 69+ freebsd1|freebsd1.*)
70 ld_shlibs=no 70 ld_shlibs=no
71 ;; 71 ;;
72  72
73@@ -108352,7 +108347,7 @@ dgux*) 73@@ -108350,7 +108345,7 @@ dgux*)
74 shlibpath_var=LD_LIBRARY_PATH 74 shlibpath_var=LD_LIBRARY_PATH
75 ;; 75 ;;
76  76
77-freebsd1*) 77-freebsd1*)
78+freebsd1|freebsd1.*) 78+freebsd1|freebsd1.*)
79 dynamic_linker=no 79 dynamic_linker=no
80 ;; 80 ;;
81  81
82@@ -108363,7 +108358,7 @@ freebsd* | dragonfly*) 82@@ -108361,7 +108356,7 @@ freebsd* | dragonfly*)
83 objformat=`/usr/bin/objformat` 83 objformat=`/usr/bin/objformat`
84 else 84 else
85 case $host_os in 85 case $host_os in
86- freebsd[123]*) objformat=aout ;; 86- freebsd[123]*) objformat=aout ;;
87+ freebsd[123]|freebsd[123].*) objformat=aout ;; 87+ freebsd[123]|freebsd[123].*) objformat=aout ;;
88 *) objformat=elf ;; 88 *) objformat=elf ;;
89 esac 89 esac
90 fi 90 fi
91@@ -110443,7 +110438,7 @@ if test -z "$aix_libpath"; then aix_libp 91@@ -110441,7 +110436,7 @@ if test -z "$aix_libpath"; then aix_libp
92 ;; 92 ;;
93 esac 93 esac
94 ;; 94 ;;
95- freebsd[12]*) 95- freebsd[12]*)
96+ freebsd[12]|freebsd[12].*) 96+ freebsd[12]|freebsd[12].*)
97 # C++ shared libraries reported to be fairly broken before switch to ELF 97 # C++ shared libraries reported to be fairly broken before switch to ELF
98 ld_shlibs_CXX=no 98 ld_shlibs_CXX=no
99 ;; 99 ;;
100@@ -111989,7 +111984,7 @@ dgux*) 100@@ -111987,7 +111982,7 @@ dgux*)
101 shlibpath_var=LD_LIBRARY_PATH 101 shlibpath_var=LD_LIBRARY_PATH
102 ;; 102 ;;
103  103
104-freebsd1*) 104-freebsd1*)
105+freebsd1|freebsd1.*) 105+freebsd1|freebsd1.*)
106 dynamic_linker=no 106 dynamic_linker=no
107 ;; 107 ;;
108  108
109@@ -112000,7 +111995,7 @@ freebsd* | dragonfly*) 109@@ -111998,7 +111993,7 @@ freebsd* | dragonfly*)
110 objformat=`/usr/bin/objformat` 110 objformat=`/usr/bin/objformat`
111 else 111 else
112 case $host_os in 112 case $host_os in
113- freebsd[123]*) objformat=aout ;; 113- freebsd[123]*) objformat=aout ;;
114+ freebsd[123]|freebsd[123].*) objformat=aout ;; 114+ freebsd[123]|freebsd[123].*) objformat=aout ;;
115 *) objformat=elf ;; 115 *) objformat=elf ;;
116 esac 116 esac
117 fi 117 fi

cvs diff -r1.1 -r1.2 pkgsrc/lang/php55/patches/Attic/patch-ext_sqlite3_libsqlite_sqlite3.c (switch to unified diff)

--- pkgsrc/lang/php55/patches/Attic/patch-ext_sqlite3_libsqlite_sqlite3.c 2014/04/14 10:17:19 1.1
+++ pkgsrc/lang/php55/patches/Attic/patch-ext_sqlite3_libsqlite_sqlite3.c 2014/05/01 15:52:33 1.2
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1$NetBSD: patch-ext_sqlite3_libsqlite_sqlite3.c,v 1.1 2014/04/14 10:17:19 jperkin Exp $ 1$NetBSD: patch-ext_sqlite3_libsqlite_sqlite3.c,v 1.2 2014/05/01 15:52:33 taca Exp $
2 2
3Don't redefine _XOPEN_SOURCE, it is already set from php. 3Don't redefine _XOPEN_SOURCE, it is already set from php.
4 4
5--- ext/sqlite3/libsqlite/sqlite3.c.orig 2014-04-01 12:32:03.000000000 +0000 5--- ext/sqlite3/libsqlite/sqlite3.c.orig 2014-04-29 08:04:30.000000000 +0000
6+++ ext/sqlite3/libsqlite/sqlite3.c 6+++ ext/sqlite3/libsqlite/sqlite3.c
7@@ -7822,7 +7822,7 @@ struct sqlite3_rtree_geometry { 7@@ -7867,7 +7867,7 @@ struct sqlite3_rtree_geometry {
8 ** But _XOPEN_SOURCE define causes problems for Mac OS X, so omit 8 ** But _XOPEN_SOURCE define causes problems for Mac OS X, so omit
9 ** it. 9 ** it.
10 */ 10 */
11-#if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && !defined(__APPLE__) 11-#if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && !defined(__APPLE__)
12+#if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && !defined(__APPLE__) && !defined(__sun) 12+#if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && !defined(__APPLE__) && !defined(__sun)
13 # define _XOPEN_SOURCE 600 13 # define _XOPEN_SOURCE 600
14 #endif 14 #endif
15  15