head 1.4; access; symbols pkgsrc-2015Q3:1.3.0.18 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.16 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.14 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.12 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.10 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.8 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.6 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.4 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.2 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.1.0.10 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.8 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.6 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.4 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.2 pkgsrc-2012Q2-base:1.1; locks; strict; comment @# @; 1.4 date 2015.12.05.05.46.21; author taca; state dead; branches; next 1.3; commitid 5aQdyFOpIPnQJILy; 1.3 date 2013.09.21.16.06.07; author taca; state Exp; branches; next 1.2; commitid 1wmg2NsE0yQE2k6x; 1.2 date 2013.08.16.15.28.23; author taca; state Exp; branches; next 1.1; commitid JM7j8VAofmkrZG1x; 1.1 date 2012.06.16.05.21.55; author taca; state Exp; branches 1.1.10.1; next ; 1.1.10.1 date 2013.08.25.17.26.38; author tron; state Exp; branches; next ; commitid LIjMDb6fvCufmR2x; desc @@ 1.4 log @Delete php54 package which is EOL. @ text @$NetBSD: patch-sapi_cgi_Makefile.frag,v 1.3 2013/09/21 16:06:07 taca Exp $ Install cgi binary as php instead of php-cgi. --- sapi/cgi/Makefile.frag.orig 2013-09-18 05:48:57.000000000 +0000 +++ sapi/cgi/Makefile.frag @@@@ -6,7 +6,8 @@@@ $(SAPI_CGI_PATH): $(PHP_GLOBAL_OBJS) $(P install-cgi: $(SAPI_CGI_PATH) @@echo "Installing PHP CGI binary: $(INSTALL_ROOT)$(bindir)/" @@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir) - @@$(INSTALL) -m 0755 $(SAPI_CGI_PATH) $(INSTALL_ROOT)$(bindir)/$(program_prefix)php-cgi$(program_suffix)$(EXEEXT) + @@echo "Installing PHP CGI binary: $(INSTALL_ROOT)@@CGIDIR@@/" + @@$(INSTALL) -m 0755 $(SAPI_CGI_PATH) $(INSTALL_ROOT)@@CGIDIR@@/$(program_prefix)php$(program_suffix)$(EXEEXT) @@echo "Installing PHP CGI man page: $(INSTALL_ROOT)$(mandir)/man1/" @@$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1 @@$(INSTALL_DATA) sapi/cgi/php-cgi.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)php-cgi$(program_suffix).1 @ 1.3 log @Update php54 to 5.4.20, approved by wiz@@. 19 Sep 2013, PHP 5.4.20 - Core: . Fixed bug #60598 (cli/apache sapi segfault on objects manipulation). (Laruence) . Fixed bug #65579 (Using traits with get_class_methods causes segfault). (Adam) . Fixed bug #65490 (Duplicate calls to get lineno & filename for DTRACE_FUNCTION_*). (Chris Jones) . Fixed bug #65483 (quoted-printable encode stream filter incorrectly encoding spaces). (Michael M Slusarz) . Fixed bug #65481 (shutdown segfault due to serialize) (Mike) . Fixed bug #65470 (Segmentation fault in zend_error() with --enable-dtrace). (Chris Jones, Kris Van Hees) . Fixed bug #65372 (Segfault in gc_zval_possible_root when return reference fails). (Laruence) . Fixed bug #65304 (Use of max int in array_sum). (Laruence) . Fixed bug #65291 (get_defined_constants() causes PHP to crash in a very limited case). (Arpad) . Fixed bug #65225 (PHP_BINARY incorrectly set). (Patrick Allaert) . Improved fix for bug #63186 (compile failure on netbsd). (Matteo) . Fixed bug #62692 (PHP fails to build with DTrace). (Chris Jones, Kris Van Hees) . Fixed bug #61759 (class_alias() should accept classes with leading backslashes). (Julien) . Fixed bug #61345 (CGI mode - make install don't work). (Michael Heimpold) . Cherry-picked some DTrace build commits (allowing builds on Linux, bug #62691, and bug #63706) from PHP 5.5 branch . Fixed bug #61268 (--enable-dtrace leads make to clobber Zend/zend_dtrace.d) (Chris Jones) - cURL: . Fixed bug #65458 (curl memory leak). (Adam) - Datetime: . Fixed bug #65554 (createFromFormat broken when weekday name is followed by some delimiters). (Valentin Logvinskiy, Stas). . Fixed bug #65564 (stack-buffer-overflow in DateTimeZone stuff caught by AddressSanitizer). (Remi). - Openssl: . Fixed bug #64802 (openssl_x509_parse fails to parse subject properly in some cases). (Mark Jones) - Session: . Fixed bug #62129 (rfc1867 crashes php even though turned off). (gxd305 at gmail dot com) . Fixed bug #50308 (session id not appended properly for empty anchor tags). (Arpad) . Fixed possible buffer overflow under Windows. Note: Not a security fix. (Yasuo) . Changed session.auto_start to PHP_INI_PERDIR. (Yasuo) - SOAP: . Fixed bug #65018 (SoapHeader problems with SoapServer). (Dmitry) - SPL: . Fixed bug #65328 (Segfault when getting SplStack object Value). (Laruence) - PDO: . Fixed bug #64953 (Postgres prepared statement positional parameter casting). (Mike) - Phar: . Fixed bug #65028 (Phar::buildFromDirectory creates corrupt archives for some specific contents). (Stas) - Pgsql: . Fixed bug #65336 (pg_escape_literal/identifier() silently returns false). (Yasuo) . Fixed bug #62978 (Disallow possible SQL injections with pg_select()/pg_update() /pg_delete()/pg_insert()). (Yasuo) - Zlib: . Fixed bug #65391 (Unable to send vary header user-agent when ob_start('ob_gzhandler') is called) (Mike) @ text @d1 1 a1 1 $NetBSD: patch-sapi_cgi_Makefile.frag,v 1.2 2013/08/16 15:28:23 taca Exp $ @ 1.2 log @Update php54 to 5.4.18. 15 Aug 2013, PHP 5.4.18 - Core: . Fixed value of FILTER_SANITIZE_FULL_SPECIAL_CHARS constant (previously was erroneously set to FILTER_SANITIZE_SPECIAL_CHARS value). (Andrey avp200681 gmail com). . Fixed bug #65254 (Exception not catchable when exception thrown in autoload with a namespace). (Laruence) . Fixed bug #65108 (is_callable() triggers Fatal Error). (David Soria Parra, Laruence) . Fixed bug #65088 (Generated configure script is malformed on OpenBSD). (Adam) . Fixed bug #62964 (Possible XSS on "Registered stream filters" info). (david at nnucomputerwhiz dot com) . Fixed bug #62672 (Error on serialize of ArrayObject). (Lior Kaplan) . Fixed bug #62475 (variant_* functions causes crash when null given as an argument). (Felipe) . Fixed bug #60732 (php_error_docref links to invalid pages). (Jakub Vrana) . Fixed bug #65226 (chroot() does not get enabled). (Anatol) - CGI: . Fixed Bug #65143 (Missing php-cgi man page). (Remi) - CLI server: . Fixed bug #65066 (Cli server not responsive when responding with 422 http status code). (Adam) - CURL: . Fixed bug #62665 (curl.cainfo doesn't appear in php.ini). (Lior Kaplan) - FPM: . Fixed bug #63983 (enabling FPM borks compile on FreeBSD). (chibisuke at web dot de, Felipe) - FTP: . Fixed bug #65228 (FTPs memory leak with SSL). (marco dot beierer at mbsecurity dot ch) - GMP: . Fixed bug #65227 (Memory leak in gmp_cmp second parameter). (Felipe) - Imap: . Fixed bug #64467 (Segmentation fault after imap_reopen failure). (askalski at gmail dot com) - Intl: . Fixed bug #62759 (Buggy grapheme_substr() on edge case). (Stas) . Fixed bug #61860 (Offsets may be wrong for grapheme_stri* functions). (Stas) - mysqlnd: . Fixed segfault in mysqlnd when doing long prepare. (Andrey) - ODBC: . Fixed bug #61387 (NULL valued anonymous column causes segfault in odbc_fetch_array). (Brandon Kirsch) - Openssl: . Fixed handling null bytes in subjectAltName (CVE-2013-4073). (Christian Heimes) - PDO: . Allowed PDO_OCI to compile with Oracle Database 12c client libraries. (Chris Jones) - PDO_dblib: . Fixed bug #65219 (PDO/dblib not working anymore ("use dbName" not sent)). (Stanley Sufficool) - PDO_pgsql: . Fixed meta data retrieve when OID is larger than 2^31. (Yasuo) - Phar: . Fixed Bug #65142 (Missing phar man page). (Remi) - Session . Fixed bug #62535 ($_SESSION[$key]["cancel_upload"] doesn't work as documented). (Arpad) . Fixed bug #35703 (when session_name("123") consist only digits, should warning). (Yasuo) . Fixed bug #49175 (mod_files.sh does not support hash bits). Patch by oorza2k5 at gmail dot com (Yasuo) - Sockets: . Implemented FR #63472 (Setting SO_BINDTODEVICE with socket_set_option). (Damjan Cvetko) - SPL: . Fixed bug #65136 (RecursiveDirectoryIterator segfault). (Laruence) . Fixed bug #61828 (Memleak when calling Directory(Recursive)Iterator /Spl(Temp)FileObject ctor twice). (Laruence) . Fixed bug #60560 (SplFixedArray un-/serialize, getSize(), count() return 0, keys are strings). (Adam) - XML: . Fixed bug #65236 (heap corruption in xml parser, CVE-2013-4113). (Rob) @ text @d1 1 a1 1 $NetBSD: patch-sapi_cgi_Makefile.frag,v 1.1 2012/06/16 05:21:55 taca Exp $ d5 1 a5 1 --- sapi/cgi/Makefile.frag.orig 2013-08-14 05:47:24.000000000 +0000 d7 1 a7 3 @@@@ -4,8 +4,8 @@@@ $(SAPI_CGI_PATH): $(PHP_GLOBAL_OBJS) $(P $(BUILD_CGI) d9 2 a10 1 - @@echo "Installing PHP CGI binary: $(INSTALL_ROOT)$(bindir)/" @ 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$ d3 3 a5 1 --- sapi/cgi/Makefile.frag.orig 2012-05-03 17:10:43.000000000 +0000 d7 1 a7 1 @@@@ -4,6 +4,6 @@@@ $(SAPI_CGI_PATH): $(PHP_GLOBAL_OBJS) $(P d14 4 a17 2 + @@$(INSTALL) -m 0755 $(SAPI_CGI_PATH) $(INSTALL_ROOT)@@CGIDIR@@/php @ 1.1.10.1 log @Pullup ticket #4222 - requested by taca lang/php54: security update Revisions pulled up: - lang/php/phpversion.mk 1.40,1.42 via patch - lang/php54/Makefile 1.13-1.14 - lang/php54/Makefile.common patch - lang/php54/PLIST 1.5 - lang/php54/distinfo 1.22-1.26 via patch - lang/php54/patches/patch-configure 1.3 - lang/php54/patches/patch-ext_openssl_openssl.c deleted - lang/php54/patches/patch-ext_xml_xml.c deleted - lang/php54/patches/patch-sapi_cgi_Makefile.frag 1.2 --- Module Name: pkgsrc Committed By: taca Date: Wed Aug 14 15:43:22 UTC 2013 Modified Files: pkgsrc/lang/php54: Makefile distinfo Added Files: pkgsrc/lang/php54/patches: patch-ext_openssl_openssl.c Log Message: Add fix fo openssl, CVE-2013-4073. Bump PKGREVISION. --- Module Name: pkgsrc Committed By: taca Date: Fri Aug 16 00:38:24 UTC 2013 Modified Files: pkgsrc/lang/php54: distinfo pkgsrc/lang/php54/patches: patch-ext_openssl_openssl.c Log Message: Since openssl's security problem has assigned CVE-2013-4248, update comment in the patch file. --- Module Name: pkgsrc Committed By: taca Date: Fri Aug 16 15:28:23 UTC 2013 Modified Files: pkgsrc/lang/php: phpversion.mk pkgsrc/lang/php54: Makefile PLIST distinfo pkgsrc/lang/php54/patches: patch-configure patch-sapi_cgi_Makefile.frag Removed Files: pkgsrc/lang/php54/patches: patch-ext_openssl_openssl.c patch-ext_xml_xml.c Log Message: Update php54 to 5.4.18. 15 Aug 2013, PHP 5.4.18 - Core: . Fixed value of FILTER_SANITIZE_FULL_SPECIAL_CHARS constant (previously was erroneously set to FILTER_SANITIZE_SPECIAL_CHARS value). (Andrey avp200681 gmail com). . Fixed bug #65254 (Exception not catchable when exception thrown in autoload with a namespace). (Laruence) . Fixed bug #65108 (is_callable() triggers Fatal Error). (David Soria Parra, Laruence) . Fixed bug #65088 (Generated configure script is malformed on OpenBSD). (Adam) . Fixed bug #62964 (Possible XSS on "Registered stream filters" info). (david at nnucomputerwhiz dot com) . Fixed bug #62672 (Error on serialize of ArrayObject). (Lior Kaplan) . Fixed bug #62475 (variant_* functions causes crash when null given as an argument). (Felipe) . Fixed bug #60732 (php_error_docref links to invalid pages). (Jakub Vrana) . Fixed bug #65226 (chroot() does not get enabled). (Anatol) - CGI: . Fixed Bug #65143 (Missing php-cgi man page). (Remi) - CLI server: . Fixed bug #65066 (Cli server not responsive when responding with 422 http status code). (Adam) - CURL: . Fixed bug #62665 (curl.cainfo doesn't appear in php.ini). (Lior Kaplan) - FPM: . Fixed bug #63983 (enabling FPM borks compile on FreeBSD). (chibisuke at web dot de, Felipe) - FTP: . Fixed bug #65228 (FTPs memory leak with SSL). (marco dot beierer at mbsecurity dot ch) - GMP: . Fixed bug #65227 (Memory leak in gmp_cmp second parameter). (Felipe) - Imap: . Fixed bug #64467 (Segmentation fault after imap_reopen failure). (askalski at gmail dot com) - Intl: . Fixed bug #62759 (Buggy grapheme_substr() on edge case). (Stas) . Fixed bug #61860 (Offsets may be wrong for grapheme_stri* functions). (Stas) - mysqlnd: . Fixed segfault in mysqlnd when doing long prepare. (Andrey) - ODBC: . Fixed bug #61387 (NULL valued anonymous column causes segfault in odbc_fetch_array). (Brandon Kirsch) - Openssl: . Fixed handling null bytes in subjectAltName (CVE-2013-4073). (Christian Heimes) - PDO: . Allowed PDO_OCI to compile with Oracle Database 12c client libraries. (Chris Jones) - PDO_dblib: . Fixed bug #65219 (PDO/dblib not working anymore ("use dbName" not sent)). (Stanley Sufficool) - PDO_pgsql: . Fixed meta data retrieve when OID is larger than 2^31. (Yasuo) - Phar: . Fixed Bug #65142 (Missing phar man page). (Remi) - Session . Fixed bug #62535 ($_SESSION[$key]["cancel_upload"] doesn't work as documented). (Arpad) . Fixed bug #35703 (when session_name("123") consist only digits, should warning). (Yasuo) . Fixed bug #49175 (mod_files.sh does not support hash bits). Patch by oorza2k5 at gmail dot com (Yasuo) - Sockets: . Implemented FR #63472 (Setting SO_BINDTODEVICE with socket_set_option). (Damjan Cvetko) - SPL: . Fixed bug #65136 (RecursiveDirectoryIterator segfault). (Laruence) . Fixed bug #61828 (Memleak when calling Directory(Recursive)Iterator /Spl(Temp)FileObject ctor twice). (Laruence) . Fixed bug #60560 (SplFixedArray un-/serialize, getSize(), count() return 0, keys are strings). (Adam) - XML: . Fixed bug #65236 (heap corruption in xml parser, CVE-2013-4113). (Rob) --- Module Name: pkgsrc Committed By: taca Date: Sat Aug 17 00:35:08 UTC 2013 Modified Files: pkgsrc/lang/php54: distinfo Log Message: Make sure to update distinfo. Thanks to Greg Oster noted the problem to me. --- Module Name: pkgsrc Committed By: taca Date: Fri Aug 23 03:11:55 UTC 2013 Modified Files: pkgsrc/lang/php: phpversion.mk pkgsrc/lang/php54: distinfo Log Message: Update php54 to 5.4.19. 22 Aug 2013, PHP 5.4.19 - Core: . Fixed bug #64503 (Compilation fails with error: conflicting types for 'zendparse'). (Laruence) - Openssl: . Fixed UMR in fix for CVE-2013-4248. @ text @d3 1 a3 3 Install cgi binary as php instead of php-cgi. --- sapi/cgi/Makefile.frag.orig 2013-08-14 05:47:24.000000000 +0000 d5 1 a5 1 @@@@ -4,8 +4,8 @@@@ $(SAPI_CGI_PATH): $(PHP_GLOBAL_OBJS) $(P d12 2 a13 4 + @@$(INSTALL) -m 0755 $(SAPI_CGI_PATH) $(INSTALL_ROOT)@@CGIDIR@@/$(program_prefix)php$(program_suffix)$(EXEEXT) @@echo "Installing PHP CGI man page: $(INSTALL_ROOT)$(mandir)/man1/" @@$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1 @@$(INSTALL_DATA) sapi/cgi/php-cgi.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)php-cgi$(program_suffix).1 @