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

Revision 8086, 64.0 KB checked in by tomop, 10 years ago (diff)

php-5.5.7-2

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