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

Revision 7917, 63.5 KB checked in by tomop, 11 years ago (diff)

php5-5.5.5-1

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