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

Revision 5851, 58.0 KB checked in by Takemikaduchi, 12 years ago (diff)

net-snmp-5.7.1

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