php71-vl.spec 70 KB

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