head 1.11; access; symbols pkgsrc-2015Q3:1.10.0.6 pkgsrc-2015Q3-base:1.10 pkgsrc-2015Q2:1.10.0.4 pkgsrc-2015Q2-base:1.10 pkgsrc-2015Q1:1.10.0.2 pkgsrc-2015Q1-base:1.10 pkgsrc-2014Q4:1.9.0.6 pkgsrc-2014Q4-base:1.9 pkgsrc-2014Q3:1.9.0.4 pkgsrc-2014Q3-base:1.9 pkgsrc-2014Q2:1.9.0.2 pkgsrc-2014Q2-base:1.9 pkgsrc-2014Q1:1.6.0.6 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.4 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.2 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.4.0.8 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.6 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.4 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.2 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.1.0.2 pkgsrc-2012Q2-base:1.1; locks; strict; comment @# @; 1.11 date 2015.12.05.05.46.21; author taca; state dead; branches; next 1.10; commitid 5aQdyFOpIPnQJILy; 1.10 date 2015.03.13.17.05.22; author manu; state Exp; branches; next 1.9; commitid eX594oDk2tqT4tdy; 1.9 date 2014.06.13.14.13.20; author fhajny; state Exp; branches; next 1.8; commitid tbAdNETGCjTPTmEx; 1.8 date 2014.05.31.04.28.57; author taca; state Exp; branches; next 1.7; commitid gxAvnBNMkmE65ECx; 1.7 date 2014.04.05.03.43.40; author taca; state Exp; branches; next 1.6; commitid BBKKTcNbsxv5Drvx; 1.6 date 2013.07.21.17.29.47; author taca; state Exp; branches 1.6.6.1; next 1.5; commitid ikMx1xaHI95UtmYw; 1.5 date 2013.07.15.02.02.24; author ryoon; state Exp; branches; next 1.4; commitid aGblgSa9xp3HyvXw; 1.4 date 2012.07.27.00.21.03; author obache; state Exp; branches; next 1.3; 1.3 date 2012.07.27.00.16.47; author obache; state Exp; branches; next 1.2; 1.2 date 2012.07.25.13.01.05; author fhajny; state Exp; branches; next 1.1; 1.1 date 2012.06.16.05.21.55; author taca; state Exp; branches; next ; 1.6.6.1 date 2014.06.01.13.20.22; author spz; state Exp; branches; next 1.6.6.2; commitid xaPSMrxvEC4KZOCx; 1.6.6.2 date 2014.06.02.15.51.10; author tron; state Exp; branches; next ; commitid TLXU9Gxa8WGuNXCx; desc @@ 1.11 log @Delete php54 package which is EOL. @ text @# $NetBSD: Makefile.php,v 1.10 2015/03/13 17:05:22 manu Exp $ # used by lang/php54/Makefile # used by www/ap-php/Makefile # used by www/php-fpm/Makefile .include "../../lang/php54/Makefile.common" DISTINFO_FILE= ${.CURDIR}/../../lang/php54/distinfo PATCHDIR= ${.CURDIR}/../../lang/php54/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+= --with-regex=system CONFIGURE_ARGS+= --without-mysql #CONFIGURE_ARGS+= --without-sqlite3 CONFIGURE_ARGS+= --without-iconv CONFIGURE_ARGS+= --without-pear #CONFIGURE_ARGS+= --without-intl CONFIGURE_ARGS+= --disable-posix CONFIGURE_ARGS+= --disable-dom 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 calendar PKG_SUGGESTED_OPTIONS+= inet6 ssl .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+= --disable-maintainer-zts .else CONFIGURE_ARGS+= --enable-maintainer-zts .endif .if !empty(PKG_OPTIONS:Mreadline) .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:Mcalendar) CONFIGURE_ARGS+= --enable-calendar .endif DL_AUTO_VARS= yes .include "../../mk/dlopen.buildlink3.mk" @ 1.10 log @Calendar extension for PHP 5.3 and PHP 5.4 Add calendar options to lang/php53 and lang/php54 to build the calendar extension. Complete documentation on this extension can be found here: http://php.net/manual/en/book.calendar.php @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.9 2014/06/13 14:13:20 fhajny Exp $ @ 1.9 log @Add the mysqlnd (MySQL Native Driver) include files. Bump PKGREVISION for this and the previous commit. @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.8 2014/05/31 04:28:57 taca Exp $ d47 1 a47 1 PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline d95 4 @ 1.8 log @Update php54 to 5.4.29, contains fix for CVE-2014-0237 and CVE-2014-0238. 29 May 2014, PHP 5.4.29 - COM: . Fixed bug #66431 (Special Character via COM Interface (CP_UTF8)). (Anatol) - Core: . Fixed bug #65701 (copy() doesn't work when destination filename is created by tempnam()). (Boro Sitnikovski) . Fixed bug #67072 (Echoing unserialized "SplFileObject" crash). (Anatol) . Fixed bug #67245 (usage of memcpy() with overlapping src and dst in zend_exceptions.c). (Bob) . Fixed bug #67247 (spl_fixedarray_resize integer overflow). (Stas) . Fixed bug #67249 (printf out-of-bounds read). (Stas) . Fixed bug #67250 (iptcparse out-of-bounds read). (Stas) . Fixed bug #67252 (convert_uudecode out-of-bounds read). (Stas) - Date: . Fixed bug #67118 (DateTime constructor crash with invalid data). (Anatol) . Fixed bug #67251 (date_parse_from_format out-of-bounds read). (Stas) . Fixed bug #67253 (timelib_meridian_with_check out-of-bounds read). (Stas) - DOM: . Fixed bug #67081 (DOMDocumentType->internalSubset returns entire DOCTYPE tag, not only the subset). (Anatol) - Fileinfo: . Fixed bug #66307 (Fileinfo crashes with powerpoint files). (Anatol) . Fixed bug #67327 (fileinfo: CDF infinite loop in nelements DoS). (CVE-2014-0238) . Fixed bug #67328 (fileinfo: fileinfo: numerous file_printf calls resulting in performance degradation). (CVE-2014-0237) - FPM: . Fixed bug #66908 (php-fpm reload leaks epoll_create() file descriptor). (Julio Pintos) - Phar: . Fix bug #64498 ($phar->buildFromDirectory can't compress file with an accent in its name). (PR #588) @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.7 2014/04/05 03:43:40 taca Exp $ d40 1 @ 1.7 log @Update php54 to 5.4.27. CVE-2013-7345 is already fixed in 5.4.26nb2. 03 Apr 2014, PHP 5.4.27 - Core: . Fixed bug #60602 (proc_open() changes environment array) (Tjerk) - Fileinfo: . Fixed bug #66946 (fileinfo: extensive backtracking in awk rule regular expression). (CVE-2013-7345) (Remi) - FPM: . Added clear_env configuration directive to disable clearenv() call. (Github PR# 598, Paul Annesley) - GMP . fixed bug#66872 (invalid argument crashes gmp_testbit) (Pierre) - Mail: . Fixed bug #66535 (Don't add newline after X-PHP-Originating-Script) (Tjerk) - MySQLi: . Fixed bug #66762 (Segfault in mysqli_stmt::bind_result() when link closed) (Remi) - Openssl: . Fixed bug #66833 (Default disgest algo is still MD5, switch to SHA1). (Remi) @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.6 2013/07/21 17:29:47 taca Exp $ d45 1 a45 3 # Note: This expression is the same as ${PKGBASE}, but the latter is # not defined yet, so we cannot use it here. PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[0-9].*//} @ 1.6 log @Clean up php's framework. * Define PHP's version at one place. * Remove obsolete description in comments. * Add "used by www/php-fpm/Makefile" in php5[34]/Makefile.php. * Remove commented out support for suhosin extension from php54. * Add PHP_CHECK_INSTALLED and PHP_EXTENSION_DIR to php/phpversion.mk. No functional should be made. @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.5 2013/07/15 02:02:24 ryoon Exp $ d75 3 a77 1 .if !empty(PKG_OPTIONS:Mmaintainer-zts) @ 1.6.6.1 log @Pullup ticket #4422 - requested by taca graphics/php-gd: version bump lang/php: version bump lang/php53: security update lang/php54: security update lang/php55: security update Revisions pulled up: - graphics/php-gd/Makefile 1.36 - lang/php/phpversion.mk 1.59-1.62 - lang/php53/distinfo 1.73 - lang/php53/patches/patch-ext_gd_libgd_gdxpm.c 1.1 - lang/php54/Makefile 1.21 - lang/php54/Makefile.php 1.7 - lang/php54/distinfo 1.37-1.39 - lang/php54/patches/patch-configure 1.7 - lang/php54/patches/patch-ext_fileinfo_data__file.c deleted - lang/php54/patches/patch-ext_gd_libgd_gdxpm.c 1.1 - lang/php54/patches/patch-php.ini-development 1.3 - lang/php54/patches/patch-php.ini-production 1.3 - lang/php55/Makefile 1.12 - lang/php55/distinfo 1.18-1.21 - lang/php55/patches/patch-configure 1.6 - lang/php55/patches/patch-ext_fileinfo_data__file.c deleted - lang/php55/patches/patch-ext_gd_libgd_gdxpm.c 1.1 - lang/php55/patches/patch-ext_sqlite3_libsqlite_sqlite3.c 1.2 - lang/php55/patches/patch-php.ini-development 1.4 - lang/php55/patches/patch-php.ini-production 1.4 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: taca Date: Fri Apr 4 03:05:00 UTC 2014 Modified Files: pkgsrc/lang/php: phpversion.mk pkgsrc/lang/php55: Makefile distinfo pkgsrc/lang/php55/patches: patch-php.ini-development patch-php.ini-production Removed Files: pkgsrc/lang/php55/patches: patch-ext_fileinfo_data__file.c Log Message: Update php55 to 5.5.11. CVE-2013-7345 is already fixed in 5.5.10nb2. 03 Apr 2014, PHP 5.5.11 - Core: . Allow zero length comparison in substr_compare() (Tjerk) . Fixed bug #60602 (proc_open() changes environment array) (Tjerk) - SPL: . Added feature #65545 (SplFileObject::fread()) (Tjerk) - cURL: . Fixed bug #66109 (Can't reset CURLOPT_CUSTOMREQUEST to default behaviour) (Tjerk) . Fix compilation on libcurl versions between 7.10.5 and 7.12.2, inclusive. (Adam) - FPM: . Added clear_env configuration directive to disable clearenv() call. (Github PR# 598, Paul Annesley) - Fileinfo: . Fixed bug #66946 (fileinfo: extensive backtracking in awk rule regular expression). (CVE-2013-7345) (Remi) - GD: . Fixed bug #66714 (imageconvolution breakage). (Brad Daily) . Fixed bug #66869 (Invalid 2nd argument crashes imageaffinematrixget) (Pierre) . Fixed bug #66887 (imagescale - poor quality of scaled image). (Remi) . Fixed bug #66890 (imagescale segfault). (Remi) . Fixed bug #66893 (imagescale ignore method argument). (Remi) - Hash: . hash_pbkdf2() now works correctly if the $length argument is not specified. (Nikita) - Intl: . Fixed bug #66873 (A reproductible crash in UConverter when given invalid encoding) (Stas) - Mail: . Fixed bug #66535 (Don't add newline after X-PHP-Originating-Script) (Tjerk) - MySQLi: . Fixed bug #66762 (Segfault in mysqli_stmt::bind_result() when link closed) (Remi) - OPCache . Added function opcache_is_script_cached(). (Danack) . Added information about interned strings usage. (Terry, Julien, Dmitry) - Openssl: . Fixed bug #66833 (Default disgest algo is still MD5, switch to SHA1). (Remi) - GMP . Fixed bug #66872 (invalid argument crashes gmp_testbit) (Pierre) - SQLite: . Updated bundled libsqlite to 3.8.3.1 (Anatol) To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 pkgsrc/lang/php/phpversion.mk cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/php55/Makefile cvs rdiff -u -r1.17 -r1.18 pkgsrc/lang/php55/distinfo cvs rdiff -u -r1.1 -r0 \ pkgsrc/lang/php55/patches/patch-ext_fileinfo_data__file.c cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/php55/patches/patch-php.ini-development \ pkgsrc/lang/php55/patches/patch-php.ini-production ------------------------------------------------------------------- Module Name: pkgsrc Committed By: taca Date: Sat Apr 5 03:43:40 UTC 2014 Modified Files: pkgsrc/lang/php: phpversion.mk pkgsrc/lang/php54: Makefile Makefile.php distinfo pkgsrc/lang/php54/patches: patch-php.ini-development patch-php.ini-production Removed Files: pkgsrc/lang/php54/patches: patch-ext_fileinfo_data__file.c Log Message: Update php54 to 5.4.27. CVE-2013-7345 is already fixed in 5.4.26nb2. 03 Apr 2014, PHP 5.4.27 - Core: . Fixed bug #60602 (proc_open() changes environment array) (Tjerk) - Fileinfo: . Fixed bug #66946 (fileinfo: extensive backtracking in awk rule regular expression). (CVE-2013-7345) (Remi) - FPM: . Added clear_env configuration directive to disable clearenv() call. (Github PR# 598, Paul Annesley) - GMP . fixed bug#66872 (invalid argument crashes gmp_testbit) (Pierre) - Mail: . Fixed bug #66535 (Don't add newline after X-PHP-Originating-Script) (Tjerk) - MySQLi: . Fixed bug #66762 (Segfault in mysqli_stmt::bind_result() when link closed) (Remi) - Openssl: . Fixed bug #66833 (Default disgest algo is still MD5, switch to SHA1). (Remi) To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 pkgsrc/lang/php/phpversion.mk cvs rdiff -u -r1.20 -r1.21 pkgsrc/lang/php54/Makefile cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/php54/Makefile.php cvs rdiff -u -r1.36 -r1.37 pkgsrc/lang/php54/distinfo cvs rdiff -u -r1.1 -r0 \ pkgsrc/lang/php54/patches/patch-ext_fileinfo_data__file.c cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/php54/patches/patch-php.ini-development \ pkgsrc/lang/php54/patches/patch-php.ini-production ------------------------------------------------------------------- Module Name: pkgsrc Committed By: jperkin Date: Mon Apr 14 10:17:19 UTC 2014 Modified Files: pkgsrc/lang/php55: distinfo Added Files: pkgsrc/lang/php55/patches: patch-ext_sqlite3_libsqlite_sqlite3.c Log Message: Don't define _XOPEN_SOURCE on SunOS, it conflicts with the environment from the PHP build. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 pkgsrc/lang/php55/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/lang/php55/patches/patch-ext_sqlite3_libsqlite_sqlite3.c ------------------------------------------------------------------- Module Name: pkgsrc Committed By: taca Date: Thu May 1 15:52:33 UTC 2014 Modified Files: pkgsrc/lang/php: phpversion.mk pkgsrc/lang/php55: distinfo pkgsrc/lang/php55/patches: patch-configure patch-ext_sqlite3_libsqlite_sqlite3.c Log Message: Update php55 to 5.5.12. 01 May 2014, PHP 5.5.12 - Core: . Fixed bug #61019 (Out of memory on command stream_get_contents). (Mike) . Fixed bug #64330 (stream_socket_server() creates wrong Abstract Namespace UNIX sockets). (Mike) . Fixed bug #66182 (exit in stream filter produces segfault). (Mike) . Fixed bug #66736 (fpassthru broken). (Mike) . Fixed bug #67024 (getimagesize should recognize BMP files with negative height). (Gabor Buella) . Fixed bug #67043 (substr_compare broke by previous change) (Tjerk) - cURL: . Fixed bug #66562 (curl_exec returns differently than curl_multi_getcontent). (Freek Lijten) - Date: . Fixed bug #66721 (__wakeup of DateTime segfaults when invalid object data is supplied). (Boro Sitnikovski) - Embed: . Fixed bug #65715 (php5embed.lib isn't provided anymore). (Anatol). - Fileinfo: . Fixed bug #66987 (Memory corruption in fileinfo ext / bigendian). (Remi) - FPM: . Fixed bug #66482 (unknown entry 'priority' in php-fpm.conf). . Fixed bug #67060 (possible privilege escalation due to insecure default configuration). (CVE-2014-0185) (christian at hoffie dot info) - JSON: . Fixed bug #66021 (Blank line inside empty array/object when JSON_PRETTY_PRINT is set). (Kevin Israel) - LDAP: . Fixed issue with null bytes in LDAP bindings. (Matthew Daley) - mysqli: . Fixed problem in mysqli_commit()/mysqli_rollback() with second parameter (extra comma) and third parameters (lack of escaping). (Andrey) - OpenSSL: . Fix bug #66942 (memory leak in openssl_seal()). (Chuan Ma) . Fix bug #66952 (memory leak in openssl_open()). (Chuan Ma) - SimpleXML: . Fixed bug #66084 (simplexml_load_string() mangles empty node name) (Anatol) - SQLite: . Fixed bug #66967 (Updated bundled libsqlite to 3.8.4.3). (Anatol) - XSL: . Fixed bug #53965 ( cannot find files with relative paths when loaded with "file://"). (Anatol) - Apache2 Handler SAPI: . Fixed Apache log issue caused by APR's lack of support for %zu (APR issue https://issues.apache.org/bugzilla/show_bug.cgi?id=56120). (Jeff Trawick) To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61 pkgsrc/lang/php/phpversion.mk cvs rdiff -u -r1.19 -r1.20 pkgsrc/lang/php55/distinfo cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/php55/patches/patch-configure cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/php55/patches/patch-ext_sqlite3_libsqlite_sqlite3.c ------------------------------------------------------------------- Module Name: pkgsrc Committed By: taca Date: Fri May 2 13:04:12 UTC 2014 Modified Files: pkgsrc/lang/php: phpversion.mk pkgsrc/lang/php54: distinfo pkgsrc/lang/php54/patches: patch-configure Log Message: Update php54 to 5.4.28. 01 May 2014, PHP 5.4.28 - Core: . Fixed bug #61019 (Out of memory on command stream_get_contents). (Mike) . Fixed bug #64330 (stream_socket_server() creates wrong Abstract Namespace UNIX sockets). (Mike) . Fixed bug #66171 (Symlinks and session handler allow open_basedir bypass). (Jann Horn, Stas) . Fixed bug #66182 (exit in stream filter produces segfault). (Mike) . Fixed bug #66736 (fpassthru broken). (Mike) . Fixed bug #67024 (getimagesize should recognize BMP files with negative height). (Gabor Buella) - cURL: . Fixed bug #66562 (curl_exec returns differently than curl_multi_getcontent). (Freek Lijten) - Date: . Fixed bug #66721 (__wakeup of DateTime segfaults when invalid object data is supplied). (Boro Sitnikovski) - Embed: . Fixed bug #65715 (php5embed.lib isn't provided anymore). (Anatol) - Fileinfo: . Fixed bug #66987 (Memory corruption in fileinfo ext / bigendian). (Remi) - FPM: . Fixed bug #66482 (unknown entry 'priority' in php-fpm.conf). . Fixed bug #67060 (sapi/fpm: possible privilege escalation due to insecure default configuration) (CVE-2014-0185). (Stas) - JSON: . Fixed bug #66021 (Blank line inside empty array/object when JSON_PRETTY_PRINT is set). (Kevin Israel) - LDAP: . Fixed issue with null bytes in LDAP bindings. (Matthew Daley) - OpenSSL: . Fix bug #66942 (memory leak in openssl_seal()). (Chuan Ma) . Fix bug #66952 (memory leak in openssl_open()). (Chuan Ma) - SimpleXML: . Fixed bug #66084 (simplexml_load_string() mangles empty node name) (Anatol) - XSL: . Fixed bug #53965 ( cannot find files with relative paths when loaded with "file://"). (Anatol) - Apache2 Handler SAPI: . Fixed Apache log issue caused by APR's lack of support for %zu (APR issue https://issues.apache.org/bugzilla/show_bug.cgi?id=56120). (Jeff Trawick) To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 pkgsrc/lang/php/phpversion.mk cvs rdiff -u -r1.37 -r1.38 pkgsrc/lang/php54/distinfo cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/php54/patches/patch-configure ------------------------------------------------------------------- Module Name: pkgsrc Committed By: he Date: Sun May 11 11:20:48 UTC 2014 Modified Files: pkgsrc/graphics/php-gd: Makefile pkgsrc/lang/php53: distinfo pkgsrc/lang/php54: distinfo pkgsrc/lang/php55: distinfo Added Files: pkgsrc/lang/php53/patches: patch-ext_gd_libgd_gdxpm.c pkgsrc/lang/php54/patches: patch-ext_gd_libgd_gdxpm.c pkgsrc/lang/php55/patches: patch-ext_gd_libgd_gdxpm.c Log Message: Apply a patch to fix CVE-2014-2497, taken from https://bugs.php.net/patch-display.php?bug_id=66901 Bump PKGREVISION for php-gd correspondingly. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 pkgsrc/graphics/php-gd/Makefile cvs rdiff -u -r1.72 -r1.73 pkgsrc/lang/php53/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/lang/php53/patches/patch-ext_gd_libgd_gdxpm.c cvs rdiff -u -r1.38 -r1.39 pkgsrc/lang/php54/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/lang/php54/patches/patch-ext_gd_libgd_gdxpm.c cvs rdiff -u -r1.20 -r1.21 pkgsrc/lang/php55/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/lang/php55/patches/patch-ext_gd_libgd_gdxpm.c @ text @d1 1 a1 1 # $NetBSD$ d75 1 a75 3 .if empty(PKG_OPTIONS:Mmaintainer-zts) CONFIGURE_ARGS+= --disable-maintainer-zts .else @ 1.6.6.2 log @Pullup ticket #4428 - requested by taca lang/php54: security update Revisions pulled up: - lang/php/phpversion.mk 1.64 - lang/php54/Makefile.php 1.8 - lang/php54/distinfo 1.40 --- Module Name: pkgsrc Committed By: taca Date: Sat May 31 04:28:57 UTC 2014 Modified Files: pkgsrc/lang/php: phpversion.mk pkgsrc/lang/php54: Makefile.php distinfo Log Message: Update php54 to 5.4.29, contains fix for CVE-2014-0237 and CVE-2014-0238. 29 May 2014, PHP 5.4.29 - COM: . Fixed bug #66431 (Special Character via COM Interface (CP_UTF8)). (Anatol) - Core: . Fixed bug #65701 (copy() doesn't work when destination filename is created by tempnam()). (Boro Sitnikovski) . Fixed bug #67072 (Echoing unserialized "SplFileObject" crash). (Anatol) . Fixed bug #67245 (usage of memcpy() with overlapping src and dst in zend_exceptions.c). (Bob) . Fixed bug #67247 (spl_fixedarray_resize integer overflow). (Stas) . Fixed bug #67249 (printf out-of-bounds read). (Stas) . Fixed bug #67250 (iptcparse out-of-bounds read). (Stas) . Fixed bug #67252 (convert_uudecode out-of-bounds read). (Stas) - Date: . Fixed bug #67118 (DateTime constructor crash with invalid data). (Anatol) . Fixed bug #67251 (date_parse_from_format out-of-bounds read). (Stas) . Fixed bug #67253 (timelib_meridian_with_check out-of-bounds read). (Stas) - DOM: . Fixed bug #67081 (DOMDocumentType->internalSubset returns entire DOCTYPE tag, not only the subset). (Anatol) - Fileinfo: . Fixed bug #66307 (Fileinfo crashes with powerpoint files). (Anatol) . Fixed bug #67327 (fileinfo: CDF infinite loop in nelements DoS). (CVE-2014-0238) . Fixed bug #67328 (fileinfo: fileinfo: numerous file_printf calls resulting in performance degradation). (CVE-2014-0237) - FPM: . Fixed bug #66908 (php-fpm reload leaks epoll_create() file descriptor). (Julio Pintos) - Phar: . Fix bug #64498 ($phar->buildFromDirectory can't compress file with an accent in its name). (PR #588) @ text @d45 3 a47 1 PKG_OPTIONS_VAR= PKG_OPTIONS.${PHP_PKG_PREFIX} @ 1.5 log @* .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yes are replaced with .include "../../devel/readline/buildlink3.mk", and USE_GNU_READLINE are removed, * .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE are replaced with .include "../../mk/readline.buildlink3.mk". @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.4 2012/07/27 00:21:03 obache Exp $ d4 1 d15 1 a15 1 PLIST_VARS+= suhosin dtrace d42 1 d48 1 a48 1 PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts readline # suhosin a54 7 #SUBST_CLASSES+= ini #SUBST_STAGE.ini= post-patch #SUBST_FILES.ini= php.ini-development #SUBST_FILES.ini+= php.ini-production #SUBST_SED.ini= -e "s|\\;include_path = \".:/php/includes\"|include_path = \".:${PREFIX}/lib/php\"|g" #SUBST_MESSAGE.ini= Fixing default ini files. a56 17 #.if !empty(PKG_OPTIONS:Msuhosin) #SUHOSIN_PHPVER= 5.4.0 #. if ${SUHOSIN_PHPVER} != ${PHP_BASE_VERS} #PKG_FAIL_REASON+= "The suhosin patch is currently not available for" #PKG_FAIL_REASON+= "this version of PHP. You may have to wait until" #PKG_FAIL_REASON+= "an updated patch is released or temporarily" #PKG_FAIL_REASON+= "build this package without the suhosin option." #. else #PATCH_SITES= http://download.suhosin.org/ #PATCHFILES+= suhosin-patch-${SUHOSIN_PHPVER}-0.9.10.patch.gz #PATCH_DIST_STRIP= -p1 #PLIST.suhosin= yes #MESSAGE_SRC= ${.CURDIR}/../../lang/php54/MESSAGE #MESSAGE_SRC+= ${.CURDIR}/../../lang/php54/MESSAGE.suhosin #. endif #.endif @ 1.4 log @No sqlite support in PHP-5.4 (only sqlite3). @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.3 2012/07/27 00:16:47 obache Exp $ a101 1 USE_GNU_READLINE= yes @ 1.3 log @readline support require GNU readline. @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.2 2012/07/25 13:01:05 fhajny Exp $ a27 1 CONFIGURE_ARGS+= --without-sqlite @ 1.2 log @Add support for readline (for interactive PHP CLI). Add support for DTrace. @ text @d1 1 a1 1 # $NetBSD: Makefile.php,v 1.1 2012/06/16 05:21:55 taca Exp $ d103 1 @ 1.1 log @Adding php54 (PHP 5.4.4) to pkgsrc. Key new features: traits, a shortened array syntax, a built-in webserver for testing purposes and more. A migration guide: http://php.net/migration54 Full changes: http://www.php.net/ChangeLog-5.php @ text @d1 1 a1 1 # $NetBSD$ d14 1 a14 1 PLIST_VARS+= suhosin d47 1 a47 1 PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts # suhosin d50 4 d102 15 @