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

Revision 11320, 69.7 KB checked in by tomop, 6 years ago (diff)

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