cvsdist fe0769c
%define contentdir /var/www
cvsdist 4423395
%define manual_langs en pt_BR cs nl fr de hu it ja ko es tr
cvsdist daec035
# Build these extension subpackages.
cvsdist daec035
%define odbc 1
cvsdist 4423395
%define snmp 0
cvsdist daec035
# Build these extensions in.
cvsdist daec035
%define ext_curl 1
cvsdist daec035
%define ext_dom  1
cvsdist daec035
%define ext_expat  1
cvsdist daec035
%define ext_gd_freetype 1
cvsdist daec035
%define ext_iconv  1
cvsdist daec035
%define ext_mm 1
cvsdist daec035
%define ext_openssl 1
cvsdist fe0769c
cvsdist fe0769c
%{!?oracle:%define oracle 0}
cvsdist fe0769c
cvsdist fe0769c
Summary: The PHP HTML-embedded scripting language.
cvsdist 6b11262
Name: php
cvsdist fe0769c
Version: 4.0.6
cvsdist daec035
Release: 15
cvsdist 6b11262
Group: Development/Languages
cvsdist 6b11262
URL: http://www.php.net/
cvsdist 6b11262
Source0: http://www.php.net/distributions/php-%{version}.tar.gz
cvsdist 4423395
Source1: http://www.php.net/distributions/manual/php_manual_en.tar.bz2
cvsdist 4423395
Source2: http://www.php.net/distributions/manual/php_manual_pt_BR.tar.bz2
cvsdist 4423395
Source3: http://www.php.net/distributions/manual/php_manual_cs.tar.bz2
cvsdist 4423395
Source4: http://www.php.net/distributions/manual/php_manual_nl.tar.bz2
cvsdist 4423395
Source5: http://www.php.net/distributions/manual/php_manual_fr.tar.bz2
cvsdist 4423395
Source6: http://www.php.net/distributions/manual/php_manual_de.tar.bz2
cvsdist 4423395
Source7: http://www.php.net/distributions/manual/php_manual_hu.tar.bz2
cvsdist 4423395
Source8: http://www.php.net/distributions/manual/php_manual_it.tar.bz2
cvsdist 4423395
Source9: http://www.php.net/distributions/manual/php_manual_ja.tar.bz2
cvsdist 4423395
Source10: http://www.php.net/distributions/manual/php_manual_ko.tar.bz2
cvsdist 4423395
Source11: http://www.php.net/distributions/manual/php_manual_es.tar.bz2
cvsdist 4423395
Source12: http://www.php.net/distributions/manual/php_manual_tr.tar.bz2
cvsdist 6b11262
#Icon: php3.gif
cvsdist fe0769c
Patch0: php-4.0.6-redhat.patch
cvsdist fe0769c
Patch1: php-4.0.3-required.patch
cvsdist fe0769c
Patch2: php-4.0.4pl1-linkage.patch
cvsdist fe0769c
Patch3: php-4.0.6-libtool.patch
cvsdist 4423395
Patch4: php-4.0.6-db.patch
cvsdist 4423395
Patch5: php-4.0.6-ZVAL.patch
cvsdist 4423395
Patch6: php-4.0.6-dom.patch
cvsdist bdddde6
Patch7: http://www.php.net/distributions/rfc1867.c.diff-4.0.6.gz
cvsdist bdddde6
Patch8: php-4.0.6-xml2.patch
cvsdist daec035
Patch9: php-4.0.6-mysql-path.patch
cvsdist daec035
Patch10: php-4.0.6-rfc1867.c.fixfix
cvsdist 4423395
License: PHP License
cvsdist 6b11262
BuildRoot: %{_tmppath}/%{name}-root
cvsdist 49d1b3a
Obsoletes: mod_php, php3, phpfi
cvsdist daec035
BuildPrereq: apache-devel, db2-devel, db3-devel, gdbm-devel
cvsdist daec035
BuildPrereq: imap-devel >= 2000-9, krb5-devel, mysql-devel, postgresql-devel
cvsdist daec035
BuildPrereq: gd-devel, libjpeg-devel, libpng-devel, zlib-devel
cvsdist daec035
BuildPrereq: bzip2, bzip2-devel >= 1.0.0, gmp-devel, pspell-devel
cvsdist bdddde6
BuildPrereq: autoconf, automake, libtool
cvsdist daec035
BuildPrereq: /usr/include/security/pam_appl.h
cvsdist daec035
%if %{odbc}
cvsdist daec035
BuildPrereq: unixODBC-devel
cvsdist daec035
%endif
cvsdist 4423395
%if %{snmp}
cvsdist 4423395
BuildPrereq: ucd-snmp-devel
cvsdist 4423395
%endif
cvsdist daec035
%if %{ext_curl}
cvsdist daec035
BuildPrereq: curl-devel >= 7.8
cvsdist daec035
%endif
cvsdist daec035
%if %{ext_dom}
cvsdist daec035
BuildPrereq: libxml2-devel
cvsdist daec035
%endif
cvsdist daec035
%if %{ext_expat}
cvsdist daec035
BuildPrereq: expat-devel
cvsdist daec035
%endif
cvsdist daec035
%if %{ext_gd_freetype}
cvsdist daec035
BuildPrereq: freetype-devel
cvsdist daec035
%endif
cvsdist daec035
%if %{ext_mm}
cvsdist daec035
BuildPrereq: mm-devel
cvsdist daec035
%endif
cvsdist daec035
%if %{ext_openssl}
cvsdist daec035
BuildPrereq: openssl-devel
cvsdist daec035
%endif
cvsdist 6b11262
cvsdist 6b11262
%description
cvsdist fe0769c
PHP is an HTML-embedded scripting language. PHP attempts to make it
cvsdist fe0769c
easy for developers to write dynamically generated webpages. PHP also
cvsdist fe0769c
offers built-in database integration for several commercial and
cvsdist fe0769c
non-commercial database management systems, so writing a
cvsdist fe0769c
database-enabled webpage with PHP is fairly simple. The most common
cvsdist fe0769c
use of PHP coding is probably as a replacement for CGI scripts. The
cvsdist fe0769c
mod_php module enables the Apache Web server to understand and process
cvsdist fe0769c
the embedded PHP language in Web pages.
cvsdist 6b11262
cvsdist 6b11262
%package devel
cvsdist 6b11262
Group: Development/Libraries
cvsdist 6b11262
Summary: Files needed for building PHP extensions.
cvsdist 6b11262
cvsdist 6b11262
%description devel
cvsdist 45c8db8
The php-devel package contains the files needed for building PHP
cvsdist fe0769c
extensions. If you need to compile your own PHP extensions, you will
cvsdist 6b11262
need to install this package.
cvsdist 6b11262
cvsdist 6b11262
%package imap
cvsdist 6b11262
Group: Development/Languages
cvsdist b1cadd1
Prereq: php = %{version}-%{release}, perl
cvsdist 4423395
Requires: pam
cvsdist 6b11262
Obsoletes: mod_php3-imap
cvsdist fe0769c
Summary: An Apache module for PHP applications that use IMAP.
cvsdist 6b11262
BuildPrereq: imap-devel, krb5-devel
cvsdist 6b11262
cvsdist 6b11262
%description imap
cvsdist fe0769c
The php-imap package contains a dynamic shared object (DSO) for the
cvsdist fe0769c
Apache Web server. When compiled into Apache, the php-imap module will
cvsdist fe0769c
add IMAP (Internet Message Access Protocol) support to PHP. IMAP is a
cvsdist fe0769c
protocol for retrieving and uploading e-mail messages on mail
cvsdist fe0769c
servers. PHP is an HTML-embedded scripting language. If you need IMAP
cvsdist fe0769c
support for PHP applications, you will need to install this package
cvsdist fe0769c
and the php package.
cvsdist 6b11262
cvsdist 6b11262
%package ldap
cvsdist 6b11262
Group: Development/Languages
cvsdist b1cadd1
Prereq: php = %{version}-%{release}, perl
cvsdist 6b11262
Obsoletes: mod_php3-ldap
cvsdist 6b11262
Summary: A module for PHP applications that use LDAP.
cvsdist 6b11262
BuildPrereq: openldap-devel
cvsdist 6b11262
Requires: openldap
cvsdist 6b11262
cvsdist 6b11262
%description ldap
cvsdist fe0769c
The php-ldap package is a dynamic shared object (DSO) for the Apache
cvsdist fe0769c
Web server that adds Lightweight Directory Access Protocol (LDAP)
cvsdist fe0769c
support to PHP. LDAP is a set of protocols for accessing directory
cvsdist fe0769c
services over the Internet. PHP is an HTML-embedded scripting
cvsdist fe0769c
language. If you need LDAP support for PHP applications, you will
cvsdist fe0769c
need to install this package in addition to the php package.
cvsdist 6b11262
cvsdist 6b11262
%package manual
cvsdist 6b11262
Obsoletes: mod_php3-manual
cvsdist 6b11262
Group: Documentation
cvsdist 6b11262
Summary: The PHP manual, in HTML format.
cvsdist 45c8db8
Prereq: php = %{version}-%{release}
cvsdist 6b11262
cvsdist 6b11262
%description manual
cvsdist 6b11262
The php-manual package provides comprehensive documentation for the
cvsdist fe0769c
PHP HTML-embedded scripting language, in HTML format. PHP is an
cvsdist fe0769c
HTML-embedded scripting language.
cvsdist 6b11262
cvsdist 6b11262
%package mysql
cvsdist 6b11262
Group: Development/Languages
cvsdist b1cadd1
Prereq: php = %{version}-%{release}, perl
cvsdist 6b11262
Summary: A module for PHP applications that use MySQL databases.
cvsdist 6b11262
Provides: php_database
cvsdist 6b11262
Obsoletes: mod_php3-mysql
cvsdist 6b11262
BuildPrereq: mysql-devel
cvsdist 6b11262
Requires: mysql
cvsdist 6b11262
cvsdist 6b11262
%description mysql
cvsdist 6b11262
The php-mysql package contains a dynamic shared object that will add
cvsdist fe0769c
MySQL database support to PHP. MySQL is an object-relational database
cvsdist fe0769c
management system. PHP is an HTML-embeddable scripting language. If
cvsdist 6b11262
you need MySQL support for PHP applications, you will need to install
cvsdist fe0769c
this package and the php or mod_php package.
cvsdist 6b11262
cvsdist 6b11262
%package pgsql
cvsdist 6b11262
Group: Development/Languages
cvsdist b1cadd1
Prereq: php = %{version}-%{release}, perl
cvsdist fe0769c
Summary: A PostgreSQL database module for PHP.
cvsdist 6b11262
Provides: php_database
cvsdist 6b11262
Obsoletes: mod_php3-pgsql
cvsdist 6b11262
BuildPrereq: postgresql-devel
cvsdist 6b11262
Requires: postgresql
cvsdist 6b11262
cvsdist 6b11262
%description pgsql
cvsdist fe0769c
The php-pgsql package includes a dynamic shared object (DSO) that can
cvsdist fe0769c
be compiled in to the Apache Web server to add PostgreSQL database
cvsdist fe0769c
support to PHP. PostgreSQL is an object-relational database management
cvsdist fe0769c
system that supports almost all SQL constructs. PHP is an
cvsdist fe0769c
HTML-embedded scripting language. If you need back-end support for
cvsdist fe0769c
PostgreSQL, you should install this package in addition to the main
cvsdist fe0769c
php package.
cvsdist fe0769c
cvsdist daec035
%if %{odbc}
cvsdist fe0769c
%package odbc
cvsdist fe0769c
Group: Development/Languages
cvsdist fe0769c
Prereq: php = %{version}-%{release}, perl
cvsdist fe0769c
Summary: A module for PHP applications that use ODBC databases.
cvsdist fe0769c
Provides: php_database
cvsdist fe0769c
BuildPrereq: unixODBC-devel
cvsdist fe0769c
Requires: unixODBC
cvsdist fe0769c
cvsdist fe0769c
%description odbc
cvsdist fe0769c
The php-odbc package contains a dynamic shared object that will add
cvsdist fe0769c
database support through ODBC to PHP. ODBC is an open specification
cvsdist fe0769c
which provides a consistent API for developers to use for accessing
cvsdist fe0769c
data sources (which are often, but not always, databases). PHP is an
cvsdist fe0769c
HTML-embeddable scripting language. If you need ODBC support for PHP
cvsdist fe0769c
applications, you will need to install this package and the php
cvsdist fe0769c
package.
cvsdist 6b11262
cvsdist daec035
%endif
cvsdist fe0769c
%if %{oracle}
cvsdist fe0769c
%package oci8
cvsdist fe0769c
%description oci8
cvsdist fe0769c
%endif
cvsdist 4423395
%if %{snmp}
cvsdist 4423395
%package snmp
cvsdist 4423395
%description snmp
cvsdist 4423395
%endif
cvsdist 6b11262
%prep
cvsdist 4423395
%setup -q
cvsdist fe0769c
%patch0 -p1 -b .redhat
cvsdist fe0769c
%patch1 -p1 -b .required
cvsdist fe0769c
%patch2 -p1 -b .linkage
cvsdist fe0769c
%patch3 -p1 -b .libtool
cvsdist 4423395
%patch4 -p0 -b .db
cvsdist 4423395
%patch5 -p1 -b .ZVAL
cvsdist 4423395
%patch6 -p1 -b .dom
cvsdist bdddde6
pushd main
cvsdist bdddde6
%patch7 -p0 -b .file_uploads
cvsdist bdddde6
popd
cvsdist bdddde6
%patch8 -p1 -b .xml2
cvsdist daec035
%patch9 -p1 -b .mysql-path
cvsdist daec035
%patch10 -p0 -b .fixfix
cvsdist 6b11262
cp Zend/LICENSE Zend/ZEND_LICENSE
cvsdist 4423395
mkdir build-cgi build-apache
cvsdist fe0769c
cvsdist bdddde6
# Buildconf expects the system libtool to be the same as the one in the build
cvsdist bdddde6
# tree, and we can't change that, so....
cvsdist bdddde6
rm ltmain.sh ltconfig
cvsdist bdddde6
libtoolize --force
cvsdist bdddde6
./buildconf
cvsdist bdddde6
cvsdist 6b11262
%build
cvsdist 4423395
# Add -fPIC to RPM_OPT_FLAGS.
cvsdist fe0769c
CFLAGS="$RPM_OPT_FLAGS -fPIC"; export CFLAGS
cvsdist 4423395
# Add the Kerberos library path to the default LDFLAGS so that the IMAP checks
cvsdist 4423395
# will be able to find the GSSAPI libraries.
cvsdist 4423395
LDFLAGS="-L/usr/kerberos/lib"; export LDFLAGS
cvsdist 4423395
# Configure may or may not catch these (mostly second-order) dependencies.
cvsdist daec035
%if %{ext_gd_freetype}
cvsdist daec035
FTLIB=-lfreetype
cvsdist daec035
%endif
cvsdist daec035
LIBS="-lttf $FTLIB -lpng -ljpeg -lz -lnsl"; export LIBS
cvsdist 4423395
# This causes the shared extension modules to be installed into %{_libdir}/php4.
cvsdist fe0769c
EXTENSION_DIR=%{_libdir}/php4; export EXTENSION_DIR
cvsdist 4423395
# This pulls the static /usr/lib/libc-client.a into the IMAP extension module.
cvsdist 4423395
IMAP_SHARED_LIBADD=-lc-client ; export IMAP_SHARED_LIBADD
cvsdist 6b11262
cvsdist 4423395
# Shell function to configure and build a PHP tree.
cvsdist 4423395
build() {
cvsdist 4423395
ln -sf ../configure
cvsdist 646b7a0
%configure \
cvsdist 6b11262
	--prefix=%{_prefix} \
cvsdist 6b11262
	--with-config-file-path=%{_sysconfdir} \
cvsdist 4423395
	--enable-force-cgi-redirect \
cvsdist 6b11262
	--disable-debug \
cvsdist 6b11262
	--enable-pic \
cvsdist 646b7a0
	--disable-rpath \
cvsdist 6b11262
	--enable-inline-optimization \
cvsdist 646b7a0
	--with-bz2 \
cvsdist daec035
%if %{ext_curl}
cvsdist 646b7a0
	--with-curl \
cvsdist daec035
%endif
cvsdist 646b7a0
	--with-db3 \
cvsdist daec035
%if %{ext_dom}
cvsdist 4423395
	--with-dom=%{_prefix} \
cvsdist daec035
%endif
cvsdist 6b11262
	--with-exec-dir=%{_bindir} \
cvsdist daec035
%if %{ext_gd_freetype}
cvsdist 4423395
	--with-freetype-dir=%{_prefix} \
cvsdist daec035
%endif
cvsdist 45c8db8
	--with-gd \
cvsdist 646b7a0
	--with-gdbm \
cvsdist 646b7a0
	--with-gettext \
cvsdist 4423395
	--with-gmp \
cvsdist daec035
%if %{ext_iconv}
cvsdist 4423395
	--with-iconv \
cvsdist daec035
%endif
cvsdist 6b11262
	--with-jpeg-dir=%{_prefix} \
cvsdist daec035
%if %{ext_mm}
cvsdist 646b7a0
	--with-mm \
cvsdist daec035
%endif
cvsdist daec035
%if %{ext_openssl}
cvsdist 646b7a0
	--with-openssl \
cvsdist daec035
%endif
cvsdist 6b11262
	--with-png \
cvsdist 4423395
	--with-pspell \
cvsdist 646b7a0
	--with-regex=system \
cvsdist daec035
%if %{ext_gd_freetype}
cvsdist fe0769c
	--with-ttf \
cvsdist daec035
%endif
cvsdist 4423395
	--with-xml \
cvsdist daec035
%if %{ext_expat}
cvsdist 4423395
	--with-expat-dir=%{_prefix} \
cvsdist daec035
%endif
cvsdist 6b11262
	--with-zlib \
cvsdist fe0769c
	--with-layout=GNU \
cvsdist 4423395
	--enable-bcmath \
cvsdist 6b11262
	--enable-debugger \
cvsdist 646b7a0
	--enable-ftp \
cvsdist 6b11262
	--enable-magic-quotes \
cvsdist 6b11262
	--enable-safe-mode \
cvsdist 45c8db8
	--enable-sockets \
cvsdist 6b11262
	--enable-sysvsem \
cvsdist 6b11262
	--enable-sysvshm \
cvsdist 6b11262
	--enable-track-vars \
cvsdist 4423395
	--enable-trans-sid \
cvsdist 6b11262
	--enable-yp \
cvsdist 45c8db8
	--enable-wddx \
cvsdist b1cadd1
	--without-oci8 \
cvsdist 4423395
	--with-imap=shared --with-imap-ssl --with-kerberos=/usr/kerberos \
cvsdist daec035
	--with-ldap=shared,%{_prefix} \
cvsdist daec035
	--with-mysql=shared,%{_prefix} \
cvsdist 4423395
%if %{oracle}
cvsdist 4423395
	--with-oci8=shared \
cvsdist 4423395
%endif
cvsdist daec035
	--with-pgsql=shared,%{_prefix} \
cvsdist 4423395
%if %{snmp}
cvsdist daec035
	--with-snmp=shared,%{_prefix} --enable-ucd-snmp-hack \
cvsdist 4423395
%endif
cvsdist daec035
	--with-unixODBC=shared,%{_prefix} \
cvsdist 4423395
	$@
cvsdist 4423395
# Fixup the config_vars to not include the -a on lines which call apxs.
cvsdist 4423395
cat config_vars.mk > config_vars.mk.old
cvsdist 4423395
awk '/^INSTALL_IT.*apxs.*-a -n/ {sub("-a -n ","-n ");} {print $0;}' \
cvsdist 4423395
	config_vars.mk.old > config_vars.mk
cvsdist bdddde6
ln -sf libtool shlibtool
cvsdist 6b11262
make
cvsdist 6b11262
}
cvsdist 4423395
# First, build a CGI tree.
cvsdist 4423395
pushd build-cgi
cvsdist 4423395
build
cvsdist fe0769c
popd
cvsdist 4423395
# Second, build an Apache tree.
cvsdist 4423395
pushd build-apache
cvsdist 4423395
build --with-apxs=%{_sbindir}/apxs
cvsdist fe0769c
popd
cvsdist 6b11262
cvsdist 6b11262
%install
cvsdist 6b11262
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
cvsdist 4423395
# First, install the CGI tree.
cvsdist 4423395
pushd build-cgi
cvsdist 4423395
make install INSTALL_ROOT=$RPM_BUILD_ROOT
cvsdist 4423395
popd
cvsdist 4423395
# Second, install the Apache tree.  Note that this overwrites the modules which
cvsdist 4423395
# were installed as part of the CGI build.  Lucky for us they're compatible.
cvsdist 4423395
pushd build-apache
cvsdist 4423395
make install INSTALL_ROOT=$RPM_BUILD_ROOT
cvsdist fe0769c
popd
cvsdist fe0769c
cvsdist 4423395
# Install the default configuration file and some icons which can be used to
cvsdist 4423395
# indicate that this site uses PHP.
cvsdist 4423395
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/
cvsdist 6b11262
install -m 644 php.ini-dist $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
cvsdist 4423395
install -m 755 -d $RPM_BUILD_ROOT%{contentdir}/icons
cvsdist 6b11262
install -m 644 *.gif $RPM_BUILD_ROOT%{contentdir}/icons/
cvsdist 6b11262
cvsdist 4423395
# Manuals -- we'll place English (en) in the location where the only version
cvsdist 4423395
# of the manual was before, and langify the rest.
cvsdist fe0769c
for lang in %{manual_langs} ; do
cvsdist 4423395
	if test x${lang} = xen ; then
