summaryrefslogtreecommitdiff
path: root/lang/php72
AgeCommit message (Collapse)AuthorFilesLines
2018-02-08remove part of configure patch related to sqlite3jdolecek2-12/+3
the part of the patch is not needed anymore, we use external sqlite3 lib, and the patch was for the bundled sqlite3 build
2018-02-05php7*: Standardise on major.minor.99 usage in buildlink3.mkjperkin1-3/+3
With the introduction of beta and rc releases of php7* into pkgsrc the pattern matching is often incorrect (for example the current version of php-7.1.0rc6 breaks both <7.1.0 and >=7.1.0). Using .99 is not ideal but does at least avoid the confusion developers seem to be having with the pmatch ordering.
2018-02-05Switch lang/php72 to use pkgsrc pcre library instead of the bundled onejdolecek7-49/+21
PHP bundles it's own copy of pcre 8.41 with the distribution, which is used when build doesn't find system one. Switch to the pkgsrc pcre, so that we don't need to maintain local PHP JIT patch here. Upcoming PHP 7.3 already switched to pcre2, so no value maintaining private PCRE patch any more (if there ever was). XXX devel/pcre doesn't seem to enable PCRE JIT, might be good to do so
2018-02-04Switch php72 to use pkgsrc sqlite3 library instead of the bundled onejdolecek4-19/+13
PHP bundles a sqlite3 lib, it's used when the build can't find system one. Switch to the pkgsrc-provided one, eliminating also need to maintain a local patch for it. While here make this into a tunable compile option 'sqlite3', by default on, same as before.
2018-02-04note upstream bug report numbers for two more patchesjdolecek3-5/+11
2018-02-02Update php72 to php 7.2.2jdolecek6-94/+9
Changes since 7.2.1: Core: Fixed bug #75742 (potential memleak in internal classes's static members). Fixed bug #75679 (Path 260 character problem). Fixed bug #75614 (Some non-portable == in shell scripts). Fixed bug #75786 (segfault when using spread operator on generator passed by reference). Fixed bug #75799 (arg of get_defined_functions is optional). Fixed bug #75396 (Exit inside generator finally results in fatal error). FCGI: Fixed bug #75794 (getenv() crashes on Windows 7.2.1 when second parameter is false). IMAP: Fixed bug #75774 (imap_append HeapCorruction). Opcache: Fixed bug #75720 (File cache not populated after SHM runs full). Fixed bug #75687 (var 8 (TMP) has array key type but not value type). Fixed bug #75698 (Using @ crashes php7.2-fpm). Fixed bug #75579 (Interned strings buffer overflow may cause crash). PDO: Fixed bug #75616 (PDO extension doesn't allow to be built shared on Darwin). PDO MySQL: Fixed bug #75615 (PDO Mysql module can't be built as module). PGSQL: Fixed bug #75671 (pg_version() crashes when called on a connection to cockroach). Readline: Fixed bug #75775 (readline_read_history segfaults with empty file). SAPI: Fixed bug #75735 ([embed SAPI] Segmentation fault in sapi_register_post_entry). SOAP: Fixed bug #70469 (SoapClient generates E_ERROR even if exceptions=1 is used). Fixed bug #75502 (Segmentation fault in zend_string_release). SPL: Fixed bug #75717 (RecursiveArrayIterator does not traverse arrays by reference). Fixed bug #75242 (RecursiveArrayIterator doesn't have constants from parent class). Fixed bug #73209 (RecursiveArrayIterator does not iterate object properties). Standard: Fixed bug #75781 (substr_count incorrect result). Fixed bug #75653 (array_values don't work on empty array). Zip: Display headers (buildtime) and library (runtime) versions in phpinfo (with libzip >= 1.3.1).
2018-01-31add new option argon2 to compile in the support for Argon2 password hashesjdolecek1-2/+7
(new in php 7.2.0)
2018-01-16php72: Don't automatically add libgcc on SunOS.jperkin2-8/+20
2018-01-05lang/php72: update to 7.2.1taca1-5/+5
04 Jan 2018, PHP 7.2.1 - Core: . Fixed bug #75573 (Segmentation fault in 7.1.12 and 7.0.26). (Laruence) . Fixed bug #75384 (PHP seems incompatible with OneDrive files on demand). (Anatol) . Fixed bug #75525 (Access Violation in vcruntime140.dll). (Anatol) . Fixed bug #74862 (Unable to clone instance when private __clone defined). (Daniel Ciochiu) . Fixed bug #75074 (php-process crash when is_file() is used with strings longer 260 chars). (Anatol) - CLI server: . Fixed bug #73830 (Directory does not exist). (Anatol) - FPM: . Fixed bug #64938 (libxml_disable_entity_loader setting is shared between requests). (Remi) - GD: . Fixed bug #75571 (Potential infinite loop in gdImageCreateFromGifCtx). (Christoph) - Opcache: . Fixed bug #75608 ("Narrowing occurred during type inference" error). (Laruence, Dmitry) . Fixed bug #75579 (Interned strings buffer overflow may cause crash). (Dmitry) . Fixed bug #75570 ("Narrowing occurred during type inference" error). (Dmitry) . Fixed bug #75556 (Invalid opcode 138/1/1). (Laruence) - PCRE: . Fixed bug #74183 (preg_last_error not returning error code after error). (Andrew Nester) - Phar: . Fixed bug #74782 (remove file name from output to avoid XSS). (stas) - Standard: . Fixed bug #75511 (fread not free unused buffer). (Laruence) . Fixed bug #75514 (mt_rand returns value outside [$min,$max]+ on 32-bit) (Remi) . Fixed bug #75535 (Inappropriately parsing HTTP response leads to PHP segment fault). (Nikita) . Fixed bug #75409 (accept EFAULT in addition to ENOSYS as indicator that getrandom() is missing). (sarciszewski) . Fixed bug #73124 (php_ini_scanned_files() not reporting correctly). (John Stevenson) . Fixed bug #75574 (putenv does not work properly if parameter contains non-ASCII unicode character). (Anatol) - Zip: . Fixed bug #75540 (Segfault with libzip 1.3.1). (Remi)
2017-12-24adjust patches/patch-ext_pdo__mysql_config.m4 to the form committed upstream -jdolecek2-5/+4
only the extra -I got dropped, the -I$(pdo_cv_inc_path) is needed for build outside pkgsrc
2017-12-06add patch to fix build of php-gd, adapted from php71jdolecek2-1/+63
2017-12-03purge PHP_OPENSSL_DIR patch harderjdolecek2-30/+3
2017-12-03three more patches reported upstreamjdolecek4-9/+18
2017-12-03remove ext/intl/config.m4 patch to reduce patches we maintain, seems ↵jdolecek2-17/+1
php-intl builds fine without it
2017-12-03note patches reported upstreamjdolecek3-5/+9
2017-12-03remove patch to add / to PHP_OPENSSL_DIR - can't find in history whyjdolecek3-26/+3
it was added (is there since at least php54), and package compiles just fine without it; goal is to reduce amount of patches we maintain
2017-11-30Updated php72 from RC6 to final 7.2.0jdolecek3-9/+7
Changes versus 7.1.x as listed in release announcement: * Convert numeric keys in object/array casts * Counting of non-countable objects * Object typehint * HashContext as Object * Argon2 in password hash * Improve TLS constants to sane values * Mcrypt extension removed * New sodium extension
2017-11-15fix unportable == in ext/curl/config.m4jdolecek3-14/+34
2017-11-15add a comment to fix the MASTER_SITES once this is out of RCjdolecek1-1/+3
2017-11-15Add php72 7.2.0RC6jdolecek28-0/+1016
PHP 7.2.x builds upon 7.1.x, adding new features: * Argument type declarations * Object return type declarations * Parameter Type Widening * Trailing commas in list syntax * Argon2 in password hash * Libsodium as part of PHP Core * Deprecated: __autoload, $php_errormsg, create_function(), mbstring.func_overload, parse_str() without second argument, gmp_random(), each(), assert(), $errcontext * uniqid() patch to avoid usleep() integrated, 10000x improvement on NetBSD, about 10x on Linux