php5-vl.spec 64 KB

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