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

Revision 9778, 70.5 KB checked in by tomop, 9 years ago (diff)

php5-5.6.15-1

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