cvsdist 4423395
		target_lang=""
cvsdist 4423395
	else
cvsdist 4423395
		target_lang=${lang}
cvsdist 4423395
	fi
cvsdist 4423395
	mkdir -p $RPM_BUILD_ROOT%{contentdir}/html/manual/mod/mod_php4/${target_lang}
cvsdist 4423395
	bzip2 -dc $RPM_SOURCE_DIR/php_manual_${lang}.tar.bz2 | tar -x -C $RPM_BUILD_ROOT%{contentdir}/html/manual/mod/mod_php4/${target_lang} -f -
cvsdist 6b11262
done
cvsdist 6b11262
cvsdist 6b11262
%clean
cvsdist 6b11262
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
cvsdist 6b11262
cvsdist fe0769c
%triggerpostun -- php < 4.0.0
cvsdist 6b11262
perl -pi -e 's|^#LoadModule php3_module|LoadModule php3_module|g' \
cvsdist 6b11262
	/etc/httpd/conf/httpd.conf
cvsdist 6b11262
perl -pi -e 's|^#AddModule mod_php3.c|AddModule mod_php3.c|g' \
cvsdist 6b11262
	/etc/httpd/conf/httpd.conf
cvsdist 6b11262
cvsdist 6b11262
%files
cvsdist 6b11262
%defattr(-,root,root)
cvsdist 4423395
%doc CODING_STANDARDS CREDITS EXTENSIONS INSTALL LICENSE NEWS README*
cvsdist 4423395
%doc Zend/ZEND_*
cvsdist fe0769c
%config(noreplace) %{_sysconfdir}/php.ini
cvsdist 6b11262
%{_bindir}/php
cvsdist 4423395
%{_datadir}/pear
cvsdist 45c8db8
%{_libdir}/apache/libphp4.so
cvsdist 6b11262
cvsdist fe0769c
%post -p /sbin/ldconfig
cvsdist fe0769c
cvsdist fe0769c
%postun -p /sbin/ldconfig
cvsdist 6b11262
cvsdist 6b11262
%files devel
cvsdist 6b11262
%defattr(-,root,root)
cvsdist fe0769c
%{_bindir}/pear
cvsdist 6b11262
%{_bindir}/php-config
cvsdist 6b11262
%{_bindir}/phpize
cvsdist 6b11262
%{_bindir}/phpextdist
cvsdist 6b11262
%{_includedir}/php
cvsdist 4423395
%{_libdir}/php
cvsdist fe0769c
cvsdist fe0769c
%files pgsql
cvsdist fe0769c
%defattr(-,root,root)
cvsdist fe0769c
%{_libdir}/php4/pgsql.so
cvsdist 6b11262
cvsdist 6b11262
%post pgsql
cvsdist 6b11262
%{__perl} -pi -e "s|^;extension=pgsql.so|extension=pgsql.so|" %{_sysconfdir}/php.ini
cvsdist 6b11262
cvsdist 6b11262
%preun pgsql
cvsdist fe0769c
if [ $1 = 0 -a -f %{_sysconfdir}/php.ini ] ; then
cvsdist 6b11262
  %{__perl} -pi -e "s|^extension=pgsql.so|;extension=pgsql.so|" %{_sysconfdir}/php.ini
