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

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