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

Revision 10117, 70.7 KB checked in by tomop, 8 years ago (diff)

php5-5.6.20-1

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