php5-vl.spec 63 KB

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