* Fri Apr 1 2005 Joe Orton <jorton@redhat.com> 5.0.4-1

- update to 5.0.4 (#153068)
- add .phps AddType to php.conf (#152973)
This commit is contained in:
jorton 2005-04-01 12:01:20 +00:00
parent 2e4ba13a44
commit 8e68e307c3
7 changed files with 729 additions and 668 deletions

View File

@ -1 +1,4 @@
php-5.0.3.tar.gz php-5.0.3.tar.gz
php-5.0.4.tar.gz
*.rpm
i386

View File

@ -2,5 +2,6 @@
# $Id$ # $Id$
NAME := php NAME := php
SPECFILE = $(firstword $(wildcard *.spec)) SPECFILE = $(firstword $(wildcard *.spec))
UPSTREAM_CHECKS :=
include ../common/Makefile.common include ../common/Makefile.common

File diff suppressed because it is too large Load Diff

17
php-5.0.4-dlopen.patch Normal file
View File

@ -0,0 +1,17 @@
--- php-5.0.4/Zend/zend.h.dlopen
+++ php-5.0.4/Zend/zend.h
@@ -102,11 +102,11 @@
# endif
# if defined(RTLD_GROUP) && defined(RTLD_WORLD) && defined(RTLD_PARENT)
-# define DL_LOAD(libname) dlopen(libname, RTLD_LAZY | RTLD_GLOBAL | RTLD_GROUP | RTLD_WORLD | RTLD_PARENT)
+# define DL_LOAD(libname) dlopen(libname, RTLD_NOW | RTLD_GLOBAL | RTLD_GROUP | RTLD_WORLD | RTLD_PARENT)
# elif defined(RTLD_DEEPBIND)
-# define DL_LOAD(libname) dlopen(libname, RTLD_LAZY | RTLD_GLOBAL | RTLD_DEEPBIND)
+# define DL_LOAD(libname) dlopen(libname, RTLD_NOW | RTLD_GLOBAL | RTLD_DEEPBIND)
# else
-# define DL_LOAD(libname) dlopen(libname, RTLD_LAZY | RTLD_GLOBAL)
+# define DL_LOAD(libname) dlopen(libname, RTLD_NOW | RTLD_GLOBAL)
# endif
# define DL_UNLOAD dlclose
# if defined(DLSYM_NEEDS_UNDERSCORE)

View File

@ -16,3 +16,9 @@ AddType text/html .php
# indexes. # indexes.
# #
DirectoryIndex index.php DirectoryIndex index.php
#
# Uncomment the following line to allow PHP to pretty-print .phps
# files as PHP source code:
#
#AddType application/x-httpd-php-source .phps

View File

@ -6,8 +6,8 @@
Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor) Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
Name: php Name: php
Version: 5.0.3 Version: 5.0.4
Release: 5 Release: 1
License: The PHP License License: The PHP License
Group: Development/Languages Group: Development/Languages
URL: http://www.php.net/ URL: http://www.php.net/
@ -17,31 +17,24 @@ Source0: http://www.php.net/distributions/php-%{version}.tar.gz
Source50: php.conf Source50: php.conf
Patch2: php-5.0.1-config.patch Patch2: php-5.0.1-config.patch
Patch3: php-5.0.2-lib64.patch Patch3: php-5.0.4-lib64.patch
Patch4: php-4.2.2-cxx.patch Patch4: php-4.2.2-cxx.patch
Patch5: php-4.3.3-install.patch Patch5: php-4.3.3-install.patch
Patch6: php-4.3.1-tests.patch Patch6: php-4.3.1-tests.patch
Patch7: php-4.3.2-libtool15.patch Patch7: php-4.3.2-libtool15.patch
Patch8: php-4.3.3-miscfix.patch
Patch9: php-4.3.6-umask.patch Patch9: php-4.3.6-umask.patch
Patch10: php-5.0.2-gdnspace.patch Patch10: php-5.0.2-gdnspace.patch
Patch11: php-4.3.8-round.patch Patch11: php-4.3.8-round.patch
Patch13: php-5.0.2-phpize64.patch Patch13: php-5.0.2-phpize64.patch
Patch14: php-5.0.3-sprintf.patch Patch14: php-5.0.3-sprintf.patch
Patch15: php-5.0.3-zstrtod.patch
Patch16: php-5.0.3-gdheaders.patch Patch16: php-5.0.3-gdheaders.patch
Patch17: php-5.0.3-gcc4.patch Patch17: php-5.0.3-gcc4.patch
Patch18: php-5.0.3-memset0.patch
Patch19: php-5.0.3-zendwarn.patch
# Fixes for extension modules # Fixes for extension modules
Patch21: php-4.3.1-odbc.patch Patch21: php-4.3.1-odbc.patch
Patch22: php-5.0.3-libmbfl.patch
Patch23: php-5.0.3-mysqli.patch
Patch24: php-5.0.3-mysqliglobal.patch
# Functional changes # Functional changes
Patch30: php-4.3.1-dlopen.patch Patch30: php-5.0.4-dlopen.patch
Patch31: php-5.0.0-easter.patch Patch31: php-5.0.0-easter.patch
BuildRoot: %{_tmppath}/%{name}-root BuildRoot: %{_tmppath}/%{name}-root
@ -306,22 +299,14 @@ support for using the gd graphics library to PHP.
%patch5 -p1 -b .install %patch5 -p1 -b .install
%patch6 -p1 -b .tests %patch6 -p1 -b .tests
%patch7 -p1 -b .libtool15 %patch7 -p1 -b .libtool15
##patch8 -p1 -b .miscfix
%patch9 -p1 -b .umask %patch9 -p1 -b .umask
%patch10 -p1 -b .gdnspace %patch10 -p1 -b .gdnspace
%patch11 -p1 -b .round %patch11 -p1 -b .round
%patch13 -p1 -b .phpize64 %patch13 -p1 -b .phpize64
%patch14 -p1 -b .sprintf
%patch15 -p1 -b .zstrtod
%patch16 -p1 -b .gdheaders %patch16 -p1 -b .gdheaders
%patch17 -p1 -b .gcc4 %patch17 -p1 -b .gcc4
%patch18 -p1 -b .memset0
%patch19 -p1 -b .zendwarn
%patch21 -p1 -b .odbc %patch21 -p1 -b .odbc
%patch22 -p1 -b .libmbfl
%patch23 -p1 -b .mysqli
%patch24 -p1 -b .mysqliglobal
%patch30 -p1 -b .dlopen %patch30 -p1 -b .dlopen
%patch31 -p1 -b .easter %patch31 -p1 -b .easter
@ -349,20 +334,18 @@ rm -f ext/standard/tests/file/bug22414.phpt \
: Build for oci8=%{with_oci8} mssql=%{with_mssql} mhash=%{with_mhash} ibase=%{with_ibase} : Build for oci8=%{with_oci8} mssql=%{with_mssql} mhash=%{with_mhash} ibase=%{with_ibase}
%build %build
# Force use of system libtool:
CFLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing"; export CFLAGS
# Install extension modules in %{_libdir}/php/modules.
EXTENSION_DIR=%{_libdir}/php/modules; export EXTENSION_DIR
# pull latest ltmain.sh, AC_PROG_LIBTOOL
libtoolize --force --copy libtoolize --force --copy
# force aclocal run during buildconf cat `aclocal --print-ac-dir`/libtool.m4 > build/libtool.m4
touch acinclude.m4
# Regenerate configure scripts (patches change config.m4's) # Regenerate configure scripts (patches change config.m4's)
./buildconf --force ./buildconf --force
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"; export CFLAGS
# Install extension modules in %{_libdir}/php/modules.
EXTENSION_DIR=%{_libdir}/php/modules; export EXTENSION_DIR
# Shell function to configure and build a PHP tree. # Shell function to configure and build a PHP tree.
build() { build() {
# bison-1.875-2 seems to produce a broken parser; workaround. # bison-1.875-2 seems to produce a broken parser; workaround.
@ -603,6 +586,10 @@ rm files.*
%endif %endif
%changelog %changelog
* Fri Apr 1 2005 Joe Orton <jorton@redhat.com> 5.0.4-1
- update to 5.0.4 (#153068)
- add .phps AddType to php.conf (#152973)
* Wed Mar 30 2005 Joe Orton <jorton@redhat.com> 5.0.3-5 * Wed Mar 30 2005 Joe Orton <jorton@redhat.com> 5.0.3-5
- BuildRequire mysql-devel >= 4.1 - BuildRequire mysql-devel >= 4.1
- don't mark php.ini as noreplace to make upgrades work (#152171) - don't mark php.ini as noreplace to make upgrades work (#152171)

View File

@ -1 +1 @@
bf89557056ce34d502e20e24071616c7 php-5.0.3.tar.gz c8f5fa441fd99c1b363bd2a071a0bd97 php-5.0.4.tar.gz