source: projects/specs/branches/6/p/php5/php5-vl.spec @ 6022

Revision 6022, 60.2 KB checked in by tomop, 12 years ago (diff)

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