Fri Nov 23 13:20:03 2012 UTC ()
Update php53 to 5.3.19.

22 Nov 2012, PHP 5.3.19

- Core
  . Fixed bug #63241 (PHP fails to open Windows deduplicated files).
    (daniel dot stelter-gliese at innogames dot de)
  . Fixed bug #62444 (Handle leak in is_readable on windows).
    (krazyest at seznam dot cz)

- Libxml
  . Fixed bug #63389 (Missing context check on libxml_set_streams_context()
    causes memleak). (Laruence)

- Mbstring:
  . Fixed bug #63447 (max_input_vars doesn't filter variables when
    mbstring.encoding_translation = On). (Laruence)

- MySQL:
  . Fixed compilation failure on mixed 32/64 bit systems. (Andrey)

- OCI8:
  . Fixed bug #63265 (Add ORA-00028 to the PHP_OCI_HANDLE_ERROR macro)
    (Chris Jones)

- PCRE:
  . Fixed bug #63055 (Segfault in zend_gc with SF2 testsuite).
    (Dmitry, Laruence)
  . Fixed bug #63284 (Upgrade PCRE to 8.31). (Anatoliy)

- PDO:
  . Fixed bug #63235 (buffer overflow in use of SQLGetDiagRec).
    (Martin Osvald, Remi)

- PDO_pgsql:
  . Fixed bug #62593 (Emulate prepares behave strangely with PARAM_BOOL).
    (Will Fitch)

- Streams:
  . Fixed bug #63240 (stream_get_line() return contains delimiter string).
    (Tjerk, Gustavo)

- Phar:
  . Fixed bug #63297 (Phar fails to write an openssl based signature).
    (Anatoliy)


(taca)
diff -r1.18 -r1.19 pkgsrc/lang/php53/Makefile.common
diff -r1.25 -r1.26 pkgsrc/lang/php53/Makefile.php
diff -r1.53 -r1.54 pkgsrc/lang/php53/distinfo

cvs diff -r1.18 -r1.19 pkgsrc/lang/php53/Attic/Makefile.common (expand / switch to unified diff)

--- pkgsrc/lang/php53/Attic/Makefile.common 2012/10/19 14:57:02 1.18
+++ pkgsrc/lang/php53/Attic/Makefile.common 2012/11/23 13:20:03 1.19
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.common,v 1.18 2012/10/19 14:57:02 taca Exp $ 1# $NetBSD: Makefile.common,v 1.19 2012/11/23 13:20:03 taca Exp $
2# used by lang/php53/Makefile.php 2# used by lang/php53/Makefile.php
3# used by lang/php/ext.mk 3# used by lang/php/ext.mk
4# used by meta-pkgs/php53-extensions/Makefile 4# used by meta-pkgs/php53-extensions/Makefile
5 5
6# 6#
7# NOTE: 7# NOTE:
8# The suhosin option includes a patch from http://www.hardened-php.net/ 8# The suhosin option includes a patch from http://www.hardened-php.net/
9# Which tracks with the exact version number of PHP. There may be a delay 9# Which tracks with the exact version number of PHP. There may be a delay
10# in the patch which can leave the option broken until an updated patch 10# in the patch which can leave the option broken until an updated patch
11# is released. When updating PHP please don't forget to update the 11# is released. When updating PHP please don't forget to update the
12# distnfo with the details of the suhosin patch as well. 12# distnfo with the details of the suhosin patch as well.
13# 13#
14# Check these packages when update to new release of PHP and consider to 14# Check these packages when update to new release of PHP and consider to
@@ -28,24 +28,24 @@ DISTNAME= php-${PHP_BASE_VERS} @@ -28,24 +28,24 @@ DISTNAME= php-${PHP_BASE_VERS}
28CATEGORIES+= www 28CATEGORIES+= www
29 29
30.if !defined(PECL_VERSION) 30.if !defined(PECL_VERSION)
31MASTER_SITES?= http://www.php.net/distributions/ \ 31MASTER_SITES?= http://www.php.net/distributions/ \
32 http://uk.php.net/distributions/ \ 32 http://uk.php.net/distributions/ \
33 http://de.php.net/distributions/ \ 33 http://de.php.net/distributions/ \
34 http://us.php.net/distributions/ 34 http://us.php.net/distributions/
35EXTRACT_SUFX?= .tar.bz2 35EXTRACT_SUFX?= .tar.bz2
36.endif 36.endif
37 37
38MAINTAINER?= pkgsrc-users@NetBSD.org 38MAINTAINER?= pkgsrc-users@NetBSD.org
39HOMEPAGE?= http://www.php.net/ 39HOMEPAGE?= http://www.php.net/
40 40
41PHP_BASE_VERS= 5.3.18 41PHP_BASE_VERS= 5.3.19
42 42
43PHP_EXTENSION_DIR= lib/php/20090630 43PHP_EXTENSION_DIR= lib/php/20090630
44PLIST_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR} 44PLIST_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR}
45 45
46PKG_SYSCONFVAR?= php 46PKG_SYSCONFVAR?= php
47 47
48# needed due to (broken?) configure checks in php-xmlrpc and php5-dom 48# needed due to (broken?) configure checks in php-xmlrpc and php5-dom
49CONFIGURE_ENV+= PHP_LIBXML_SHARED="1" 49CONFIGURE_ENV+= PHP_LIBXML_SHARED="1"
50 50
51.include "../../mk/bsd.prefs.mk" 51.include "../../mk/bsd.prefs.mk"

