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