auto-import changelog data from php-4.0.4pl1-3.src.rpm
* Sat Jan 20 2001 Nalin Dahyabhai <nalin@redhat.com> - tweak the fix some more * Thu Jan 18 2001 Nalin Dahyabhai <nalin@redhat.com> - extract stas's fix for quoting problems from CVS for testing - tweak the fix, ask the PHP folks about the tweak - tweak the fix some more * Wed Jan 17 2001 Nalin Dahyabhai <nalin@redhat.com> - merge mod_php into the main php package (#22906) * Fri Dec 29 2000 Nalin Dahyabhai <nalin@redhat.com> - try to fix a quoting problem * Wed Dec 20 2000 Nalin Dahyabhai <nalin@redhat.com> - update to 4.0.4 to get a raft of bug fixes - enable sockets - enable wddx * Fri Nov 03 2000 Nalin Dahyabhai <nalin@redhat.com> - rebuild in updated environment * Thu Nov 02 2000 Nalin Dahyabhai <nalin@redhat.com> - add more commented-out modules to the default config file (#19276) * Wed Nov 01 2000 Nalin Dahyabhai <nalin@redhat.com> - fix not-using-gd problem (#20137)
This commit is contained in:
parent
b1cadd117a
commit
45c8db8bec
@ -1,2 +1,2 @@
|
|||||||
manual.tar.gz
|
manual.tar.gz
|
||||||
php-4.0.3pl1.tar.gz
|
php-4.0.4pl1.tar.gz
|
||||||
|
98
php.spec
98
php.spec
@ -1,19 +1,20 @@
|
|||||||
Summary: The PHP scripting language.
|
Summary: The PHP scripting language.
|
||||||
Name: php
|
Name: php
|
||||||
Version: 4.0.3pl1
|
Version: 4.0.4pl1
|
||||||
Release: 1
|
Release: 3
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
URL: http://www.php.net/
|
URL: http://www.php.net/
|
||||||
Source0: http://www.php.net/distributions/php-%{version}.tar.gz
|
Source0: http://www.php.net/distributions/php-%{version}.tar.gz
|
||||||
Source1: http://www.php.net/distributions/manual.tar.gz
|
Source1: http://www.php.net/distributions/manual.tar.gz
|
||||||
#Icon: php3.gif
|
#Icon: php3.gif
|
||||||
Patch1: php-4.0.3-redhat.patch
|
Patch1: php-4.0.4-redhat.patch
|
||||||
Patch2: php-4.0.0-extensions.patch
|
Patch2: php-4.0.0-extensions.patch
|
||||||
Patch3: php-4.0.2-pear.patch
|
Patch3: php-4.0.2-pear.patch
|
||||||
Patch4: php-4.0.3-required.patch
|
Patch4: php-4.0.3-required.patch
|
||||||
|
Patch5: php-4.0.4pl1-quotes.patch
|
||||||
Copyright: PHP
|
Copyright: PHP
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
Obsoletes: php3
|
Obsoletes: php3, mod_php
|
||||||
BuildPrereq: apache-devel, db2-devel, db3-devel, imap-devel,
|
BuildPrereq: apache-devel, db2-devel, db3-devel, imap-devel,
|
||||||
BuildPrereq: krb5-devel, mysql-devel, openssl-devel, postgresql-devel
|
BuildPrereq: krb5-devel, mysql-devel, openssl-devel, postgresql-devel
|
||||||
BuildPrereq: freetype-devel, gd-devel, libjpeg-devel, libpng-devel, zlib-devel
|
BuildPrereq: freetype-devel, gd-devel, libjpeg-devel, libpng-devel, zlib-devel
|
||||||
@ -27,38 +28,14 @@ integration for several commercial and non-commercial database management
|
|||||||
systems, so writing a database-enabled script with PHP is fairly simple. The
|
systems, so writing a database-enabled script with PHP is fairly simple. The
|
||||||
most common use of PHP coding is probably as a replacement for CGI scripts.
|
most common use of PHP coding is probably as a replacement for CGI scripts.
|
||||||
|
|
||||||
%package -n mod_php
|
|
||||||
Summary: The PHP HTML-embedded scripting language for use with Apache.
|
|
||||||
Group: System Environment/Daemons
|
|
||||||
URL: http://www.php.net/
|
|
||||||
Prereq: webserver
|
|
||||||
Obsoletes: php3, phpfi
|
|
||||||
BuildPrereq: apache-devel
|
|
||||||
Prereq: php = %{version}-%{release}
|
|
||||||
|
|
||||||
%description -n mod_php
|
|
||||||
PHP is an HTML-embedded scripting language. PHP attempts to make it
|
|
||||||
easy for developers to write dynamically generated web pages. PHP
|
|
||||||
also offers built-in database integration for several commercial and
|
|
||||||
non-commercial database management systems, so writing a
|
|
||||||
database-enabled web page with PHP is fairly simple. The most common
|
|
||||||
use of PHP coding is probably as a replacement for CGI scripts. The
|
|
||||||
mod_php module enables the Apache web server to understand and process
|
|
||||||
the embedded PHP language in web pages.
|
|
||||||
|
|
||||||
This package contains PHP version 4.0. You'll also need to install the
|
|
||||||
Apache web server.
|
|
||||||
|
|
||||||
%if 0
|
|
||||||
%package devel
|
%package devel
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: Files needed for building PHP extensions.
|
Summary: Files needed for building PHP extensions.
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The php-devel package contains the files needed when building PHP
|
The php-devel package contains the files needed for building PHP
|
||||||
extensions. If you need to compile your own PHP extensions, you will
|
extensions. If you need to compile your own PHP extensions, you will
|
||||||
need to install this package.
|
need to install this package.
|
||||||
%endif
|
|
||||||
|
|
||||||
%package imap
|
%package imap
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -73,8 +50,8 @@ The php-imap package contains a dynamic shared object that will add IMAP
|
|||||||
(Internet Message Access Protocol) support to PHP. IMAP is a protocol
|
(Internet Message Access Protocol) support to PHP. IMAP is a protocol
|
||||||
for retrieving, uploading, and manipulating e-mail messages on mail servers.
|
for retrieving, uploading, and manipulating e-mail messages on mail servers.
|
||||||
PHP is an HTML-embeddable scripting language. If you need IMAP support
|
PHP is an HTML-embeddable scripting language. If you need IMAP support
|
||||||
for PHP applications, you will need to install this package and the php or
|
for PHP applications, you will need to install this package and the php
|
||||||
mod_php package.
|
package.
|
||||||
|
|
||||||
%package ldap
|
%package ldap
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -89,14 +66,14 @@ The php-ldap package contains a dynamic shared object that will add LDAP
|
|||||||
(Lightweight Directory Access Protocol) support to PHP. LDAP is a set
|
(Lightweight Directory Access Protocol) support to PHP. LDAP is a set
|
||||||
of protocols for accessing directory services over the Internet.
|
of protocols for accessing directory services over the Internet.
|
||||||
PHP is an HTML-embeddable scripting language. If you need LDAP support
|
PHP is an HTML-embeddable scripting language. If you need LDAP support
|
||||||
for PHP applications, you will need to install this package and the php or
|
for PHP applications, you will need to install this package and the php
|
||||||
mod_php package.
|
package.
|
||||||
|
|
||||||
%package manual
|
%package manual
|
||||||
Obsoletes: mod_php3-manual
|
Obsoletes: mod_php3-manual
|
||||||
Group: Documentation
|
Group: Documentation
|
||||||
Summary: The PHP manual, in HTML format.
|
Summary: The PHP manual, in HTML format.
|
||||||
Prereq: mod_php = %{version}-%{release}
|
Prereq: php = %{version}-%{release}
|
||||||
|
|
||||||
%description manual
|
%description manual
|
||||||
The php-manual package provides comprehensive documentation for the
|
The php-manual package provides comprehensive documentation for the
|
||||||
@ -116,7 +93,7 @@ The php-mysql package contains a dynamic shared object that will add
|
|||||||
MySQL database support to PHP. MySQL is an object-relational database
|
MySQL database support to PHP. MySQL is an object-relational database
|
||||||
management system. PHP is an HTML-embeddable scripting language. If
|
management system. PHP is an HTML-embeddable scripting language. If
|
||||||
you need MySQL support for PHP applications, you will need to install
|
you need MySQL support for PHP applications, you will need to install
|
||||||
this package and the php or mod_php package.
|
this package and the php package.
|
||||||
|
|
||||||
%package pgsql
|
%package pgsql
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -133,7 +110,7 @@ PostgreSQL database support to PHP. PostgreSQL is an object-relational
|
|||||||
database management system that supports almost all SQL constructs.
|
database management system that supports almost all SQL constructs.
|
||||||
PHP is an HTML-embeddable scripting language. If you need PostgreSQL
|
PHP is an HTML-embeddable scripting language. If you need PostgreSQL
|
||||||
support for PHP applications, you will need to install this package and
|
support for PHP applications, you will need to install this package and
|
||||||
the php or mod_php package.
|
the php package.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -141,6 +118,7 @@ the php or mod_php package.
|
|||||||
%patch2 -p1 -b .extensions
|
%patch2 -p1 -b .extensions
|
||||||
%patch3 -p1 -b .pear
|
%patch3 -p1 -b .pear
|
||||||
%patch4 -p1 -b .required
|
%patch4 -p1 -b .required
|
||||||
|
%patch5 -p1 -b .quotes
|
||||||
|
|
||||||
mkdir manual
|
mkdir manual
|
||||||
gzip -dc %{SOURCE1} | tar -xf - -C manual
|
gzip -dc %{SOURCE1} | tar -xf - -C manual
|
||||||
@ -174,7 +152,7 @@ compile() {
|
|||||||
--with-exec-dir=%{_bindir} \
|
--with-exec-dir=%{_bindir} \
|
||||||
--with-regex=system \
|
--with-regex=system \
|
||||||
--with-gettext \
|
--with-gettext \
|
||||||
--with-gd=shared \
|
--with-gd \
|
||||||
--with-jpeg-dir=%{_prefix} \
|
--with-jpeg-dir=%{_prefix} \
|
||||||
--with-png \
|
--with-png \
|
||||||
--with-zlib \
|
--with-zlib \
|
||||||
@ -184,25 +162,27 @@ compile() {
|
|||||||
--enable-debugger \
|
--enable-debugger \
|
||||||
--enable-magic-quotes \
|
--enable-magic-quotes \
|
||||||
--enable-safe-mode \
|
--enable-safe-mode \
|
||||||
|
--enable-sockets \
|
||||||
--enable-sysvsem \
|
--enable-sysvsem \
|
||||||
--enable-sysvshm \
|
--enable-sysvshm \
|
||||||
--enable-track-vars \
|
--enable-track-vars \
|
||||||
--enable-yp \
|
--enable-yp \
|
||||||
--enable-ftp \
|
--enable-ftp \
|
||||||
|
--enable-wddx \
|
||||||
--without-mysql \
|
--without-mysql \
|
||||||
--without-oracle \
|
--without-oracle \
|
||||||
--without-oci8 \
|
--without-oci8 \
|
||||||
--with-openssl \
|
|
||||||
--with-xml
|
--with-xml
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
# Build a standalone binary.
|
# Build a standalone binary.
|
||||||
|
make distclean || :
|
||||||
compile --enable-force-cgi-redirect
|
compile --enable-force-cgi-redirect
|
||||||
cp php php_standalone
|
cp php php_standalone
|
||||||
make distclean
|
|
||||||
|
|
||||||
# Build a module.
|
# Build a module.
|
||||||
|
make distclean
|
||||||
compile --with-apxs=%{_sbindir}/apxs
|
compile --with-apxs=%{_sbindir}/apxs
|
||||||
|
|
||||||
# Build individual PHP modules.
|
# Build individual PHP modules.
|
||||||
@ -259,25 +239,19 @@ perl -pi -e 's|^#LoadModule php3_module|LoadModule php3_module|g' \
|
|||||||
perl -pi -e 's|^#AddModule mod_php3.c|AddModule mod_php3.c|g' \
|
perl -pi -e 's|^#AddModule mod_php3.c|AddModule mod_php3.c|g' \
|
||||||
/etc/httpd/conf/httpd.conf
|
/etc/httpd/conf/httpd.conf
|
||||||
|
|
||||||
%files -n mod_php
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{contentdir}/icons/*
|
|
||||||
%{_libdir}/apache/libphp4.so
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc CODING_STANDARDS CREDITS FUNCTION_LIST.txt INSTALL LICENSE
|
%doc CODING_STANDARDS CREDITS FUNCTION_LIST.txt INSTALL LICENSE
|
||||||
%doc MODULES_STATUS NEWS README.* Zend/ZEND_*
|
%doc NEWS README.* Zend/ZEND_*
|
||||||
%config %{_sysconfdir}/php.ini
|
%config %{_sysconfdir}/php.ini
|
||||||
%{_bindir}/php
|
%{_bindir}/php
|
||||||
%{_datadir}/php
|
%{_datadir}/php
|
||||||
|
%{_libdir}/apache/libphp4.so
|
||||||
|
|
||||||
%files pgsql
|
%files pgsql
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/php4/pgsql.so
|
%{_libdir}/php4/pgsql.so
|
||||||
|
|
||||||
%if 0
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/php-config
|
%{_bindir}/php-config
|
||||||
@ -285,7 +259,6 @@ perl -pi -e 's|^#AddModule mod_php3.c|AddModule mod_php3.c|g' \
|
|||||||
%{_bindir}/phpextdist
|
%{_bindir}/phpextdist
|
||||||
%{_includedir}/php
|
%{_includedir}/php
|
||||||
%{_libdir}/php4/build
|
%{_libdir}/php4/build
|
||||||
%endif
|
|
||||||
|
|
||||||
%post pgsql
|
%post pgsql
|
||||||
%{__perl} -pi -e "s|^;extension=pgsql.so|extension=pgsql.so|" %{_sysconfdir}/php.ini
|
%{__perl} -pi -e "s|^;extension=pgsql.so|extension=pgsql.so|" %{_sysconfdir}/php.ini
|
||||||
@ -333,9 +306,38 @@ fi
|
|||||||
|
|
||||||
%files manual
|
%files manual
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%{contentdir}/icons/*
|
||||||
%{contentdir}/html/manual/mod/mod_php4
|
%{contentdir}/html/manual/mod/mod_php4
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 20 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- tweak the fix some more
|
||||||
|
|
||||||
|
* Thu Jan 18 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- extract stas's fix for quoting problems from CVS for testing
|
||||||
|
- tweak the fix, ask the PHP folks about the tweak
|
||||||
|
- tweak the fix some more
|
||||||
|
|
||||||
|
* Wed Jan 17 2001 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- merge mod_php into the main php package (#22906)
|
||||||
|
|
||||||
|
* Fri Dec 29 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- try to fix a quoting problem
|
||||||
|
|
||||||
|
* Wed Dec 20 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- update to 4.0.4 to get a raft of bug fixes
|
||||||
|
- enable sockets
|
||||||
|
- enable wddx
|
||||||
|
|
||||||
|
* Fri Nov 3 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- rebuild in updated environment
|
||||||
|
|
||||||
|
* Thu Nov 2 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- add more commented-out modules to the default config file (#19276)
|
||||||
|
|
||||||
|
* Wed Nov 1 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
|
- fix not-using-gd problem (#20137)
|
||||||
|
|
||||||
* Tue Oct 17 2000 Nalin Dahyabhai <nalin@redhat.com>
|
* Tue Oct 17 2000 Nalin Dahyabhai <nalin@redhat.com>
|
||||||
- update to 4.0.3pl1 to get some bug fixes
|
- update to 4.0.3pl1 to get some bug fixes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user