source: projects/specs/branches/6/p/php5/php5-vl.spec @ 10664

Revision 10664, 67.8 KB checked in by tomop, 8 years ago (diff)

php5-5.5.38-1

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