head 1.7; access; symbols pkgsrc-2013Q2:1.7.0.4 pkgsrc-2013Q2-base:1.7 pkgsrc-2012Q4:1.7.0.2 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q1:1.6.0.24 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.22 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.20 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.18 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.16 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.14 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.12 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.6.0.10 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.6.0.8 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.6.0.6 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.6.0.4 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.2 pkgsrc-2009Q2-base:1.6 pkgsrc-2008Q4:1.3.0.20 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.18 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.16 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.14 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.12 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.10 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.8 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.6 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.4 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.2 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.2.0.2 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.1.0.2 pkgsrc-2006Q2-base:1.1; locks; strict; comment @# @; 1.7 date 2012.06.16.15.15.06; author taca; state dead; branches; next 1.6; 1.6 date 2009.06.26.21.54.35; author jdolecek; state Exp; branches; next 1.5; 1.5 date 2009.03.02.22.52.17; author adrianp; state dead; branches; next 1.4; 1.4 date 2009.02.25.08.59.47; author sborrill; state Exp; branches; next 1.3; 1.3 date 2006.11.06.22.06.35; author jdolecek; state dead; branches 1.3.20.1; next 1.2; 1.2 date 2006.08.19.16.44.15; author taca; state Exp; branches; next 1.1; 1.1 date 2006.04.22.10.54.53; author jdolecek; state Exp; branches 1.1.2.1; next ; 1.3.20.1 date 2009.02.26.13.43.59; author tron; state Exp; branches; next 1.3.20.2; 1.3.20.2 date 2009.03.15.19.21.22; author tron; state dead; branches; next ; 1.1.2.1 date 2006.08.20.11.25.49; author ghen; state Exp; branches; next ; desc @@ 1.7 log @Remove php5 (PHP 5.2.17), please migra to php53 or php54. @ text @$NetBSD: patch-as,v 1.6 2009/06/26 21:54:35 jdolecek Exp $ --- ext/pdo/config.m4.orig 2009-06-26 23:43:44.000000000 +0200 +++ ext/pdo/config.m4 @@@@ -34,20 +34,6 @@@@ if test "$PHP_PDO" != "no"; then PHP_PDO_PEAR_CHECK - if test "$ext_shared" = "yes" ; then - case $host_alias in - *darwin*) - AC_MSG_ERROR([ -Due to the way that loadable modules work on OSX/Darwin, you need to -compile the PDO package statically into the PHP core. - -Please follow the instructions at: http://netevil.org/node.php?nid=202 -for more detail on this issue. - ]) - ext_shared=no - ;; - esac - fi PHP_NEW_EXTENSION(pdo, pdo.c pdo_dbh.c pdo_stmt.c pdo_sql_parser.c pdo_sqlstate.c, $ext_shared) ifdef([PHP_ADD_EXTENSION_DEP], [ @ 1.6 log @resurrect patch originally from databases/php-pdo/patches/patch-aa, so that databases/php-pdo compiles and works as shared module on Mac OS X after the package has been modified to use modules shipped with PHP instead of (obsolete) PCRE versions @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @The PHP development team would like to announce the immediate availability of PHP 5.2.9. This release focuses on improving the stability of the PHP 5.2.x branch with over 50 bug fixes, several of which are security related. All users of PHP are encouraged to upgrade to this release. Security Enhancements and Fixes in PHP 5.2.9: * Fixed security issue in imagerotate(), background colour isn't validated correctly with a non truecolour image. Reported by Hamid Ebadi, APA Laboratory (Fixes CVE-2008-5498). (Scott) * Fixed a crash on extract in zip when files or directories entry names contain a relative path. (Pierre) * Fixed explode() behavior with empty string to respect negative limit. (Shire) * Fixed a segfault when malformed string is passed to json_decode(). (Scott) Key enhancements in PHP 5.2.9 include: * Added optional sorting type flag parameter to array_unique(). Default is SORT_REGULAR. (Andrei) * Fixed bug #45996 (libxml2 2.7 causes breakage with character data in xml_parse()). (Rob) * A number of fixes in the mbstring extension (Moriyoshi) * Fixed bug #44336 (Improve pcre UTF-8 string matching performance). (frode at coretrek dot com, Nuno) * Fixed bug #46699 (xml_parse crash when parser is namespace aware). (Rob) * Fixed bug #46748 (Segfault when an SSL error has more than one error). (Scott) * Fixed bug #46889 (Memory leak in strtotime()). (Derick) * Fixed bug #47049 (SoapClient::__soapCall causes a segmentation fault). (Dmitry) * Fixed bug #47165 (Possible memory corruption when passing return value by reference). (Dmitry) * Fixed bug #47282 (FILTER_VALIDATE_EMAIL is marking valid email addresses as invalid). (Ilia) * Fixed bug #47422 (modulus operator returns incorrect results on 64 bit linux). (Matt) * Over 50 bug fixes. @ text @d1 1 a1 1 $NetBSD: patch-as,v 1.4 2009/02/25 08:59:47 sborrill Exp $ d3 3 a5 14 Fix memory leak and pullup bug fix for http://bugs.php.net/bug.php?id=46918 Remove this patch when PHP >= 5.2.9 is released as it will contain these changes --- ext/imap/php_imap.c.orig 2009-02-24 17:45:27.000000000 +0000 +++ ext/imap/php_imap.c 2009-02-24 17:47:14.000000000 +0000 @@@@ -2172,7 +2172,7 @@@@ /* rfc822_parse_adrlist() modifies passed string. Copy it. */ str_copy = estrndup(Z_STRVAL_PP(str), Z_STRLEN_PP(str)); - rfc822_parse_adrlist(&env->to, str_copy, defaulthost); + rfc822_parse_adrlist(&env->to, str_copy, Z_STRVAL_PP(defaulthost)); efree(str_copy); d7 1 a7 9 array_init(return_value); @@@@ -2196,6 +2196,8 @@@@ } add_next_index_object(return_value, tovals TSRMLS_CC); } while ((addresstmp = addresstmp->next)); + + mail_free_envelope(&env); } /* }}} */ d9 17 @ 1.4 log @Fix memory leak and pullup bug fix for http://bugs.php.net/bug.php?id=46918 Remove this patch when PHP >= 5.2.9 is released as it will contain these changes Bump PKGREVISION of php-imap @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Update lang/php5 to 5.2.0. Changes since 5.1.6: The key features of PHP 5.2.0 include: * New memory manager for the Zend Engine with improved performance and a more accurate memory usage tracking. * Input filtering extension was added and enabled by default. * JSON extension was added and enabled by default. * ZIP extension for creating and editing zip files was introduced. * Hooks for tracking file upload progress were introduced. * Introduced E_RECOVERABLE_ERROR error mode. * Introduced DateTime and DateTimeZone objects with methods to manipulate date/time information. * Upgraded bundled SQLite, PCRE libraries. * Upgraded OpenSSL, MySQL and PostgreSQL client libraries for Windows installations. * Many performance improvements. * Over 200 bug fixes. Security Enhancements and Fixes in PHP 5.2.0: * Made PostgreSQL escaping functions in PostgreSQL and PDO extension keep track of character set encoding whenever possible. * Added allow_url_include, set to Off by default to disallow use of URLs for include and require. * Disable realpath cache when open_basedir and safe_mode are being used. * Improved safe_mode enforcement for error_log() function. * Fixed a possible buffer overflow in the underlying code responsible for htmlspecialchars() and htmlentities() functions. * Added missing safe_mode and open_basedir checks for the cURL extension. * Fixed overflow is str_repeat() & wordwrap() functions on 64bit machines. * Fixed handling of long paths inside the tempnam() function. * Fixed safe_mode/open_basedir checks for session.save_path, allowing them to account for extra parameters. * Fixed ini setting overload in the ini_restore() function. For a full list of changes in PHP 5.2.0, see the ChangeLog: http://www.php.net/ChangeLog-5.php#5.2.0 Also other notable extensions changes: * filePRO extension removed (not in PECL yet, php-filepro disabled for PHP5) * JSON added (not enabled by default, packaged in php-json) * filter added (enabled by default) * wddx rewritten to native libxml2, fixing several encoding bugs @ text @d1 1 a1 1 $NetBSD: patch-as,v 1.2 2006/08/19 16:44:15 taca Exp $ d3 8 a10 5 --- ext/date/lib/timelib_structs.h.orig 2006-04-12 03:03:52.000000000 +0900 +++ ext/date/lib/timelib_structs.h @@@@ -21,7 +21,7 @@@@ #ifndef __TIMELIB_STRUCTS_H__ #define __TIMELIB_STRUCTS_H__ d12 5 a16 2 -#include +#include "timelib_config.h" d18 9 a26 5 #ifdef HAVE_SYS_TYPES_H #include @@@@ -183,7 +183,11 @@@@ typedef struct _timelib_tzdb { #define TIMELIB_ZONETYPE_ABBR 2 #define TIMELIB_ZONETYPE_ID 3 a27 8 +#if defined(SIZEOF_LONG_LONG_INT) && (SIZEOF_LONG_LONG_INT == 8) +#define SECS_PER_ERA 12622780800LL +#else #define SECS_PER_ERA 12622780800L +#endif #define SECS_PER_DAY 86400 #define DAYS_PER_YEAR 365 #define DAYS_PER_LYEAR 366 @ 1.3.20.1 log @Pullup ticket #2709 - requested by sborrill php-imap: bug fix Revisions pulled up: - lang/php5/distinfo 1.60 (via patch) - lang/php5/patches/patch-as 1.4 - mail/php-imap/Makefile 1.18 --- Module Name: pkgsrc Committed By: sborrill Date: Wed Feb 25 08:59:47 UTC 2009 Modified Files: pkgsrc/lang/php5: distinfo pkgsrc/mail/php-imap: Makefile Added Files: pkgsrc/lang/php5/patches: patch-as Log Message: Fix memory leak and pullup bug fix for http://bugs.php.net/bug.php?id=46918 Remove this patch when PHP >= 5.2.9 is released as it will contain these changes Bump PKGREVISION of php-imap @ text @d1 1 a1 1 $NetBSD$ d3 5 a7 8 Fix memory leak and pullup bug fix for http://bugs.php.net/bug.php?id=46918 Remove this patch when PHP >= 5.2.9 is released as it will contain these changes --- ext/imap/php_imap.c.orig 2009-02-24 17:45:27.000000000 +0000 +++ ext/imap/php_imap.c 2009-02-24 17:47:14.000000000 +0000 @@@@ -2172,7 +2172,7 @@@@ d9 2 a10 5 /* rfc822_parse_adrlist() modifies passed string. Copy it. */ str_copy = estrndup(Z_STRVAL_PP(str), Z_STRLEN_PP(str)); - rfc822_parse_adrlist(&env->to, str_copy, defaulthost); + rfc822_parse_adrlist(&env->to, str_copy, Z_STRVAL_PP(defaulthost)); efree(str_copy); d12 5 a16 9 array_init(return_value); @@@@ -2196,6 +2196,8 @@@@ } add_next_index_object(return_value, tovals TSRMLS_CC); } while ((addresstmp = addresstmp->next)); + + mail_free_envelope(&env); } /* }}} */ d18 8 @ 1.3.20.2 log @Pullup ticket #2721 - requested by adrianp php5: security update Revisions pulled up: - lang/php5/MESSAGE.suhosin 1.1 via patch - lang/php5/Makefile 1.71 via patch - lang/php5/Makefile.common 1.35 - lang/php5/Makefile.php 1.33-1.34 - lang/php5/PLIST 1.21 - lang/php5/distinfo 1.61-1.62 - lang/php5/patches/patch-an patch - lang/php5/patches/patch-ar patch - lang/php5/patches/patch-as delete --- Module Name: pkgsrc Committed By: adrianp Date: Mon Mar 2 22:52:17 UTC 2009 Modified Files: pkgsrc/lang/php5: Makefile Makefile.common Makefile.php PLIST distinfo Removed Files: pkgsrc/lang/php5/patches: patch-as Log Message: The PHP development team would like to announce the immediate availability of PHP 5.2.9. This release focuses on improving the stability of the PHP 5.2.x branch with over 50 bug fixes, several of which are security related. All users of PHP are encouraged to upgrade to this release. Security Enhancements and Fixes in PHP 5.2.9: * Fixed security issue in imagerotate(), background colour isn't validated correctly with a non truecolour image. Reported by Hamid Ebadi, APA Laboratory (Fixes CVE-2008-5498). (Scott) * Fixed a crash on extract in zip when files or directories entry names contain a relative path. (Pierre) * Fixed explode() behavior with empty string to respect negative limit. (Shire) * Fixed a segfault when malformed string is passed to json_decode(). (Scott) Key enhancements in PHP 5.2.9 include: * Added optional sorting type flag parameter to array_unique(). Default is SORT_REGULAR. (Andrei) * Fixed bug #45996 (libxml2 2.7 causes breakage with character data in xml_parse()). (Rob) * A number of fixes in the mbstring extension (Moriyoshi) * Fixed bug #44336 (Improve pcre UTF-8 string matching performance). (frode at coretrek dot com, Nuno) * Fixed bug #46699 (xml_parse crash when parser is namespace aware). (Rob) * Fixed bug #46748 (Segfault when an SSL error has more than one error). (Scott) * Fixed bug #46889 (Memory leak in strtotime()). (Derick) * Fixed bug #47049 (SoapClient::__soapCall causes a segmentation fault). (Dmitry) * Fixed bug #47165 (Possible memory corruption when passing return value by reference). (Dmitry) * Fixed bug #47282 (FILTER_VALIDATE_EMAIL is marking valid email addresses as invalid). (Ilia) * Fixed bug #47422 (modulus operator returns incorrect results on 64 bit linux). (Matt) * Over 50 bug fixes. --- Module Name: pkgsrc Committed By: adrianp Date: Thu Mar 5 23:22:24 UTC 2009 Modified Files: pkgsrc/lang/php5: Makefile.php distinfo Log Message: Add back suhosin patch as a new one for 5.2.9 is out @ text @d1 1 a1 1 $NetBSD: patch-as,v 1.3.20.1 2009/02/26 13:43:59 tron Exp $ @ 1.2 log @Update php5 package to 5.1.5: 17 Aug 2006, PHP 5.1.5 - Fixed memory_limit on 64bit systems. (Stefan E.) - Fixed overflow on 64bit systems in str_repeat() and wordwrap(). (Stefan E.) - Disabled CURLOPT_FOLLOWLOCATION in curl when open_basedir or safe_mode are enabled. (Stefan E., Ilia) - Fixed bug #38322 (reading past array in sscanf() leads to arbitrary code execution). (Tony) - Fixed bug #38125 (undefined reference to spl_dual_it_free_storage). (Marcus) - Fixed bug #38112 (corrupted gif segfaults) (Pierre) - Fixed bug #37587 (var without attribute causes segfault). (Marcus) - Fixed bug #37576 (FastCGI env (cgi vars) table overflow). (Piotr) - Fixed bug #37496 (FastCGI output buffer overrun). (Piotr, Dmitry) - Fixed bug #37487 (oci_fetch_array() array-type should always default to OCI_BOTH). (Tony) - Fixed bug #37416 (iterator_to_array() hides exceptions thrown in rewind() method). (Tony) - Fixed bug #37392 (Unnecessary call to OCITransRollback() at the end of request). (Tony) - Fixed bug #37341 ($_SERVER in included file is shortened to two entries, if $_ENV gets used). (Dmitry) - Fixed bug #37313 (sigemptyset() used without including ). (jdolecek) - Fixed bug #37346 (invalid colormap format) (Pierre) - Fixed bug #37360 (invalid gif size) (Pierre) - Fixed bug #37306 (max_execution_time = max_input_time). (Dmitry) - Fixed Bug #37278 (SOAP not respecting uri in __soapCall). (Dmitry) - Fixed bug #37265 (Added missing safe_mode & open_basedir checks to imap_body()). (Ilia) - Fixed bug #37256 (php-fastcgi dosen't handle connection abort). (Dmitry) @ text @d1 1 a1 1 $NetBSD: patch-as,v 1.1 2006/04/22 10:54:53 jdolecek Exp $ @ 1.1 log @do not require -I${PREFIX}/include/php/ext/date/lib when building extension using php_date.h problem reported upstream as PHP Bug 37163 @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- ext/date/lib/timelib_structs.h.orig 2006-04-22 12:51:57.000000000 +0200 d14 12 @ 1.1.2.1 log @Pullup ticket 1796 (part 2) - requested by taca security update for php5 Revisions pulled up: - pkgsrc/lang/php5/Makefile 1.42 - pkgsrc/lang/php5/Makefile.common 1.19 - pkgsrc/lang/php5/distinfo 1.27 - pkgsrc/lang/php5/patches/patch-ao removed - pkgsrc/lang/php5/patches/patch-as 1.2 - pkgsrc/lang/php5/patches/patch-at removed - pkgsrc/lang/php5/patches/patch-av removed - pkgsrc/lang/php5/patches/patch-aw removed Module Name: pkgsrc Committed By: taca Date: Thu Aug 17 13:17:48 UTC 2006 Modified Files: pkgsrc/lang/php5: Makefile PLIST Log Message: Correct PLIST to fix a binary package: - remove an extra directory. - handle empty directories. --- Module Name: pkgsrc Committed By: taca Date: Sat Aug 19 14:47:44 UTC 2006 Modified Files: pkgsrc/lang/php5: Makefile PLIST Log Message: More fix of PLIST, now pkg_delete should always succeed. --- Module Name: pkgsrc Committed By: taca Date: Sat Aug 19 16:44:15 UTC 2006 Modified Files: pkgsrc/lang/php5: Makefile Makefile.common distinfo pkgsrc/lang/php5/patches: patch-as Removed Files: pkgsrc/lang/php5/patches: patch-ao patch-at patch-av patch-aw Log Message: Update php5 package to 5.1.5: 17 Aug 2006, PHP 5.1.5 - Fixed memory_limit on 64bit systems. (Stefan E.) - Fixed overflow on 64bit systems in str_repeat() and wordwrap(). (Stefan E.) - Disabled CURLOPT_FOLLOWLOCATION in curl when open_basedir or safe_mode are enabled. (Stefan E., Ilia) - Fixed bug #38322 (reading past array in sscanf() leads to arbitrary code execution). (Tony) - Fixed bug #38125 (undefined reference to spl_dual_it_free_storage). (Marcus) - Fixed bug #38112 (corrupted gif segfaults) (Pierre) - Fixed bug #37587 (var without attribute causes segfault). (Marcus) - Fixed bug #37576 (FastCGI env (cgi vars) table overflow). (Piotr) - Fixed bug #37496 (FastCGI output buffer overrun). (Piotr, Dmitry) - Fixed bug #37487 (oci_fetch_array() array-type should always default to OCI_BOTH). (Tony) - Fixed bug #37416 (iterator_to_array() hides exceptions thrown in rewind() method). (Tony) - Fixed bug #37392 (Unnecessary call to OCITransRollback() at the end of request). (Tony) - Fixed bug #37341 ($_SERVER in included file is shortened to two entries, if $_ENV gets used). (Dmitry) - Fixed bug #37313 (sigemptyset() used without including ). (jdolecek) - Fixed bug #37346 (invalid colormap format) (Pierre) - Fixed bug #37360 (invalid gif size) (Pierre) - Fixed bug #37306 (max_execution_time = max_input_time). (Dmitry) - Fixed Bug #37278 (SOAP not respecting uri in __soapCall). (Dmitry) - Fixed bug #37265 (Added missing safe_mode & open_basedir checks to imap_body()). (Ilia) - Fixed bug #37256 (php-fastcgi dosen't handle connection abort). (Dmitry) @ text @d1 1 a1 1 $NetBSD: patch-as,v 1.2 2006/08/19 16:44:15 taca Exp $ d3 1 a3 1 --- ext/date/lib/timelib_structs.h.orig 2006-04-12 03:03:52.000000000 +0900 a13 12 @@@@ -183,7 +183,11 @@@@ typedef struct _timelib_tzdb { #define TIMELIB_ZONETYPE_ABBR 2 #define TIMELIB_ZONETYPE_ID 3 +#if defined(SIZEOF_LONG_LONG_INT) && (SIZEOF_LONG_LONG_INT == 8) +#define SECS_PER_ERA 12622780800LL +#else #define SECS_PER_ERA 12622780800L +#endif #define SECS_PER_DAY 86400 #define DAYS_PER_YEAR 365 #define DAYS_PER_LYEAR 366 @