Fri Oct 25 02:58:33 2019 UTC ()
lang/php71: update to 7.1.33

Update php71 to 7.1.33.

24 Oct 2019, PHP 7.1.33

- FPM:
  . Fixed bug #78599 (env_path_info underflow in fpm_main.c can lead to RCE).
    (CVE-2019-11043) (Jakub Zelenka)


(taca)
diff -r1.272 -r1.273 pkgsrc/lang/php/phpversion.mk
diff -r1.20 -r1.21 pkgsrc/lang/php71/Makefile
diff -r1.13 -r1.14 pkgsrc/lang/php71/Makefile.php
diff -r1.54 -r1.55 pkgsrc/lang/php71/distinfo

cvs diff -r1.272 -r1.273 pkgsrc/lang/php/phpversion.mk (expand / switch to unified diff)

--- pkgsrc/lang/php/phpversion.mk 2019/10/25 02:57:03 1.272
+++ pkgsrc/lang/php/phpversion.mk 2019/10/25 02:58:33 1.273
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: phpversion.mk,v 1.272 2019/10/25 02:57:03 taca Exp $ 1# $NetBSD: phpversion.mk,v 1.273 2019/10/25 02:58: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: 56 71 72 73 13# Possible: 56 71 72 73
14# Default: 71 14# Default: 71
@@ -78,27 +78,27 @@ @@ -78,27 +78,27 @@
78# Relative path to ${PREFIX} for PHP's extensions. It is derived from 78# Relative path to ${PREFIX} for PHP's extensions. It is derived from
79# initial release of major version. 79# initial release of major version.
80# 80#
81# Example: lib/php/20140828 81# Example: lib/php/20140828
82# 82#
83# Keywords: php 83# Keywords: php
84# 84#
85 85
86.if !defined(PHPVERSION_MK) 86.if !defined(PHPVERSION_MK)
87PHPVERSION_MK= defined 87PHPVERSION_MK= defined
88 88
89# Define each PHP's version. 89# Define each PHP's version.
90PHP56_VERSION= 5.6.40 90PHP56_VERSION= 5.6.40
91PHP71_VERSION= 7.1.32 91PHP71_VERSION= 7.1.33
92PHP72_VERSION= 7.2.24 92PHP72_VERSION= 7.2.24
93PHP73_VERSION= 7.3.11 93PHP73_VERSION= 7.3.11
94 94
95# Define initial release of major version. 95# Define initial release of major version.
96PHP56_RELDATE= 20140828 96PHP56_RELDATE= 20140828
97PHP71_RELDATE= 20160303 97PHP71_RELDATE= 20160303
98PHP72_RELDATE= 20170718 98PHP72_RELDATE= 20170718
99PHP73_RELDATE= 20181200 99PHP73_RELDATE= 20181200
100 100
101_VARGROUPS+= php 101_VARGROUPS+= php
102_USER_VARS.php= PHP_VERSION_DEFAULT 102_USER_VARS.php= PHP_VERSION_DEFAULT
103_PKG_VARS.php= PHP_VERSIONS_ACCEPTED PHP_VERSION_REQD 103_PKG_VARS.php= PHP_VERSIONS_ACCEPTED PHP_VERSION_REQD
104_SYS_VARS.php= PKG_PHP_VERSION PKG_PHP PHPPKGSRCDIR PHP_PKG_PREFIX \ 104_SYS_VARS.php= PKG_PHP_VERSION PKG_PHP PHPPKGSRCDIR PHP_PKG_PREFIX \

cvs diff -r1.20 -r1.21 pkgsrc/lang/php71/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/php71/Attic/Makefile 2019/07/03 07:30:50 1.20
+++ pkgsrc/lang/php71/Attic/Makefile 2019/10/25 02:58:33 1.21
@@ -1,22 +1,21 @@ @@ -1,22 +1,21 @@
1# $NetBSD: Makefile,v 1.20 2019/07/03 07:30:50 nia Exp $ 1# $NetBSD: Makefile,v 1.21 2019/10/25 02:58:33 taca 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#
6PKGNAME= php-${PHP_VERSION:S/RC/rc/} 6PKGNAME= php-${PHP_VERSION:S/RC/rc/}
7CATEGORIES= lang 7CATEGORIES= lang
8 8
9HOMEPAGE= https://www.php.net/ 
10COMMENT= PHP Hypertext Preprocessor version 7.1 9COMMENT= PHP Hypertext Preprocessor version 7.1
11LICENSE= php 10LICENSE= php
12 11
13TEST_TARGET= test 12TEST_TARGET= test
14 13
15USE_TOOLS+= gmake lex pkg-config 14USE_TOOLS+= gmake lex pkg-config
16LIBTOOL_OVERRIDE= # empty 15LIBTOOL_OVERRIDE= # empty
17PHP_CHECK_INSTALLED= No 16PHP_CHECK_INSTALLED= No
18 17
19PHP_VERSIONS_ACCEPTED= 71 18PHP_VERSIONS_ACCEPTED= 71
20 19
21.include "Makefile.php" 20.include "Makefile.php"
22 21

