head 1.15; access; symbols pkgsrc-2018Q4:1.14.0.2 pkgsrc-2018Q4-base:1.14 pkgsrc-2018Q3:1.11.0.2 pkgsrc-2018Q3-base:1.11 pkgsrc-2018Q2:1.7.0.10 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.8 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.6 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.4 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.4.0.2 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.2.0.8 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.6 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.4 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.2 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.1.0.4 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.2 pkgsrc-2015Q4-base:1.1; locks; strict; comment @# @; 1.15 date 2019.01.14.13.13.08; author taca; state dead; branches; next 1.14; commitid hOEHcoTQuuXTGK7B; 1.14 date 2018.12.09.12.14.36; author taca; state Exp; branches; next 1.13; commitid MCemU5ljKOxsw73B; 1.13 date 2018.12.07.16.04.50; author taca; state Exp; branches; next 1.12; commitid 8NomkDfyP2aoRS2B; 1.12 date 2018.12.07.01.54.52; author manu; state Exp; branches; next 1.11; commitid 6MP2sSHcqCzn8O2B; 1.11 date 2018.07.31.01.17.56; author maya; state Exp; branches; next 1.10; commitid Gro7CKKmupAo5eMA; 1.10 date 2018.07.30.07.17.15; author manu; state Exp; branches; next 1.9; commitid 6JBBnknGjPGH78MA; 1.9 date 2018.07.18.07.33.12; author manu; state Exp; branches; next 1.8; commitid WWXqWIXyjZzNAAKA; 1.8 date 2018.07.16.10.58.50; author maya; state Exp; branches; next 1.7; commitid wY3qhLO395lGMlKA; 1.7 date 2017.08.04.23.07.28; author taca; state Exp; branches 1.7.10.1; next 1.6; commitid fvyYZ4Y5dPwWWW1A; 1.6 date 2017.07.12.09.11.35; author manu; state Exp; branches; next 1.5; commitid gAPvKWtfp8Ia4VYz; 1.5 date 2017.07.11.03.28.08; author manu; state Exp; branches; next 1.4; commitid 7XphbDIIfb8vcLYz; 1.4 date 2017.06.20.07.24.08; author manu; state Exp; branches 1.4.2.1; next 1.3; commitid P0WbE0eCxqO6a5Wz; 1.3 date 2017.04.05.12.28.59; author fhajny; state Exp; branches; next 1.2; commitid 9OcgD3GRUUMZhlMz; 1.2 date 2016.06.24.15.27.57; author taca; state Exp; branches 1.2.8.1; next 1.1; commitid DZFzpbMAG3elsJbz; 1.1 date 2015.12.06.15.17.31; author taca; state Exp; branches 1.1.4.1; next ; commitid q7kz8KyseDYLRTLy; 1.7.10.1 date 2018.08.17.17.37.22; author bsiegert; state Exp; branches; next 1.7.10.2; commitid ocgLnkl4cGZPYuOA; 1.7.10.2 date 2018.09.18.18.42.13; author bsiegert; state Exp; branches; next ; commitid qJqWgLUlPoJjjCSA; 1.4.2.1 date 2017.08.13.19.01.25; author bsiegert; state Exp; branches; next ; commitid LEi8PhfE44k3j53A; 1.2.8.1 date 2017.04.12.18.22.19; author bsiegert; state Exp; branches; next ; commitid 43jsB1cDwItL2hNz; 1.1.4.1 date 2016.06.28.19.38.32; author bsiegert; state Exp; branches; next ; commitid IpXiD64nQ5NRIgcz; desc @@ 1.15 log @lang/php70: remove php70 package Remove php70 package since PHP 7.0 has been EOL. @ text @# $NetBSD: Makefile.php,v 1.14 2018/12/09 12:14:36 taca Exp $ # used by lang/php70/Makefile # used by www/ap-php/Makefile # used by www/php-fpm/Makefile # segfaults when buidling with many compilers # https://bugs.php.net/bug.php?id=74527 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86236 .if ${MACHINE_ARCH} == "i386" CONFIGURE_ARGS+= --disable-gcc-global-regs .endif .include "../../lang/php70/Makefile.common" DISTINFO_FILE= ${.CURDIR}/../../lang/php70/distinfo PATCHDIR= ${.CURDIR}/../../lang/php70/patches USE_LIBTOOL= YES USE_LANGUAGES= c c++ GNU_CONFIGURE= YES BUILD_DEFS+= VARBASE PLIST_VARS+= dtrace CONFIGURE_ENV+= EXTENSION_DIR="${PREFIX}/${PHP_EXTENSION_DIR}" .include "../../mk/bsd.prefs.mk" CONFIGURE_ARGS+= --with-config-file-path=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --with-config-file-scan-dir=${PKG_SYSCONFDIR}/php.d CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} CONFIGURE_ARGS+= --localstatedir=${VARBASE} CONFIGURE_ARGS+= --without-mysqli CONFIGURE_ARGS+= --without-iconv CONFIGURE_ARGS+= --without-pear CONFIGURE_ARGS+= --without-sqlite3 #CONFIGURE_ARGS+= --without-intl CONFIGURE_ARGS+= --disable-posix CONFIGURE_ARGS+= --disable-opcache CONFIGURE_ARGS+= --disable-pdo CONFIGURE_ARGS+= --disable-json CONFIGURE_ARGS+= --enable-cgi CONFIGURE_ARGS+= --enable-mysqlnd CONFIGURE_ARGS+= --enable-xml CONFIGURE_ARGS+= --with-libxml-dir=${PREFIX} .include "../../textproc/libxml2/buildlink3.mk" PKG_OPTIONS_VAR= PKG_OPTIONS.${PHP_PKG_PREFIX} PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline disable-filter-url PKG_SUGGESTED_OPTIONS+= inet6 ssl readline .if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" || ${OPSYS} == "FreeBSD" PKG_SUPPORTED_OPTIONS+= dtrace .endif .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Minet6) CONFIGURE_ARGS+= --enable-ipv6 .else CONFIGURE_ARGS+= --disable-ipv6 .endif .if !empty(PKG_OPTIONS:Mssl) . include "../../security/openssl/buildlink3.mk" . if ${OPSYS} == "SunOS" CONFIGURE_ARGS+= --with-openssl=yes LIBS.SunOS+= -lcrypto . else CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl} . endif .else CONFIGURE_ARGS+= --without-openssl .endif .if !empty(PKG_OPTIONS:Mmaintainer-zts) CONFIGURE_ARGS+= --enable-maintainer-zts .endif .if !empty(PKG_OPTIONS:Mreadline) USE_GNU_READLINE= yes .include "../../devel/readline/buildlink3.mk" CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline} .else CONFIGURE_ARGS+= --without-readline .endif .if !empty(PKG_OPTIONS:Mdtrace) PLIST.dtrace= yes CONFIGURE_ARGS+= --enable-dtrace # See https://bugs.php.net/bug.php?id=61268 INSTALL_MAKE_FLAGS+= -r .endif .if !empty(PKG_OPTIONS:Mdisable-filter-url) CFLAGS+= -DDISABLE_FILTER_URL .endif DL_AUTO_VARS= yes .include "../../mk/dlopen.buildlink3.mk" @ 1.14 log @lang/php: remove sqlite3 library Remove sqlite3 library extension and make it separate package to prevent dependency to databases/sqlite3 pacakge. @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.13 2018/12/07 16:04:50 taca Exp $ @ 1.13 log @lang/php7?: revert previous commit Revert previous commit and unbreak lang/php7{0,1,2}. sqlite3 problem would be another way, after update current PHP versions. @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.12 2018/12/07 01:54:52 manu Exp $ d36 1 @ 1.12 log @Link PHP with shared libsqlite3 isntead of built-in We used to build PHP with its built-in, statically linked libsqlite3. When used in an executable with dynamically looaded modules such as Apache, some module may load a shared libsqlite3, which has the same symbols as PHP's built-in libsqlite3. This causes unreliable cross-version calls and is source of crashes. The fix is to disable PHP's built-in libslite3 and always use an external, shared libsqlite3. @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.11 2018/07/31 01:17:56 maya Exp $ a48 3 CONFIGURE_ARGS+= --with-sqlite3=shared .include "../../databases/sqlite3/buildlink3.mk" @ 1.11 log @move --disable-gcc-global-regs to Makefile.php. Seems to make a previously segfaulting netbsd-8/i386's build not segfault. ap-php runs PHP's configure and builds some of its code, so it needs the same flag. Now we can stop requiring an arbitrary GCC version. The test case in the GCC bugzilla fails on all GCC versions I tested, but magically some versions of GCC manage to build a working PHP. @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.10 2018/07/30 07:17:15 manu Exp $ d49 3 @ 1.10 log @Fix PHP buidl on i386 The --disable-gcc-global-regs fix is not enough, we really need GCC 6 to avoid php crashing during www/ap-ph build. @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.9 2018/07/18 07:33:12 manu Exp $ d6 1 a6 1 # With --disable-gcc-global-regs, works around d8 1 d10 1 a10 1 GCC_REQD+= 6.4 @ 1.9 log @Add pkgsrc build option disable-filter-url to disable php://filter URL php://filter URL is a feature documented here: http://php.net/manual/en/wrappers.php.php Unfortunately, it allows remote control of include() behavior beyond what many developpers expected, enabling easy dump of PHP source files. The administrator may want to disable the feature for security sake, and this option makes that possible. @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.8 2018/07/16 10:58:50 maya Exp $ d6 6 @ 1.8 log @php*: disable global regs on i386. Fixes PR pkg/53222 that resurfaced Remove the previous workaround to add GCC_REQD, which isn't sufficient any more, possibly due to enabling ssp/fortify? XXX bumping PKGREVISION might not be sufficient, for the same reason the GCC_REQD had to be moved to Makefile.php, it affects modules too. @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.7 2017/08/04 23:07:28 taca Exp $ d43 1 a43 1 PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline d90 4 @ 1.7 log @Update php70 to 7.0.22. * pkgsrc change: enable readline PKG_OPTIONS default. 03 Aug 2017 PHP 7.0.22 - Core: . Fixed bug #74832 (Loading PHP extension with already registered function name leads to a crash). (jpauli) . Fixed bug #74780 (parse_url() borken when query string contains colon). (jhdxr) . Fixed bug #74761 (Unary operator expected error on some systems). (petk) . Fixed bug #73900 (Use After Free in unserialize() SplFixedArray). (nikic) . Fixed bug #74913 (fixed incorrect poll.h include). (petk) . Fixed bug #74906 (fixed incorrect errno.h include). (petk) - Date: . Fixed bug #74852 (property_exists returns true on unknown DateInterval property). (jhdxr) - OCI8: . Fixed bug #74625 (Integer overflow in oci_bind_array_by_name). (Ingmar Runge) - Opcache: . Fixed bug #74840 (Opcache overwrites argument of GENERATOR_RETURN within finally). (Bob) - PDO: . Fixed bug #69356 (PDOStatement::debugDumpParams() truncates query). (Adam Baratz) - SPL: . Fixed bug #73471 (PHP freezes with AppendIterator). (jhdxr) - SQLite3: . Fixed bug #74883 (SQLite3::__construct() produces "out of memory" exception with invalid flags). (Anatol) - Wddx: . Fixed bug #73173 (huge memleak when wddx_unserialize). (tloi at fortinet dot com) - zlib: . Fixed bug #73944 (dictionary option of inflate_init() does not work). (wapmorgan) @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.6 2017/07/12 09:11:35 manu Exp $ a5 5 # PHP bug #74526 - segfaults on build with GCC 4.8.5 i386 .if ${MACHINE_ARCH} == "i386" GCC_REQD+= 4.9 .endif @ 1.7.10.1 log @Pullup ticket #5799 - requested by taca lang/php70: security fix Revisions pulled up: - lang/php/phpversion.mk 1.224 - lang/php70/Makefile 1.11-1.12 - lang/php70/Makefile.php 1.8-1.9 - lang/php70/distinfo 1.46-1.47 - lang/php70/patches/patch-disable-filter-url 1.1 --- Module Name: pkgsrc Committed By: maya Date: Mon Jul 16 10:58:50 UTC 2018 Modified Files: pkgsrc/lang/php70: Makefile Makefile.php pkgsrc/lang/php71: Makefile Makefile.php pkgsrc/lang/php72: Makefile Makefile.php Log Message: php*: disable global regs on i386. Fixes PR pkg/53222 that resurfaced Remove the previous workaround to add GCC_REQD, which isn't sufficient any more, possibly due to enabling ssp/fortify? XXX bumping PKGREVISION might not be sufficient, for the same reason the GCC_REQD had to be moved to Makefile.php, it affects modules too. --- Module Name: pkgsrc Committed By: manu Date: Wed Jul 18 07:33:12 UTC 2018 Modified Files: pkgsrc/lang/php56: Makefile.php distinfo pkgsrc/lang/php70: Makefile.php distinfo pkgsrc/lang/php71: Makefile.php distinfo pkgsrc/lang/php72: Makefile.php distinfo Added Files: pkgsrc/lang/php56/patches: patch-disable-filter-url pkgsrc/lang/php70/patches: patch-disable-filter-url pkgsrc/lang/php71/patches: patch-disable-filter-url pkgsrc/lang/php72/patches: patch-disable-filter-url Log Message: Add pkgsrc build option disable-filter-url to disable php://filter URL php://filter URL is a feature documented here: http://php.net/manual/en/wrappers.php.php Unfortunately, it allows remote control of include() behavior beyond what many developpers expected, enabling easy dump of PHP source files. The administrator may want to disable the feature for security sake, and this option makes that possible. --- Module Name: pkgsrc Committed By: taca Date: Fri Jul 20 13:27:28 UTC 2018 Modified Files: pkgsrc/lang/php: phpversion.mk pkgsrc/lang/php70: Makefile distinfo Log Message: lang/php70: update to 7.0.31 19 Jul 2018 PHP 7.0.31 - Exif: . Fixed bug #76423 (Int Overflow lead to Heap OverFlow in exif_thumbnail_extract of exif.c). (Stas) . Fixed bug #76557 (heap-buffer-overflow (READ of size 48) while reading exif data). (Stas) - Win32: . Fixed bug #76459 (windows linkinfo lacks openbasedir check). (Anatol) @ text @d1 1 a1 1 # $NetBSD$ d6 5 d48 1 a48 1 PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline disable-filter-url a94 4 .if !empty(PKG_OPTIONS:Mdisable-filter-url) CFLAGS+= -DDISABLE_FILTER_URL .endif @ 1.7.10.2 log @Pullup ticket #5834 - requested by taca lang/php70: security fix Revisions pulled up: - lang/php/phpversion.mk 1.230 - lang/php70/Makefile.php 1.10 - lang/php70/distinfo 1.48 --- Module Name: pkgsrc Committed By: manu Date: Mon Jul 30 07:17:16 UTC 2018 Modified Files: pkgsrc/lang/php70: Makefile.php pkgsrc/lang/php71: Makefile.php pkgsrc/lang/php72: Makefile.php Log Message: Fix PHP buidl on i386 The --disable-gcc-global-regs fix is not enough, we really need GCC 6 to avoid php crashing during www/ap-ph build. --- Module Name: pkgsrc Committed By: taca Date: Thu Sep 13 15:46:38 UTC 2018 Modified Files: pkgsrc/lang/php: phpversion.mk pkgsrc/lang/php70: distinfo Log Message: lang/php70: Update to 7.0.32 13 Sep 2018 PHP 7.0.32 - Apache2 . Fixed bug #76582 (XSS due to the header Transfer-Encoding: chunked). (Stas) @ text @a5 6 # With --disable-gcc-global-regs, works around # https://bugs.php.net/bug.php?id=74527 .if ${MACHINE_ARCH} == "i386" GCC_REQD+= 6.4 .endif @ 1.6 log @Back out the calendar option for PHP The functionnality is already avaialable from pkgsrc/time/php-calendar moduke. Thnaks to Takahiro Kambe for pointing it out. @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.4 2017/06/20 07:24:08 manu Exp $ d49 1 a49 1 PKG_SUGGESTED_OPTIONS+= inet6 ssl @ 1.5 log @Add calendar package option to build PHP with calendar support @ text @d48 1 a48 1 PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline calendar a94 4 .if !empty(PKG_OPTIONS:Mcalendar) CONFIGURE_ARGS+= --enable-calendar .endif @ 1.4 log @Fix crash on i386 in www/ap-php build with PHP 7.x PHP 7.x on i386 crashes unless built with GCC >= 4.9. There was the necessary tweak for the lang/php70 and lang/php71 packages, but not for dependencies such www/ap-php. As a result, www/ap-php crashed during the build. We fix this by moving the GCC_REQD to Makefile.php which is included by dependent packages @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.2.8.1 2017/04/12 18:22:19 bsiegert Exp $ d48 1 a48 1 PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline d95 4 @ 1.4.2.1 log @Pullup ticket #5531 - requested by taca lang/php70: security fix Revisions pulled up: - lang/php/phpversion.mk 1.185 - lang/php70/Makefile.php 1.7 - lang/php70/distinfo 1.36 --- Module Name: pkgsrc Committed By: taca Date: Fri Aug 4 23:07:28 UTC 2017 Modified Files: pkgsrc/lang/php: phpversion.mk pkgsrc/lang/php70: Makefile.php distinfo Log Message: Update php70 to 7.0.22. * pkgsrc change: enable readline PKG_OPTIONS default. 03 Aug 2017 PHP 7.0.22 - Core: . Fixed bug #74832 (Loading PHP extension with already registered function name leads to a crash). (jpauli) . Fixed bug #74780 (parse_url() borken when query string contains colon). (jhdxr) . Fixed bug #74761 (Unary operator expected error on some systems). (petk) . Fixed bug #73900 (Use After Free in unserialize() SplFixedArray). (nikic) . Fixed bug #74913 (fixed incorrect poll.h include). (petk) . Fixed bug #74906 (fixed incorrect errno.h include). (petk) - Date: . Fixed bug #74852 (property_exists returns true on unknown DateInterval property). (jhdxr) - OCI8: . Fixed bug #74625 (Integer overflow in oci_bind_array_by_name). (Ingmar Runge) - Opcache: . Fixed bug #74840 (Opcache overwrites argument of GENERATOR_RETURN within finally). (Bob) - PDO: . Fixed bug #69356 (PDOStatement::debugDumpParams() truncates query). (Adam Baratz) - SPL: . Fixed bug #73471 (PHP freezes with AppendIterator). (jhdxr) - SQLite3: . Fixed bug #74883 (SQLite3::__construct() produces "out of memory" exception with invalid flags). (Anatol) - Wddx: . Fixed bug #73173 (huge memleak when wddx_unserialize). (tloi at fortinet dot com) - zlib: . Fixed bug #73944 (dictionary option of inflate_init() does not work). (wapmorgan) @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.4 2017/06/20 07:24:08 manu Exp $ d49 1 a49 1 PKG_SUGGESTED_OPTIONS+= inet6 ssl readline @ 1.3 log @Build the dom extension embedded. This enables full functionality in xmlreader and fixes joyent/pkgsrc/issues/477. Bump PKREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.2 2016/06/24 15:27:57 taca Exp $ d6 5 @ 1.2 log @Update php70 to 7.0.8 (PHP 7.0.8), including security fixes. pkgsrc change: * remove confiugre from SUBST_FILES.path. * Remove --with-regex=system and --without-mysql from CONFIGURE_ARGS. * Add --without-mysqli to CONFIGURE_ARGS. 23 Jun 2016 PHP 7.0.8 - Core: . Fixed bug #72218 (If host name cannot be resolved then PHP 7 crashes). (Esminis at esminis dot lt) . Fixed bug #72221 (segfault, past-the-end access). (Lauri Kenttä) . Fixed bug #72268 (Integer Overflow in nl2br()). (Stas) . Fixed bug #72275 (Integer Overflow in json_encode()/json_decode()/ json_utf8_to_utf16()). (Stas) . Fixed bug #72400 (Integer Overflow in addcslashes/addslashes). (Stas) . Fixed bug #72403 (Integer Overflow in Length of String-typed ZVAL). (Stas) - FPM: . Fixed bug #72308 (fastcgi_finish_request and logging environment variables). (Laruence) - GD: . Fixed bug #72298 (pass2_no_dither out-of-bounds access). (Stas) . Fixed bug #72337 (invalid dimensions can lead to crash) (Pierre) . Fixed bug #72339 (Integer Overflow in _gd2GetHeader() resulting in heap overflow). (Pierre) . Fixed bug #72407 (NULL Pointer Dereference at _gdScaleVert). (Stas) - Intl: . Fixed bug #64524 (Add intl.use_exceptions to php.ini-*). (Anatol) - mbstring: . Fixed bug #72402 (_php_mb_regex_ereg_replace_exec - double free). (Stas) - mcrypt: . Fixed bug #72455 (Heap Overflow due to integer overflows). (Stas) - PCRE: . Fixed bug #72143 (preg_replace uses int instead of size_t). (Joe) - PDO_pgsql: . Fixed bug #71573 (Segfault (core dumped) if paramno beyond bound). (Laruence) . Fixed bug #72294 (Segmentation fault/invalid pointer in connection with pgsql_stmt_dtor). (Anatol) - Phpdbg: . Fixed bug #72284 (phpdbg fatal errors with coverage). (Bob) - Postgres: . Fixed bug #72195 (pg_pconnect/pg_connect cause use-after-free). (Laruence) . Fixed bug #72197 (pg_lo_create arbitrary read). (Anatol) - SPL: . Fixed bug #72262 (int/size_t confusion in SplFileObject::fread). (Stas) . Fixed bug #72433 (Use After Free Vulnerability in PHP's GC algorithm and unserialize). (Dmitry) - Standard: . Fixed bug #72017 (range() with float step produces unexpected result). (Thomas Punt) . Fixed bug #72193 (dns_get_record returns array containing elements of type 'unknown'). (Laruence) . Fixed bug #72229 (Wrong reference when serialize/unserialize an object). (Laruence) . Fixed bug #72300 (ignore_user_abort(false) has no effect). (Laruence) - XML: . Fixed bug #72206 (xml_parser_create/xml_parser_free leaks mem). (Joe) - XMLRPC: . Fixed bug #72155 (use-after-free caused by get_zval_xmlrpc_type). (Joe, Laruence) - WDDX: . Fixed bug #72340 (Double Free Courruption in wddx_deserialize). (Stas) - Zip: . Fixed ug #72258 (ZipArchive converts filenames to unrecoverable form). (Anatol) . Fixed bug #72434 (ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize). (Dmitry) @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.1 2015/12/06 15:17:31 taca Exp $ a31 1 CONFIGURE_ARGS+= --disable-dom @ 1.2.8.1 log @Pullup ticket #5243 - requested by sevan lang/php56: build fix lang/php70: build fix lang/php71: build fix Revisions pulled up: - lang/php56/Makefile 1.13 - lang/php56/Makefile.php 1.2 - lang/php56/PLIST 1.3 - lang/php56/distinfo 1.41 - lang/php56/patches/patch-ext_xsl_php__xsl.h 1.1 - lang/php70/Makefile 1.6 - lang/php70/Makefile.php 1.3 - lang/php70/PLIST 1.3 - lang/php70/distinfo 1.31 - lang/php70/patches/patch-ext_xsl_php__xsl.h 1.1 - lang/php71/Makefile 1.9 - lang/php71/Makefile.php 1.2 - lang/php71/PLIST 1.3 - lang/php71/distinfo 1.17 - lang/php71/patches/patch-ext_xsl_php__xsl.h 1.1 - textproc/Makefile 1.918 - textproc/php-dom/DESCR deleted - textproc/php-dom/Makefile deleted --- Module Name: pkgsrc Committed By: fhajny Date: Wed Apr 5 12:28:59 UTC 2017 Modified Files: pkgsrc/lang/php56: Makefile Makefile.php PLIST distinfo pkgsrc/lang/php70: Makefile Makefile.php PLIST distinfo pkgsrc/lang/php71: Makefile Makefile.php PLIST distinfo Added Files: pkgsrc/lang/php56/patches: patch-ext_xsl_php__xsl.h pkgsrc/lang/php70/patches: patch-ext_xsl_php__xsl.h pkgsrc/lang/php71/patches: patch-ext_xsl_php__xsl.h Log Message: Build the dom extension embedded. This enables full functionality in xmlreader and fixes joyent/pkgsrc/issues/477. Bump PKREVISION. --- Module Name: pkgsrc Committed By: fhajny Date: Wed Apr 5 12:34:47 UTC 2017 Modified Files: pkgsrc/textproc: Makefile Removed Files: pkgsrc/textproc/php-dom: DESCR Makefile Log Message: Remove textproc/php-dom, the module is now built into the resp. PHP packages. @ text @d1 1 a1 1 # $NetBSD$ d32 1 @ 1.1 log @Add php70 version 7.0.0 (PHP 7.0.0). PHP 7.0.0 comes with a new version of the Zend Engine, numerous improvements and new features such as * Improved performance: PHP 7 is up to twice as fast as PHP 5.6 * Significantly reduced memory usage * Abstract Syntax Tree * Consistent 64-bit support * Improved Exception hierarchy * Many fatal errors converted to Exceptions * Secure random number generator * Removed old and unsupported SAPIs and extensions * The null coalescing operator (??) * Return and Scalar Type Declarations * Anonymous Classes * Zero cost asserts @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.1 2014/11/24 15:37:08 taca Exp $ d26 1 a26 3 CONFIGURE_ARGS+= --with-regex=system CONFIGURE_ARGS+= --without-mysql @ 1.1.4.1 log @Pullup ticket #5052 - requested by taca lang/php70: security fix Revisions pulled up: - lang/php/phpversion.mk 1.141 - lang/php70/Makefile 1.4 - lang/php70/Makefile.php 1.2 - lang/php70/distinfo 1.14 --- Module Name: pkgsrc Committed By: taca Date: Fri Jun 24 15:27:57 UTC 2016 Modified Files: pkgsrc/lang/php: phpversion.mk pkgsrc/lang/php70: Makefile Makefile.php distinfo Log Message: Update php70 to 7.0.8 (PHP 7.0.8), including security fixes. pkgsrc change: * remove confiugre from SUBST_FILES.path. * Remove --with-regex=3Dsystem and --without-mysql from CONFIGURE_ARGS.= * Add --without-mysqli to CONFIGURE_ARGS. 23 Jun 2016 PHP 7.0.8 - Core: . Fixed bug #72218 (If host name cannot be resolved then PHP 7 crashe= s). (Esminis at esminis dot lt) . Fixed bug #72221 (segfault, past-the-end access). (Lauri Kentt=E4) . Fixed bug #72268 (Integer Overflow in nl2br()). (Stas) . Fixed bug #72275 (Integer Overflow in json_encode()/json_decode()/ json_utf8_to_utf16()). (Stas) . Fixed bug #72400 (Integer Overflow in addcslashes/addslashes). (Sta= s) . Fixed bug #72403 (Integer Overflow in Length of String-typed ZVAL).= (Stas) - FPM: . Fixed bug #72308 (fastcgi_finish_request and logging environment variables). (Laruence) - GD: . Fixed bug #72298 (pass2_no_dither out-of-bounds access). (Stas) . Fixed bug #72337 (invalid dimensions can lead to crash) (Pierre) . Fixed bug #72339 (Integer Overflow in _gd2GetHeader() resulting in heap overflow). (Pierre) . Fixed bug #72407 (NULL Pointer Dereference at _gdScaleVert). (Stas)= - Intl: . Fixed bug #64524 (Add intl.use_exceptions to php.ini-*). (Anatol) - mbstring: . Fixed bug #72402 (_php_mb_regex_ereg_replace_exec - double free). (= Stas) - mcrypt: . Fixed bug #72455 (Heap Overflow due to integer overflows). (Stas) - PCRE: . Fixed bug #72143 (preg_replace uses int instead of size_t). (Joe) - PDO_pgsql: . Fixed bug #71573 (Segfault (core dumped) if paramno beyond bound). (Laruence) . Fixed bug #72294 (Segmentation fault/invalid pointer in connection with pgsql_stmt_dtor). (Anatol) - Phpdbg: . Fixed bug #72284 (phpdbg fatal errors with coverage). (Bob) - Postgres: . Fixed bug #72195 (pg_pconnect/pg_connect cause use-after-free). (La= ruence) . Fixed bug #72197 (pg_lo_create arbitrary read). (Anatol) - SPL: . Fixed bug #72262 (int/size_t confusion in SplFileObject::fread). (S= tas) . Fixed bug #72433 (Use After Free Vulnerability in PHP's GC algorith= m and unserialize). (Dmitry) - Standard: . Fixed bug #72017 (range() with float step produces unexpected resul= t). (Thomas Punt) . Fixed bug #72193 (dns_get_record returns array containing elements = of type 'unknown'). (Laruence) . Fixed bug #72229 (Wrong reference when serialize/unserialize an obj= ect). (Laruence) . Fixed bug #72300 (ignore_user_abort(false) has no effect). (Laruenc= e) - XML: . Fixed bug #72206 (xml_parser_create/xml_parser_free leaks mem). (Jo= e) - XMLRPC: . Fixed bug #72155 (use-after-free caused by get_zval_xmlrpc_type). (Joe, Laruence) - WDDX: . Fixed bug #72340 (Double Free Courruption in wddx_deserialize). (St= as) - Zip: . Fixed ug #72258 (ZipArchive converts filenames to unrecoverable for= m). (Anatol) . Fixed bug #72434 (ZipArchive class Use After Free Vulnerability in = PHP's GC algorithm and unserialize). (Dmitry) @ text @d1 1 a1 1 # $NetBSD$ d26 3 a28 1 CONFIGURE_ARGS+= --without-mysqli @