cvsdist 6b11262
fi
cvsdist 6b11262
cvsdist 6b11262
%files mysql
cvsdist 6b11262
%defattr(-,root,root)
cvsdist 6b11262
%{_libdir}/php4/mysql.so
cvsdist 6b11262
cvsdist 6b11262
%post mysql
cvsdist 6b11262
%{__perl} -pi -e "s|^;extension=mysql.so|extension=mysql.so|" %{_sysconfdir}/php.ini
cvsdist 6b11262
cvsdist 6b11262
%preun mysql
cvsdist fe0769c
if [ $1 = 0 -a -f %{_sysconfdir}/php.ini ] ; then
cvsdist 6b11262
  %{__perl} -pi -e "s|^extension=mysql.so|;extension=mysql.so|" %{_sysconfdir}/php.ini
cvsdist 6b11262
fi
cvsdist 6b11262
cvsdist daec035
%if %{odbc}
cvsdist fe0769c
%files odbc
cvsdist fe0769c
%defattr(-,root,root)
cvsdist fe0769c
%{_libdir}/php4/odbc.so
cvsdist fe0769c
cvsdist fe0769c
%post odbc
cvsdist fe0769c
%{__perl} -pi -e "s|^;extension=odbc.so|extension=odbc.so|" %{_sysconfdir}/php.ini
cvsdist fe0769c
cvsdist fe0769c
%preun odbc
cvsdist fe0769c
if [ $1 = 0 -a -f %{_sysconfdir}/php.ini ] ; then
cvsdist fe0769c
  %{__perl} -pi -e "s|^extension=odbc.so|;extension=odbc.so|" %{_sysconfdir}/php.ini
