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

Revision 11283, 69.4 KB checked in by tomop, 7 years ago (diff)

php72-7.2.0-1

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