source: projects/specs/trunk/p/php71/php71-vl.spec @ 11161

Revision 11161, 69.8 KB checked in by tomop, 7 years ago (diff)

php71-7.1.7-1

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