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

Revision 7856, 63.2 KB checked in by tomop, 11 years ago (diff)

gd-2.1.0-1 and dependencies.

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