cvsdist fe0769c
fi
cvsdist daec035
%endif
cvsdist fe0769c
cvsdist fe0769c
%if %{oracle}
cvsdist fe0769c
%files oci8
cvsdist fe0769c
%defattr(-,root,root)
cvsdist fe0769c
%{_libdir}/php4/oci8.so
cvsdist fe0769c
cvsdist fe0769c
%post oci8
cvsdist fe0769c
%{__perl} -pi -e "s|^;extension=oci8.so|extension=oci8.so|" %{_sysconfdir}/php.ini
cvsdist fe0769c
cvsdist fe0769c
%preun oci8
cvsdist fe0769c
if [ $1 = 0 -a -f %{_sysconfdir}/php.ini ] ; then
cvsdist fe0769c
  %{__perl} -pi -e "s|^extension=oci8.so|;extension=oci8.so|" %{_sysconfdir}/php.ini
cvsdist fe0769c
fi
cvsdist fe0769c
%endif
cvsdist fe0769c
cvsdist 6b11262
%files imap
cvsdist 6b11262
%defattr(-,root,root)
cvsdist 6b11262
%{_libdir}/php4/imap.so
cvsdist 6b11262
cvsdist 6b11262
%post imap
cvsdist 6b11262
%{__perl} -pi -e "s|^;extension=imap.so|extension=imap.so|" %{_sysconfdir}/php.ini
cvsdist 6b11262
cvsdist 6b11262
%preun imap
cvsdist 6b11262
if [ $1 = 0 -a -f %{_sysconfdir}/php.ini ] ; then
cvsdist 6b11262
  %{__perl} -pi -e "s|^extension=imap.so|;extension=imap.so|" %{_sysconfdir}/php.ini