cvs diff -r1.13 -r1.14 pkgsrc/lang/php71/Attic/Makefile.php (expand / switch to unified diff)

--- pkgsrc/lang/php71/Attic/Makefile.php 2018/12/09 12:14:36 1.13
+++ pkgsrc/lang/php71/Attic/Makefile.php 2019/10/25 02:58:33 1.14
@@ -1,19 +1,19 @@ @@ -1,19 +1,19 @@
1# $NetBSD: Makefile.php,v 1.13 2018/12/09 12:14:36 taca Exp $ 1# $NetBSD: Makefile.php,v 1.14 2019/10/25 02:58:33 taca Exp $
2# used by lang/php71/Makefile 2# used by lang/php71/Makefile
3# used by www/ap-php/Makefile 3# used by www/ap-php/Makefile
4# used by www/php-fpm/Makefile 4# used by www/php-fpm/Makefile
5 5
6# With --disable-gcc-global-regs, works around  6# With --disable-gcc-global-regs, works around
7# https://bugs.php.net/bug.php?id=74527 7# https://bugs.php.net/bug.php?id=74527
8# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86236 8# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86236
9.if ${MACHINE_ARCH} == "i386" 9.if ${MACHINE_ARCH} == "i386"
10CONFIGURE_ARGS+= --disable-gcc-global-regs 10CONFIGURE_ARGS+= --disable-gcc-global-regs
11.endif 11.endif
12 12
13.include "../../lang/php71/Makefile.common" 13.include "../../lang/php71/Makefile.common"
14 14
15DISTINFO_FILE= ${.CURDIR}/../../lang/php71/distinfo 15DISTINFO_FILE= ${.CURDIR}/../../lang/php71/distinfo
16PATCHDIR= ${.CURDIR}/../../lang/php71/patches 16PATCHDIR= ${.CURDIR}/../../lang/php71/patches
17 17
18USE_LIBTOOL= YES 18USE_LIBTOOL= YES
19USE_LANGUAGES= c c++ 19USE_LANGUAGES= c c++
@@ -70,27 +70,26 @@ CONFIGURE_ARGS+= --with-openssl=yes @@ -70,27 +70,26 @@ CONFIGURE_ARGS+= --with-openssl=yes
70LIBS.SunOS+= -lcrypto 70LIBS.SunOS+= -lcrypto
71. else 71. else
72CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl} 72CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
73. endif 73. endif
74.else 74.else
75CONFIGURE_ARGS+= --without-openssl 75CONFIGURE_ARGS+= --without-openssl
76.endif 76.endif
77 77
78.if !empty(PKG_OPTIONS:Mmaintainer-zts) 78.if !empty(PKG_OPTIONS:Mmaintainer-zts)
79CONFIGURE_ARGS+= --enable-maintainer-zts 79CONFIGURE_ARGS+= --enable-maintainer-zts
80.endif 80.endif
81 81
82.if !empty(PKG_OPTIONS:Mreadline) 82.if !empty(PKG_OPTIONS:Mreadline)
83USE_GNU_READLINE= yes 
84.include "../../devel/readline/buildlink3.mk" 83.include "../../devel/readline/buildlink3.mk"
85CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline} 84CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline}
86.else 85.else
87CONFIGURE_ARGS+= --without-readline 86CONFIGURE_ARGS+= --without-readline
88.endif 87.endif
89 88
90.if !empty(PKG_OPTIONS:Mdtrace) 89.if !empty(PKG_OPTIONS:Mdtrace)
91PLIST.dtrace= yes 90PLIST.dtrace= yes
92CONFIGURE_ARGS+= --enable-dtrace 91CONFIGURE_ARGS+= --enable-dtrace
93 92
94# See https://bugs.php.net/bug.php?id=61268 93# See https://bugs.php.net/bug.php?id=61268
95INSTALL_MAKE_FLAGS+= -r 94INSTALL_MAKE_FLAGS+= -r
96.endif 95.endif

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

