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

Revision 5849, 57.9 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: 2%{_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-2
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-1
845- new upstream release.
846- reverted revision #319823 (bug#60723).
847
848* Thu Jan 12 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.9-1
849- new upstream release.
850
851* Sat Oct 29 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.8-1
852- new upstream release.
853- added a subpackage "php5-fpm".
854
855* Tue Aug 23 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.7-2
856- fixed bug#55439.
857
858* Thu Aug 18 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.7-1
859- new upstream release.
860
861* Mon Jun 13 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.3.6-4
862- rebuild with unixODBC-2.2.14-2
863
864* Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 5.3.6-3
865- rebuilt with postgresql-9.0.3
866
867* Sat Apr  9 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.3.6-2
868- new upstream release
869- dropt apache subpackage on VineSeed (apache1 will be orphaned on Vine 6)
870
871* Mon Mar 28 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.6-1
872- new upstream release.
873- added tags "Vendor:", "Distribution:" and "Packager:".
874
875* Mon Jan 10 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.5-1
876- new upstream release.
877
878* Fri Dec 10 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.4-1
879- new upstream release.
880- added a sub-package "php5-intl".
881
882* Sun Sep  5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.3.3-1
883- new upstream release
884
885* Fri Nov 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.1-1
886- new upstream release.
887
888* Tue Sep  1 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.3.0-2
889- fix incorrect path in {pear,peardev,pecl}5 ([vine-users:079537])
890
891* Thu Jul  2 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.0-1
892- new upstream release.
893- updated patch51.
894- removed /usr/bin/php5-fcgi.
895
896* Sat Jun 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.10-1
897- new upstream release.
898- updated patch51.
899
900* Tue Jun 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 5.2.9-6
901- update php.ini
902  - use UTF-8 for default charset and internal_encoding
903
904* Thu May 21 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.9-5
905- rebuilt with MySQL-shared-5.1.34.
906
907* Sat May 16 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.9-4
908- rebuilt with libc-client-2007e
909- added --with-kerberos option (VineSeed)
910
911* Fri Apr 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 5.2.9-3
912- rebuilt with openldap-2.4.11
913
914* Fri Mar 27 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.9-2
915- rebuilt with net-snmp-5.4.2.1-3 (VineSeed x86_64).
916
917* Thu Mar 19 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.9-1
918- new upstream release.
919- wrote specfile in UTF-8.
920
921* Tue May  6 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.2.6-2
922- move php5-{cgi,fcgi} to %%{_bindir}.
923
924* Tue May  6 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.2.6-1
925- new upstream release.
926- update %%Patch51.
927
928* Sat Apr 26 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.2.5-1
929- add FastCGI support.
930
931* Tue Jan 08 2008 Shu KONNO <owa@bg.wakwak.com> 5.2.5-0vl5
932- rebuilt with postgresql-8.2.6
933
934* Sun Jan 06 2008 Shu KONNO <owa@bg.wakwak.com> 5.2.5-0vl4
935- rebuilt with net-snmp-5.4.1
936
937* Thu Dec 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.2.5-0vl3
938- for VineSeed: rebuilt with MySQL-5.0.27-0vl7
939
940* Thu Dec 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.2.5-0vl2
941- rebuilt with MySQL-5.0.27-0vl6
942
943* Fri Nov 23 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.5-0vl1
944- new upstream release.
945
946* Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.4-0vl3
947- rebuilt with postgresql-devel 8.2.5
948
949* Sat Sep 15 2007 NAKAMURA Kenta <kenta@vinelinux.org> 5.2.4-0vl2
950- replaced BuildRequires: libstdc++3-devel with libstdc++34-devel
951
952* Sun Sep  9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.4-0vl1
953- rebuilt for VineSeed
954
955* Tue Sep  4 2007 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.2.4-0vl0.40
956- new upstream release.
957- update Patch33.
958
959* Thu Jun  7 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.3-0vl2
960- rebuilt for VineSeed
961
962* Tue Jun 05 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.3-0vl1
963- new upstream release.
964- fix install script.
965
966* Sun May 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.2-0vl5
967- rebuilt with new toolchain (for VineSeed)
968
969* Wed May 16 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.2-0vl4
970- remove "Provides: php-devel" from devel subpackage
971
972* Mon May 14 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.2-0vl3
973- fix Source24(php5.conf-apache2)
974
975* Fri May 11 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.2-0vl2
976- add Provides tag to subpackages.
977
978* Tue May 08 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.2-0vl1
979- new upstream release.
980- add 'Provides: php = %%{version}-%%{release}' to main package.
981
982* Sun Mar 25 2007 NAKAMURA Kenta <kenta@vinelinux.org> 5.2.1-0vl3
983- added --with-libdir=%%{_lib} configure option
984
985* Mon Feb 26 2007 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.2.1-0vl2
986- built for VineSeed.
987
988* Fri Feb 16 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.1-0vl1
989- new upstream release.
990- remove unnecessary 'Obsoletes: php-domxml, php-manual'
991
992* Sat Dec 02 2006 Atsushi SHICHI <ats777@gmail.com> 5.2.0-0vl4
993- change session.save_path to /var/php5/session in php.ini-vine <BTS:412>
994- unset http_proxy in %%install
995
996* Tue Nov  7 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.2.0-0vl3
997- new upstream release.
998
999* Sun Oct 29 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.1.6-0vl6
1000- build with MySQL-5.0.27.
1001
1002* Fri Oct 27 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.1.6-0vl5
1003- build with MySQL-5.0.26.
1004- add mysqli module.
1005- modify %%BuildRequires 'imap-devel' to 'uw-imap-devel'.
1006
1007* Sun Oct 22 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1.6-0vl4
1008- fixed %triggerpostun section
1009- added update-alternatives for checking symlink to %post section
1010
1011* Sat Oct 21 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1.6-0vl3
1012- rebuilt for Vine Linux 4.0 <BTS:289>
1013- added Patch1000 for building with uw-imap-2006b
1014
1015* Mon Sep 11 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.6-0vl2
1016- rebuild for VinePlus/4.0
1017- change 'BuildRequires: fileutils' to coreutils
1018- add 'BuildRequires: libtool-ltdl-devel' to main package
1019
1020* Fri Aug 25 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.6-0vl1
1021- new upstream release
1022
1023* Wed Aug 23 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.5-0vl1
1024- new upstream release
1025- fix bug [vine-users:074749]
1026-- move php.gif from apache{,2} subpackage to main package
1027- fix bug [VineLinux:0070], [VineLinux:0106]
1028-- add 'Conflicts: php-devel' to devel subpackage
1029-- remove suffix from {php-config,phpize,phpextdist}
1030-- add alternatives support for {peardev5,pecl5}
1031
1032* Mon Jun 19 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.4-0vl1.4
1033- add 'Requires: %%{name}-pdo' to sqlite subpackage [vine-php:137]
1034
1035* Sun Jun 18 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.4-0vl1.3
1036- enable sqlite extension and add sqlite subpackage [vine-users:074695]
1037
1038* Tue May 30 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.4-0vl1.2
1039- update Source0
1040- change Requires: to PreReq: in apache{,2} subpackages [vine-php:113]
1041- fix %%post apache{,2} script
1042
1043* Tue May 16 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.4-0vl1.1
1044- fix /etc/httpd/conf.d/php5.conf [VinePlus:02967]
1045
1046* Sat May 13 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.4-0vl1
1047- new upstream release
1048- revive apache{,2} subpackage
1049- add 'Source24: php.conf-apache2'
1050- remove php-dbg, mod_php, phpfi, stronghold-php from Obsoletes
1051- fix Requires of main package and dba subpackage
1052- remove 'Conflicts: php-apache' from apache subpackage
1053- remove 'Conflicts: php-apache2' from apache2 subpackage
1054- add %%post apache{,2} script to chown session directory to root:apache
1055- modify %%files section
1056
1057* Sun Apr 30 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.3-0vl0.3
1058- update to 5.1.3RC3
1059- fix %%post script and add %%triggerpostun script
1060
1061* Sat Apr 08 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.3-0vl0.2.3
1062- drop 'Source10: pear.sh'
1063- fix 'Source20: README.vine', 'Source21: php.ini-vine', 'Source23: php.conf'
1064- add alternatives support
1065-- add 'PreReq: alternatives' to main package and pear subpackage
1066-- add 'Conflicts: php < 4.4.2-0vl1.1' to main package
1067-- add 'Conflicts: php-pear < 4.4.2-0vl1.1' to pear subpackage
1068-- add %%post, %%preun scripts
1069
1070* Wed Apr 05 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.3-0vl0.2.2
1071- fix 'Source10: pear.sh'
1072- add --sysconfdir=%%{php_confdir} to configure
1073
1074* Tue Apr 04 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.3-0vl0.2.1
1075- add 'Source10: pear.sh' to replace /usr/bin/{pear,peardev,pecl}
1076- add 'Patch33: php-5.1.3RC2-phpincludedir.patch'
1077- remove 'Conflicts: php, php-*'
1078- add 'export PHP_PEAR_SYSCONF_DIR, PHP_PEAR_CACHE_DIR, PHP_PEAR_PHP_BIN'
1079  to %%Install section
1080  -- move pear.conf to %%{_sysconfdir}/%%{_name}
1081  -- add '%%dir %%{pear_cachedir}' to '%%files pear'
1082  -- fix php_bin in pear.conf
1083- rename phpextdist to phpextdist5
1084
1085* Fri Mar 31 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.3-0vl0.2
1086- update to 5.1.3RC2
1087
1088* Mon Mar 20 2006 Atsushi SHICHI <ats7@a.email.ne.jp> 5.1.3-0vl0.1
1089- new upstream release
1090- add Source23: php5.conf
1091- drop Patch21: php-4.3.1-odbc.patch
1092- drop Patch30: php-4.3.6-dlopen.patch
1093- drop Patch32: php-4.3.11-mbfilter.patch
1094- apply strict session patch, thanks to Yasuo Ohgaki
1095  -- add Patch51: php-5.1.2-session_strict_mode.patch
1096  -- add session.use_strict_mode = 1 to php.ini-vine
1097- add BuildRequires: autoconf, automake, bison, flex, gcc-c++,
1098  readline-devel, sqlite3-devel
1099- drop BuildRequires: automake15, expat-devel, unixODBC-devel
1100- build with Apache2. Apache1.3 is still able to used by rebuilding
1101  with --with apache1
1102  -- add Requires: apache2
1103  -- merge apache{,2} subpackage into main package
1104  -- add Obsoletes: php5-apache, php5-apache2
1105- add Requires: autoconf, automake to devel subpackage
1106- add dba, pdo subpackage
1107- add Requires: php5-pdo to {mysql,odbc,pgsql} subpackage
1108- drop BuildRequires: expat-devel from xmlrpc subpackage
1109- add --program-suffix=5 to configure
1110- add missing files to %%files
1111
1112* Thu Jan 12 2006 Atsushi SHICHI <ats7@a.email.ne.jp> 5.1.2-0vl1
1113- new upstream release
1114- remove workaround for install-pear-nozlib.phar bug (PHP Bug #35780, PEAR Bug #6154)
1115  -- remove Source2: relocate.php
1116  -- remove Source10: pear.sh
1117  -- remove Source11: pecl.sh
1118  -- remove Source12: peardev.sh
1119- remove old XSLT extension stuff
1120  -- remove BuildRequires: libsablotron0-devel
1121  -- remove --enable-xslt, --with-xslt-sablot configure option
1122
1123* Thu Dec 07 2005 Atsushi SHICHI <ats7@a.email.ne.jp> 5.1.1-0vl2
1124- add %%{with_test}
1125- drop Patch5: php-4.3.3-install.patch
1126- drop Patch6: php-5.1.0-tests.patch
1127- drop Patch7: php-5.1.0-libtool15.patch
1128- drop Patch8: php-5.0.0RC3-miscfix.patch
1129- drop Patch10: php-5.1.0-sqlite_m4.patch
1130- change BuildPrereq tag to BuildRequires tag
1131- add BuildRequires: rpm-devel, popt, bzip2-devel, zlib-devel, glibc-devel
1132  to snmp subpackage
1133- comment out CFLAGS, LIBS, IMAP_SHARED_LIBADD environment variable settings
1134- remove support for FreeType 1.x
1135  -- remove BuildRequires: freetype, freetype-devel from main package
1136  -- remove --enable-gd-native-ttf, --with-ttf configure option
1137- drop --enable-ucd-snmp-hack configure option
1138- add workaround for install-pear-nozlib.phar bug
1139  -- add Source2: relocate.php
1140  -- add Source10: pear.sh
1141  -- add Source11: pecl.sh
1142  -- add Source12: peardev.sh
1143  -- remove include_path entry from vine.ini
1144- include phpextdist in devel subpackage again
1145- move pear.conf from main package to pear subpackage
1146- include pecl, peardev in pear subpackage
1147- move php.gif from main package to apache/apache2 subpackage
1148  -- fix %%{contentdir}
1149- fix typo in %%changelog
1150
1151* Tue Dec 06 2005 HOTTA Michihide <hotta@net-newbie.com> 5.1.1-0vl1
1152- new upstream release
1153- drop Patch #4 (php-4.2.2-cxx.patch)
1154- change Patch #6 (php-4.3.1-tests.patch) to php-5.1.0-tests.patch
1155- change Patch #7 (php-4.3.2-libtool15.patch) to php-5.1.0-libtool15.patch
1156- change Patch #10 (php-5.0.5-sqlite_m4.patch) to php-5.1.0-sqlite_m4.patch
1157- drop Patch #101 (php-5.0.5-mbfilter.patch)
1158- append include_path entry to vine.ini
1159
1160* Sat Oct 15 2005 HOTTA Michihide <hotta@net-newbie.com> 5.0.5-0vl5
1161- rebuild for VineSeedPlus
1162
1163* Thu Oct 06 2005 Atsushi SHICHI <ats7@a.email.ne.jp> 5.0.5-0vl4
1164- modify Source21: vine.ini
1165
1166* Tue Oct 06 2005 HOTTA Michihide <hotta@net-newbie.com> 5.0.5-0vl3
1167- drop Patch3: php-5.0.5-lib64.patch
1168- drop Patch11: php-5.0.5-phpize_in.patch [VinePlus:02737]
1169- add --libdir=%%{_libdir}/php option to configure [VinePlus:02737]
1170
1171* Tue Oct 04 2005 HOTTA Michihide <hotta@net-newbie.com> 5.0.5-0vl2
1172- add mbfilter.c.patch
1173
1174* Sun Sep 18 2005 Atsushi SHICHI <ats7@a.email.ne.jp> 5.0.5-0vl1
1175- upstream release
1176- add Source21: vine.ini (additional settings to php.ini-recommened)
1177- add Source22: ltmain.sh.vine
1178- drop Patch2: php-5.0.3-config.patch
1179- fix Patch3: php-5.0.5-lib64.patch
1180- drop Patch9: php-5.0.0RC3-oniguruma.patch
1181- fix Patch10: php-5.0.5-sqlite_m4.patch
1182- add Patch11: php-5.0.5-phpize_in.patch
1183- drop Patch246: php-4.3.6-fixattr.patch
1184- add %%define __libtoolize true
1185- drop %%{_bindir}phpextdist
1186
1187* Fri Jun 17 2005 IKEDA Katsumi <ikeda@webmasters.gr.jp> 5.0.3-0vl3.2
1188- added a security patch for CAN-2005-0524 and CAN-2005-0525 from SuSE.
1189
1190* Thu May 16 2005 HOTTA Michihide <hotta@net-newbie.com> 5.0.3-0vl3.1
1191- for VinePlus/3.0
1192- add README.vine again
1193- add php-4.3.11-mbfilter.patch for workaround against degrade at 5.0.3
1194- remove veserion specification on BuildPrereq: curl-devel
1195
1196* Fri Feb 25 2005 HOTTA Michihide <hotta@net-newbie.com> 5.0.3-0vl3
1197- drop BuildPrereq: apache2-apr-devel
1198- drop php-4.2.1-ldap-TSRM.patch
1199
1200* Sat Dec 25 2004 HOTTA Michihide <hotta@net-newbie.com> 5.0.3-0vl1
1201- upstream release
1202- drop php-4.3.2-db4.patch
1203- add BuildPrereq: apache2-apr-devel
1204
1205* Mon Oct 18 2004 HOTTA Michihide <hotta@net-newbie.com> 5.0.2-0vl1
1206- upstream release
1207- regenerate php5-imap
1208
1209* Fri Aug 13 2004 HOTTA Michihide <hotta@net-newbie.com> 5.0.1-0vl1
1210- upstream release
1211
1212* Tue Aug 03 2004 HOTTA Michihide <hotta@net-newbie.com> 5.0.0-0vl1
1213- upstream release : many thanks to YOSHIMURA Keitaro <ramsy AT ramix DOT jp>
1214- remove php4_{namazu,kakasi,chasen} (not supported)
1215- drop some patches for 4.3.x
1216- Build fix for oniguruma(re_registers dups)
1217- remove domxml (updated to libxml2)
1218- add Conflicts: php, php-*
1219- add php-5.0.0-authuser.patch (BUG#29129)
1220
1221* Thu Jul 15 2004 HOTTA Michihide <hotta@net-newbie.com> 4.3.8-0vl1
1222- upstream release
1223- add BuildPrereq: freetype
1224
1225* Sun Jul 11 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 4.3.7-0vl5
1226- remove explicit buildprereq to build-essential
1227- build apache2 module
1228  split apache1/2 module to php-apache/php-apache2
1229  thanks to jax <jax AT morejams DOT no-ip DOT com>
1230- add Obsoletes: php < %%{version}-%%{release} in php-apache sub-package
1231  for upgrade.
1232
1233* Wed Jul 07 2004 HOTTA Michihide <hotta@net-newbie.com> 4.3.7-0vl4
1234- add Obsoletes: php-imap, php-manual
1235
1236* Sat Jun 26 2004 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 4.3.7-0vl3
1237- enable mcrypt module.
1238
1239* Mon Jun 07 2004 HOTTA Michihide <hotta@net-newbie.com> 4.3.7-0vl2
1240- fix bug #28385 <http://bugs.php.net/bug.php?id=28385>
1241
1242* Fri Jun 04 2004 HOTTA Michihide <hotta@net-newbie.com> 4.3.7-0vl1
1243- upstream release
1244
1245* Wed May 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.6-0vl2
1246- rebuild with namazu-2.0.13
1247
1248* Fri Apr 30 2004 HOTTA Michihide <hotta@net-newbie.com> 4.3.6-0vl1
1249- upstream release
1250
1251* Mon Mar 15 2004 Tomoya TAKA <taka@vinelinux.org> 4.3.4-0vl2
1252- fix location of session save path, %%{_localstatedir} is defined as
1253  /var/lib in Vine's rpm
1254
1255* Sat Feb 21 2004 HOTTA Michihide <hotta@net-newbie.com> 4.3.4-0vl1
1256- upstream release
1257- sync to fedora(php-4.3.4-7)
1258- drop BuildRequires : aspell
1259- add workaround for inconsistent dependency of php-devel
1260- drop --enable-versioning to prevent ext modules loading error
1261
1262* Thu Feb 05 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.2-0vl4
1263- rebuild with new toolchains (and resolved dependancy about libxslt)
1264- added patch7 to build with libtool-1.5
1265- added patch100 to build newest freetype2 library
1266- force to use automake-1.5
1267- added BuildPrereq: curl-devel, automake15
1268- fixed BuildRequires of php-snmp: net-snmp-devel
1269
1270* Tue Jul 08 2003 HOTTA Michihide <hotta@net-newbie.com> 4.3.2-0vl3
1271- add README.vine
1272
1273* Tue Jul 08 2003 HOTTA Michihide <hotta@net-newbie.com> 4.3.2-0vl2
1274- install sapi/cgi/php as php-cgi, sapi/cli/php as php
1275
1276* Tue Jul 08 2003 HOTTA Michihide <hotta@net-newbie.com> 4.3.2-0vl1
1277- upstream release (sync to rawhide)
1278- add printf patch, PEAR_Registry patch etc.
1279- drop package php-manual
1280
1281* Fri Jan 24 2003 HOTTA Michihide <hotta@net-newbie.com> 4.2.3-0vl3
1282- add zend_highlight.c-patch
1283- add -DHAVE_PQESCAPE to build_ext pgsql
1284
1285* Wed Jan 22 2003 MACHINO Satoshi <machino@vinelinux.org> 4.2.3-0vl2
1286- rebuild against gmp-4.1 and sablotron-0.97
1287
1288* Mon Sep 9 2002 HOTTA Michihide <hotta@net-newbie.com> 4.2.3-0vl1
1289- for VineSeedPlus
1290  -- Updated to 4.2.3
1291  -- added php-4.2.3-mbstr-20020908-2.patch
1292
1293* Sun Aug 18 2002 Rui HIROKAWA <hirokawa@php.gr.jp> 4.2.2-0vl3
1294- applied php-4.2.2-mb_output_handler.patch to enable output encoding
1295for text/hdml.     
1296- applied php-4.2.2-mb-decode.patch to fix decode problem of GET parameters.
1297- Patch to fix a problem where, given multiple cookies to set, only the last one would be made (#67853)
1298
1299* Tue Jul 24 2002 HOTTA Michihide <hotta@net-newbie.com> 4.2.2-0vl2
1300- for VineSeedPlus
1301  -- applied php-4.2.2-multibyte.patch.gz which obsolets 4.2.1's
1302  -- dropped --enable-trans-sid configure option which is no longer meaningful
1303
1304* Tue Jul 23 2002 HOTTA Michihide <hotta@net-newbie.com> 4.2.2-0vl1
1305- for VineSeedPlus
1306  -- Updated to 4.2.2
1307  -- dropped domxml.patch (merged into original)
1308
1309* Fri Jul 05 2002 HOTTA Michihide <hotta@net-newbie.com> 4.2.1-0vl8
1310- for VineSeedPlus
1311  -- added i18n patch by Fujimoto
1312  -- dropped php4_mbregex extention (merged into original)
1313
1314* Tue Jun 04 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl7
1315- added gmp support
1316- for VineSeedPlus
1317
1318* Tue Jun 04 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl6
1319- for VineSeedPlus
1320        -- added xslt support
1321       
1322* Tue Jun 04 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl5
1323- added expat-devel in BuildPreReq
1324
1325* Tue Jun 04 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl4
1326- added mail functions
1327- added postfix in BuildPreReq
1328- updated manual_en(03-Jun-2002)
1329- updated manual_ja(29-May-2002)
1330- for VinePlus
1331        -- dropped xslt support
1332
1333* Thu May 16 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl3
1334- for VineSeed Plus
1335- added xslt support
1336        -- added enable-xslt, with-xslt-sablot, with-dom-xslt
1337        -- added BuildPrereq: libxslt-devel, libsablotron0-devel
1338
1339* Thu May 16 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl2
1340- for VinePlus 2.5
1341- added php.in-dist.patch
1342
1343* Wed May 15 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl1
1344- updated php-4.2.1
1345- updated php_manual_en
1346- dropped reg.patch
1347- modified configured option
1348  -- added --with-dom, --with-bz2, --with-png-dir, --with-expat-dir
1349
1350* Thu May 09 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.0-99vl1
1351- updated php-4.2.1RC1
1352- fixed ereg_replace patch (4.2.1-reg.patch)
1353
1354* Thu May 09 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.0-0vl2
1355- added ereg_replace patch (4.2.0-reg.patch)
1356- updated manual(en, ja)
1357
1358* Thu Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.0-0vl1
1359- updated php-4.2.0
1360
1361* Fri Mar 01 2002 Satoshi MACHINO <machino@vinelinux.org> 4.1.2-0vl1
1362- updated php-4.1.2
1363- updated php4_mbregex-1.3.1
1364- updated php4_namazu-2.1.0
1365- updated php4_kakasi-0.3.0
1366- REMOVED php4_iconv
1367- fixed patch
1368        -- added domxml.patch
1369        -- dropped old patches
1370
1371* Mon Dec  3 2001 Jun Nishii <jun@vinelinux.org>
1372- 4.0.6-5vl3
1373- added --enable-mbstr-enc-trans
1374
1375* Wed Aug 22 2001 Hisao SHIBUYA <shibuya@alpha.or.jp>
1376- 4.0.6-5vl2
1377- fix contentdir
1378
1379* Tue Aug 21 2001 Hisao SHIBUYA <shibuya@alpha.or.jp>
1380- 4.0.6-5vl1
1381- add configure options for Vine
1382- add ldap, mysql and odbc modules.
1383
1384* Fri Aug 10 2001 Tim Powers <timp@redhat.com>
1385- only english in php-manuals, space constraints :P
1386
1387* Thu Aug  9 2001 Nalin Dahyabhai <nalin@redhat.com>
1388- include %{_libdir}/%{name}/build instead of %{_libdir}/%{name}4/build (#51141)
1389
1390* Mon Aug  6 2001 Nalin Dahyabhai <nalin@redhat.com>
1391- add build deps on pam-devel, pspell-devel, gdbm-devel (#49878)
1392- add some conditional logic if %%{oracle} is defined (from Antony Nguyen)
1393
1394* Mon Jul  9 2001 Nalin Dahyabhai <nalin@redhat.com>
1395- don't obsolete subpackages we ended up not merging
1396
1397* Mon Jul  2 2001 Nalin Dahyabhai <nalin@redhat.com>
1398- cleanups
1399- add manuals in multiple languages (using ko instead of kr for Korean)
1400- merge all of the manuals into a single -manual subpackage
1401- use libtool to install binary files which libtool builds
1402- don't strip any binaries; let the buildroot policies take care of it
1403
1404* Thu Jun 28 2001 Nalin Dahyabhai <nalin@redhat.com>
1405- update to 4.0.6 (preliminary)
1406
1407* Mon Jun 25 2001 Nalin Dahyabhai <nalin@redhat.com>
1408- enable ttf in the build because the gd support needs it
1409- add -lfreetype to the LIBS for the same reason
1410
1411* Wed Jun  6 2001 Nalin Dahyabhai <nalin@redhat.com>
1412- rebuild in new environment
1413
1414* Wed May 16 2001 Nalin Dahyabhai <nalin@redhat.com>
1415- actually use two source trees to build things
1416- add %%post and %%postun scriptlets to run ldconfig
1417
1418* Tue May 15 2001 Nalin Dahyabhai <nalin@redhat.com>
1419- quote part of the AC_ADD_LIBRARY macro to make newer autoconf happy
1420
1421* Mon May 14 2001 Nalin Dahyabhai <nalin@redhat.com>
1422- fix error in %%install
1423- depend on the imap-devel which supplies linkage.c
1424- modify trigger to disable php versions less than 4.0.0 instead of 3.0.15
1425- enable DOM support via libxml2 (suggested by Sylvain Berg
1426- build the OpenSSL extension again
1427
1428* Mon May  7 2001 Nalin Dahyabhai <nalin@redhat.com>
1429- enable pspell extensions
1430- update to 4.0.5
1431
1432* Mon Apr 30 2001 Nalin Dahyabhai <nalin@redhat.com>
1433- build the ODBC extension
1434
1435* Mon Apr 30 2001 Bill Nottingham <notting@redhat.com>
1436- build on ia64
1437
1438* Fri Mar  2 2001 Nalin Dahyabhai <nalin@redhat.com>
1439- rebuild in new environment
1440
1441* Fri Feb 23 2001 Nalin Dahyabhai <nalin@redhat.com>
1442- obsolete the old phpfi (PHP 2.x) package
1443
1444* Thu Feb  8 2001 Nalin Dahyabhai <nalin@redhat.com>
1445- add a commented-out curl extension to the config file (part of #24933)
1446- fix the PEAR-installation-directory-not-being-eval'ed problem (#24938)
1447- find the right starting point for multipart form data (#24933)
1448
1449* Tue Jan 30 2001 Nalin Dahyabhai <nalin@redhat.com>
1450- aaarrgh, the fix breaks something else, aaarrgh; revert it (#24933)
1451- terminate variable names at the right place (#24933)
1452
1453* Sat Jan 20 2001 Nalin Dahyabhai <nalin@redhat.com>
1454- tweak the fix some more
1455
1456* Thu Jan 18 2001 Nalin Dahyabhai <nalin@redhat.com>
1457- extract stas's fix for quoting problems from CVS for testing
1458- tweak the fix, ask the PHP folks about the tweak
1459- tweak the fix some more
1460
1461* Wed Jan 17 2001 Nalin Dahyabhai <nalin@redhat.com>
1462- merge mod_php into the main php package (#22906)
1463
1464* Fri Dec 29 2000 Nalin Dahyabhai <nalin@redhat.com>
1465- try to fix a quoting problem
1466
1467* Wed Dec 20 2000 Nalin Dahyabhai <nalin@redhat.com>
1468- update to 4.0.4 to get a raft of bug fixes
1469- enable sockets
1470- enable wddx
1471
1472* Fri Nov  3 2000 Nalin Dahyabhai <nalin@redhat.com>
1473- rebuild in updated environment
1474
1475* Thu Nov  2 2000 Nalin Dahyabhai <nalin@redhat.com>
1476- add more commented-out modules to the default config file (#19276)
1477
1478* Wed Nov  1 2000 Nalin Dahyabhai <nalin@redhat.com>
1479- fix not-using-gd problem (#20137)
1480
1481* Tue Oct 17 2000 Nalin Dahyabhai <nalin@redhat.com>
1482- update to 4.0.3pl1 to get some bug fixes
1483
1484* Sat Oct 14 2000 Nalin Dahyabhai <nalin@redhat.com>
1485- build for errata
1486
1487* Wed Oct 11 2000 Nalin Dahyabhai <nalin@redhat.com>
1488- update to 4.0.3 to get security fixes integrated
1489- patch around problems configuring without Oracle support
1490- add TSRM to include path when building individual modules
1491
1492* Fri Sep  8 2000 Nalin Dahyabhai <nalin@redhat.com>
1493- rebuild in new environment
1494- enable OpenSSL support
1495
1496* Wed Sep  6 2000 Nalin Dahyabhai <nalin@redhat.com>
1497- update to 4.0.2, and move the peardir settings to configure (#17171)
1498- require %%{version}-%%{release} for subpackages
1499- add db2-devel and db3-devel prereqs (#17168)
1500
1501* Wed Aug 23 2000 Nalin Dahyabhai <nalin@redhat.com>
1502- rebuild in new environment (new imap-devel)
1503
1504* Wed Aug 16 2000 Nalin Dahyabhai <nalin@redhat.com>
1505- fix summary and descriptions to match the specspo package
1506
1507* Wed Aug  9 2000 Nalin Dahyabhai <nalin@redhat.com>
1508- hard-code the path to apxs in build_ext() (#15799)
1509
1510* Tue Aug  1 2000 Nalin Dahyabhai <nalin@redhat.com>
1511- add "." to the include path again, which is the default
1512
1513* Wed Jul 19 2000 Nalin Dahyabhai <nalin@redhat.com>
1514- enable PEAR and add it to the include path
1515- add the beginnings of a -devel subpackage
1516
1517* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
1518- automatic rebuild
1519
1520* Fri Jul  7 2000 Nalin Dahyabhai <nalin@redhat.com>
1521- tweaks to post and postun from Bill Peck
1522
1523* Thu Jul  6 2000 Nalin Dahyabhai <nalin@redhat.com>
1524- fixes from Nils for building the MySQL client
1525- change back to requiring %{version} instead of %{version}-%{release}
1526
1527* Sat Jul  1 2000 Nalin Dahyabhai <nalin@redhat.com>
1528- update to 4.0.1pl2
1529- enable MySQL client
1530- move the php.ini file to %{_sysconfdir}
1531
1532* Fri Jun 30 2000 Nils Philippsen <nils@redhat.de>
1533- build_ext defines HAVE_PGSQL so pgsql.so in fact contains symbols
1534- post/un scripts tweak php.ini correctly now
1535
1536* Thu Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com>
1537- update to 4.0.1
1538- refresh manual
1539
1540* Tue Jun 26 2000 Nalin Dahyabhai <nalin@redhat.com>
1541- rebuild against new krb5 package
1542
1543* Mon Jun 19 2000 Nalin Dahyabhai <nalin@redhat.com>
1544- rebuild against new db3 package
1545
1546* Sat Jun 17 2000 Nalin Dahyabhai <nalin@redhat.com>
1547- Fix syntax error in post and preun scripts.
1548- Disable IMAP, LDAP, PgSql in the standalone version because it picks up
1549  the extensions.
1550
1551* Fri Jun 16 2000 Nalin Dahyabhai <nalin@redhat.com>
1552- Unexclude the Sparc arch.
1553- Exclude the ia64 arch until we get a working Postgres build.
1554- Stop stripping extensions as aggressively.
1555- Start linking the IMAP module to libpam again.
1556- Work around extension loading problems.
1557- Reintroduce file-editing post and preun scripts for the mod_php extensions
1558  until we come up with a better way to do it.
1559
1560* Mon Jun  5 2000 Nalin Dahyabhai <nalin@redhat.com>
1561- ExcludeArch: sparc for now
1562
1563* Sun Jun  4 2000 Nalin Dahyabhai <nalin@redhat.com>
1564- add Obsoletes: phpfi, because their content handler names are the same
1565- add standalone binary, rename module packages to mod_php
1566- FHS fixes
1567
1568* Tue May 23 2000 Nalin Dahyabhai <nalin@redhat.com>
1569- change license from "GPL" to "PHP"
1570- add URL: tag
1571- disable mysql support by default (license not specified)
1572
1573* Mon May 22 2000 Nalin Dahyabhai <nalin@redhat.com>
1574- update to PHP 4.0.0
1575- nuke the -mysql subpackage (php comes with a bundled mysql client lib now)
1576
1577* Tue May 16 2000 Nalin Dahyabhai <nalin@redhat.com>
1578- link IMAP module against GSS-API and PAM to get dependencies right
1579- change most of the Requires to Prereqs, because the post edits config files
1580- move the PHP *Apache* module back to the right directory
1581- fix broken postun trigger that broke the post
1582- change most of the postuns to preuns in case php gets removed before subpkgs
1583
1584* Thu May 11 2000 Trond Eivind Glomsr <teg@redhat.com>
1585- rebuilt against new postgres libraries
1586
1587* Tue May 09 2000 Preston Brown <pbrown@redhat.com>
1588- php3 .so modules moved to /usr/lib/php3 from /usr/lib/apache (was incorrect)
1589
1590* Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com>
1591- make subpackages require php = %{version} (bug #10671)
1592
1593* Thu Apr 06 2000 Nalin Dahyabhai <nalin@redhat.com>
1594- update to 3.0.16
1595
1596* Fri Mar 03 2000 Cristian Gafton <gafton@redhat.com>
1597- fixed the post script to work when upgrading a package
1598- add triggere to fix the older packages
1599
1600* Tue Feb 29 2000 Nalin Dahyabhai <nalin@redhat.com>
1601- update to 3.0.15
1602- add build-time dependency for openldap-devel
1603- enable db,ftp,shm,sem support to fix bug #9648
1604
1605* Fri Feb 25 2000 Nalin Dahyabhai <nalin@redhat.com>
1606- add dependency for imap subpackage
1607- rebuild against Apache 1.3.12
1608
1609* Thu Feb 24 2000 Preston Brown <pbrown@redhat.com>
1610- don't include old, outdated manual.  package one from the php distribution.
1611
1612* Tue Feb 01 2000 Cristian Gafton <gafton@redhat.com>
1613- rebuild to fix dependency problem
1614
1615* Fri Jan 14 2000 Preston Brown <pbrown@redhat.com>
1616- added commented out mysql module, thanks to Jason Duerstock
1617  (jason@sdi.cluephone.com). Uncomment to build if you have mysql installed.
1618
1619* Thu Jan 13 2000 Preston Brown <pbrown@redhat.com>
1620- rely on imap-devel, don't include imap in src.rpm (#5099).
1621- xml enabled (#5393)
1622
1623* Tue Nov 02 1999 Preston Brown <pborwn@redhat.com>
1624- added post/postun sections to modify httpd.conf (#5259)
1625- removed old obsolete faq and gif (#5260)
1626- updated manual.tar.gz package (#5261)
1627
1628* Thu Oct 07 1999 Matt Wilson <msw@redhat.com>
1629- rebuilt for sparc glibc brokenness
1630
1631* Fri Sep 24 1999 Preston Brown <pbrown@redhat.com>
1632- --with-apxs --> --with-apxs=/usr/sbin/apxs (# 5094)
1633- ldap support (# 5097)
1634
1635* Thu Sep 23 1999 Preston Brown <pbrown@redhat.com>
1636- fix cmdtuples for postgresql, I had it slightly wrong
1637
1638* Tue Aug 31 1999 Bill Nottingham <notting@redhat.com>
1639- subpackages must obsolete old stuff...
1640
1641* Sun Aug 29 1999 Preston Brown <pbrown@redhat.com>
1642- added -DHAVE_PGCMDTUPLES for postgresql module (bug # 4767)
1643
1644* Fri Aug 27 1999 Preston Brown <pbrown@redhat.com>
1645- name change to php to follow real name of package
1646- fix up references to php3 to refer to php
1647- upgrade to 3.0.12
1648- fixed typo in pgsql postun script (bug # 4686)
1649
1650* Mon Jun 14 1999 Preston Brown <pbrown@redhat.com>
1651- upgraded to 3.0.9
1652- fixed postgresql module and made separate package
1653- separated manual into separate documentation package
1654
1655* Mon May 24 1999 Preston Brown <pbrown@redhat.com>
1656- upgraded to 3.0.8, which fixes problems with glibc 2.1.
1657- took some ideas grom Gomez's RPM.
1658
1659* Tue May 04 1999 Preston Brown <pbrown@redhat.com>
1660- hacked in imap support in an ugly way until imap gets an official
1661  shared library implementation
1662
1663* Fri Apr 16 1999 Preston Brown <pbrown@redhat.com>
1664- pick up php3.ini
1665
1666* Wed Mar 24 1999 Preston Brown <pbrown@redhat.com>
1667- build against apache 1.3.6
1668
1669* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
1670- auto rebuild in the new build environment (release 2)
1671
1672* Mon Mar 08 1999 Preston Brown <pbrown@redhat.com>
1673- upgraded to 3.0.7.
1674
1675* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
1676- Injected new description and group.
1677
1678* Sun Feb 07 1999 Preston Brown <pbrown@redhat.com>
1679- upgrade to php 3.0.6, built against apache 1.3.4
1680
1681* Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
1682- rebuild for apache 1.3.3
1683
1684* Thu Oct 08 1998 Preston Brown <pbrown@redhat.com>
1685- updated to 3.0.5, fixes nasty bugs in 3.0.4.
1686
1687* Sun Sep 27 1998 Cristian Gafton <gafton@redhat.com>
1688- updated to 3.0.4 and recompiled for apache 1.3.2
1689
1690* Thu Sep 03 1998 Preston Brown <pbrown@redhat.com>
1691- improvements; builds with apache-devel package installed.
1692
1693* Tue Sep 01 1998 Preston Brown <pbrown@redhat.com>
1694- Made initial cut for PHP3.
Note: See TracBrowser for help on using the repository browser.