php5-vl.spec 72 KB

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