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

Revision 7264, 62.4 KB checked in by tomop, 11 years ago (diff)

php5-5.3.20-1

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