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

Revision 7486, 62.8 KB checked in by daisuke, 11 years ago (diff)

php5:

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