php5-vl.spec 63 KB

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