PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
Source general-purpose scripting language that is especially suited for
Web development and can be embedded into HTML. Its syntax draws upon C,
Java, and Perl, and is easy to learn. The main goal of the language is to
allow web developers to write dynamically generated webpages quickly, but
you can do much more with PHP.
WWW: https://www.php.net/
lang/php71: Update from 7.1.32 to 7.1.33
Changelog:
FPM:
Fixed bug #78599 (env_path_info underflow in fpm_main.c can lead to RCE).
(CVE-2019-11043)
Changelog taken from: https://www.php.net/ChangeLog-7.php#7.1.33
MFH: 2019Q4
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
PHP 7.1 and PHP 7.2: add TEST_TARGET to all extensions
This enables "make test" in every extension and eases
the test of changes to PHP.
I did ignore PHP 7.0 intentionally since it only receives
security updates and will EOL at the end of the year. Therefore
no great amount of work is expected for 7.0.
devel/php*-intl: unbreak with ICU 61
In file included from ext/intl/intl_convertcpp.cpp:21:
./intl_convertcpp.h:29:25: error: unknown type name 'UnicodeString'
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len,
UErrorCode *status);
^
./intl_convertcpp.h:31:40: error: unknown type name 'UnicodeString'; did you
mean 'icu::UnicodeString'?
zend_string* intl_charFromString(const UnicodeString &from, UErrorCode *status);
^~~~~~~~~~~~~
icu::UnicodeString
/usr/local/include/unicode/unistr.h:286:20: note: 'icu::UnicodeString' declared
here
class U_COMMON_API UnicodeString : public Replaceable
^
ext/intl/intl_convertcpp.cpp:28:25: error: unknown type name 'UnicodeString'
int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len,
UErrorCode *status)
(Only the first 15 lines of the commit message are shown above )
devel/icu: drop C++98 compatibility workarounds
Now that both USE_GCC and -CURRENT default to C++14 there's little
reason to complicate maintenance. Revert r449685 to usher consumers
into post-C++11 world.
PR: 222433222434222435
Back out C++11 changes for ICU >= 59
r449608, r449609, r449610, r449611, r449612, r449613, r449614,
r449621, r449661, r449662 are reverted. ICU will pull char16_t typedef
in C++98 mode instead.
Pointy hat to: jbeich
PR: 218788222222222225
devel/php7{0,1}-intl: switch to C++11, required by ICU >= 59
In file included from
/wrkdirs/usr/ports/devel/php70-intl/work/php-7.0.19/ext/intl/intl_convertcpp.cpp:21:
In file included from ./intl_convertcpp.h:26:
/usr/local/include/unicode/unistr.h:3025:7: error: delegating constructors are
permitted only in C++11
UnicodeString(ConstChar16Ptr(text)) {}
^~~~~~~~~~~~~
/usr/local/include/unicode/unistr.h:3087:7: error: delegating constructors are
permitted only in C++11
UnicodeString(ConstChar16Ptr(text), length) {}
^~~~~~~~~~~~~
/usr/local/include/unicode/unistr.h:3180:7: error: delegating constructors are
permitted only in C++11
UnicodeString(Char16Ptr(buffer), buffLength, buffCapacity) {}
^~~~~~~~~~~~~
PR: 218788