php80-vl.spec 74 KB

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