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