--- pkgsrc/lang/php71/Attic/distinfo 2019/09/01 13:04:13 1.54
+++ pkgsrc/lang/php71/Attic/distinfo 2019/10/25 02:58:33 1.55
@@ -1,19 +1,19 @@ @@ -1,19 +1,19 @@
1$NetBSD: distinfo,v 1.54 2019/09/01 13:04:13 taca Exp $ 1$NetBSD: distinfo,v 1.55 2019/10/25 02:58:33 taca Exp $
2 2
3SHA1 (php-7.1.32.tar.bz2) = 6c469fdec96ed7bef61bb94031aa7737ee4d9e25 3SHA1 (php-7.1.33.tar.bz2) = 2a2961b949f6b88e743bce06b86055c05747b6c8
4RMD160 (php-7.1.32.tar.bz2) = da6068c0df768040b7d4cc46e606f24711a969ec 4RMD160 (php-7.1.33.tar.bz2) = e3802bac9fcabb4e844e3c5e86337749112ef545
5SHA512 (php-7.1.32.tar.bz2) = c13b13575a505d9a6498b1d5c208b75490fb567ca8aca515d79e569c1f0ca289816178511e616f2bbec5c8840ed273719ff5841de4e7ad91e261f9ca4d6baa92 5SHA512 (php-7.1.33.tar.bz2) = 60ecf04a5fcb77ad839f5c5514f0d83e16aa9d3cc5250a428ff6cb43defc9d1626bdb5b5ea2671261cc273c51c18387d6267307e28c25d18ca98b212cec7cc99
6Size (php-7.1.32.tar.bz2) = 15332345 bytes 6Size (php-7.1.33.tar.bz2) = 15332144 bytes
7SHA1 (patch-acinclude.m4) = c232e68dbcd58bbfdf6800e491eb46812df15f65 7SHA1 (patch-acinclude.m4) = c232e68dbcd58bbfdf6800e491eb46812df15f65
8SHA1 (patch-configure) = 862707ff3fd8b8d7312104bb44a48fe8379951bd 8SHA1 (patch-configure) = 862707ff3fd8b8d7312104bb44a48fe8379951bd
9SHA1 (patch-disable-filter-url) = e9e92d686ddd1d1a1ece10fe4feee4e368fe510c 9SHA1 (patch-disable-filter-url) = e9e92d686ddd1d1a1ece10fe4feee4e368fe510c
10SHA1 (patch-ext_gd_config.m4) = fc915622450ce71ecdcd5b5eb8200f9d0604c8d6 10SHA1 (patch-ext_gd_config.m4) = fc915622450ce71ecdcd5b5eb8200f9d0604c8d6
11SHA1 (patch-ext_imap_config.m4) = 3ce15ec130c26a34c705bac461336137ba2e9610 11SHA1 (patch-ext_imap_config.m4) = 3ce15ec130c26a34c705bac461336137ba2e9610
12SHA1 (patch-ext_intl_config.m4) = 5192f8e8fa32939c62a734421463edd294372282 12SHA1 (patch-ext_intl_config.m4) = 5192f8e8fa32939c62a734421463edd294372282
13SHA1 (patch-ext_pcre_pcrelib_config.h) = c5fba95856628f68639fe63feeef04a5f83d3916 13SHA1 (patch-ext_pcre_pcrelib_config.h) = c5fba95856628f68639fe63feeef04a5f83d3916
14SHA1 (patch-ext_pdo__mysql_config.m4) = b1ef91be5a729040197e9af50da0f5fd1f6c90a8 14SHA1 (patch-ext_pdo__mysql_config.m4) = b1ef91be5a729040197e9af50da0f5fd1f6c90a8
15SHA1 (patch-ext_pdo_config.m4) = 522281775cc0e70a135b1f813158988ef1f3e244 15SHA1 (patch-ext_pdo_config.m4) = 522281775cc0e70a135b1f813158988ef1f3e244
16SHA1 (patch-ext_phar_Makefile.frag) = 558869b60f8ed6674a3ba1d595a65f010df4c426 16SHA1 (patch-ext_phar_Makefile.frag) = 558869b60f8ed6674a3ba1d595a65f010df4c426
17SHA1 (patch-ext_phar_phar_phar.php) = f630e3946b21b76d4fe857a43e00e25c9445f2c8 17SHA1 (patch-ext_phar_phar_phar.php) = f630e3946b21b76d4fe857a43e00e25c9445f2c8
18SHA1 (patch-ext_recode_recode.c) = a97a1815d6a41410f68c289debbb9396128a2159 18SHA1 (patch-ext_recode_recode.c) = a97a1815d6a41410f68c289debbb9396128a2159
19SHA1 (patch-ext_standard_basic__functions.c) = f97a2748c7b15fbd9a2d3c21e56079088cc05d56 19SHA1 (patch-ext_standard_basic__functions.c) = f97a2748c7b15fbd9a2d3c21e56079088cc05d56