Pullup ticket #5611 - requested by taca lang/php70: security update Revisions pulled up: - lang/php70/Makefile 1.10 - lang/php70/distinfo 1.38-1.39 - lang/php/phpversion.mk patch ------------------------------------------------------------------- Module Name: pkgsrc Committed By: taca Date: Sun Oct 1 15:48:17 UTC 2017 Modified Files: pkgsrc/lang/php: phpversion.mk pkgsrc/lang/php70: distinfo Log Message: lang/php70: update to 7.0.24. 28 Sep 2017 PHP 7.0.24 - Core: . Fixed bug #75042 (run-tests.php issues with EXTENSION block). (John Boehr) - BCMath: . Fixed bug #44995 (bcpowmod() fails if scale != 0). (cmb) . Fixed bug #46781 (BC math handles minus zero incorrectly). (cmb) . Fixed bug #54598 (bcpowmod() may return 1 if modulus is 1). (okano1220, cmb) . Fixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus). (cmb) - CLI server: . Fixed bug #70470 (Built-in server truncates headers spanning over TCP packets). (bouk) - CURL: . Fixed bug #75093 (OpenSSL support not detected). (Remi) - GD: . Fixed bug #75124 (gdImageGrayScale() may produce colors). (cmb) . Fixed bug #75139 (libgd/gd_interpolation.c:1786: suspicious if ?). (cmb) - Gettext: . Fixed bug #73730 (textdomain(null) throws in strict mode). (cmb) - Intl: . Fixed bug #75090 (IntlGregorianCalendar doesn't have constants from parent class). (tpunt) .�Fixed�bug�#75193�(segfault�in�collator_convert_object_to_string).�(Remi) - PDO_OCI: . Fixed bug #74631 (PDO_PCO with PHP-FPM: OCI environment initialized before PHP-FPM sets it up). (Ingmar Runge) - SPL: . Fixed bug #75173 (incorrect behavior of AppendIterator::append in foreach loop). (jhdxr) - Standard: . Fixed bug #75097 (gethostname fails if your host name is 64 chars long). (Andrea) To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 pkgsrc/lang/php70/distinfo ------------------------------------------------------------------- Module Name: pkgsrc Committed By: taca Date: Fri Oct 27 08:46:49 UTC 2017 Modified Files: pkgsrc/lang/php: phpversion.mk pkgsrc/lang/php70: Makefile distinfo Log Message: lang/php70: Update to 7.0.25 * pkgsrc change: remove post-extract which is not required any more. * including securiy fixes. 26 Oct 2017 PHP 7.0.25 - Core: . Fixed bug #75241 (Null pointer dereference in zend_mm_alloc_small()). (Laruence) . Fixed bug #75236 (infinite loop when printing an error-message). (Andrea) . Fixed bug #75252 (Incorrect token formatting on two parse errors in one request). (Nikita) . Fixed bug #75220 (Segfault when calling is_callable on parent). (andrewnester) . Fixed bug #75290 (debug info of Closures of internal functions contain garbage argument names). (Andrea) - Apache2Handler: . Fixed bug #75311 (error: 'zend_hash_key' has no member named 'arKey' in apache2handler). (mcarbonneaux) - Date: . Fixed bug #75055 (Out-Of-Bounds Read in timelib_meridian()). (Derick) - Intl: . Fixed bug #75318 (The parameter of UConverter::getAliases() is not optional). (cmb) - mcrypt: . Fixed bug #72535 (arcfour encryption stream filter crashes php). (Leigh) - OCI8: . Fixed incorrect reference counting. (Dmitry, Tianfang Yang) - PCRE: . Fixed bug #75207 (applied upstream patch for CVE-2016-1283). (Anatol) - litespeed: . Fixed bug #75248 (Binary directory doesn't get created when building only litespeed SAPI). (petk) . Fixed bug #75251 (Missing program prefix and suffix). (petk) - SPL: . Fixed bug #73629 (SplDoublyLinkedList::setIteratorMode masks intern flags). (J. Jeising, cmb) To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/php70/Makefile cvs rdiff -u -r1.38 -r1.39 pkgsrc/lang/php70/distinfodiff -r1.9 -r1.9.6.1 pkgsrc/lang/php70/Makefile
(spz)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.9 2017/06/20 07:24:08 manu Exp $ | 1 | # $NetBSD: Makefile,v 1.9.6.1 2017/10/31 18:12:02 spz Exp $ | |
2 | 2 | |||
3 | # | 3 | # | |
4 | # We can't omit PKGNAME here to handle PKG_OPTIONS. | 4 | # We can't omit PKGNAME here to handle PKG_OPTIONS. | |
5 | # | 5 | # | |
6 | PKGNAME= php-${PHP_VERSION} | 6 | PKGNAME= php-${PHP_VERSION} | |
7 | CATEGORIES= lang | 7 | CATEGORIES= lang | |
8 | 8 | |||
9 | HOMEPAGE= http://www.php.net/ | 9 | HOMEPAGE= http://www.php.net/ | |
10 | COMMENT= PHP Hypertext Preprocessor version 7.0 | 10 | COMMENT= PHP Hypertext Preprocessor version 7.0 | |
11 | LICENSE= php | 11 | LICENSE= php | |
12 | 12 | |||
13 | TEST_TARGET= test | 13 | TEST_TARGET= test | |
14 | 14 | |||
@@ -49,27 +49,23 @@ CONFIGURE_ARGS+= --without-pcre-jit | @@ -49,27 +49,23 @@ CONFIGURE_ARGS+= --without-pcre-jit | |||
49 | .endif | 49 | .endif | |
50 | 50 | |||
51 | # Make sure modules can link correctly | 51 | # Make sure modules can link correctly | |
52 | .if ${OPSYS} == "Darwin" | 52 | .if ${OPSYS} == "Darwin" | |
53 | INSTALL_UNSTRIPPED= yes | 53 | INSTALL_UNSTRIPPED= yes | |
54 | .endif | 54 | .endif | |
55 | 55 | |||
56 | # Darwin < 9 (Mac OS X < 10.5 "Leopard") doesn't have gethostuuid(2) | 56 | # Darwin < 9 (Mac OS X < 10.5 "Leopard") doesn't have gethostuuid(2) | |
57 | # and lacks the zone memory allocator | 57 | # and lacks the zone memory allocator | |
58 | .if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*) | 58 | .if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*) | |
59 | CFLAGS+= -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_WITHOUT_ZONEMALLOC | 59 | CFLAGS+= -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_WITHOUT_ZONEMALLOC | |
60 | .endif | 60 | .endif | |
61 | 61 | |||
62 | post-extract: | |||
63 | cd ${WRKSRC} && \ | |||
64 | ${FIND} . -xdev -type f -name '*.orig' -exec ${RM} -f {} \; | |||
65 | ||||
66 | post-install: | 62 | post-install: | |
67 | ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cli/php ${DESTDIR}${PREFIX}/bin/php | 63 | ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cli/php ${DESTDIR}${PREFIX}/bin/php | |
68 | ${INSTALL_DATA} ${WRKSRC}/sapi/cli/php.1 \ | 64 | ${INSTALL_DATA} ${WRKSRC}/sapi/cli/php.1 \ | |
69 | ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/php.1 | 65 | ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/php.1 | |
70 | ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cgi/php-cgi ${DESTDIR}${CGIDIR}/php | 66 | ${INSTALL_PROGRAM} ${WRKSRC}/sapi/cgi/php-cgi ${DESTDIR}${CGIDIR}/php | |
71 | cd ${WRKSRC}; ${INSTALL_DATA} php.ini-development php.ini-production \ | 67 | cd ${WRKSRC}; ${INSTALL_DATA} php.ini-development php.ini-production \ | |
72 | ${DESTDIR}${EGDIR} | 68 | ${DESTDIR}${EGDIR} | |
73 | ${INSTALL_DATA} ${WRKSRC}/php.gif ${DESTDIR}${PREFIX}/share/php | 69 | ${INSTALL_DATA} ${WRKSRC}/php.gif ${DESTDIR}${PREFIX}/share/php | |
74 | 70 | |||
75 | .include "../../mk/bsd.pkg.mk" | 71 | .include "../../mk/bsd.pkg.mk" |
@@ -1,19 +1,19 @@ | @@ -1,19 +1,19 @@ | |||
1 | $NetBSD: distinfo,v 1.37 2017/09/01 10:49:14 taca Exp $ | 1 | $NetBSD: distinfo,v 1.37.4.1 2017/10/31 18:12:02 spz Exp $ | |
2 | 2 | |||
3 | SHA1 (php-7.0.23.tar.bz2) = 46933bbb7e098bd7baa3f6c9f47f203215a1dd26 | 3 | SHA1 (php-7.0.25.tar.bz2) = 910700d4340244b4775ffad62e2a59e1ccd5641f | |
4 | RMD160 (php-7.0.23.tar.bz2) = 21854136e63919de111166326559a9fe737c2943 | 4 | RMD160 (php-7.0.25.tar.bz2) = 54c3aada6892efe6c01294b5a52d3c2ec379ee1c | |
5 | SHA512 (php-7.0.23.tar.bz2) = 3f2448696ac4dec83f8439e0739b964c430530f3f9319c4f9752a79524a338ea3ac74572227184c4b61fc7583822d12c6581e2b7c8ef9a0ddbd2bb6a4f3bbd53 | 5 | SHA512 (php-7.0.25.tar.bz2) = c6c964ac3a043e3c2c43218c157385a5cc0c90918e0bd9338eed294855f58778dacd64da8e2a31163c119f796a645c7ed672c44d6c0b2a5d4a5cffea963e0878 | |
6 | Size (php-7.0.23.tar.bz2) = 14630426 bytes | 6 | Size (php-7.0.25.tar.bz2) = 14638215 bytes | |
7 | SHA1 (patch-acinclude.m4) = 81a8f33a536500978ea5a9aa2d2875c61c843e56 | 7 | SHA1 (patch-acinclude.m4) = 81a8f33a536500978ea5a9aa2d2875c61c843e56 | |
8 | SHA1 (patch-configure) = a129e19ef87338f6e53ccc967c40ddcde7c7357c | 8 | SHA1 (patch-configure) = a129e19ef87338f6e53ccc967c40ddcde7c7357c | |
9 | SHA1 (patch-ext_gd_config.m4) = bde93678626592cdcee619189bfc6532d0913a76 | 9 | SHA1 (patch-ext_gd_config.m4) = bde93678626592cdcee619189bfc6532d0913a76 | |
10 | SHA1 (patch-ext_imap_config.m4) = f4e10ab81697b72019313f63bc630627a08efd92 | 10 | SHA1 (patch-ext_imap_config.m4) = f4e10ab81697b72019313f63bc630627a08efd92 | |
11 | SHA1 (patch-ext_intl_config.m4) = 222e35fc2c3e9e559696293fdf66171f8abfca7f | 11 | SHA1 (patch-ext_intl_config.m4) = 222e35fc2c3e9e559696293fdf66171f8abfca7f | |
12 | SHA1 (patch-ext_pcre_pcrelib_config.h) = c5fba95856628f68639fe63feeef04a5f83d3916 | 12 | SHA1 (patch-ext_pcre_pcrelib_config.h) = c5fba95856628f68639fe63feeef04a5f83d3916 | |
13 | SHA1 (patch-ext_pdo__mysql_config.m4) = b1ef91be5a729040197e9af50da0f5fd1f6c90a8 | 13 | SHA1 (patch-ext_pdo__mysql_config.m4) = b1ef91be5a729040197e9af50da0f5fd1f6c90a8 | |
14 | SHA1 (patch-ext_pdo_config.m4) = 522281775cc0e70a135b1f813158988ef1f3e244 | 14 | SHA1 (patch-ext_pdo_config.m4) = 522281775cc0e70a135b1f813158988ef1f3e244 | |
15 | SHA1 (patch-ext_phar_Makefile.frag) = 558869b60f8ed6674a3ba1d595a65f010df4c426 | 15 | SHA1 (patch-ext_phar_Makefile.frag) = 558869b60f8ed6674a3ba1d595a65f010df4c426 | |
16 | SHA1 (patch-ext_phar_phar_phar.php) = f630e3946b21b76d4fe857a43e00e25c9445f2c8 | 16 | SHA1 (patch-ext_phar_phar_phar.php) = f630e3946b21b76d4fe857a43e00e25c9445f2c8 | |
17 | SHA1 (patch-ext_recode_recode.c) = a97a1815d6a41410f68c289debbb9396128a2159 | 17 | SHA1 (patch-ext_recode_recode.c) = a97a1815d6a41410f68c289debbb9396128a2159 | |
18 | SHA1 (patch-ext_sqlite3_libsqlite_sqlite3.c) = 8a529a1b3f7c97731f2e719d006f67c3a7259bb5 | 18 | SHA1 (patch-ext_sqlite3_libsqlite_sqlite3.c) = 8a529a1b3f7c97731f2e719d006f67c3a7259bb5 | |
19 | SHA1 (patch-ext_standard_basic__functions.c) = f97a2748c7b15fbd9a2d3c21e56079088cc05d56 | 19 | SHA1 (patch-ext_standard_basic__functions.c) = f97a2748c7b15fbd9a2d3c21e56079088cc05d56 |