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

Revision 6339, 61.1 KB checked in by tomop, 12 years ago (diff)

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