cvsdist 6b11262
fi
cvsdist 6b11262
cvsdist 6b11262
%files ldap
cvsdist 6b11262
%defattr(-,root,root)
cvsdist 6b11262
%{_libdir}/php4/ldap.so
cvsdist 6b11262
cvsdist 6b11262
%post ldap
cvsdist 6b11262
%{__perl} -pi -e "s|^;extension=ldap.so|extension=ldap.so|" %{_sysconfdir}/php.ini
cvsdist 6b11262
cvsdist 6b11262
%preun ldap
cvsdist 6b11262
if [ $1 = 0 -a -f %{_sysconfdir}/php.ini ] ; then
cvsdist 6b11262
  %{__perl} -pi -e "s|^extension=ldap.so|;extension=ldap.so|" %{_sysconfdir}/php.ini
cvsdist 6b11262
fi
cvsdist 6b11262
cvsdist 4423395
%if %{snmp}
cvsdist 4423395
%files snmp
cvsdist 4423395
%defattr(-,root,root)
cvsdist 4423395
%{_libdir}/php4/snmp.so
cvsdist 4423395
cvsdist 4423395
%post snmp
cvsdist 4423395
%{__perl} -pi -e "s|^;extension=snmp.so|extension=snmp.so|" %{_sysconfdir}/php.ini
cvsdist 4423395
cvsdist 4423395
%preun snmp
cvsdist 4423395
if [ $1 = 0 -a -f %{_sysconfdir}/php.ini ] ; then
cvsdist 4423395
  %{__perl} -pi -e "s|^extension=snmp.so|;extension=snmp.so|" %{_sysconfdir}/php.ini