cvs diff -r1.25 -r1.26 pkgsrc/lang/php53/Attic/Makefile.php (expand / switch to unified diff)

--- pkgsrc/lang/php53/Attic/Makefile.php 2012/10/20 00:29:40 1.25
+++ pkgsrc/lang/php53/Attic/Makefile.php 2012/11/23 13:20:03 1.26
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.php,v 1.25 2012/10/20 00:29:40 taca Exp $ 1# $NetBSD: Makefile.php,v 1.26 2012/11/23 13:20:03 taca Exp $
2# used by lang/php53/Makefile 2# used by lang/php53/Makefile
3# used by www/ap-php/Makefile 3# used by www/ap-php/Makefile
4 4
5.include "../../lang/php53/Makefile.common" 5.include "../../lang/php53/Makefile.common"
6 6
7DISTINFO_FILE= ${.CURDIR}/../../lang/php53/distinfo 7DISTINFO_FILE= ${.CURDIR}/../../lang/php53/distinfo
8PATCHDIR= ${.CURDIR}/../../lang/php53/patches 8PATCHDIR= ${.CURDIR}/../../lang/php53/patches
9 9
10USE_LIBTOOL= YES 10USE_LIBTOOL= YES
11USE_LANGUAGES= c c++ 11USE_LANGUAGES= c c++
12GNU_CONFIGURE= YES 12GNU_CONFIGURE= YES
13BUILD_DEFS+= VARBASE 13BUILD_DEFS+= VARBASE
14PLIST_VARS+= suhosin 14PLIST_VARS+= suhosin
@@ -48,27 +48,27 @@ PKG_SUPPORTED_OPTIONS+= inet6 ssl mainta @@ -48,27 +48,27 @@ PKG_SUPPORTED_OPTIONS+= inet6 ssl mainta
48PKG_SUGGESTED_OPTIONS+= inet6 ssl 48PKG_SUGGESTED_OPTIONS+= inet6 ssl
49 49
50#SUBST_CLASSES+= ini 50#SUBST_CLASSES+= ini
51#SUBST_STAGE.ini= post-patch 51#SUBST_STAGE.ini= post-patch
52#SUBST_FILES.ini= php.ini-development 52#SUBST_FILES.ini= php.ini-development
53#SUBST_FILES.ini+= php.ini-production 53#SUBST_FILES.ini+= php.ini-production
54#SUBST_SED.ini= -e "s|\\;include_path = \".:/php/includes\"|include_path = \".:${PREFIX}/lib/php\"|g" 54#SUBST_SED.ini= -e "s|\\;include_path = \".:/php/includes\"|include_path = \".:${PREFIX}/lib/php\"|g"
55#SUBST_MESSAGE.ini= Fixing default ini files. 55#SUBST_MESSAGE.ini= Fixing default ini files.
56 56
57.include "../../mk/bsd.options.mk" 57.include "../../mk/bsd.options.mk"
58 58
59.if !empty(PKG_OPTIONS:Msuhosin) 59.if !empty(PKG_OPTIONS:Msuhosin)
60SUHOSIN_PHPVER= 5.3.9 60SUHOSIN_PHPVER= 5.3.9
61. if ${SUHOSIN_PHPVER} != ${PHP_BASE_VERS} && ${PHP_BASE_VERS} != 5.3.18 61. if ${SUHOSIN_PHPVER} != ${PHP_BASE_VERS} && ${PHP_BASE_VERS} != 5.3.19
62PKG_FAIL_REASON+= "The suhosin patch is currently not available for" 62PKG_FAIL_REASON+= "The suhosin patch is currently not available for"
63PKG_FAIL_REASON+= "this version of PHP. You may have to wait until" 63PKG_FAIL_REASON+= "this version of PHP. You may have to wait until"
64PKG_FAIL_REASON+= "an updated patch is released or temporarily" 64PKG_FAIL_REASON+= "an updated patch is released or temporarily"
65PKG_FAIL_REASON+= "build this package without the suhosin option." 65PKG_FAIL_REASON+= "build this package without the suhosin option."
66. else 66. else
67PATCH_SITES= http://download.suhosin.org/ 67PATCH_SITES= http://download.suhosin.org/
68PATCHFILES+= suhosin-patch-${SUHOSIN_PHPVER}-0.9.10.patch.gz 68PATCHFILES+= suhosin-patch-${SUHOSIN_PHPVER}-0.9.10.patch.gz
69PATCH_DIST_STRIP= -p1 69PATCH_DIST_STRIP= -p1
70PLIST.suhosin= yes 70PLIST.suhosin= yes
71MESSAGE_SRC= ${.CURDIR}/../../lang/php53/MESSAGE 71MESSAGE_SRC= ${.CURDIR}/../../lang/php53/MESSAGE
72MESSAGE_SRC+= ${.CURDIR}/../../lang/php53/MESSAGE.suhosin 72MESSAGE_SRC+= ${.CURDIR}/../../lang/php53/MESSAGE.suhosin
73 73
74# quick fix to apply suhosin patch 74# quick fix to apply suhosin patch

