source: projects/specs/trunk/p/php5/php5-vl.spec @ 5418

Revision 5418, 57.5 KB checked in by tomop, 12 years ago (diff)

php5-5.3.9-1

Line 
1%bcond_without apache2
2
3%global majorver 5
4%global _name php%{majorver}
5
6%global srcname php-%{version}
7
8%global php_confdir %{_sysconfdir}/%{_name}
9
10%{!?_without_pear:%global _with_pear 1}
11%global with_pear %{?_with_pear:1}%{!?_with_pear:0}
12%if %{with_pear}
13%global pear_rootdir %{_datadir}/%{_name}-pear
14%global pear_cachedir %{_localstatedir}/cache/%{_name}-pear
15%endif
16
17%global apache1_confdir %{_sysconfdir}/httpd/conf.d
18%global apache1_moduledir %{_libdir}/apache
19%global apache1_contentdir /home/httpd
20%global apache1_cgidir %{apache1_contentdir}/cgi-bin
21%global apache1_fcgidir %{apache1_contentdir}/fcgi-bin
22
23%global apache2_confdir %{_sysconfdir}/apache2/conf.d
24%global apache2_moduledir %{_libdir}/apache2/modules
25%global apache2_contentdir /var/www
26%global apache2_cgidir %{apache2_contentdir}/cgi-bin
27%global apache2_fcgidir %{apache2_contentdir}/fcgi-bin
28
29Name: php5
30Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
31Summary(ja): HTML 埋め込み型スクリプト言語 PHP
32Version: 5.3.9
33Release: 1%{_dist_release}
34
35Vendor: Project Vine
36Distribution: Vine Linux
37Packager: tomop
38
39License: The PHP License
40Group: Development/Languages
41URL: http://www.php.net/
42
43Source0: http://www.php.net/distributions/%{srcname}.tar.bz2
44
45Source20: README.vine
46Source21: php.ini-vine
47Source23: php5.conf-apache1
48Source24: php5.conf-apache2
49Source25: php-fpm.init
50Source26: php-fpm.conf
51Source27: default-pool.conf
52Source28: php-fpm.logrotate
53
54Patch33: php-5.2.4-phpincludedir.patch
55# Additional feature
56Patch51: php-5.3.0-session_strict_mode.patch
57
58# security fix
59#Patch1000: php-5.3.7-bug55439.patch
60
61BuildRoot: %{_tmppath}/%{name}-%{version}-root
62BuildRequires: autoconf
63BuildRequires: automake
64BuildRequires: bison
65BuildRequires: bzip2
66BuildRequires: bzip2-devel
67BuildRequires: curl-devel
68BuildRequires: db4-devel
69BuildRequires: coreutils
70BuildRequires: flex
71BuildRequires: freetype2-devel
72BuildRequires: gcc-c++
73BuildRequires: gd-devel
74BuildRequires: gdbm-devel
75BuildRequires: gmp-devel
76BuildRequires: libjpeg-devel
77BuildRequires: libpng-devel
78%if %{?_dist_release} == "vl5"
79BuildRequires: libstdc++34-devel
80%else
81BuildRequires: libstdc++-devel
82%endif
83BuildRequires: libtool-ltdl-devel
84BuildRequires: libxml2-devel
85BuildRequires: libxslt-devel >= 1.0.18
86BuildRequires: ncurses-devel
87BuildRequires: openssl-devel
88BuildRequires: pam-devel
89BuildRequires: pcre-devel
90BuildRequires: perl
91BuildRequires: pkgconfig
92BuildRequires: postfix
93BuildRequires: readline-devel
94BuildRequires: sqlite3-devel
95BuildRequires: zlib-devel
96BuildRequires: libicu-devel >= 3.6
97%if %{?_dist_release} != "vl4"
98BuildRequires: krb5-devel
99%endif
100Requires(post,preun): alternatives
101%{?_with_pear:Requires: %{name}-pear = %{version}-%{release}}
102Conflicts: php <= 4.4.2-0vl1.2
103Provides: php = %{version}-%{release}
104
105%description
106PHP is an HTML-embedded scripting language. PHP attempts to make it
107easy for developers to write dynamically generated webpages. PHP also
108offers built-in database integration for several commercial and
109non-commercial database management systems, so writing a
110database-enabled webpage with PHP is fairly simple. The most common
111use of PHP coding is probably as a replacement for CGI scripts. The
112mod_php module enables the Apache Web server to understand and process
113the embedded PHP language in Web pages.
114
115%description -l ja
116PHP は HTML 埋め込み型のスクリプト言語です.開発者にとって,動的に生成
117される Web ページを簡単に書けるように考えて作られています.さらに,商用,
118非商用を問わず,数々のデータベース管理システムについての統合データベース
119環境が組み込まれています.そのため,データベースを使った Web ページを簡
120単に書くことができます.PHP の用途のほとんどは、既存の CGI スクリプトの
121置き換えに使われているのではないでしょうか.また,mod_php を使うことで,
122Apache Web サーバが Web ページに埋めこまれた PHP 言語を理解して処理でき
123るようになります.
124
125#----------------------------------------------------------------------
126%package devel
127Summary: Files needed for building PHP extensions.
128Group: Development/Libraries
129Requires: %{name} = %{version}-%{release}
130Requires: autoconf
131Requires: automake
132Conflicts: php-devel
133
134%description devel
135The php-devel package contains the files needed for building PHP
136extensions. If you need to compile your own PHP extensions, you will
137need to install this package.
138
139#----------------------------------------------------------------------
140%if %{with_pear}
141%package pear
142Group: Development/Languages
143Summary: PHP Extension and Application Repository Components
144Requires(post): alternatives
145Requires: %{name} = %{version}-%{release}
146Conflicts: php-pear <= 4.4.2-0vl2
147Provides: php-pear = %{version}-%{release}
148
149%description pear
150PEAR is a framework and distribution system for reusable PHP
151components.  This package contains the basic PEAR components.
152%endif
153
154#----------------------------------------------------------------------
155%if %{?_dist_release} == "vl5"
156%package apache
157Summary: php5 module for Apache version 1
158Summary(ja): Apache バージョン 1 用の php5 モジュール
159Group: System Environment/Daemons
160BuildRequires: apache-devel
161Requires: %{name} = %{version}-%{release}
162Requires: apache
163Provides: php-apache = %{version}-%{release}
164
165%description apache
166This package contains the php5 module for Apache version 1.
167%endif
168
169#----------------------------------------------------------------------
170%if %{with apache2}
171%package apache2
172Group: System Environment/Daemons
173Summary: php5 module for Apache version 2
174Summary(ja): Apache バージョン 2 用の php5 モジュール
175BuildRequires: apache2-devel >= 2.0.50-0vl2
176Requires: %{name} = %{version}-%{release}
177Requires: apache2 >= 2.0.50-0vl2
178Requires(post): sed, file
179Provides: php-apache2 = %{version}-%{release}
180
181%description apache2
182 This package contains the php5 module for Apache version 2.
183
184 Apache2 must be configured to use prefork MPM because
185this module is not threadsafe.
186%endif
187
188#----------------------------------------------------------------------
189%package fpm
190Group: System Environment/Daemons
191Summary: PHP with FastCGI Process Manager (FPM)
192Summary(ja): FastCGI Process Manager (FPM) が組み込まれたPHP
193Requires: %{name} = %{version}-%{release}
194
195%description fpm
196 PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI
197implementation with some additional features useful for sites of
198any size, especially busier sites.
199
200#======================================================================
201# modules
202#----------------------------------------------------------------------
203%package dba
204Summary: A database abstraction layer module for PHP applications
205Group: Development/Languages
206Requires: %{name} = %{version}-%{release}
207Provides: php-dba = %{version}-%{release}
208
209%description dba
210The php-dba package contains a dynamic shared object that will add
211support for using the DBA database abstraction layer to PHP.
212
213#----------------------------------------------------------------------
214%package imap
215Summary: A module for PHP applications that use IMAP.
216Group: Development/Languages
217BuildRequires: uw-imap-devel >= 2000c-1.6.0
218BuildRequires: openssl-devel
219Requires: %{name} = %{version}-%{release}
220Provides: php-imap = %{version}-%{release}
221
222%description imap
223The php-imap package contains a dynamic shared object (DSO) for the
224Apache Web server. When compiled into Apache, the php-imap module will
225add IMAP (Internet Message Access Protocol) support to PHP. IMAP is a
226protocol for retrieving and uploading e-mail messages on mail
227servers. PHP is an HTML-embedded scripting language. If you need IMAP
228support for PHP applications, you will need to install this package
229and the php package.
230
231#----------------------------------------------------------------------
232%package ldap
233Summary: A module for PHP applications that use LDAP.
234Group: Development/Languages
235BuildRequires: cyrus-sasl-devel
236BuildRequires: openldap-devel
237BuildRequires: openssl-devel
238Requires: %{name} = %{version}-%{release}
239Provides: php-ldap = %{version}-%{release}
240
241%description ldap
242The php-ldap package is a dynamic shared object (DSO) for the Apache
243Web server that adds Lightweight Directory Access Protocol (LDAP)
244support to PHP. LDAP is a set of protocols for accessing directory
245services over the Internet. PHP is an HTML-embedded scripting
246language. If you need LDAP support for PHP applications, you will
247need to install this package in addition to the php package.
248
249#----------------------------------------------------------------------
250%package mcrypt
251Summary: A module for PHP applications that use mcrypt
252Group: Development/Languages
253BuildRequires: libmcrypt-devel >= 2.5.6
254Requires: %{name} = %{version}-%{release}
255Provides: php-mcrypt = %{version}-%{release}
256
257%description mcrypt
258The php-mcrypt package contains a dynamic shared object that will add
259support for encrypt/decrypt functions to PHP.
260
261#----------------------------------------------------------------------
262%package mysql
263Summary: A module for PHP applications that use MySQL databases.
264Group: Development/Languages
265BuildRequires: MySQL-devel >= 5.1.40
266# for MySQL-devel Requires bug..
267Requires: %{name} = %{version}-%{release}
268Requires: %{name}-pdo
269Provides: %{name}_database
270Provides: php-mysql = %{version}-%{release}
271
272%description mysql
273The php-mysql package contains a dynamic shared object that will add
274MySQL database support to PHP. MySQL is an object-relational database
275management system. PHP is an HTML-embeddable scripting language. If
276you need MySQL support for PHP applications, you will need to install
277this package and the php or mod_php package.
278
279#----------------------------------------------------------------------
280%package odbc
281Group: Development/Languages
282Summary: A module for PHP applications that use ODBC databases.
283BuildRequires: unixODBC-devel
284Requires: %{name} = %{version}-%{release}
285Requires: %{name}-pdo
286Provides: %{name}_database
287Provides: php-odbc = %{version}-%{release}
288
289%description odbc
290The php-odbc package contains a dynamic shared object that will add
291database support through ODBC to PHP. ODBC is an open specification
292which provides a consistent API for developers to use for accessing
293data sources (which are often, but not always, databases). PHP is an
294HTML-embeddable scripting language. If you need ODBC support for PHP
295applications, you will need to install this package and the php
296package.
297
298#----------------------------------------------------------------------
299%package pdo
300Summary: A database access abstraction module for PHP applications
301Group: Development/Languages
302Requires: %{name} = %{version}-%{release}
303Provides: php-pdo = %{version}-%{release}
304
305%description pdo
306The php-pdo package contains a dynamic shared object that will add
307a database access abstraction layer to PHP.  This module provides
308a common interface for accessing MySQL, PostgreSQL or other
309databases.
310
311#----------------------------------------------------------------------
312%package pgsql
313Summary: A PostgreSQL database module for PHP.
314Group: Development/Languages
315BuildRequires: openssl-devel
316BuildRequires: postgresql-devel
317Requires: %{name} = %{version}-%{release}
318Requires: %{name}-pdo
319Provides: %{name}_database
320Provides: php-pgsql = %{version}-%{release}
321
322%description pgsql
323The php-pgsql package includes a dynamic shared object (DSO) that can
324be compiled in to the Apache Web server to add PostgreSQL database
325support to PHP. PostgreSQL is an object-relational database management
326system that supports almost all SQL constructs. PHP is an
327HTML-embedded scripting language. If you need back-end support for
328PostgreSQL, you should install this package in addition to the main
329php package.
330
331#----------------------------------------------------------------------
332%package snmp
333Summary: A module for PHP applications that query SNMP-managed devices.
334Group: Development/Languages
335BuildRequires: bzip2-devel
336BuildRequires: glibc-devel
337BuildRequires: libelf-devel
338BuildRequires: net-snmp-devel >= 5.1.1
339BuildRequires: popt-devel
340BuildRequires: rpm-devel
341BuildRequires: zlib-devel
342Requires: %{name} = %{version}-%{release}
343Provides: php-snmp = %{version}-%{release}
344
345%description snmp
346The php-snmp package contains a dynamic shared object that will add
347support for querying SNMP devices to PHP.  PHP is an HTML-embeddable
348scripting language. If you need SNMP support for PHP applications, you
349will need to install this package and the php package.
350
351#----------------------------------------------------------------------
352%package sqlite
353Summary: A module for PHP applications that use SQLite databases.
354Group: Development/Languages
355Requires: %{name} = %{version}-%{release}
356Requires: %{name}-pdo
357Provides: %{name}_database
358Provides: php-sqlite = %{version}-%{release}
359
360%description sqlite
361The php-sqlite package includes a dynamic shared object (DSO) that can
362be compiled in to the Apache Web server to add SQLite database support
363to PHP. SQLite is a C library that implements an embeddable SQL database
364engine. Programs that link with the SQLite library can have SQL database
365access without running a separate RDBMS process.
366
367#----------------------------------------------------------------------
368%package xmlrpc
369Summary: A module for PHP applications which use the XML-RPC protocol
370Group: Development/Languages
371Requires: %{name} = %{version}-%{release}
372Provides: php-xmlrpc = %{version}-%{release}
373
374%description xmlrpc
375The php-xmlrpc package contains a dynamic shared object that will add
376support for the XML-RPC protocol to PHP.
377
378#----------------------------------------------------------------------
379%package intl
380Summary: A module for PHP applications to use the ICU APIs
381Group: Development/Languages
382Requires: %{name} = %{version}-%{release}
383Provides: php-intl = %{version}-%{release}
384
385%description intl
386 The php-intl package is a wrapper for ICU library, enabling PHP programmers
387to perform UCA-conformant collation and date/time/number/currency formatting
388in their scripts.
389
390#======================================================================
391%prep
392%setup -q -n %{srcname}
393
394%patch33 -p1 -b .phpincludedir
395%patch51 -p1 -b .strict_session
396
397# Prevent %%doc confusion over LICENSE files
398cp Zend/LICENSE Zend/ZEND_LICENSE
399cp Zend/ChangeLog Zend/ZEND_ChangeLog
400cp TSRM/LICENSE TSRM_LICENSE
401
402mkdir -p %{_name}-apache2
403cp %{SOURCE20} %{_name}-apache2/README.vine
404
405# Source is built three times:
406# once for /usr/bin/php, once for the Apache1 module, once for the Apache2 module.
407mkdir build-cgi build-fpm build-apache build-apache2
408
409#======================================================================
410%build
411# Regenerate configure scripts (patches change config.m4's)
412# ./buildconf --force
413
414# Install extension modules in %{_libdir}/%{_name}
415export EXTENSION_DIR=%{_libdir}/%{_name}
416
417# Shell function to configure and build a PHP tree.
418build() {
419ln -sf ../configure
420CFLAGS="-fPIC" \
421%configure \
422  --cache-file=../config.cache \
423  --prefix=%{_prefix} \
424  --libdir=%{_libdir}/%{_name} \
425  --with-libdir=%{_lib} \
426  --sysconfdir=%{php_confdir} \
427  --with-layout=GNU \
428  --with-config-file-path=%{php_confdir} \
429  --with-config-file-scan-dir=%{php_confdir}/php.d \
430  --with-exec-dir=%{_libdir}/%{_name}/bin \
431  --program-suffix=%{majorver} \
432  --enable-safe-mode \
433  --disable-rpath \
434  --enable-bcmath \
435  --enable-calendar \
436  --enable-dba=shared --with-gdbm --with-db4 --with-inifile \
437  --enable-exif \
438  --enable-ftp \
439  --enable-inline-optimization \
440  --enable-intl=shared \
441  --enable-mbstring \
442  --enable-pdo=shared \
443  --enable-shmop \
444  --enable-soap \
445  --enable-sockets \
446  --enable-sysvmsg --enable-sysvsem --enable-sysvshm \
447  --enable-wddx \
448  --enable-zend-multibyte \
449  --with-bz2 \
450  --with-curl \
451  --with-gd=%{_prefix} --with-jpeg-dir=%{_prefix} --with-png-dir=%{_prefix} --with-freetype-dir=%{_prefix} \
452  --with-gettext \
453  --with-gmp \
454  --with-imap=shared --with-imap-ssl \
455%if %{?_dist_release} != "vl4"
456  --with-kerberos \
457%endif
458  --with-ldap=shared \
459  --with-mcrypt=shared,%{_prefix} \
460  --with-mysql=shared,mysqlnd --with-mysqli=shared,mysqlnd --with-pdo-mysql=shared,mysqlnd \
461  --with-openssl \
462  --with-pgsql=shared --with-pdo-pgsql=shared,%{_prefix} \
463  --with-pic \
464  --with-snmp=shared,%{_prefix} \
465  --with-sqlite=shared --enable-sqlite-utf8 --with-pdo-sqlite=shared,%{_prefix} \
466  --with-unixODBC=shared,%{_prefix} --with-pdo-odbc=shared,unixODBC,%{_prefix} \
467  --with-xmlrpc=shared \
468  --with-xsl \
469  --with-zlib \
470  %{?_with_pear:--with-pear=%{pear_rootdir}}%{!?_with_pear:--without-pear} \
471  $*
472if test $? != 0; then
473  tail -500 config.log
474  : configure failed
475  exit 1
476fi
477
478make %{?_smp_mflags}
479}
480
481#----------------------------------------------------------------------
482# Build /usr/bin/php{,-cgi}, and all the shared extensions
483pushd build-cgi
484build \
485  --with-readline
486popd
487
488#----------------------------------------------------------------------
489# Build /usr/sbin/php-fpm
490pushd build-fpm
491build \
492  --enable-fpm
493popd
494
495#----------------------------------------------------------------------
496# Build Apache1 module
497%if %{?_dist_release} == "vl5"
498pushd build-apache
499build \
500  --with-apxs=%{_sbindir}/apxs
501popd
502%endif
503#----------------------------------------------------------------------
504# Build Apache2 module
505%if %{with apache2}
506pushd build-apache2
507build \
508  --with-apxs2=%{_bindir}/apxs
509popd
510%endif
511#======================================================================
512%install
513[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
514
515#export PHP_PEAR_SYSCONF_DIR=%{php_confdir}
516#export PHP_PEAR_TEMP_DIR=%{pear_cachedir}
517#export PHP_PEAR_CACHE_DIR=%{buildroot}%{pear_cachedir}
518#export PHP_PEAR_DOWNLOAD_DIR=%{pear_cachedir}
519#export PHP_PEAR_PHP_BIN=%{_bindir}/%{_name}
520
521export PHP_PEAR_SYSCONF_DIR=%{php_confdir}
522export PHP_PEAR_TEMP_DIR=%{buildroot}%{pear_cachedir}
523export PHP_PEAR_CACHE_DIR=%{buildroot}%{pear_cachedir}
524export PHP_PEAR_DOWNLOAD_DIR=%{buildroot}%{pear_cachedir}
525export PHP_PEAR_PHP_BIN=%{buildroot}%{_bindir}/%{_name}
526unset http_proxy
527
528#----------------------------------------------------------------------
529pushd build-cgi
530# Install everything from the CGI SAPI build
531make install INSTALL_ROOT=$RPM_BUILD_ROOT
532#cp $RPM_BUILD_ROOT%{_bindir}/%{_name}{,-cgi}
533# Install the CLI SAPI as /usr/bin/%{_name}
534#make install-cli INSTALL_ROOT=$RPM_BUILD_ROOT
535popd
536
537# Install the default configuration file
538%{__install} -m 755 -d $RPM_BUILD_ROOT%{php_confdir}
539%{__install} -m 644 php.ini-production $RPM_BUILD_ROOT%{php_confdir}/php.ini
540
541# Append php.ini-vine
542cat %{SOURCE21} >> $RPM_BUILD_ROOT%{php_confdir}/php.ini
543# Use correct libdir
544sed -i -e 's|%{_prefix}/lib|%{_libdir}|' $RPM_BUILD_ROOT%{php_confdir}/php.ini
545
546# Remove suffix
547ln -sf php-config%{majorver} $RPM_BUILD_ROOT%{_bindir}/php-config
548ln -sf phpize%{majorver} $RPM_BUILD_ROOT%{_bindir}/phpize
549%{__install} -m 755 scripts/dev/phpextdist $RPM_BUILD_ROOT%{_bindir}
550cp $RPM_BUILD_ROOT%{_mandir}/man1/php-config{%{majorver},}.1
551cp $RPM_BUILD_ROOT%{_mandir}/man1/phpize{%{majorver},}.1
552
553# fix path in phar
554
555perl -pi -e 's|^#!/.+/build-cgi/sapi/cli/php$|#!/usr/bin/%{_name}|' %{buildroot}%{_bindir}/phar.phar
556
557
558%if %{with_pear}
559# http://pear.php.net/bugs/bug.php?id=6154
560perl -pi -e 's#s:([0-9]+):(.)(%{buildroot})+#"s:".($1-length($3)).":$2"#eg;' %{buildroot}%{php_confdir}/pear.conf
561
562for cmd in pear peardev pecl; do
563  cp $RPM_BUILD_ROOT%{_bindir}/${cmd}{,%{majorver}}
564done
565%{__install} -m 755 -d $RPM_BUILD_ROOT%{pear_cachedir}
566%endif
567
568# Install cgi/fcgi binaries
569mv $RPM_BUILD_ROOT%{_bindir}/php-cgi%{majorver} %{buildroot}%{_bindir}/%{_name}-cgi
570
571# Install fpm binaries
572%{__install} -d %{buildroot}%{_sbindir}
573%{__install} -d %{buildroot}%{_initdir}
574%{__install} -m 755 -d %{buildroot}%{php_confdir}/fpm.d
575%{__install} -d %{buildroot}%{_mandir}/man8
576%{__install} -d %{buildroot}%{_sysconfdir}/logrotate.d
577%{__install} -m 755 build-fpm/sapi/fpm/php-fpm %{buildroot}%{_sbindir}/%{_name}-fpm
578%{__install} -m 755 %{SOURCE25} %{buildroot}%{_initdir}/php-fpm
579%{__install} -m 644 build-fpm/sapi/fpm/php-fpm.8 %{buildroot}%{_mandir}/man8/
580%{__install} -m 644 %{SOURCE26} %{buildroot}%{php_confdir}/
581%{__install} -m 644 %{SOURCE27} %{buildroot}%{php_confdir}/fpm.d/
582%{__install} -m 644 %{SOURCE28} %{buildroot}%{_sysconfdir}/logrotate.d/php-fpm
583
584
585# Install the Apache1 module, config fragment
586%if %{?_dist_release} == "vl5"
587%{__install} -m 755 -d $RPM_BUILD_ROOT%{apache1_moduledir}
588%{__install} -m 755 build-apache/libs/lib%{_name}.so $RPM_BUILD_ROOT%{apache1_moduledir}
589%{__install} -m 755 -d $RPM_BUILD_ROOT%{apache1_cgidir}
590%{__install} -m 755 -d $RPM_BUILD_ROOT%{apache1_fcgidir}
591ln -sf %{_bindir}/%{_name}-cgi $RPM_BUILD_ROOT%{apache1_cgidir}/%{_name}-cgi
592ln -sf %{_bindir}/%{_name}-cgi $RPM_BUILD_ROOT%{apache1_fcgidir}/%{_name}-fcgi
593%{__install} -m 755 -d $RPM_BUILD_ROOT%{apache1_confdir}
594%{__install} -m 644 %{SOURCE23} $RPM_BUILD_ROOT%{apache1_confdir}/%{_name}.conf
595%endif
596
597# Install the Apache2 module, CGI SAPI, config fragment
598%if %{with apache2}
599%{__install} -m 755 -d $RPM_BUILD_ROOT%{apache2_moduledir}
600%{__install} -m 755 build-apache2/libs/lib%{_name}.so $RPM_BUILD_ROOT%{apache2_moduledir}
601%{__install} -m 755 -d $RPM_BUILD_ROOT%{apache2_cgidir}
602%{__install} -m 755 -d $RPM_BUILD_ROOT%{apache2_fcgidir}
603ln -sf %{_bindir}/%{_name}-cgi $RPM_BUILD_ROOT%{apache2_cgidir}/%{_name}-cgi
604ln -sf %{_bindir}/%{_name}-cgi $RPM_BUILD_ROOT%{apache2_fcgidir}/%{_name}-fcgi
605%{__install} -m 755 -d $RPM_BUILD_ROOT%{apache2_confdir}
606%{__install} -m 644 %{SOURCE24} $RPM_BUILD_ROOT%{apache2_confdir}/%{_name}.conf
607%endif
608
609%{__install} -m 755 -d $RPM_BUILD_ROOT%{php_confdir}/php.d
610%{__install} -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/%{_name}
611# for session.save_path
612%{__install} -m 770 -d $RPM_BUILD_ROOT%{_localstatedir}/%{_name}/session
613# for extension modules
614%{__install} -m 755 -d $RPM_BUILD_ROOT%{_libdir}/%{_name}
615# for --with-exec-dir
616%{__install} -m 755 -d $RPM_BUILD_ROOT%{_libdir}/%{_name}/bin
617
618#----------------------------------------------------------------------
619# Generate files lists and stub .ini files for each subpackage
620for mod in dba imap ldap mcrypt snmp xmlrpc intl \
621    mysql mysqli odbc pgsql sqlite \
622    pdo pdo_odbc pdo_mysql pdo_pgsql pdo_sqlite; do
623    cat > $RPM_BUILD_ROOT%{php_confdir}/php.d/${mod}.ini <<EOF
624; Enable ${mod} extension module
625extension=${mod}.so
626EOF
627    cat > files.${mod} <<EOF
628%attr(0755,root,root) %{_libdir}/%{_name}/${mod}.so
629%config(noreplace) %attr(0644,root,root) %{php_confdir}/php.d/${mod}.ini
630EOF
631done
632
633# append mysqli module to mysql module.
634cat files.mysqli >> files.mysql
635
636# Split out the PDO modules
637cat files.pdo_mysql >> files.mysql
638cat files.pdo_odbc >> files.odbc
639cat files.pdo_pgsql >> files.pgsql
640
641# Package pdo_sqlite with pdo; isolating the sqlite dependency
642# isn't useful at this time since rpm itself requires sqlite.
643cat files.pdo_sqlite >> files.pdo
644
645#----------------------------------------------------------------------
646# Remove unpackaged files
647rm -f $RPM_BUILD_ROOT%{_libdir}/%{_name}/*.a
648
649# Remove irrelevant docs
650rm -f README.{Zeus,QNX,CVS-RULES}
651
652# fix symlink for phar.
653
654%{__rm} -f %{buildroot}%{_bindir}/phar
655%{__ln_s} ./phar.phar %{buildroot}%{_bindir}/phar
656
657# ad-hoc fix for incorrect paths to php5
658for X in pear5 peardev5 pecl5 ; do
659  sed -e 's|%{buildroot}||g' %{buildroot}%{_bindir}/$X \
660        > %{buildroot}%{_bindir}/$X.new
661  mv -f %{buildroot}%{_bindir}/$X.new %{buildroot}%{_bindir}/$X
662  chmod 0755 %{buildroot}%{_bindir}/$X
663done
664
665#----------------------------------------------------------------------
666%post
667/sbin/update-alternatives --install %{_bindir}/php \
668    php %{_bindir}/php%{majorver} %{majorver}0
669
670# fix broken symlink if it's there
671if [ ! -f %{_bindir}/php ] ; then
672    /sbin/update-alternatives --auto php
673fi
674
675%triggerpostun -- php5 < 5.1.4-0vl1
676/sbin/update-alternatives --auto php
677
678%preun
679if [ "$1" = 0 ]; then
680    /sbin/update-alternatives --remove php %{_bindir}/php%{majorver}
681    /sbin/update-alternatives --auto php
682fi
683
684%post fpm
685/sbin/update-alternatives --install %{_sbindir}/php-fpm \
686    php-fpm %{_sbindir}/php%{majorver}-fpm %{majorver}0
687
688# fix broken symlink if it's there
689if [ ! -f %{_sbindir}/php-fpm ] ; then
690    /sbin/update-alternatives --auto php-fpm
691fi
692/sbin/chkconfig --add php-fpm
693
694%preun fpm
695if [ "$1" = 0 ]; then
696    /sbin/chkconfig --del php-fpm
697    /sbin/update-alternatives --remove php-fpm %{_sbindir}/php%{majorver}-fpm
698    /sbin/update-alternatives --auto php-fpm
699fi
700
701%post pear
702/sbin/update-alternatives \
703  --install %{_bindir}/pear     pear    %{_bindir}/pear%{majorver} %{majorver}0 \
704  --slave   %{_bindir}/peardev  peardev %{_bindir}/peardev%{majorver} \
705  --slave   %{_bindir}/pecl     pecl    %{_bindir}/pecl%{majorver}
706
707# fix broken symlink if it's there
708if [ ! -f %{_bindir}/pear ] ; then
709    /sbin/update-alternatives --auto pear
710fi
711
712%triggerpostun pear -- php5-pear < 5.1.4-0vl1
713/sbin/update-alternatives --auto pear
714
715%preun pear
716if [ "$1" = "0" ]; then
717    /sbin/update-alternatives --remove pear %{_bindir}/pear%{majorver}
718    /sbin/update-alternatives --auto pear
719fi
720
721%if %{?_dist_release} == "vl5"
722%post apache
723chown root:apache %{_localstatedir}/%{_name}/session 2>/dev/null || true
724%endif
725
726%if %{with apache2}
727%post apache2
728chown root:apache %{_localstatedir}/%{_name}/session 2>/dev/null || true
729
730MPM=`file /etc/alternatives/apache2 | sed -e 's/^.*apache2\.\([a-z]*\).*$/\1/'`
731if [ "$MPM" != "prefork" ]; then
732  cat <<EOF
733
734 Apache2 is configured to use $MPM MPM. But php5-apache2 requires
735prefork MPM. Run the following command as root to switch MPM:
736
737    /sbin/update-alternatives --config apache2
738
739EOF
740fi
741%endif
742
743%clean
744[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
745rm -f files.*
746
747#======================================================================
748%files
749%defattr(-,root,root)
750%doc CODING_STANDARDS CREDITS EXTENSIONS INSTALL LICENSE NEWS README*
751%doc Zend/ZEND_* TSRM_LICENSE
752%doc php.ini-{development,production}
753%doc php.gif
754%{_mandir}/man1/%{_name}.1*
755%config(noreplace) %{php_confdir}/php.ini
756%{_bindir}/%{_name}
757%{_bindir}/%{_name}-cgi
758%{_bindir}/phar
759%{_bindir}/phar.phar
760%dir %{php_confdir}
761%dir %{php_confdir}/php.d
762%dir %{_libdir}/%{_name}
763%dir %{_libdir}/%{_name}/bin
764%dir %{_localstatedir}/%{_name}
765%attr(0770,root,apache) %dir %{_localstatedir}/%{_name}/session
766
767%files devel
768%defattr(-,root,root)
769%{_mandir}/man1/php-config.1*
770%{_mandir}/man1/phpize.1*
771%{_bindir}/php-config
772%{_bindir}/php-config5
773%{_bindir}/phpize
774%{_bindir}/phpize5
775%{_bindir}/phpextdist
776%{_includedir}/%{_name}
777%{_libdir}/%{_name}/build
778
779%if %{with_pear}
780%files pear
781%defattr(-,root,root)
782%config %{php_confdir}/pear.conf
783%{_bindir}/pear%{majorver}
784%{_bindir}/peardev%{majorver}
785%{_bindir}/pecl%{majorver}
786%{pear_rootdir}
787%dir %{pear_cachedir}
788%endif
789
790%if %{?_dist_release} == "vl5"
791%files apache
792%defattr(-,root,root)
793%config %{apache1_confdir}/%{_name}.conf
794%{apache1_moduledir}/lib%{_name}.so
795%{apache1_cgidir}/%{_name}-cgi
796%{apache1_fcgidir}/%{_name}-fcgi
797%endif
798
799%if %{with apache2}
800%files apache2
801%defattr(-,root,root)
802%doc %{_name}-apache2/README.vine
803%config %{apache2_confdir}/%{_name}.conf
804%{apache2_moduledir}/lib%{_name}.so
805%{apache2_cgidir}/%{_name}-cgi
806%{apache2_fcgidir}/%{_name}-fcgi
807%endif
808
809%files fpm
810%defattr(-,root,root)
811%{_sbindir}/%{_name}-fpm
812%{_initdir}/php-fpm
813%{_mandir}/man8/php-fpm.8*
814%dir %{php_confdir}/fpm.d
815%config(noreplace) %{php_confdir}/php-fpm.conf
816%config(noreplace) %{php_confdir}/fpm.d/*.conf
817%config(noreplace) %{_sysconfdir}/logrotate.d/php-fpm
818
819
820%files dba -f files.dba
821%files imap -f files.imap
822%files ldap -f files.ldap
823%files mcrypt -f files.mcrypt
824%files mysql -f files.mysql
825%files odbc -f files.odbc
826%files pdo -f files.pdo
827%files pgsql -f files.pgsql
828%files snmp -f files.snmp
829%files sqlite -f files.sqlite
830%files xmlrpc -f files.xmlrpc
831%files intl -f files.intl
832
833#======================================================================
834%changelog
835* Thu Jan 12 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.9-1
836- new upstream release.
837
838* Sat Oct 29 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.8-1
839- new upstream release.
840- added a subpackage "php5-fpm".
841
842* Tue Aug 23 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.7-2
843- fixed bug#55439.
844
845* Thu Aug 18 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.7-1
846- new upstream release.
847
848* Mon Jun 13 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.3.6-4
849- rebuild with unixODBC-2.2.14-2
850
851* Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 5.3.6-3
852- rebuilt with postgresql-9.0.3
853
854* Sat Apr  9 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.3.6-2
855- new upstream release
856- dropt apache subpackage on VineSeed (apache1 will be orphaned on Vine 6)
857
858* Mon Mar 28 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.6-1
859- new upstream release.
860- added tags "Vendor:", "Distribution:" and "Packager:".
861
862* Mon Jan 10 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.5-1
863- new upstream release.
864
865* Fri Dec 10 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.4-1
866- new upstream release.
867- added a sub-package "php5-intl".
868
869* Sun Sep  5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.3.3-1
870- new upstream release
871
872* Fri Nov 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.1-1
873- new upstream release.
874
875* Tue Sep  1 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.3.0-2
876- fix incorrect path in {pear,peardev,pecl}5 ([vine-users:079537])
877
878* Thu Jul  2 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.0-1
879- new upstream release.
880- updated patch51.
881- removed /usr/bin/php5-fcgi.
882
883* Sat Jun 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.10-1
884- new upstream release.
885- updated patch51.
886
887* Tue Jun 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 5.2.9-6
888- update php.ini
889  - use UTF-8 for default charset and internal_encoding
890
891* Thu May 21 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.9-5
892- rebuilt with MySQL-shared-5.1.34.
893
894* Sat May 16 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.9-4
895- rebuilt with libc-client-2007e
896- added --with-kerberos option (VineSeed)
897
898* Fri Apr 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 5.2.9-3
899- rebuilt with openldap-2.4.11
900
901* Fri Mar 27 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.9-2
902- rebuilt with net-snmp-5.4.2.1-3 (VineSeed x86_64).
903
904* Thu Mar 19 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.9-1
905- new upstream release.
906- wrote specfile in UTF-8.
907
908* Tue May  6 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.2.6-2
909- move php5-{cgi,fcgi} to %%{_bindir}.
910
911* Tue May  6 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.2.6-1
912- new upstream release.
913- update %%Patch51.
914
915* Sat Apr 26 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.2.5-1
916- add FastCGI support.
917
918* Tue Jan 08 2008 Shu KONNO <owa@bg.wakwak.com> 5.2.5-0vl5
919- rebuilt with postgresql-8.2.6
920
921* Sun Jan 06 2008 Shu KONNO <owa@bg.wakwak.com> 5.2.5-0vl4
922- rebuilt with net-snmp-5.4.1
923
924* Thu Dec 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.2.5-0vl3
925- for VineSeed: rebuilt with MySQL-5.0.27-0vl7
926
927* Thu Dec 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.2.5-0vl2
928- rebuilt with MySQL-5.0.27-0vl6
929
930* Fri Nov 23 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.5-0vl1
931- new upstream release.
932
933* Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.4-0vl3
934- rebuilt with postgresql-devel 8.2.5
935
936* Sat Sep 15 2007 NAKAMURA Kenta <kenta@vinelinux.org> 5.2.4-0vl2
937- replaced BuildRequires: libstdc++3-devel with libstdc++34-devel
938
939* Sun Sep  9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.4-0vl1
940- rebuilt for VineSeed
941
942* Tue Sep  4 2007 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.2.4-0vl0.40
943- new upstream release.
944- update Patch33.
945
946* Thu Jun  7 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.3-0vl2
947- rebuilt for VineSeed
948
949* Tue Jun 05 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.3-0vl1
950- new upstream release.
951- fix install script.
952
953* Sun May 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.2-0vl5
954- rebuilt with new toolchain (for VineSeed)
955
956* Wed May 16 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.2-0vl4
957- remove "Provides: php-devel" from devel subpackage
958
959* Mon May 14 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.2-0vl3
960- fix Source24(php5.conf-apache2)
961
962* Fri May 11 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.2-0vl2
963- add Provides tag to subpackages.
964
965* Tue May 08 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.2-0vl1
966- new upstream release.
967- add 'Provides: php = %%{version}-%%{release}' to main package.
968
969* Sun Mar 25 2007 NAKAMURA Kenta <kenta@vinelinux.org> 5.2.1-0vl3
970- added --with-libdir=%%{_lib} configure option
971
972* Mon Feb 26 2007 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.2.1-0vl2
973- built for VineSeed.
974
975* Fri Feb 16 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.1-0vl1
976- new upstream release.
977- remove unnecessary 'Obsoletes: php-domxml, php-manual'
978
979* Sat Dec 02 2006 Atsushi SHICHI <ats777@gmail.com> 5.2.0-0vl4
980- change session.save_path to /var/php5/session in php.ini-vine <BTS:412>
981- unset http_proxy in %%install
982
983* Tue Nov  7 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.2.0-0vl3
984- new upstream release.
985
986* Sun Oct 29 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.1.6-0vl6
987- build with MySQL-5.0.27.
988
989* Fri Oct 27 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.1.6-0vl5
990- build with MySQL-5.0.26.
991- add mysqli module.
992- modify %%BuildRequires 'imap-devel' to 'uw-imap-devel'.
993
994* Sun Oct 22 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1.6-0vl4
995- fixed %triggerpostun section
996- added update-alternatives for checking symlink to %post section
997
998* Sat Oct 21 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1.6-0vl3
999- rebuilt for Vine Linux 4.0 <BTS:289>
1000- added Patch1000 for building with uw-imap-2006b
1001
1002* Mon Sep 11 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.6-0vl2
1003- rebuild for VinePlus/4.0
1004- change 'BuildRequires: fileutils' to coreutils
1005- add 'BuildRequires: libtool-ltdl-devel' to main package
1006
1007* Fri Aug 25 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.6-0vl1
1008- new upstream release
1009
1010* Wed Aug 23 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.5-0vl1
1011- new upstream release
1012- fix bug [vine-users:074749]
1013-- move php.gif from apache{,2} subpackage to main package
1014- fix bug [VineLinux:0070], [VineLinux:0106]
1015-- add 'Conflicts: php-devel' to devel subpackage
1016-- remove suffix from {php-config,phpize,phpextdist}
1017-- add alternatives support for {peardev5,pecl5}
1018
1019* Mon Jun 19 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.4-0vl1.4
1020- add 'Requires: %%{name}-pdo' to sqlite subpackage [vine-php:137]
1021
1022* Sun Jun 18 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.4-0vl1.3
1023- enable sqlite extension and add sqlite subpackage [vine-users:074695]
1024
1025* Tue May 30 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.4-0vl1.2
1026- update Source0
1027- change Requires: to PreReq: in apache{,2} subpackages [vine-php:113]
1028- fix %%post apache{,2} script
1029
1030* Tue May 16 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.4-0vl1.1
1031- fix /etc/httpd/conf.d/php5.conf [VinePlus:02967]
1032
1033* Sat May 13 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.4-0vl1
1034- new upstream release
1035- revive apache{,2} subpackage
1036- add 'Source24: php.conf-apache2'
1037- remove php-dbg, mod_php, phpfi, stronghold-php from Obsoletes
1038- fix Requires of main package and dba subpackage
1039- remove 'Conflicts: php-apache' from apache subpackage
1040- remove 'Conflicts: php-apache2' from apache2 subpackage
1041- add %%post apache{,2} script to chown session directory to root:apache
1042- modify %%files section
1043
1044* Sun Apr 30 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.3-0vl0.3
1045- update to 5.1.3RC3
1046- fix %%post script and add %%triggerpostun script
1047
1048* Sat Apr 08 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.3-0vl0.2.3
1049- drop 'Source10: pear.sh'
1050- fix 'Source20: README.vine', 'Source21: php.ini-vine', 'Source23: php.conf'
1051- add alternatives support
1052-- add 'PreReq: alternatives' to main package and pear subpackage
1053-- add 'Conflicts: php < 4.4.2-0vl1.1' to main package
1054-- add 'Conflicts: php-pear < 4.4.2-0vl1.1' to pear subpackage
1055-- add %%post, %%preun scripts
1056
1057* Wed Apr 05 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.3-0vl0.2.2
1058- fix 'Source10: pear.sh'
1059- add --sysconfdir=%%{php_confdir} to configure
1060
1061* Tue Apr 04 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.3-0vl0.2.1
1062- add 'Source10: pear.sh' to replace /usr/bin/{pear,peardev,pecl}
1063- add 'Patch33: php-5.1.3RC2-phpincludedir.patch'
1064- remove 'Conflicts: php, php-*'
1065- add 'export PHP_PEAR_SYSCONF_DIR, PHP_PEAR_CACHE_DIR, PHP_PEAR_PHP_BIN'
1066  to %%Install section
1067  -- move pear.conf to %%{_sysconfdir}/%%{_name}
1068  -- add '%%dir %%{pear_cachedir}' to '%%files pear'
1069  -- fix php_bin in pear.conf
1070- rename phpextdist to phpextdist5
1071
1072* Fri Mar 31 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.3-0vl0.2
1073- update to 5.1.3RC2
1074
1075* Mon Mar 20 2006 Atsushi SHICHI <ats7@a.email.ne.jp> 5.1.3-0vl0.1
1076- new upstream release
1077- add Source23: php5.conf
1078- drop Patch21: php-4.3.1-odbc.patch
1079- drop Patch30: php-4.3.6-dlopen.patch
1080- drop Patch32: php-4.3.11-mbfilter.patch
1081- apply strict session patch, thanks to Yasuo Ohgaki
1082  -- add Patch51: php-5.1.2-session_strict_mode.patch
1083  -- add session.use_strict_mode = 1 to php.ini-vine
1084- add BuildRequires: autoconf, automake, bison, flex, gcc-c++,
1085  readline-devel, sqlite3-devel
1086- drop BuildRequires: automake15, expat-devel, unixODBC-devel
1087- build with Apache2. Apache1.3 is still able to used by rebuilding
1088  with --with apache1
1089  -- add Requires: apache2
1090  -- merge apache{,2} subpackage into main package
1091  -- add Obsoletes: php5-apache, php5-apache2
1092- add Requires: autoconf, automake to devel subpackage
1093- add dba, pdo subpackage
1094- add Requires: php5-pdo to {mysql,odbc,pgsql} subpackage
1095- drop BuildRequires: expat-devel from xmlrpc subpackage
1096- add --program-suffix=5 to configure
1097- add missing files to %%files
1098
1099* Thu Jan 12 2006 Atsushi SHICHI <ats7@a.email.ne.jp> 5.1.2-0vl1
1100- new upstream release
1101- remove workaround for install-pear-nozlib.phar bug (PHP Bug #35780, PEAR Bug #6154)
1102  -- remove Source2: relocate.php
1103  -- remove Source10: pear.sh
1104  -- remove Source11: pecl.sh
1105  -- remove Source12: peardev.sh
1106- remove old XSLT extension stuff
1107  -- remove BuildRequires: libsablotron0-devel
1108  -- remove --enable-xslt, --with-xslt-sablot configure option
1109
1110* Thu Dec 07 2005 Atsushi SHICHI <ats7@a.email.ne.jp> 5.1.1-0vl2
1111- add %%{with_test}
1112- drop Patch5: php-4.3.3-install.patch
1113- drop Patch6: php-5.1.0-tests.patch
1114- drop Patch7: php-5.1.0-libtool15.patch
1115- drop Patch8: php-5.0.0RC3-miscfix.patch
1116- drop Patch10: php-5.1.0-sqlite_m4.patch
1117- change BuildPrereq tag to BuildRequires tag
1118- add BuildRequires: rpm-devel, popt, bzip2-devel, zlib-devel, glibc-devel
1119  to snmp subpackage
1120- comment out CFLAGS, LIBS, IMAP_SHARED_LIBADD environment variable settings
1121- remove support for FreeType 1.x
1122  -- remove BuildRequires: freetype, freetype-devel from main package
1123  -- remove --enable-gd-native-ttf, --with-ttf configure option
1124- drop --enable-ucd-snmp-hack configure option
1125- add workaround for install-pear-nozlib.phar bug
1126  -- add Source2: relocate.php
1127  -- add Source10: pear.sh
1128  -- add Source11: pecl.sh
1129  -- add Source12: peardev.sh
1130  -- remove include_path entry from vine.ini
1131- include phpextdist in devel subpackage again
1132- move pear.conf from main package to pear subpackage
1133- include pecl, peardev in pear subpackage
1134- move php.gif from main package to apache/apache2 subpackage
1135  -- fix %%{contentdir}
1136- fix typo in %%changelog
1137
1138* Tue Dec 06 2005 HOTTA Michihide <hotta@net-newbie.com> 5.1.1-0vl1
1139- new upstream release
1140- drop Patch #4 (php-4.2.2-cxx.patch)
1141- change Patch #6 (php-4.3.1-tests.patch) to php-5.1.0-tests.patch
1142- change Patch #7 (php-4.3.2-libtool15.patch) to php-5.1.0-libtool15.patch
1143- change Patch #10 (php-5.0.5-sqlite_m4.patch) to php-5.1.0-sqlite_m4.patch
1144- drop Patch #101 (php-5.0.5-mbfilter.patch)
1145- append include_path entry to vine.ini
1146
1147* Sat Oct 15 2005 HOTTA Michihide <hotta@net-newbie.com> 5.0.5-0vl5
1148- rebuild for VineSeedPlus
1149
1150* Thu Oct 06 2005 Atsushi SHICHI <ats7@a.email.ne.jp> 5.0.5-0vl4
1151- modify Source21: vine.ini
1152
1153* Tue Oct 06 2005 HOTTA Michihide <hotta@net-newbie.com> 5.0.5-0vl3
1154- drop Patch3: php-5.0.5-lib64.patch
1155- drop Patch11: php-5.0.5-phpize_in.patch [VinePlus:02737]
1156- add --libdir=%%{_libdir}/php option to configure [VinePlus:02737]
1157
1158* Tue Oct 04 2005 HOTTA Michihide <hotta@net-newbie.com> 5.0.5-0vl2
1159- add mbfilter.c.patch
1160
1161* Sun Sep 18 2005 Atsushi SHICHI <ats7@a.email.ne.jp> 5.0.5-0vl1
1162- upstream release
1163- add Source21: vine.ini (additional settings to php.ini-recommened)
1164- add Source22: ltmain.sh.vine
1165- drop Patch2: php-5.0.3-config.patch
1166- fix Patch3: php-5.0.5-lib64.patch
1167- drop Patch9: php-5.0.0RC3-oniguruma.patch
1168- fix Patch10: php-5.0.5-sqlite_m4.patch
1169- add Patch11: php-5.0.5-phpize_in.patch
1170- drop Patch246: php-4.3.6-fixattr.patch
1171- add %%define __libtoolize true
1172- drop %%{_bindir}phpextdist
1173
1174* Fri Jun 17 2005 IKEDA Katsumi <ikeda@webmasters.gr.jp> 5.0.3-0vl3.2
1175- added a security patch for CAN-2005-0524 and CAN-2005-0525 from SuSE.
1176
1177* Thu May 16 2005 HOTTA Michihide <hotta@net-newbie.com> 5.0.3-0vl3.1
1178- for VinePlus/3.0
1179- add README.vine again
1180- add php-4.3.11-mbfilter.patch for workaround against degrade at 5.0.3
1181- remove veserion specification on BuildPrereq: curl-devel
1182
1183* Fri Feb 25 2005 HOTTA Michihide <hotta@net-newbie.com> 5.0.3-0vl3
1184- drop BuildPrereq: apache2-apr-devel
1185- drop php-4.2.1-ldap-TSRM.patch
1186
1187* Sat Dec 25 2004 HOTTA Michihide <hotta@net-newbie.com> 5.0.3-0vl1
1188- upstream release
1189- drop php-4.3.2-db4.patch
1190- add BuildPrereq: apache2-apr-devel
1191
1192* Mon Oct 18 2004 HOTTA Michihide <hotta@net-newbie.com> 5.0.2-0vl1
1193- upstream release
1194- regenerate php5-imap
1195
1196* Fri Aug 13 2004 HOTTA Michihide <hotta@net-newbie.com> 5.0.1-0vl1
1197- upstream release
1198
1199* Tue Aug 03 2004 HOTTA Michihide <hotta@net-newbie.com> 5.0.0-0vl1
1200- upstream release : many thanks to YOSHIMURA Keitaro <ramsy AT ramix DOT jp>
1201- remove php4_{namazu,kakasi,chasen} (not supported)
1202- drop some patches for 4.3.x
1203- Build fix for oniguruma(re_registers dups)
1204- remove domxml (updated to libxml2)
1205- add Conflicts: php, php-*
1206- add php-5.0.0-authuser.patch (BUG#29129)
1207
1208* Thu Jul 15 2004 HOTTA Michihide <hotta@net-newbie.com> 4.3.8-0vl1
1209- upstream release
1210- add BuildPrereq: freetype
1211
1212* Sun Jul 11 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 4.3.7-0vl5
1213- remove explicit buildprereq to build-essential
1214- build apache2 module
1215  split apache1/2 module to php-apache/php-apache2
1216  thanks to jax <jax AT morejams DOT no-ip DOT com>
1217- add Obsoletes: php < %%{version}-%%{release} in php-apache sub-package
1218  for upgrade.
1219
1220* Wed Jul 07 2004 HOTTA Michihide <hotta@net-newbie.com> 4.3.7-0vl4
1221- add Obsoletes: php-imap, php-manual
1222
1223* Sat Jun 26 2004 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 4.3.7-0vl3
1224- enable mcrypt module.
1225
1226* Mon Jun 07 2004 HOTTA Michihide <hotta@net-newbie.com> 4.3.7-0vl2
1227- fix bug #28385 <http://bugs.php.net/bug.php?id=28385>
1228
1229* Fri Jun 04 2004 HOTTA Michihide <hotta@net-newbie.com> 4.3.7-0vl1
1230- upstream release
1231
1232* Wed May 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.6-0vl2
1233- rebuild with namazu-2.0.13
1234
1235* Fri Apr 30 2004 HOTTA Michihide <hotta@net-newbie.com> 4.3.6-0vl1
1236- upstream release
1237
1238* Mon Mar 15 2004 Tomoya TAKA <taka@vinelinux.org> 4.3.4-0vl2
1239- fix location of session save path, %%{_localstatedir} is defined as
1240  /var/lib in Vine's rpm
1241
1242* Sat Feb 21 2004 HOTTA Michihide <hotta@net-newbie.com> 4.3.4-0vl1
1243- upstream release
1244- sync to fedora(php-4.3.4-7)
1245- drop BuildRequires : aspell
1246- add workaround for inconsistent dependency of php-devel
1247- drop --enable-versioning to prevent ext modules loading error
1248
1249* Thu Feb 05 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.2-0vl4
1250- rebuild with new toolchains (and resolved dependancy about libxslt)
1251- added patch7 to build with libtool-1.5
1252- added patch100 to build newest freetype2 library
1253- force to use automake-1.5
1254- added BuildPrereq: curl-devel, automake15
1255- fixed BuildRequires of php-snmp: net-snmp-devel
1256
1257* Tue Jul 08 2003 HOTTA Michihide <hotta@net-newbie.com> 4.3.2-0vl3
1258- add README.vine
1259
1260* Tue Jul 08 2003 HOTTA Michihide <hotta@net-newbie.com> 4.3.2-0vl2
1261- install sapi/cgi/php as php-cgi, sapi/cli/php as php
1262
1263* Tue Jul 08 2003 HOTTA Michihide <hotta@net-newbie.com> 4.3.2-0vl1
1264- upstream release (sync to rawhide)
1265- add printf patch, PEAR_Registry patch etc.
1266- drop package php-manual
1267
1268* Fri Jan 24 2003 HOTTA Michihide <hotta@net-newbie.com> 4.2.3-0vl3
1269- add zend_highlight.c-patch
1270- add -DHAVE_PQESCAPE to build_ext pgsql
1271
1272* Wed Jan 22 2003 MACHINO Satoshi <machino@vinelinux.org> 4.2.3-0vl2
1273- rebuild against gmp-4.1 and sablotron-0.97
1274
1275* Mon Sep 9 2002 HOTTA Michihide <hotta@net-newbie.com> 4.2.3-0vl1
1276- for VineSeedPlus
1277  -- Updated to 4.2.3
1278  -- added php-4.2.3-mbstr-20020908-2.patch
1279
1280* Sun Aug 18 2002 Rui HIROKAWA <hirokawa@php.gr.jp> 4.2.2-0vl3
1281- applied php-4.2.2-mb_output_handler.patch to enable output encoding
1282for text/hdml.     
1283- applied php-4.2.2-mb-decode.patch to fix decode problem of GET parameters.
1284- Patch to fix a problem where, given multiple cookies to set, only the last one would be made (#67853)
1285
1286* Tue Jul 24 2002 HOTTA Michihide <hotta@net-newbie.com> 4.2.2-0vl2
1287- for VineSeedPlus
1288  -- applied php-4.2.2-multibyte.patch.gz which obsolets 4.2.1's
1289  -- dropped --enable-trans-sid configure option which is no longer meaningful
1290
1291* Tue Jul 23 2002 HOTTA Michihide <hotta@net-newbie.com> 4.2.2-0vl1
1292- for VineSeedPlus
1293  -- Updated to 4.2.2
1294  -- dropped domxml.patch (merged into original)
1295
1296* Fri Jul 05 2002 HOTTA Michihide <hotta@net-newbie.com> 4.2.1-0vl8
1297- for VineSeedPlus
1298  -- added i18n patch by Fujimoto
1299  -- dropped php4_mbregex extention (merged into original)
1300
1301* Tue Jun 04 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl7
1302- added gmp support
1303- for VineSeedPlus
1304
1305* Tue Jun 04 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl6
1306- for VineSeedPlus
1307        -- added xslt support
1308       
1309* Tue Jun 04 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl5
1310- added expat-devel in BuildPreReq
1311
1312* Tue Jun 04 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl4
1313- added mail functions
1314- added postfix in BuildPreReq
1315- updated manual_en(03-Jun-2002)
1316- updated manual_ja(29-May-2002)
1317- for VinePlus
1318        -- dropped xslt support
1319
1320* Thu May 16 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl3
1321- for VineSeed Plus
1322- added xslt support
1323        -- added enable-xslt, with-xslt-sablot, with-dom-xslt
1324        -- added BuildPrereq: libxslt-devel, libsablotron0-devel
1325
1326* Thu May 16 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl2
1327- for VinePlus 2.5
1328- added php.in-dist.patch
1329
1330* Wed May 15 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl1
1331- updated php-4.2.1
1332- updated php_manual_en
1333- dropped reg.patch
1334- modified configured option
1335  -- added --with-dom, --with-bz2, --with-png-dir, --with-expat-dir
1336
1337* Thu May 09 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.0-99vl1
1338- updated php-4.2.1RC1
1339- fixed ereg_replace patch (4.2.1-reg.patch)
1340
1341* Thu May 09 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.0-0vl2
1342- added ereg_replace patch (4.2.0-reg.patch)
1343- updated manual(en, ja)
1344
1345* Thu Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.0-0vl1
1346- updated php-4.2.0
1347
1348* Fri Mar 01 2002 Satoshi MACHINO <machino@vinelinux.org> 4.1.2-0vl1
1349- updated php-4.1.2
1350- updated php4_mbregex-1.3.1
1351- updated php4_namazu-2.1.0
1352- updated php4_kakasi-0.3.0
1353- REMOVED php4_iconv
1354- fixed patch
1355        -- added domxml.patch
1356        -- dropped old patches
1357
1358* Mon Dec  3 2001 Jun Nishii <jun@vinelinux.org>
1359- 4.0.6-5vl3
1360- added --enable-mbstr-enc-trans
1361
1362* Wed Aug 22 2001 Hisao SHIBUYA <shibuya@alpha.or.jp>
1363- 4.0.6-5vl2
1364- fix contentdir
1365
1366* Tue Aug 21 2001 Hisao SHIBUYA <shibuya@alpha.or.jp>
1367- 4.0.6-5vl1
1368- add configure options for Vine
1369- add ldap, mysql and odbc modules.
1370
1371* Fri Aug 10 2001 Tim Powers <timp@redhat.com>
1372- only english in php-manuals, space constraints :P
1373
1374* Thu Aug  9 2001 Nalin Dahyabhai <nalin@redhat.com>
1375- include %{_libdir}/%{name}/build instead of %{_libdir}/%{name}4/build (#51141)
1376
1377* Mon Aug  6 2001 Nalin Dahyabhai <nalin@redhat.com>
1378- add build deps on pam-devel, pspell-devel, gdbm-devel (#49878)
1379- add some conditional logic if %%{oracle} is defined (from Antony Nguyen)
1380
1381* Mon Jul  9 2001 Nalin Dahyabhai <nalin@redhat.com>
1382- don't obsolete subpackages we ended up not merging
1383
1384* Mon Jul  2 2001 Nalin Dahyabhai <nalin@redhat.com>
1385- cleanups
1386- add manuals in multiple languages (using ko instead of kr for Korean)
1387- merge all of the manuals into a single -manual subpackage
1388- use libtool to install binary files which libtool builds
1389- don't strip any binaries; let the buildroot policies take care of it
1390
1391* Thu Jun 28 2001 Nalin Dahyabhai <nalin@redhat.com>
1392- update to 4.0.6 (preliminary)
1393
1394* Mon Jun 25 2001 Nalin Dahyabhai <nalin@redhat.com>
1395- enable ttf in the build because the gd support needs it
1396- add -lfreetype to the LIBS for the same reason
1397
1398* Wed Jun  6 2001 Nalin Dahyabhai <nalin@redhat.com>
1399- rebuild in new environment
1400
1401* Wed May 16 2001 Nalin Dahyabhai <nalin@redhat.com>
1402- actually use two source trees to build things
1403- add %%post and %%postun scriptlets to run ldconfig
1404
1405* Tue May 15 2001 Nalin Dahyabhai <nalin@redhat.com>
1406- quote part of the AC_ADD_LIBRARY macro to make newer autoconf happy
1407
1408* Mon May 14 2001 Nalin Dahyabhai <nalin@redhat.com>
1409- fix error in %%install
1410- depend on the imap-devel which supplies linkage.c
1411- modify trigger to disable php versions less than 4.0.0 instead of 3.0.15
1412- enable DOM support via libxml2 (suggested by Sylvain Berg
1413- build the OpenSSL extension again
1414
1415* Mon May  7 2001 Nalin Dahyabhai <nalin@redhat.com>
1416- enable pspell extensions
1417- update to 4.0.5
1418
1419* Mon Apr 30 2001 Nalin Dahyabhai <nalin@redhat.com>
1420- build the ODBC extension
1421
1422* Mon Apr 30 2001 Bill Nottingham <notting@redhat.com>
1423- build on ia64
1424
1425* Fri Mar  2 2001 Nalin Dahyabhai <nalin@redhat.com>
1426- rebuild in new environment
1427
1428* Fri Feb 23 2001 Nalin Dahyabhai <nalin@redhat.com>
1429- obsolete the old phpfi (PHP 2.x) package
1430
1431* Thu Feb  8 2001 Nalin Dahyabhai <nalin@redhat.com>
1432- add a commented-out curl extension to the config file (part of #24933)
1433- fix the PEAR-installation-directory-not-being-eval'ed problem (#24938)
1434- find the right starting point for multipart form data (#24933)
1435
1436* Tue Jan 30 2001 Nalin Dahyabhai <nalin@redhat.com>
1437- aaarrgh, the fix breaks something else, aaarrgh; revert it (#24933)
1438- terminate variable names at the right place (#24933)
1439
1440* Sat Jan 20 2001 Nalin Dahyabhai <nalin@redhat.com>
1441- tweak the fix some more
1442
1443* Thu Jan 18 2001 Nalin Dahyabhai <nalin@redhat.com>
1444- extract stas's fix for quoting problems from CVS for testing
1445- tweak the fix, ask the PHP folks about the tweak
1446- tweak the fix some more
1447
1448* Wed Jan 17 2001 Nalin Dahyabhai <nalin@redhat.com>
1449- merge mod_php into the main php package (#22906)
1450
1451* Fri Dec 29 2000 Nalin Dahyabhai <nalin@redhat.com>
1452- try to fix a quoting problem
1453
1454* Wed Dec 20 2000 Nalin Dahyabhai <nalin@redhat.com>
1455- update to 4.0.4 to get a raft of bug fixes
1456- enable sockets
1457- enable wddx
1458
1459* Fri Nov  3 2000 Nalin Dahyabhai <nalin@redhat.com>
1460- rebuild in updated environment
1461
1462* Thu Nov  2 2000 Nalin Dahyabhai <nalin@redhat.com>
1463- add more commented-out modules to the default config file (#19276)
1464
1465* Wed Nov  1 2000 Nalin Dahyabhai <nalin@redhat.com>
1466- fix not-using-gd problem (#20137)
1467
1468* Tue Oct 17 2000 Nalin Dahyabhai <nalin@redhat.com>
1469- update to 4.0.3pl1 to get some bug fixes
1470
1471* Sat Oct 14 2000 Nalin Dahyabhai <nalin@redhat.com>
1472- build for errata
1473
1474* Wed Oct 11 2000 Nalin Dahyabhai <nalin@redhat.com>
1475- update to 4.0.3 to get security fixes integrated
1476- patch around problems configuring without Oracle support
1477- add TSRM to include path when building individual modules
1478
1479* Fri Sep  8 2000 Nalin Dahyabhai <nalin@redhat.com>
1480- rebuild in new environment
1481- enable OpenSSL support
1482
1483* Wed Sep  6 2000 Nalin Dahyabhai <nalin@redhat.com>
1484- update to 4.0.2, and move the peardir settings to configure (#17171)
1485- require %%{version}-%%{release} for subpackages
1486- add db2-devel and db3-devel prereqs (#17168)
1487
1488* Wed Aug 23 2000 Nalin Dahyabhai <nalin@redhat.com>
1489- rebuild in new environment (new imap-devel)
1490
1491* Wed Aug 16 2000 Nalin Dahyabhai <nalin@redhat.com>
1492- fix summary and descriptions to match the specspo package
1493
1494* Wed Aug  9 2000 Nalin Dahyabhai <nalin@redhat.com>
1495- hard-code the path to apxs in build_ext() (#15799)
1496
1497* Tue Aug  1 2000 Nalin Dahyabhai <nalin@redhat.com>
1498- add "." to the include path again, which is the default
1499
1500* Wed Jul 19 2000 Nalin Dahyabhai <nalin@redhat.com>
1501- enable PEAR and add it to the include path
1502- add the beginnings of a -devel subpackage
1503
1504* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
1505- automatic rebuild
1506
1507* Fri Jul  7 2000 Nalin Dahyabhai <nalin@redhat.com>
1508- tweaks to post and postun from Bill Peck
1509
1510* Thu Jul  6 2000 Nalin Dahyabhai <nalin@redhat.com>
1511- fixes from Nils for building the MySQL client
1512- change back to requiring %{version} instead of %{version}-%{release}
1513
1514* Sat Jul  1 2000 Nalin Dahyabhai <nalin@redhat.com>
1515- update to 4.0.1pl2
1516- enable MySQL client
1517- move the php.ini file to %{_sysconfdir}
1518
1519* Fri Jun 30 2000 Nils Philippsen <nils@redhat.de>
1520- build_ext defines HAVE_PGSQL so pgsql.so in fact contains symbols
1521- post/un scripts tweak php.ini correctly now
1522
1523* Thu Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com>
1524- update to 4.0.1
1525- refresh manual
1526
1527* Tue Jun 26 2000 Nalin Dahyabhai <nalin@redhat.com>
1528- rebuild against new krb5 package
1529
1530* Mon Jun 19 2000 Nalin Dahyabhai <nalin@redhat.com>
1531- rebuild against new db3 package
1532
1533* Sat Jun 17 2000 Nalin Dahyabhai <nalin@redhat.com>
1534- Fix syntax error in post and preun scripts.
1535- Disable IMAP, LDAP, PgSql in the standalone version because it picks up
1536  the extensions.
1537
1538* Fri Jun 16 2000 Nalin Dahyabhai <nalin@redhat.com>
1539- Unexclude the Sparc arch.
1540- Exclude the ia64 arch until we get a working Postgres build.
1541- Stop stripping extensions as aggressively.
1542- Start linking the IMAP module to libpam again.
1543- Work around extension loading problems.
1544- Reintroduce file-editing post and preun scripts for the mod_php extensions
1545  until we come up with a better way to do it.
1546
1547* Mon Jun  5 2000 Nalin Dahyabhai <nalin@redhat.com>
1548- ExcludeArch: sparc for now
1549
1550* Sun Jun  4 2000 Nalin Dahyabhai <nalin@redhat.com>
1551- add Obsoletes: phpfi, because their content handler names are the same
1552- add standalone binary, rename module packages to mod_php
1553- FHS fixes
1554
1555* Tue May 23 2000 Nalin Dahyabhai <nalin@redhat.com>
1556- change license from "GPL" to "PHP"
1557- add URL: tag
1558- disable mysql support by default (license not specified)
1559
1560* Mon May 22 2000 Nalin Dahyabhai <nalin@redhat.com>
1561- update to PHP 4.0.0
1562- nuke the -mysql subpackage (php comes with a bundled mysql client lib now)
1563
1564* Tue May 16 2000 Nalin Dahyabhai <nalin@redhat.com>
1565- link IMAP module against GSS-API and PAM to get dependencies right
1566- change most of the Requires to Prereqs, because the post edits config files
1567- move the PHP *Apache* module back to the right directory
1568- fix broken postun trigger that broke the post
1569- change most of the postuns to preuns in case php gets removed before subpkgs
1570
1571* Thu May 11 2000 Trond Eivind Glomsr <teg@redhat.com>
1572- rebuilt against new postgres libraries
1573
1574* Tue May 09 2000 Preston Brown <pbrown@redhat.com>
1575- php3 .so modules moved to /usr/lib/php3 from /usr/lib/apache (was incorrect)
1576
1577* Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com>
1578- make subpackages require php = %{version} (bug #10671)
1579
1580* Thu Apr 06 2000 Nalin Dahyabhai <nalin@redhat.com>
1581- update to 3.0.16
1582
1583* Fri Mar 03 2000 Cristian Gafton <gafton@redhat.com>
1584- fixed the post script to work when upgrading a package
1585- add triggere to fix the older packages
1586
1587* Tue Feb 29 2000 Nalin Dahyabhai <nalin@redhat.com>
1588- update to 3.0.15
1589- add build-time dependency for openldap-devel
1590- enable db,ftp,shm,sem support to fix bug #9648
1591
1592* Fri Feb 25 2000 Nalin Dahyabhai <nalin@redhat.com>
1593- add dependency for imap subpackage
1594- rebuild against Apache 1.3.12
1595
1596* Thu Feb 24 2000 Preston Brown <pbrown@redhat.com>
1597- don't include old, outdated manual.  package one from the php distribution.
1598
1599* Tue Feb 01 2000 Cristian Gafton <gafton@redhat.com>
1600- rebuild to fix dependency problem
1601
1602* Fri Jan 14 2000 Preston Brown <pbrown@redhat.com>
1603- added commented out mysql module, thanks to Jason Duerstock
1604  (jason@sdi.cluephone.com). Uncomment to build if you have mysql installed.
1605
1606* Thu Jan 13 2000 Preston Brown <pbrown@redhat.com>
1607- rely on imap-devel, don't include imap in src.rpm (#5099).
1608- xml enabled (#5393)
1609
1610* Tue Nov 02 1999 Preston Brown <pborwn@redhat.com>
1611- added post/postun sections to modify httpd.conf (#5259)
1612- removed old obsolete faq and gif (#5260)
1613- updated manual.tar.gz package (#5261)
1614
1615* Thu Oct 07 1999 Matt Wilson <msw@redhat.com>
1616- rebuilt for sparc glibc brokenness
1617
1618* Fri Sep 24 1999 Preston Brown <pbrown@redhat.com>
1619- --with-apxs --> --with-apxs=/usr/sbin/apxs (# 5094)
1620- ldap support (# 5097)
1621
1622* Thu Sep 23 1999 Preston Brown <pbrown@redhat.com>
1623- fix cmdtuples for postgresql, I had it slightly wrong
1624
1625* Tue Aug 31 1999 Bill Nottingham <notting@redhat.com>
1626- subpackages must obsolete old stuff...
1627
1628* Sun Aug 29 1999 Preston Brown <pbrown@redhat.com>
1629- added -DHAVE_PGCMDTUPLES for postgresql module (bug # 4767)
1630
1631* Fri Aug 27 1999 Preston Brown <pbrown@redhat.com>
1632- name change to php to follow real name of package
1633- fix up references to php3 to refer to php
1634- upgrade to 3.0.12
1635- fixed typo in pgsql postun script (bug # 4686)
1636
1637* Mon Jun 14 1999 Preston Brown <pbrown@redhat.com>
1638- upgraded to 3.0.9
1639- fixed postgresql module and made separate package
1640- separated manual into separate documentation package
1641
1642* Mon May 24 1999 Preston Brown <pbrown@redhat.com>
1643- upgraded to 3.0.8, which fixes problems with glibc 2.1.
1644- took some ideas grom Gomez's RPM.
1645
1646* Tue May 04 1999 Preston Brown <pbrown@redhat.com>
1647- hacked in imap support in an ugly way until imap gets an official
1648  shared library implementation
1649
1650* Fri Apr 16 1999 Preston Brown <pbrown@redhat.com>
1651- pick up php3.ini
1652
1653* Wed Mar 24 1999 Preston Brown <pbrown@redhat.com>
1654- build against apache 1.3.6
1655
1656* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
1657- auto rebuild in the new build environment (release 2)
1658
1659* Mon Mar 08 1999 Preston Brown <pbrown@redhat.com>
1660- upgraded to 3.0.7.
1661
1662* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
1663- Injected new description and group.
1664
1665* Sun Feb 07 1999 Preston Brown <pbrown@redhat.com>
1666- upgrade to php 3.0.6, built against apache 1.3.4
1667
1668* Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
1669- rebuild for apache 1.3.3
1670
1671* Thu Oct 08 1998 Preston Brown <pbrown@redhat.com>
1672- updated to 3.0.5, fixes nasty bugs in 3.0.4.
1673
1674* Sun Sep 27 1998 Cristian Gafton <gafton@redhat.com>
1675- updated to 3.0.4 and recompiled for apache 1.3.2
1676
1677* Thu Sep 03 1998 Preston Brown <pbrown@redhat.com>
1678- improvements; builds with apache-devel package installed.
1679
1680* Tue Sep 01 1998 Preston Brown <pbrown@redhat.com>
1681- Made initial cut for PHP3.
Note: See TracBrowser for help on using the repository browser.