source: projects/specs/trunk/p/php72/php72-vl.spec @ 11569

Revision 11569, 70.0 KB checked in by tomop, 6 years ago (diff)

php72-7.2.3-1

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