diff options
author | Alex Dupre <ale@FreeBSD.org> | 2008-05-02 08:52:07 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2008-05-02 08:52:07 +0000 |
commit | b23a136b2cac35c0bdf9af6c3fbde3c4f9cb08a4 (patch) | |
tree | 902ea76bd05797b19fbfb43a1d69d80758396952 /lang | |
parent | Update to 0.16. (diff) |
Update to 5.2.6 release.
Notes
Notes:
svn path=/head/; revision=212460
Diffstat (limited to 'lang')
-rw-r--r-- | lang/php5/Makefile | 7 | ||||
-rw-r--r-- | lang/php5/distinfo | 12 | ||||
-rw-r--r-- | lang/php5/files/patch-ext_standard_basic_functions.c | 31 | ||||
-rw-r--r-- | lang/php5/files/patch-main_SAPI.c | 16 | ||||
-rw-r--r-- | lang/php53/Makefile | 7 | ||||
-rw-r--r-- | lang/php53/distinfo | 12 | ||||
-rw-r--r-- | lang/php53/files/patch-ext_standard_basic_functions.c | 31 | ||||
-rw-r--r-- | lang/php53/files/patch-main_SAPI.c | 16 |
8 files changed, 74 insertions, 58 deletions
diff --git a/lang/php5/Makefile b/lang/php5/Makefile index 375486f04b54..915c5ef1272b 100644 --- a/lang/php5/Makefile +++ b/lang/php5/Makefile @@ -6,8 +6,8 @@ # PORTNAME= php5 -PORTVERSION= 5.2.5 -PORTREVISION?= 1 +PORTVERSION= 5.2.6 +PORTREVISION?= 0 CATEGORIES?= lang devel www MASTER_SITES= ${MASTER_SITE_PHP} MASTER_SITE_SUBDIR= distributions @@ -63,7 +63,8 @@ PLIST_SUB+= SUHOSIN="@comment " .endif .if defined(WITH_MAILHEAD) -PATCHFILES+= php-${PORTVERSION}-mail-header.patch:mail +#PATCHFILES+= php-${PORTVERSION}-mail-header.patch:mail +PATCHFILES+= php-5.2.5-mail-header.patch:mail PATCH_SITES+= http://choon.net/opensource/php/:mail .endif diff --git a/lang/php5/distinfo b/lang/php5/distinfo index dbd954f5b279..505b8b6df05f 100644 --- a/lang/php5/distinfo +++ b/lang/php5/distinfo @@ -1,9 +1,9 @@ -MD5 (php-5.2.5.tar.bz2) = 1fe14ca892460b09f06729941a1bb605 -SHA256 (php-5.2.5.tar.bz2) = 5cac1e70df5019ebdfdab2e0b8b216f7fdf56b9895c9f68c993313918249bba3 -SIZE (php-5.2.5.tar.bz2) = 7773024 -MD5 (suhosin-patch-5.2.5-0.9.6.2.patch.gz) = a43f1a0ee9e7c41c4cb6890174f1f9d8 -SHA256 (suhosin-patch-5.2.5-0.9.6.2.patch.gz) = fd77ccdeb90c83af7492876dda17518de95dd74a5b6feecc5a1bd2c8e322ab53 -SIZE (suhosin-patch-5.2.5-0.9.6.2.patch.gz) = 23157 +MD5 (php-5.2.6.tar.bz2) = 7380ffecebd95c6edb317ef861229ebd +SHA256 (php-5.2.6.tar.bz2) = 1892b2dd50b56ae2c9aec027fcd9035b76673f113555bc2bc1007bab8ae4db81 +SIZE (php-5.2.6.tar.bz2) = 9571312 +MD5 (suhosin-patch-5.2.6-0.9.6.2.patch.gz) = f2ec986341a314c271259dbe4d940858 +SHA256 (suhosin-patch-5.2.6-0.9.6.2.patch.gz) = dfdae803778e6ed6854ea3ad2948bbfedbfffc5a32dbc75a657b99092a9cc5e4 +SIZE (suhosin-patch-5.2.6-0.9.6.2.patch.gz) = 22986 MD5 (php-5.2.5-mail-header.patch) = a3ce79a6aff5f6607d524d81382a31ca SHA256 (php-5.2.5-mail-header.patch) = 9b8ab24505051c6edd66cf2c875d966638d18ec4d672599577b1b8d7d0115b8c SIZE (php-5.2.5-mail-header.patch) = 3420 diff --git a/lang/php5/files/patch-ext_standard_basic_functions.c b/lang/php5/files/patch-ext_standard_basic_functions.c index ffb8970fdc80..44f865d2da3f 100644 --- a/lang/php5/files/patch-ext_standard_basic_functions.c +++ b/lang/php5/files/patch-ext_standard_basic_functions.c @@ -1,10 +1,33 @@ ---- ext/standard/basic_functions.c.orig Mon Jan 30 16:58:56 2006 -+++ ext/standard/basic_functions.c Mon Jan 30 16:59:13 2006 -@@ -78,6 +78,7 @@ - # include <sys/mman.h> +--- ext/standard/basic_functions.c.orig 2008-05-02 08:44:06.000000000 +0200 ++++ ext/standard/basic_functions.c 2008-05-02 08:54:00.000000000 +0200 +@@ -87,6 +87,7 @@ + # include <sys/loadavg.h> #endif +#define HARTMUT_0 #ifdef HARTMUT_0 #include <getopt.h> #endif +@@ -3861,9 +3862,7 @@ + SetEnvironmentVariable(pe->key, "bugbug"); + #endif + putenv(pe->previous_value); +-# if defined(PHP_WIN32) + efree(pe->previous_value); +-# endif + } else { + # if HAVE_UNSETENV + unsetenv(pe->key); +@@ -4463,12 +4462,8 @@ + pe.previous_value = NULL; + for (env = environ; env != NULL && *env != NULL; env++) { + if (!strncmp(*env, pe.key, pe.key_len) && (*env)[pe.key_len] == '=') { /* found it */ +-#if defined(PHP_WIN32) + /* must copy previous value because MSVCRT's putenv can free the string without notice */ + pe.previous_value = estrdup(*env); +-#else +- pe.previous_value = *env; +-#endif + break; + } + } diff --git a/lang/php5/files/patch-main_SAPI.c b/lang/php5/files/patch-main_SAPI.c index 1b445baf62a4..e257bfeb5bee 100644 --- a/lang/php5/files/patch-main_SAPI.c +++ b/lang/php5/files/patch-main_SAPI.c @@ -1,21 +1,5 @@ --- main/SAPI.c.orig 2007-05-25 11:20:01.000000000 +0200 +++ main/SAPI.c 2008-02-01 23:48:51.000000000 +0100 -@@ -301,6 +301,7 @@ - - /* SG(sapi_headers).http_response_code = 200; */ - SG(sapi_headers).http_status_line = NULL; -+ SG(sapi_headers).mimetype = NULL; - SG(read_post_bytes) = 0; - SG(request_info).post_data = NULL; - SG(request_info).raw_post_data = NULL; -@@ -340,6 +341,7 @@ - SG(sapi_headers).http_response_code = 200; - */ - SG(sapi_headers).http_status_line = NULL; -+ SG(sapi_headers).mimetype = NULL; - SG(headers_sent) = 0; - SG(read_post_bytes) = 0; - SG(request_info).post_data = NULL; @@ -604,7 +606,7 @@ ptr++; len--; diff --git a/lang/php53/Makefile b/lang/php53/Makefile index 375486f04b54..915c5ef1272b 100644 --- a/lang/php53/Makefile +++ b/lang/php53/Makefile @@ -6,8 +6,8 @@ # PORTNAME= php5 -PORTVERSION= 5.2.5 -PORTREVISION?= 1 +PORTVERSION= 5.2.6 +PORTREVISION?= 0 CATEGORIES?= lang devel www MASTER_SITES= ${MASTER_SITE_PHP} MASTER_SITE_SUBDIR= distributions @@ -63,7 +63,8 @@ PLIST_SUB+= SUHOSIN="@comment " .endif .if defined(WITH_MAILHEAD) -PATCHFILES+= php-${PORTVERSION}-mail-header.patch:mail +#PATCHFILES+= php-${PORTVERSION}-mail-header.patch:mail +PATCHFILES+= php-5.2.5-mail-header.patch:mail PATCH_SITES+= http://choon.net/opensource/php/:mail .endif diff --git a/lang/php53/distinfo b/lang/php53/distinfo index dbd954f5b279..505b8b6df05f 100644 --- a/lang/php53/distinfo +++ b/lang/php53/distinfo @@ -1,9 +1,9 @@ -MD5 (php-5.2.5.tar.bz2) = 1fe14ca892460b09f06729941a1bb605 -SHA256 (php-5.2.5.tar.bz2) = 5cac1e70df5019ebdfdab2e0b8b216f7fdf56b9895c9f68c993313918249bba3 -SIZE (php-5.2.5.tar.bz2) = 7773024 -MD5 (suhosin-patch-5.2.5-0.9.6.2.patch.gz) = a43f1a0ee9e7c41c4cb6890174f1f9d8 -SHA256 (suhosin-patch-5.2.5-0.9.6.2.patch.gz) = fd77ccdeb90c83af7492876dda17518de95dd74a5b6feecc5a1bd2c8e322ab53 -SIZE (suhosin-patch-5.2.5-0.9.6.2.patch.gz) = 23157 +MD5 (php-5.2.6.tar.bz2) = 7380ffecebd95c6edb317ef861229ebd +SHA256 (php-5.2.6.tar.bz2) = 1892b2dd50b56ae2c9aec027fcd9035b76673f113555bc2bc1007bab8ae4db81 +SIZE (php-5.2.6.tar.bz2) = 9571312 +MD5 (suhosin-patch-5.2.6-0.9.6.2.patch.gz) = f2ec986341a314c271259dbe4d940858 +SHA256 (suhosin-patch-5.2.6-0.9.6.2.patch.gz) = dfdae803778e6ed6854ea3ad2948bbfedbfffc5a32dbc75a657b99092a9cc5e4 +SIZE (suhosin-patch-5.2.6-0.9.6.2.patch.gz) = 22986 MD5 (php-5.2.5-mail-header.patch) = a3ce79a6aff5f6607d524d81382a31ca SHA256 (php-5.2.5-mail-header.patch) = 9b8ab24505051c6edd66cf2c875d966638d18ec4d672599577b1b8d7d0115b8c SIZE (php-5.2.5-mail-header.patch) = 3420 diff --git a/lang/php53/files/patch-ext_standard_basic_functions.c b/lang/php53/files/patch-ext_standard_basic_functions.c index ffb8970fdc80..44f865d2da3f 100644 --- a/lang/php53/files/patch-ext_standard_basic_functions.c +++ b/lang/php53/files/patch-ext_standard_basic_functions.c @@ -1,10 +1,33 @@ ---- ext/standard/basic_functions.c.orig Mon Jan 30 16:58:56 2006 -+++ ext/standard/basic_functions.c Mon Jan 30 16:59:13 2006 -@@ -78,6 +78,7 @@ - # include <sys/mman.h> +--- ext/standard/basic_functions.c.orig 2008-05-02 08:44:06.000000000 +0200 ++++ ext/standard/basic_functions.c 2008-05-02 08:54:00.000000000 +0200 +@@ -87,6 +87,7 @@ + # include <sys/loadavg.h> #endif +#define HARTMUT_0 #ifdef HARTMUT_0 #include <getopt.h> #endif +@@ -3861,9 +3862,7 @@ + SetEnvironmentVariable(pe->key, "bugbug"); + #endif + putenv(pe->previous_value); +-# if defined(PHP_WIN32) + efree(pe->previous_value); +-# endif + } else { + # if HAVE_UNSETENV + unsetenv(pe->key); +@@ -4463,12 +4462,8 @@ + pe.previous_value = NULL; + for (env = environ; env != NULL && *env != NULL; env++) { + if (!strncmp(*env, pe.key, pe.key_len) && (*env)[pe.key_len] == '=') { /* found it */ +-#if defined(PHP_WIN32) + /* must copy previous value because MSVCRT's putenv can free the string without notice */ + pe.previous_value = estrdup(*env); +-#else +- pe.previous_value = *env; +-#endif + break; + } + } diff --git a/lang/php53/files/patch-main_SAPI.c b/lang/php53/files/patch-main_SAPI.c index 1b445baf62a4..e257bfeb5bee 100644 --- a/lang/php53/files/patch-main_SAPI.c +++ b/lang/php53/files/patch-main_SAPI.c @@ -1,21 +1,5 @@ --- main/SAPI.c.orig 2007-05-25 11:20:01.000000000 +0200 +++ main/SAPI.c 2008-02-01 23:48:51.000000000 +0100 -@@ -301,6 +301,7 @@ - - /* SG(sapi_headers).http_response_code = 200; */ - SG(sapi_headers).http_status_line = NULL; -+ SG(sapi_headers).mimetype = NULL; - SG(read_post_bytes) = 0; - SG(request_info).post_data = NULL; - SG(request_info).raw_post_data = NULL; -@@ -340,6 +341,7 @@ - SG(sapi_headers).http_response_code = 200; - */ - SG(sapi_headers).http_status_line = NULL; -+ SG(sapi_headers).mimetype = NULL; - SG(headers_sent) = 0; - SG(read_post_bytes) = 0; - SG(request_info).post_data = NULL; @@ -604,7 +606,7 @@ ptr++; len--; |