cvsdist 4423395
fi
cvsdist 4423395
%endif
cvsdist 4423395
cvsdist 6b11262
%files manual
cvsdist 6b11262
%defattr(-,root,root)
cvsdist 45c8db8
%{contentdir}/icons/*
cvsdist fe0769c
%dir %{contentdir}/html/manual/mod/mod_php4/
cvsdist fe0769c
%{contentdir}/html/manual/mod/mod_php4/*.html
cvsdist 4423395
%lang(cs) %{contentdir}/html/manual/mod/mod_php4/cs
cvsdist 4423395
%lang(de) %{contentdir}/html/manual/mod/mod_php4/de
cvsdist 4423395
%lang(es) %{contentdir}/html/manual/mod/mod_php4/es
cvsdist 4423395
%lang(fr) %{contentdir}/html/manual/mod/mod_php4/fr
cvsdist 4423395
%lang(hu) %{contentdir}/html/manual/mod/mod_php4/hu
cvsdist 4423395
%lang(it) %{contentdir}/html/manual/mod/mod_php4/it
cvsdist 4423395
%lang(ja) %{contentdir}/html/manual/mod/mod_php4/ja
cvsdist 4423395
%lang(ko) %{contentdir}/html/manual/mod/mod_php4/ko
cvsdist 4423395
%lang(nl) %{contentdir}/html/manual/mod/mod_php4/nl
cvsdist 4423395
%lang(pt) %{contentdir}/html/manual/mod/mod_php4/pt_BR
cvsdist 4423395
%lang(tr) %{contentdir}/html/manual/mod/mod_php4/tr
cvsdist 6b11262
cvsdist 6b11262
%changelog
cvsdist daec035
* Fri Mar  8 2002 Nalin Dahyabhai <nalin@redhat.com> 4.0.6-15
cvsdist daec035
- rebuild for RHL 7.2
cvsdist daec035
cvsdist daec035
* Fri Mar  8 2002 Nalin Dahyabhai <nalin@redhat.com> 4.0.6-14
cvsdist daec035
- rebuild for RHL 7.1
cvsdist daec035
cvsdist daec035
* Fri Mar  8 2002 Nalin Dahyabhai <nalin@redhat.com> 4.0.6-13
cvsdist daec035
- rebuild for RHL 7
cvsdist daec035
cvsdist daec035
* Wed Mar  6 2002 Nalin Dahyabhai <nalin@redhat.com>
cvsdist daec035
- build the mysql extension using the system mysql library, not the bundled
cvsdist daec035
  one which can lead to conflicting symbol hilarity
cvsdist daec035
cvsdist daec035
* Tue Mar  5 2002 Nalin Dahyabhai <nalin@redhat.com>
cvsdist daec035
- fix some off-by-ones in the mime parsing code, from Charlie Brady by way
cvsdist daec035
  of Adrian Chung (#60523)
cvsdist daec035
cvsdist daec035
* Mon Mar  4 2002 Nalin Dahyabhai <nalin@redhat.com>
cvsdist daec035
- better fix for the mysql socket test (from Bryce, use mysql_config)
cvsdist daec035
cvsdist daec035
* Fri Mar  1 2002 Nalin Dahyabhai <nalin@redhat.com>
cvsdist daec035
- begin prep for PHP errata o' doom
cvsdist daec035
- require pam-devel by file (/usr/include/security/pam_appl.h), not package name
cvsdist daec035
- make use of curl, dom, external expat, gd-freetype, mm, and openssl extensions
cvsdist daec035
  optional
cvsdist daec035
- make odbc subpackage conditional
cvsdist daec035
- make the default location of the mysql socket be determined by the MYSQL_SOCK
cvsdist daec035
  environment variable (if defined) and define it
cvsdist daec035
- FIXME: incorporate an improved fix for the php_mime_split bugs
cvsdist daec035
cvsdist bdddde6
* Wed Feb 27 2002 Nalin Dahyabhai <nalin@redhat.com> 4.0.6-12
cvsdist daec035
- add (now known to be flawed) patch to fix use of memchr() in multipart
cvsdist daec035
  MIME parsing
cvsdist bdddde6
cvsdist 4423395
* Tue Nov 20 2001 Nalin Dahyabhai <nalin@redhat.com> 4.0.6-11
cvsdist 4423395
- don't build the snmp module
cvsdist 4423395
- don't activate the module for Apache when we install it into the buildroot
cvsdist 4423395
cvsdist 4423395
* Mon Nov 19 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 4423395
- link the IMAP module with c-client.a
cvsdist 4423395
cvsdist 4423395
* Fri Nov 16 2001 Nalin Dahyabhai <nalin@redhat.com> 4.0.6-10
cvsdist 4423395
- use shared expat for XML support, add buildprereq on expat-devel
cvsdist 4423395
- update to latest manuals from the web site
cvsdist 4423395
- %{_datadir}/php -> %{_datadir}/pear
cvsdist 4423395
- miscellaneous cleanups
cvsdist 4423395
cvsdist 4423395
* Tue Nov 13 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 4423395
- remove explicit dependency on krb5-libs
cvsdist 4423395
cvsdist 4423395
* Fri Nov  9 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 4423395
- enable transparent session id support, configure freetype and gmp extensions
cvsdist 4423395
  (suggestion and patch Jason Costomiris)
cvsdist 4423395
cvsdist 4423395
* Mon Sep 17 2001 Tim Powers <timp@redhat.com> 4.0.6-9
cvsdist b2354da
- rebuilt against newer posgresql libs
cvsdist b2354da
cvsdist b2354da
* Wed Sep 12 2001 Tim Powers <timp@redhat.com>
cvsdist b2354da
- rebuild with new gcc and binutils
cvsdist b2354da
cvsdist f75fe2a
* Mon Aug 27 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist f75fe2a
- add patch from pzb at scyld.com to fix the ZVAL_TRUE and ZVAL_FALSE macros
cvsdist f75fe2a
  (#52501)
cvsdist f75fe2a
cvsdist 646b7a0
* Fri Aug 17 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 646b7a0
- enable bzip2 extension
cvsdist 646b7a0
- enable curl extension
cvsdist 646b7a0
- enable use of mm
cvsdist 646b7a0
- clean up use of libtool (#51958)
cvsdist 646b7a0
cvsdist fe0769c
* Fri Aug 10 2001 Tim Powers <timp@redhat.com>
cvsdist 646b7a0
- only english in php-manuals, space constraints
cvsdist fe0769c
cvsdist fe0769c
* Thu Aug  9 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist fe0769c
- include %{_libdir}/%{name}/build instead of %{_libdir}/%{name}4/build (#51141)
cvsdist fe0769c
cvsdist fe0769c
* Mon Aug  6 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist fe0769c
- add build deps on pam-devel, pspell-devel, gdbm-devel (#49878)
cvsdist fe0769c
- add some conditional logic if %%{oracle} is defined (from Antony Nguyen)
cvsdist fe0769c
cvsdist fe0769c
* Mon Jul  9 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist fe0769c
- don't obsolete subpackages we ended up not merging
cvsdist fe0769c
cvsdist fe0769c
* Mon Jul  2 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist fe0769c
- cleanups
cvsdist fe0769c
- add manuals in multiple languages (using ko instead of kr for Korean)
cvsdist fe0769c
- merge all of the manuals into a single -manual subpackage
cvsdist fe0769c
- use libtool to install binary files which libtool builds
cvsdist fe0769c
- don't strip any binaries; let the buildroot policies take care of it
cvsdist fe0769c
cvsdist fe0769c
* Thu Jun 28 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist fe0769c
- update to 4.0.6 (preliminary)
cvsdist fe0769c
cvsdist fe0769c
* Mon Jun 25 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist fe0769c
- enable ttf in the build because the gd support needs it
cvsdist fe0769c
- add -lfreetype to the LIBS for the same reason
cvsdist fe0769c
cvsdist fe0769c
* Wed Jun  6 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist fe0769c
- rebuild in new environment
cvsdist fe0769c
cvsdist fe0769c
* Wed May 16 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist fe0769c
- actually use two source trees to build things
cvsdist fe0769c
- add %%post and %%postun scriptlets to run ldconfig
cvsdist fe0769c
cvsdist fe0769c
* Tue May 15 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist fe0769c
- quote part of the AC_ADD_LIBRARY macro to make newer autoconf happy
cvsdist fe0769c
cvsdist fe0769c
* Mon May 14 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist fe0769c
- fix error in %%install
cvsdist fe0769c
- depend on the imap-devel which supplies linkage.c
cvsdist fe0769c
- modify trigger to disable php versions less than 4.0.0 instead of 3.0.15
cvsdist fe0769c
- enable DOM support via libxml2 (suggested by Sylvain Bergé)
cvsdist fe0769c
- build the OpenSSL extension again
cvsdist fe0769c
cvsdist fe0769c
* Mon May  7 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist fe0769c
- enable pspell extensions
cvsdist fe0769c
- update to 4.0.5
cvsdist fe0769c
cvsdist fe0769c
* Mon Apr 30 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist fe0769c
- build the ODBC extension
cvsdist fe0769c
cvsdist 9cda08b
* Mon Apr 30 2001 Bill Nottingham <notting@redhat.com>
cvsdist 9cda08b
- build on ia64
cvsdist 9cda08b
cvsdist f0d6ad1
* Fri Mar  2 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist f0d6ad1
- rebuild in new environment
cvsdist f0d6ad1
cvsdist 49d1b3a
* Fri Feb 23 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 49d1b3a
- obsolete the old phpfi (PHP 2.x) package
cvsdist 49d1b3a
cvsdist 49d1b3a
* Thu Feb  8 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 49d1b3a
- add a commented-out curl extension to the config file (part of #24933)
cvsdist 49d1b3a
- fix the PEAR-installation-directory-not-being-eval'ed problem (#24938)
cvsdist 49d1b3a
- find the right starting point for multipart form data (#24933)
cvsdist 49d1b3a
cvsdist 49d1b3a
* Tue Jan 30 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 49d1b3a
- aaarrgh, the fix breaks something else, aaarrgh; revert it (#24933)
cvsdist 49d1b3a
- terminate variable names at the right place (#24933)
cvsdist 49d1b3a
cvsdist 45c8db8
* Sat Jan 20 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 45c8db8
- tweak the fix some more
cvsdist 45c8db8
cvsdist 45c8db8
* Thu Jan 18 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 45c8db8
- extract stas's fix for quoting problems from CVS for testing
cvsdist 45c8db8
- tweak the fix, ask the PHP folks about the tweak
cvsdist 45c8db8
- tweak the fix some more
cvsdist 45c8db8
cvsdist 45c8db8
* Wed Jan 17 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 45c8db8
- merge mod_php into the main php package (#22906)
cvsdist 45c8db8
cvsdist 45c8db8
* Fri Dec 29 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 45c8db8
- try to fix a quoting problem
cvsdist 45c8db8
cvsdist 45c8db8
* Wed Dec 20 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 45c8db8
- update to 4.0.4 to get a raft of bug fixes
cvsdist 45c8db8
- enable sockets
cvsdist 45c8db8
- enable wddx
cvsdist 45c8db8
cvsdist 45c8db8
* Fri Nov  3 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 45c8db8
- rebuild in updated environment
cvsdist 45c8db8
cvsdist 45c8db8
* Thu Nov  2 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 45c8db8
- add more commented-out modules to the default config file (#19276)
cvsdist 45c8db8
cvsdist 45c8db8
* Wed Nov  1 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 45c8db8
- fix not-using-gd problem (#20137)
cvsdist 45c8db8
cvsdist b1cadd1
* Tue Oct 17 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist b1cadd1
- update to 4.0.3pl1 to get some bug fixes
cvsdist b1cadd1
cvsdist b1cadd1
* Sat Oct 14 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist b1cadd1
- build for errata
cvsdist b1cadd1
cvsdist b1cadd1
* Wed Oct 11 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist b1cadd1
- update to 4.0.3 to get security fixes integrated
cvsdist b1cadd1
- patch around problems configuring without Oracle support
cvsdist b1cadd1
- add TSRM to include path when building individual modules
cvsdist b1cadd1
cvsdist b1cadd1
* Fri Sep  8 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist b1cadd1
- rebuild in new environment
cvsdist b1cadd1
- enable OpenSSL support
cvsdist b1cadd1
cvsdist b1cadd1
* Wed Sep  6 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist b1cadd1
- update to 4.0.2, and move the peardir settings to configure (#17171)
cvsdist b1cadd1
- require %%{version}-%%{release} for subpackages
cvsdist b1cadd1
- add db2-devel and db3-devel prereqs (#17168)
cvsdist b1cadd1
cvsdist 6b11262
* Wed Aug 23 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- rebuild in new environment (new imap-devel)
cvsdist 6b11262
cvsdist 6b11262
* Wed Aug 16 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- fix summary and descriptions to match the specspo package
cvsdist 6b11262
cvsdist 6b11262
* Wed Aug  9 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- hard-code the path to apxs in build_ext() (#15799)
cvsdist 6b11262
cvsdist 6b11262
* Tue Aug  1 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- add "." to the include path again, which is the default
cvsdist 6b11262
cvsdist 6b11262
* Wed Jul 19 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- enable PEAR and add it to the include path
cvsdist 6b11262
- add the beginnings of a -devel subpackage
cvsdist 6b11262
cvsdist 6b11262
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist 6b11262
- automatic rebuild
cvsdist 6b11262
cvsdist 6b11262
* Fri Jul  7 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- tweaks to post and postun from Bill Peck
cvsdist 6b11262
cvsdist 6b11262
* Thu Jul  6 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- fixes from Nils for building the MySQL client
cvsdist 6b11262
- change back to requiring %{version} instead of %{version}-%{release}
cvsdist 6b11262
cvsdist 6b11262
* Sat Jul  1 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- update to 4.0.1pl2
cvsdist 6b11262
- enable MySQL client
cvsdist 6b11262
- move the php.ini file to %{_sysconfdir}
cvsdist 6b11262
cvsdist 6b11262
* Fri Jun 30 2000 Nils Philippsen <nils@redhat.de>
cvsdist 6b11262
- build_ext defines HAVE_PGSQL so pgsql.so in fact contains symbols
cvsdist 6b11262
- post/un scripts tweak php.ini correctly now
cvsdist 6b11262
cvsdist 6b11262
* Thu Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- update to 4.0.1
cvsdist 6b11262
- refresh manual
cvsdist 6b11262
cvsdist 6b11262
* Tue Jun 26 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- rebuild against new krb5 package
cvsdist 6b11262
cvsdist 6b11262
* Mon Jun 19 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- rebuild against new db3 package
cvsdist 6b11262
cvsdist 6b11262
* Sat Jun 17 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- Fix syntax error in post and preun scripts.
cvsdist 6b11262
- Disable IMAP, LDAP, PgSql in the standalone version because it picks up
cvsdist 6b11262
  the extensions.
cvsdist 6b11262
cvsdist 6b11262
* Fri Jun 16 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- Unexclude the Sparc arch.
cvsdist 6b11262
- Exclude the ia64 arch until we get a working Postgres build.
cvsdist 6b11262
- Stop stripping extensions as aggressively.
cvsdist 6b11262
- Start linking the IMAP module to libpam again.
cvsdist 6b11262
- Work around extension loading problems.
cvsdist 6b11262
- Reintroduce file-editing post and preun scripts for the mod_php extensions
cvsdist 6b11262
  until we come up with a better way to do it.
cvsdist 6b11262
cvsdist 6b11262
* Mon Jun  5 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- ExcludeArch: sparc for now
cvsdist 6b11262
cvsdist 6b11262
* Sun Jun  4 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- add Obsoletes: phpfi, because their content handler names are the same
cvsdist 6b11262
- add standalone binary, rename module packages to mod_php
cvsdist 6b11262
- FHS fixes
cvsdist 6b11262
cvsdist 6b11262
* Tue May 23 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- change license from "GPL" to "PHP"
cvsdist 6b11262
- add URL: tag
cvsdist 6b11262
- disable mysql support by default (license not specified)
cvsdist 6b11262
cvsdist 6b11262
* Mon May 22 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- update to PHP 4.0.0
cvsdist 6b11262
- nuke the -mysql subpackage (php comes with a bundled mysql client lib now)
cvsdist 6b11262
cvsdist 6b11262
* Tue May 16 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- link IMAP module against GSS-API and PAM to get dependencies right
cvsdist 6b11262
- change most of the Requires to Prereqs, because the post edits config files
cvsdist 6b11262
- move the PHP *Apache* module back to the right directory
cvsdist 6b11262
- fix broken postun trigger that broke the post
cvsdist 6b11262
- change most of the postuns to preuns in case php gets removed before subpkgs
cvsdist 6b11262
cvsdist 6b11262
* Thu May 11 2000 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist 6b11262
- rebuilt against new postgres libraries
cvsdist 6b11262
cvsdist 6b11262
* Tue May 09 2000 Preston Brown <pbrown@redhat.com>
cvsdist 6b11262
- php3 .so modules moved to /usr/lib/php3 from /usr/lib/apache (was incorrect)
cvsdist 6b11262
cvsdist 6b11262
* Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- make subpackages require php = %{version} (bug #10671)
cvsdist 6b11262
cvsdist 6b11262
* Thu Apr 06 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- update to 3.0.16
cvsdist 6b11262
cvsdist 6b11262
* Fri Mar 03 2000 Cristian Gafton <gafton@redhat.com>
cvsdist 6b11262
- fixed the post script to work when upgrading a package
cvsdist 6b11262
- add triggere to fix the older packages
cvsdist 6b11262
cvsdist 6b11262
* Tue Feb 29 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- update to 3.0.15
cvsdist 6b11262
- add build-time dependency for openldap-devel
cvsdist 6b11262
- enable db,ftp,shm,sem support to fix bug #9648
cvsdist 6b11262
cvsdist 6b11262
* Fri Feb 25 2000 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 6b11262
- add dependency for imap subpackage
cvsdist 6b11262
- rebuild against Apache 1.3.12
cvsdist 6b11262
cvsdist 6b11262
* Thu Feb 24 2000 Preston Brown <pbrown@redhat.com>
cvsdist 6b11262
- don't include old, outdated manual.  package one from the php distribution.
cvsdist 6b11262
cvsdist 6b11262
* Tue Feb 01 2000 Cristian Gafton <gafton@redhat.com>
cvsdist 6b11262
- rebuild to fix dependency problem
cvsdist 6b11262
cvsdist 6b11262
* Fri Jan 14 2000 Preston Brown <pbrown@redhat.com>
cvsdist 6b11262
- added commented out mysql module, thanks to Jason Duerstock 
cvsdist 6b11262
  (jason@sdi.cluephone.com). Uncomment to build if you have mysql installed.
cvsdist 6b11262
cvsdist 6b11262
* Thu Jan 13 2000 Preston Brown <pbrown@redhat.com>
cvsdist 6b11262
- rely on imap-devel, don't include imap in src.rpm (#5099).
cvsdist 6b11262
- xml enabled (#5393)
cvsdist 6b11262
cvsdist 6b11262
* Tue Nov 02 1999 Preston Brown <pborwn@redhat.com>
cvsdist 6b11262
- added post/postun sections to modify httpd.conf (#5259)
cvsdist 6b11262
- removed old obsolete faq and gif (#5260)
cvsdist 6b11262
- updated manual.tar.gz package (#5261)
cvsdist 6b11262
cvsdist 6b11262
* Thu Oct 07 1999 Matt Wilson <msw@redhat.com>
cvsdist 6b11262
- rebuilt for sparc glibc brokenness
cvsdist 6b11262
cvsdist 6b11262
* Fri Sep 24 1999 Preston Brown <pbrown@redhat.com>
cvsdist 6b11262
- --with-apxs --> --with-apxs=/usr/sbin/apxs (# 5094)
cvsdist 6b11262
- ldap support (# 5097)
cvsdist 6b11262
cvsdist 6b11262
* Thu Sep 23 1999 Preston Brown <pbrown@redhat.com>
cvsdist 6b11262
- fix cmdtuples for postgresql, I had it slightly wrong
cvsdist 6b11262
cvsdist 6b11262
* Tue Aug 31 1999 Bill Nottingham <notting@redhat.com>
cvsdist 6b11262
- subpackages must obsolete old stuff...
cvsdist 6b11262
cvsdist 6b11262
* Sun Aug 29 1999 Preston Brown <pbrown@redhat.com>
cvsdist 6b11262
- added -DHAVE_PGCMDTUPLES for postgresql module (bug # 4767)
cvsdist 6b11262
cvsdist 6b11262
* Fri Aug 27 1999 Preston Brown <pbrown@redhat.com>
cvsdist 6b11262
- name change to php to follow real name of package
cvsdist 6b11262
- fix up references to php3 to refer to php
cvsdist 6b11262
- upgrade to 3.0.12
cvsdist 6b11262
- fixed typo in pgsql postun script (bug # 4686)
cvsdist 6b11262
cvsdist 6b11262
* Mon Jun 14 1999 Preston Brown <pbrown@redhat.com>
cvsdist 6b11262
- upgraded to 3.0.9
cvsdist 6b11262
- fixed postgresql module and made separate package
cvsdist 6b11262
- separated manual into separate documentation package
cvsdist 6b11262
cvsdist 6b11262
* Mon May 24 1999 Preston Brown <pbrown@redhat.com>
cvsdist 6b11262
- upgraded to 3.0.8, which fixes problems with glibc 2.1.
cvsdist 6b11262
- took some ideas grom Gomez's RPM.
cvsdist 6b11262
cvsdist 6b11262
* Tue May 04 1999 Preston Brown <pbrown@redhat.com>
cvsdist 6b11262
- hacked in imap support in an ugly way until imap gets an official
cvsdist 6b11262
  shared library implementation
cvsdist 6b11262
cvsdist 6b11262
* Fri Apr 16 1999 Preston Brown <pbrown@redhat.com>
cvsdist 6b11262
- pick up php3.ini
cvsdist 6b11262
cvsdist 6b11262
* Wed Mar 24 1999 Preston Brown <pbrown@redhat.com>
cvsdist 6b11262
- build against apache 1.3.6
cvsdist 6b11262
cvsdist 6b11262
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist 6b11262
- auto rebuild in the new build environment (release 2)
cvsdist 6b11262
cvsdist 6b11262
* Mon Mar 08 1999 Preston Brown <pbrown@redhat.com>
cvsdist 6b11262
- upgraded to 3.0.7.
cvsdist 6b11262
cvsdist 6b11262
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
cvsdist 6b11262
- Injected new description and group.
cvsdist 6b11262
cvsdist 6b11262
* Sun Feb 07 1999 Preston Brown <pbrown@redhat.com>
cvsdist 6b11262
- upgrade to php 3.0.6, built against apache 1.3.4
cvsdist 6b11262
cvsdist 6b11262
* Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 6b11262
- rebuild for apache 1.3.3
cvsdist 6b11262
cvsdist 6b11262
* Thu Oct 08 1998 Preston Brown <pbrown@redhat.com>
cvsdist 6b11262
- updated to 3.0.5, fixes nasty bugs in 3.0.4.
cvsdist 6b11262
cvsdist 6b11262
* Sun Sep 27 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 6b11262
- updated to 3.0.4 and recompiled for apache 1.3.2
cvsdist 6b11262
cvsdist 6b11262
* Thu Sep 03 1998 Preston Brown <pbrown@redhat.com>
cvsdist 6b11262
- improvements; builds with apache-devel package installed.
cvsdist 6b11262
cvsdist 6b11262
* Tue Sep 01 1998 Preston Brown <pbrown@redhat.com>
cvsdist 6b11262
- Made initial cut for PHP3.