php5-vl.spec 63 KB

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