diff options
-rw-r--r-- | lang/php/phpversion.mk | 4 | ||||
-rw-r--r-- | lang/php53/Makefile | 3 | ||||
-rw-r--r-- | lang/php53/Makefile.php | 6 | ||||
-rw-r--r-- | lang/php53/distinfo | 16 | ||||
-rw-r--r-- | lang/php53/patches/patch-Zend_zend_language_parser.h | 17 | ||||
-rw-r--r-- | lang/php53/patches/patch-ext_date_lib_parse__iso__intervals.c | 15 | ||||
-rw-r--r-- | lang/php53/patches/patch-ext_date_lib_parse__iso__intervals.re | 15 |
7 files changed, 30 insertions, 46 deletions
diff --git a/lang/php/phpversion.mk b/lang/php/phpversion.mk index 8565704591d..760ce9ffcb7 100644 --- a/lang/php/phpversion.mk +++ b/lang/php/phpversion.mk @@ -1,4 +1,4 @@ -# $NetBSD: phpversion.mk,v 1.66 2014/06/27 11:34:19 taca Exp $ +# $NetBSD: phpversion.mk,v 1.66.2.1 2014/08/18 12:48:05 tron Exp $ # # This file selects a PHP version, based on the user's preferences and # the installed packages. It does not add a dependency on the PHP @@ -81,7 +81,7 @@ PHPVERSION_MK= defined # Define each PHP's version. -PHP53_VERSION= 5.3.28 +PHP53_VERSION= 5.3.29 PHP54_VERSION= 5.4.30 PHP55_VERSION= 5.5.14 diff --git a/lang/php53/Makefile b/lang/php53/Makefile index 3c655c08752..7a02b033f39 100644 --- a/lang/php53/Makefile +++ b/lang/php53/Makefile @@ -1,10 +1,9 @@ -# $NetBSD: Makefile,v 1.48 2014/06/13 14:13:20 fhajny Exp $ +# $NetBSD: Makefile,v 1.48.2.1 2014/08/18 12:48:05 tron Exp $ # # We can't omit PKGNAME here to handle PKG_OPTIONS. # PKGNAME= php-${PHP_BASE_VERS} -PKGREVISION= 3 CATEGORIES= lang HOMEPAGE= http://www.php.net/ diff --git a/lang/php53/Makefile.php b/lang/php53/Makefile.php index 2c142bfcb65..bbc0170daff 100644 --- a/lang/php53/Makefile.php +++ b/lang/php53/Makefile.php @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.php,v 1.40 2014/06/13 14:13:20 fhajny Exp $ +# $NetBSD: Makefile.php,v 1.40.2.1 2014/08/18 12:48:05 tron Exp $ # used by lang/php53/Makefile # used by www/ap-php/Makefile # used by www/php-fpm/Makefile @@ -53,8 +53,8 @@ PKG_SUGGESTED_OPTIONS+= inet6 ssl .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Msuhosin) -SUHOSIN_PHPVER= 5.3.25 -. if ${SUHOSIN_PHPVER} != ${PHP_BASE_VERS} && ${PHP_BASE_VERS} != "5.3.28" +SUHOSIN_PHPVER= 5.3.29 +. if ${SUHOSIN_PHPVER} != ${PHP_BASE_VERS} PKG_FAIL_REASON+= "The suhosin patch is currently not available for" PKG_FAIL_REASON+= "this version of PHP. You may have to wait until" PKG_FAIL_REASON+= "an updated patch is released or temporarily" diff --git a/lang/php53/distinfo b/lang/php53/distinfo index 14974fb8fcc..1fba5c4a587 100644 --- a/lang/php53/distinfo +++ b/lang/php53/distinfo @@ -1,11 +1,11 @@ -$NetBSD: distinfo,v 1.74 2014/06/13 14:09:34 fhajny Exp $ +$NetBSD: distinfo,v 1.74.2.1 2014/08/18 12:48:05 tron Exp $ -SHA1 (php-5.3.28.tar.bz2) = f985ca1f6a5f49ebfb25a08f1837a44c563b31f8 -RMD160 (php-5.3.28.tar.bz2) = e4910c0c365f39a5009807801bd5ee6e25be020d -Size (php-5.3.28.tar.bz2) = 11051714 bytes -SHA1 (suhosin-patch-5.3.25-0.9.10.patch.bz2) = ce5883b05daf91e8a44fffbfa4d3989ac3311dd1 -RMD160 (suhosin-patch-5.3.25-0.9.10.patch.bz2) = 6c4d0cfe070802481121be465b66d3cefe44da83 -Size (suhosin-patch-5.3.25-0.9.10.patch.bz2) = 32447 bytes +SHA1 (php-5.3.29.tar.bz2) = 6e9e492c6d5853d063ddb9a4dbef60b8e5d87444 +RMD160 (php-5.3.29.tar.bz2) = e57beb4fdda41bca81b5856161bc97f3c5e3e9da +Size (php-5.3.29.tar.bz2) = 11396771 bytes +SHA1 (suhosin-patch-5.3.29-0.9.10.patch.bz2) = b81a9b24f758cef4319759e09d011c7a350232a7 +RMD160 (suhosin-patch-5.3.29-0.9.10.patch.bz2) = 7685501fd40426068c58dfbe844d12f1af299d80 +Size (suhosin-patch-5.3.29-0.9.10.patch.bz2) = 32437 bytes SHA1 (patch-aa) = fd930d0d9b1c60e8c7c514cfb6864b61ce4d158d SHA1 (patch-ab) = 36789fea71e316d5c4358e597df1928d94f8ea6a SHA1 (patch-ac) = b194eaed2d81877166b13db58b37c5ddff0210a6 @@ -19,8 +19,6 @@ SHA1 (patch-ai) = 9659f73eef1b4fcca9b844bdaa785ac6d5e582a1 SHA1 (patch-aj) = 181658ae523bd60f67750566711fc078b49191b7 SHA1 (patch-al) = fe534d7d50a529e3c7d0ffed76afdb70bb55a521 SHA1 (patch-build_libtool.m4) = 6835b90ebd34739440c8eb94ed19ebacdf2ba6a5 -SHA1 (patch-ext_date_lib_parse__iso__intervals.c) = 1243e4cda1d6446ee4f8b6cab61556fa07837139 -SHA1 (patch-ext_date_lib_parse__iso__intervals.re) = 75d4abd666c17d7d5f8a4ee9e489bf2565f83524 SHA1 (patch-ext_gd_libgd_gdxpm.c) = 9a175417fad9ac23037a24122f8d1258b9eebbcb SHA1 (patch-ext_standard_basic__functions.c) = 017fd25e646af4d7eb2a0bd13b3c8da34eaee8c5 SHA1 (patch-main_streams_cast.c) = d68b69c9418a8780b1610b8755487771f7c46a5a diff --git a/lang/php53/patches/patch-Zend_zend_language_parser.h b/lang/php53/patches/patch-Zend_zend_language_parser.h new file mode 100644 index 00000000000..d1fc8c0216f --- /dev/null +++ b/lang/php53/patches/patch-Zend_zend_language_parser.h @@ -0,0 +1,17 @@ +$NetBSD: patch-Zend_zend_language_parser.h,v 1.2.2.2 2014/08/18 12:48:05 tron Exp $ + +https://bugs.php.net/bug.php?id=64503 + +--- Zend/zend_language_parser.h.orig 2013-12-10 20:13:14.000000000 +0000 ++++ Zend/zend_language_parser.h +@@ -305,6 +305,10 @@ typedef int YYSTYPE; + # define YYSTYPE_IS_DECLARED 1 + #endif + ++#ifdef ZTS ++# define YYPARSE_PARAM tsrm_ls ++# define YYLEX_PARAM tsrm_ls ++#endif + + #ifdef YYPARSE_PARAM + #if defined __STDC__ || defined __cplusplus diff --git a/lang/php53/patches/patch-ext_date_lib_parse__iso__intervals.c b/lang/php53/patches/patch-ext_date_lib_parse__iso__intervals.c deleted file mode 100644 index e895589cb76..00000000000 --- a/lang/php53/patches/patch-ext_date_lib_parse__iso__intervals.c +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-ext_date_lib_parse__iso__intervals.c,v 1.1 2013/12/05 16:16:40 taca Exp $ - -Fix for CVE-2013-6712. - ---- ext/date/lib/parse_iso_intervals.c.orig 2013-07-10 17:43:08.000000000 +0000 -+++ ext/date/lib/parse_iso_intervals.c -@@ -415,7 +415,7 @@ yy6: - break; - } - ptr++; -- } while (*ptr); -+ } while (!s->errors->error_count && *ptr); - s->have_period = 1; - TIMELIB_DEINIT; - return TIMELIB_PERIOD; diff --git a/lang/php53/patches/patch-ext_date_lib_parse__iso__intervals.re b/lang/php53/patches/patch-ext_date_lib_parse__iso__intervals.re deleted file mode 100644 index 39c23175ab0..00000000000 --- a/lang/php53/patches/patch-ext_date_lib_parse__iso__intervals.re +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-ext_date_lib_parse__iso__intervals.re,v 1.1 2013/12/05 16:16:40 taca Exp $ - -Fix for CVE-2013-6712. - ---- ext/date/lib/parse_iso_intervals.re.orig 2013-07-10 17:43:08.000000000 +0000 -+++ ext/date/lib/parse_iso_intervals.re -@@ -383,7 +383,7 @@ isoweek = year4 "-"? "W" weekof - break; - } - ptr++; -- } while (*ptr); -+ } while (!s->errors->error_count && *ptr); - s->have_period = 1; - TIMELIB_DEINIT; - return TIMELIB_PERIOD; |