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

Revision 8332, 64.8 KB checked in by tomop, 10 years ago (diff)

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