source: projects/specs/trunk/p/php70/php70-vl.spec @ 9874

Revision 9874, 69.0 KB checked in by tomop, 8 years ago (diff)

php70-7.0.1-1

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