cvs diff -r1.53 -r1.54 pkgsrc/lang/php53/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/lang/php53/Attic/distinfo 2012/10/20 00:29:40 1.53
+++ pkgsrc/lang/php53/Attic/distinfo 2012/11/23 13:20:03 1.54
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1$NetBSD: distinfo,v 1.53 2012/10/20 00:29:40 taca Exp $ 1$NetBSD: distinfo,v 1.54 2012/11/23 13:20:03 taca Exp $
2 2
3SHA1 (php-5.3.18.tar.bz2) = 561b7ed1ad147346d97f4cac78159e5918a7b5b9 3SHA1 (php-5.3.19.tar.bz2) = 083614a8c510cab081dd08c59ba3436cfd96fbef
4RMD160 (php-5.3.18.tar.bz2) = f1b0059816fb817d159532239c02ddefac0085f4 4RMD160 (php-5.3.19.tar.bz2) = 0083b282091490789379d2443fd91d320f3e95a4
5Size (php-5.3.18.tar.bz2) = 11335289 bytes 5Size (php-5.3.19.tar.bz2) = 11359557 bytes
6SHA1 (suhosin-patch-5.3.9-0.9.10.patch.gz) = 7b9ef5c3e0831154df0d6290aba0989ca90138ed 6SHA1 (suhosin-patch-5.3.9-0.9.10.patch.gz) = 7b9ef5c3e0831154df0d6290aba0989ca90138ed
7RMD160 (suhosin-patch-5.3.9-0.9.10.patch.gz) = ce43921fd9b183b154713ecda98294f6c68d5f22 7RMD160 (suhosin-patch-5.3.9-0.9.10.patch.gz) = ce43921fd9b183b154713ecda98294f6c68d5f22
8Size (suhosin-patch-5.3.9-0.9.10.patch.gz) = 40967 bytes 8Size (suhosin-patch-5.3.9-0.9.10.patch.gz) = 40967 bytes
9SHA1 (patch-aa) = b0dc6cd0b2103d5858280202506b33322a98496e 9SHA1 (patch-aa) = b0dc6cd0b2103d5858280202506b33322a98496e
10SHA1 (patch-ab) = d08bb50cf074a6065ef0d1d67a713b7573cb2f5b 10SHA1 (patch-ab) = d08bb50cf074a6065ef0d1d67a713b7573cb2f5b
11SHA1 (patch-ac) = 1720f154232241c19d0c6e08a824e33252f1b690 11SHA1 (patch-ac) = 1720f154232241c19d0c6e08a824e33252f1b690
12SHA1 (patch-ad) = 1608c58860a43b4e31df8646b5ded253ec9aa881 12SHA1 (patch-ad) = 1608c58860a43b4e31df8646b5ded253ec9aa881
13SHA1 (patch-ae) = e590db60a60f4e5ef2da4e5edb786335a67a3d56 13SHA1 (patch-ae) = e590db60a60f4e5ef2da4e5edb786335a67a3d56
14SHA1 (patch-af) = 1618b23fd6d090ce5aa929208416028724278bfc 14SHA1 (patch-af) = 1618b23fd6d090ce5aa929208416028724278bfc
15SHA1 (patch-ag) = 37225805be13ec76d8ac17833da8115e99b78745 15SHA1 (patch-ag) = 37225805be13ec76d8ac17833da8115e99b78745
16SHA1 (patch-ah) = b20c29c64b3099f77855a5ec28960dc1c4f65c83 16SHA1 (patch-ah) = b20c29c64b3099f77855a5ec28960dc1c4f65c83
17SHA1 (patch-ai) = d4766893a2c47a4e4a744248dda265b0a9a66a1f 17SHA1 (patch-ai) = d4766893a2c47a4e4a744248dda265b0a9a66a1f
18SHA1 (patch-aj) = 8698b3caa6299843c7483473b0cb18ceffa3dada 18SHA1 (patch-aj) = 8698b3caa6299843c7483473b0cb18ceffa3dada