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)diff -r1.18 -r1.19 pkgsrc/lang/php53/Makefile.common
(taca)
@@ -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} | |||
28 | CATEGORIES+= www | 28 | CATEGORIES+= www | |
29 | 29 | |||
30 | .if !defined(PECL_VERSION) | 30 | .if !defined(PECL_VERSION) | |
31 | MASTER_SITES?= http://www.php.net/distributions/ \ | 31 | MASTER_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/ | |
35 | EXTRACT_SUFX?= .tar.bz2 | 35 | EXTRACT_SUFX?= .tar.bz2 | |
36 | .endif | 36 | .endif | |
37 | 37 | |||
38 | MAINTAINER?= pkgsrc-users@NetBSD.org | 38 | MAINTAINER?= pkgsrc-users@NetBSD.org | |
39 | HOMEPAGE?= http://www.php.net/ | 39 | HOMEPAGE?= http://www.php.net/ | |
40 | 40 | |||
41 | PHP_BASE_VERS= 5.3.18 | 41 | PHP_BASE_VERS= 5.3.19 | |
42 | 42 | |||
43 | PHP_EXTENSION_DIR= lib/php/20090630 | 43 | PHP_EXTENSION_DIR= lib/php/20090630 | |
44 | PLIST_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR} | 44 | PLIST_SUBST+= PHP_EXTENSION_DIR=${PHP_EXTENSION_DIR} | |
45 | 45 | |||
46 | PKG_SYSCONFVAR?= php | 46 | PKG_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 | |
49 | CONFIGURE_ENV+= PHP_LIBXML_SHARED="1" | 49 | CONFIGURE_ENV+= PHP_LIBXML_SHARED="1" | |
50 | 50 | |||
51 | .include "../../mk/bsd.prefs.mk" | 51 | .include "../../mk/bsd.prefs.mk" |
@@ -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 | |||
7 | DISTINFO_FILE= ${.CURDIR}/../../lang/php53/distinfo | 7 | DISTINFO_FILE= ${.CURDIR}/../../lang/php53/distinfo | |
8 | PATCHDIR= ${.CURDIR}/../../lang/php53/patches | 8 | PATCHDIR= ${.CURDIR}/../../lang/php53/patches | |
9 | 9 | |||
10 | USE_LIBTOOL= YES | 10 | USE_LIBTOOL= YES | |
11 | USE_LANGUAGES= c c++ | 11 | USE_LANGUAGES= c c++ | |
12 | GNU_CONFIGURE= YES | 12 | GNU_CONFIGURE= YES | |
13 | BUILD_DEFS+= VARBASE | 13 | BUILD_DEFS+= VARBASE | |
14 | PLIST_VARS+= suhosin | 14 | PLIST_VARS+= suhosin | |
@@ -48,27 +48,27 @@ PKG_SUPPORTED_OPTIONS+= inet6 ssl mainta | @@ -48,27 +48,27 @@ PKG_SUPPORTED_OPTIONS+= inet6 ssl mainta | |||
48 | PKG_SUGGESTED_OPTIONS+= inet6 ssl | 48 | PKG_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) | |
60 | SUHOSIN_PHPVER= 5.3.9 | 60 | SUHOSIN_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 | |
62 | PKG_FAIL_REASON+= "The suhosin patch is currently not available for" | 62 | PKG_FAIL_REASON+= "The suhosin patch is currently not available for" | |
63 | PKG_FAIL_REASON+= "this version of PHP. You may have to wait until" | 63 | PKG_FAIL_REASON+= "this version of PHP. You may have to wait until" | |
64 | PKG_FAIL_REASON+= "an updated patch is released or temporarily" | 64 | PKG_FAIL_REASON+= "an updated patch is released or temporarily" | |
65 | PKG_FAIL_REASON+= "build this package without the suhosin option." | 65 | PKG_FAIL_REASON+= "build this package without the suhosin option." | |
66 | . else | 66 | . else | |
67 | PATCH_SITES= http://download.suhosin.org/ | 67 | PATCH_SITES= http://download.suhosin.org/ | |
68 | PATCHFILES+= suhosin-patch-${SUHOSIN_PHPVER}-0.9.10.patch.gz | 68 | PATCHFILES+= suhosin-patch-${SUHOSIN_PHPVER}-0.9.10.patch.gz | |
69 | PATCH_DIST_STRIP= -p1 | 69 | PATCH_DIST_STRIP= -p1 | |
70 | PLIST.suhosin= yes | 70 | PLIST.suhosin= yes | |
71 | MESSAGE_SRC= ${.CURDIR}/../../lang/php53/MESSAGE | 71 | MESSAGE_SRC= ${.CURDIR}/../../lang/php53/MESSAGE | |
72 | MESSAGE_SRC+= ${.CURDIR}/../../lang/php53/MESSAGE.suhosin | 72 | MESSAGE_SRC+= ${.CURDIR}/../../lang/php53/MESSAGE.suhosin | |
73 | 73 | |||
74 | # quick fix to apply suhosin patch | 74 | # quick fix to apply suhosin patch |
@@ -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 | |||
3 | SHA1 (php-5.3.18.tar.bz2) = 561b7ed1ad147346d97f4cac78159e5918a7b5b9 | 3 | SHA1 (php-5.3.19.tar.bz2) = 083614a8c510cab081dd08c59ba3436cfd96fbef | |
4 | RMD160 (php-5.3.18.tar.bz2) = f1b0059816fb817d159532239c02ddefac0085f4 | 4 | RMD160 (php-5.3.19.tar.bz2) = 0083b282091490789379d2443fd91d320f3e95a4 | |
5 | Size (php-5.3.18.tar.bz2) = 11335289 bytes | 5 | Size (php-5.3.19.tar.bz2) = 11359557 bytes | |
6 | SHA1 (suhosin-patch-5.3.9-0.9.10.patch.gz) = 7b9ef5c3e0831154df0d6290aba0989ca90138ed | 6 | SHA1 (suhosin-patch-5.3.9-0.9.10.patch.gz) = 7b9ef5c3e0831154df0d6290aba0989ca90138ed | |
7 | RMD160 (suhosin-patch-5.3.9-0.9.10.patch.gz) = ce43921fd9b183b154713ecda98294f6c68d5f22 | 7 | RMD160 (suhosin-patch-5.3.9-0.9.10.patch.gz) = ce43921fd9b183b154713ecda98294f6c68d5f22 | |
8 | Size (suhosin-patch-5.3.9-0.9.10.patch.gz) = 40967 bytes | 8 | Size (suhosin-patch-5.3.9-0.9.10.patch.gz) = 40967 bytes | |
9 | SHA1 (patch-aa) = b0dc6cd0b2103d5858280202506b33322a98496e | 9 | SHA1 (patch-aa) = b0dc6cd0b2103d5858280202506b33322a98496e | |
10 | SHA1 (patch-ab) = d08bb50cf074a6065ef0d1d67a713b7573cb2f5b | 10 | SHA1 (patch-ab) = d08bb50cf074a6065ef0d1d67a713b7573cb2f5b | |
11 | SHA1 (patch-ac) = 1720f154232241c19d0c6e08a824e33252f1b690 | 11 | SHA1 (patch-ac) = 1720f154232241c19d0c6e08a824e33252f1b690 | |
12 | SHA1 (patch-ad) = 1608c58860a43b4e31df8646b5ded253ec9aa881 | 12 | SHA1 (patch-ad) = 1608c58860a43b4e31df8646b5ded253ec9aa881 | |
13 | SHA1 (patch-ae) = e590db60a60f4e5ef2da4e5edb786335a67a3d56 | 13 | SHA1 (patch-ae) = e590db60a60f4e5ef2da4e5edb786335a67a3d56 | |
14 | SHA1 (patch-af) = 1618b23fd6d090ce5aa929208416028724278bfc | 14 | SHA1 (patch-af) = 1618b23fd6d090ce5aa929208416028724278bfc | |
15 | SHA1 (patch-ag) = 37225805be13ec76d8ac17833da8115e99b78745 | 15 | SHA1 (patch-ag) = 37225805be13ec76d8ac17833da8115e99b78745 | |
16 | SHA1 (patch-ah) = b20c29c64b3099f77855a5ec28960dc1c4f65c83 | 16 | SHA1 (patch-ah) = b20c29c64b3099f77855a5ec28960dc1c4f65c83 | |
17 | SHA1 (patch-ai) = d4766893a2c47a4e4a744248dda265b0a9a66a1f | 17 | SHA1 (patch-ai) = d4766893a2c47a4e4a744248dda265b0a9a66a1f | |
18 | SHA1 (patch-aj) = 8698b3caa6299843c7483473b0cb18ceffa3dada | 18 | SHA1 (patch-aj) = 8698b3caa6299843c7483473b0cb18ceffa3dada |