php5-vl.spec 62 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834
  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.19
  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-gd=%{_prefix} --with-jpeg-dir=%{_prefix} --with-png-dir=%{_prefix} --with-freetype-dir=%{_prefix} \
  442. --with-gettext \
  443. --with-gmp \
  444. --with-imap=shared --with-imap-ssl \
  445. %if %{?_dist_release} != "vl4"
  446. --with-kerberos \
  447. %endif
  448. --with-ldap=shared \
  449. --with-mcrypt=shared,%{_prefix} \
  450. --with-mysql=shared,mysqlnd --with-mysqli=shared,mysqlnd --with-pdo-mysql=shared,mysqlnd \
  451. --with-openssl \
  452. --with-pgsql=shared --with-pdo-pgsql=shared,%{_prefix} \
  453. --with-pic \
  454. --with-snmp=shared,%{_prefix} \
  455. --with-sqlite=shared --enable-sqlite-utf8 --with-pdo-sqlite=shared,%{_prefix} \
  456. --with-unixODBC=shared,%{_prefix} --with-pdo-odbc=shared,unixODBC,%{_prefix} \
  457. --with-xmlrpc=shared \
  458. --with-xsl \
  459. --with-zlib \
  460. %{?_with_pear:--with-pear=%{pear_rootdir}}%{!?_with_pear:--without-pear} \
  461. $*
  462. if test $? != 0; then
  463. tail -500 config.log
  464. : configure failed
  465. exit 1
  466. fi
  467. make %{?_smp_mflags}
  468. }
  469. #----------------------------------------------------------------------
  470. # Build /usr/bin/php{,-cgi}, and all the shared extensions
  471. pushd build-cgi
  472. build \
  473. --with-readline
  474. popd
  475. #----------------------------------------------------------------------
  476. # Build /usr/sbin/php-fpm
  477. pushd build-fpm
  478. build \
  479. --enable-fpm
  480. popd
  481. sed -e 's/@WWWUSER@/%{fpm_user}/' -e 's/@WWWGROUP@/%{fpm_group}/' < %{SOURCE27} > default-pool.conf
  482. #----------------------------------------------------------------------
  483. # Build Apache1 module
  484. %if %{?_dist_release} == "vl5"
  485. pushd build-apache
  486. build \
  487. --with-apxs=%{_sbindir}/apxs
  488. popd
  489. %endif
  490. #----------------------------------------------------------------------
  491. # Build Apache2 module
  492. %if %{with apache2}
  493. pushd build-apache2
  494. build \
  495. --with-apxs2=%{_bindir}/apxs
  496. popd
  497. %endif
  498. #======================================================================
  499. %install
  500. [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
  501. #export PHP_PEAR_SYSCONF_DIR=%{php_confdir}
  502. #export PHP_PEAR_TEMP_DIR=%{pear_cachedir}
  503. #export PHP_PEAR_CACHE_DIR=%{buildroot}%{pear_cachedir}
  504. #export PHP_PEAR_DOWNLOAD_DIR=%{pear_cachedir}
  505. #export PHP_PEAR_PHP_BIN=%{_bindir}/%{_name}
  506. export PHP_PEAR_SYSCONF_DIR=%{php_confdir}
  507. export PHP_PEAR_TEMP_DIR=%{buildroot}%{pear_cachedir}
  508. export PHP_PEAR_CACHE_DIR=%{buildroot}%{pear_cachedir}
  509. export PHP_PEAR_DOWNLOAD_DIR=%{buildroot}%{pear_cachedir}
  510. export PHP_PEAR_PHP_BIN=%{buildroot}%{_bindir}/%{_name}
  511. unset http_proxy
  512. #----------------------------------------------------------------------
  513. pushd build-cgi
  514. # Install everything from the CGI SAPI build
  515. make install INSTALL_ROOT=%{buildroot}
  516. #cp %{buildroot}%{_bindir}/%{_name}{,-cgi}
  517. # Install the CLI SAPI as /usr/bin/%{_name}
  518. #make install-cli INSTALL_ROOT=%{buildroot}
  519. popd
  520. # Install the default configuration file
  521. %{__install} -m 755 -d %{buildroot}%{php_confdir}
  522. %{__install} -m 644 php.ini-production %{buildroot}%{php_confdir}/php.ini
  523. # Append php.ini-vine
  524. cat %{SOURCE21} >> %{buildroot}%{php_confdir}/php.ini
  525. # Use correct libdir
  526. sed -i -e 's|%{_prefix}/lib|%{_libdir}|' %{buildroot}%{php_confdir}/php.ini
  527. # Remove suffix
  528. ln -sf php-config%{majorver} %{buildroot}%{_bindir}/php-config
  529. ln -sf phpize%{majorver} %{buildroot}%{_bindir}/phpize
  530. %{__install} -m 755 scripts/dev/phpextdist %{buildroot}%{_bindir}
  531. cp %{buildroot}%{_mandir}/man1/php-config{%{majorver},}.1
  532. cp %{buildroot}%{_mandir}/man1/phpize{%{majorver},}.1
  533. # fix path in phar
  534. perl -pi -e 's|^#!/.+/build-cgi/sapi/cli/php$|#!/usr/bin/%{_name}|' %{buildroot}%{_bindir}/phar.phar
  535. %if %{with_pear}
  536. # http://pear.php.net/bugs/bug.php?id=6154
  537. perl -pi -e 's#s:([0-9]+):(.)(%{buildroot})+#"s:".($1-length($3)).":$2"#eg;' %{buildroot}%{php_confdir}/pear.conf
  538. for cmd in pear peardev pecl; do
  539. cp %{buildroot}%{_bindir}/${cmd}{,%{majorver}}
  540. done
  541. %{__install} -m 755 -d %{buildroot}%{pear_cachedir}
  542. # install rpmmacro file for pear
  543. mkdir -p %{buildroot}%{_sysconfdir}/rpm
  544. install -m 644 -c %{SOURCE13} \
  545. %{buildroot}%{_sysconfdir}/rpm/macros.pear
  546. %endif
  547. # Install cgi/fcgi binaries
  548. mv %{buildroot}%{_bindir}/php-cgi%{majorver} %{buildroot}%{_bindir}/%{_name}-cgi
  549. # Install fpm binaries
  550. %{__install} -d %{buildroot}%{_sbindir}
  551. %{__install} -d %{buildroot}%{_initdir}
  552. %{__install} -m 755 -d %{buildroot}%{php_confdir}/fpm.d
  553. %{__install} -d %{buildroot}%{_mandir}/man8
  554. %{__install} -d %{buildroot}%{_sysconfdir}/logrotate.d
  555. %{__install} -m 755 build-fpm/sapi/fpm/php-fpm %{buildroot}%{_sbindir}/%{_name}-fpm
  556. %{__install} -m 755 %{SOURCE25} %{buildroot}%{_initdir}/php-fpm
  557. %{__install} -m 644 build-fpm/sapi/fpm/php-fpm.8 %{buildroot}%{_mandir}/man8/
  558. %{__install} -m 644 %{SOURCE26} %{buildroot}%{php_confdir}/
  559. %{__install} -m 644 default-pool.conf %{buildroot}%{php_confdir}/fpm.d/default-pool.conf
  560. %{__install} -m 644 %{SOURCE28} %{buildroot}%{_sysconfdir}/logrotate.d/php-fpm
  561. # Install the Apache1 module, config fragment
  562. %if %{?_dist_release} == "vl5"
  563. %{__install} -m 755 -d %{buildroot}%{apache1_moduledir}
  564. %{__install} -m 755 build-apache/libs/lib%{_name}.so %{buildroot}%{apache1_moduledir}
  565. %{__install} -m 755 -d %{buildroot}%{apache1_cgidir}
  566. %{__install} -m 755 -d %{buildroot}%{apache1_fcgidir}
  567. ln -sf %{_bindir}/%{_name}-cgi %{buildroot}%{apache1_cgidir}/%{_name}-cgi
  568. ln -sf %{_bindir}/%{_name}-cgi %{buildroot}%{apache1_fcgidir}/%{_name}-fcgi
  569. %{__install} -m 755 -d %{buildroot}%{apache1_confdir}
  570. %{__install} -m 644 %{SOURCE23} %{buildroot}%{apache1_confdir}/%{_name}.conf
  571. %endif
  572. # Install the Apache2 module, CGI SAPI, config fragment
  573. %if %{with apache2}
  574. %{__install} -m 755 -d %{buildroot}%{apache2_moduledir}
  575. %{__install} -m 755 build-apache2/libs/lib%{_name}.so %{buildroot}%{apache2_moduledir}
  576. %{__install} -m 755 -d %{buildroot}%{apache2_cgidir}
  577. %{__install} -m 755 -d %{buildroot}%{apache2_fcgidir}
  578. ln -sf %{_bindir}/%{_name}-cgi %{buildroot}%{apache2_cgidir}/%{_name}-cgi
  579. ln -sf %{_bindir}/%{_name}-cgi %{buildroot}%{apache2_fcgidir}/%{_name}-fcgi
  580. %{__install} -m 755 -d %{buildroot}%{apache2_confdir}
  581. %{__install} -m 644 %{SOURCE24} %{buildroot}%{apache2_confdir}/%{_name}.conf
  582. %endif
  583. # Install the configuration file for Nginx
  584. mkdir -p %{buildroot}%{_sysconfdir}/nginx
  585. %{__install} -m 644 %{SOURCE29} %{buildroot}%{_sysconfdir}/nginx/
  586. %{__install} -m 755 -d %{buildroot}%{php_confdir}/php.d
  587. %{__install} -m 755 -d %{buildroot}%{_localstatedir}/%{_name}
  588. # for session.save_path
  589. %{__install} -m 770 -d %{buildroot}%{_localstatedir}/%{_name}/session
  590. # for extension modules
  591. %{__install} -m 755 -d %{buildroot}%{_libdir}/%{_name}
  592. # for --with-exec-dir
  593. %{__install} -m 755 -d %{buildroot}%{_libdir}/%{_name}/bin
  594. #----------------------------------------------------------------------
  595. # Generate files lists and stub .ini files for each subpackage
  596. for mod in dba imap ldap mcrypt snmp xmlrpc intl \
  597. mysql mysqli odbc pgsql sqlite \
  598. pdo pdo_odbc pdo_mysql pdo_pgsql pdo_sqlite; do
  599. cat > %{buildroot}%{php_confdir}/php.d/${mod}.ini <<EOF
  600. ; Enable ${mod} extension module
  601. extension=${mod}.so
  602. EOF
  603. cat > files.${mod} <<EOF
  604. %attr(0755,root,root) %{_libdir}/%{_name}/${mod}.so
  605. %config(noreplace) %attr(0644,root,root) %{php_confdir}/php.d/${mod}.ini
  606. EOF
  607. done
  608. # pcntl extension should be enabled with CLI/CGI SAPI only.
  609. cat > %{buildroot}%{php_confdir}/php.d/pcntl.ini <<EOF
  610. ; Enable pcntl extension module
  611. ;extension=pcntl.so
  612. EOF
  613. cat > files.pcntl <<EOF
  614. %attr(0755,root,root) %{_libdir}/%{_name}/pcntl.so
  615. %config(noreplace) %attr(0644,root,root) %{php_confdir}/php.d/pcntl.ini
  616. EOF
  617. # append mysqli module to mysql module.
  618. cat files.mysqli >> files.mysql
  619. # Split out the PDO modules
  620. cat files.pdo_mysql >> files.mysql
  621. cat files.pdo_odbc >> files.odbc
  622. cat files.pdo_pgsql >> files.pgsql
  623. # Package pdo_sqlite with pdo; isolating the sqlite dependency
  624. # isn't useful at this time since rpm itself requires sqlite.
  625. cat files.pdo_sqlite >> files.pdo
  626. #----------------------------------------------------------------------
  627. # Remove unpackaged files
  628. rm -f %{buildroot}%{_libdir}/%{_name}/*.a
  629. # Remove irrelevant docs
  630. rm -f README.{Zeus,QNX,CVS-RULES}
  631. # fix symlink for phar.
  632. %{__rm} -f %{buildroot}%{_bindir}/phar
  633. %{__ln_s} ./phar.phar %{buildroot}%{_bindir}/phar
  634. # ad-hoc fix for incorrect paths to php5
  635. for X in pear5 peardev5 pecl5 ; do
  636. sed -e 's|%{buildroot}||g' %{buildroot}%{_bindir}/$X \
  637. > %{buildroot}%{_bindir}/$X.new
  638. mv -f %{buildroot}%{_bindir}/$X.new %{buildroot}%{_bindir}/$X
  639. chmod 0755 %{buildroot}%{_bindir}/$X
  640. done
  641. PEAPI=`%{_built_php} -n -i | grep 'PHP Extension =>' | sed -e 's/^.* //'`
  642. ZEAPI=`%{_built_php} -n -i | grep 'Zend Extension =>' | sed -e 's/^.* //'`
  643. sed -e "s,@BUILDROOT@,%{buildroot},g" -e "s/@PEAPI@/$PEAPI/g" -e "s/@ZEAPI@/$ZEAPI/g" < %{SOURCE30} > %{__find_provides}
  644. chmod 755 %{__find_provides}
  645. #----------------------------------------------------------------------
  646. %post
  647. /sbin/update-alternatives --install %{_bindir}/php \
  648. php %{_bindir}/php%{majorver} %{majorver}0
  649. # fix broken symlink if it's there
  650. if [ ! -f %{_bindir}/php ] ; then
  651. /sbin/update-alternatives --auto php
  652. fi
  653. %triggerpostun -- php5 < 5.1.4-0vl1
  654. /sbin/update-alternatives --auto php
  655. %preun
  656. if [ "$1" = 0 ]; then
  657. /sbin/update-alternatives --remove php %{_bindir}/php%{majorver}
  658. /sbin/update-alternatives --auto php ||:
  659. fi
  660. %post fpm
  661. /sbin/update-alternatives --install %{_sbindir}/php-fpm \
  662. php-fpm %{_sbindir}/php%{majorver}-fpm %{majorver}0
  663. # fix broken symlink if it's there
  664. if [ ! -f %{_sbindir}/php-fpm ] ; then
  665. /sbin/update-alternatives --auto php-fpm
  666. fi
  667. /sbin/chkconfig --add php-fpm
  668. %preun fpm
  669. if [ "$1" = 0 ]; then
  670. /sbin/chkconfig --del php-fpm
  671. /sbin/update-alternatives --remove php-fpm %{_sbindir}/php%{majorver}-fpm
  672. /sbin/update-alternatives --auto php-fpm ||:
  673. fi
  674. %post pear
  675. /sbin/update-alternatives \
  676. --install %{_bindir}/pear pear %{_bindir}/pear%{majorver} %{majorver}0 \
  677. --slave %{_bindir}/peardev peardev %{_bindir}/peardev%{majorver} \
  678. --slave %{_bindir}/pecl pecl %{_bindir}/pecl%{majorver}
  679. # fix broken symlink if it's there
  680. if [ ! -f %{_bindir}/pear ] ; then
  681. /sbin/update-alternatives --auto pear
  682. fi
  683. %triggerpostun pear -- php5-pear < 5.1.4-0vl1
  684. /sbin/update-alternatives --auto pear
  685. %preun pear
  686. if [ "$1" = "0" ]; then
  687. /sbin/update-alternatives --remove pear %{_bindir}/pear%{majorver}
  688. /sbin/update-alternatives --auto pear ||:
  689. fi
  690. %if %{?_dist_release} == "vl5"
  691. %post apache
  692. chown root:apache %{_localstatedir}/%{_name}/session 2>/dev/null || true
  693. %endif
  694. %if %{with apache2}
  695. %post apache2
  696. %if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl6"
  697. chown root:apache %{_localstatedir}/%{_name}/session 2>/dev/null || true
  698. %endif
  699. MPM=`file /etc/alternatives/apache2 | sed -e 's/^.*apache2\.\([a-z]*\).*$/\1/'`
  700. if [ "$MPM" != "prefork" ]; then
  701. cat <<EOF
  702. Apache2 is configured to use $MPM MPM. But php5-apache2 requires
  703. prefork MPM. Run the following command as root to switch MPM:
  704. /sbin/update-alternatives --config apache2
  705. EOF
  706. fi
  707. %endif
  708. %clean
  709. [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
  710. rm -f files.*
  711. #======================================================================
  712. %files
  713. %defattr(-,root,root)
  714. %doc CODING_STANDARDS CREDITS EXTENSIONS INSTALL LICENSE NEWS README*
  715. %doc Zend/ZEND_* TSRM_LICENSE
  716. %doc php.ini-{development,production}
  717. %doc php.gif
  718. %{_mandir}/man1/%{_name}.1*
  719. %config(noreplace) %{php_confdir}/php.ini
  720. %{_bindir}/%{_name}
  721. %{_bindir}/%{_name}-cgi
  722. %{_bindir}/phar
  723. %{_bindir}/phar.phar
  724. %dir %{php_confdir}
  725. %dir %{php_confdir}/php.d
  726. %dir %{_libdir}/%{_name}
  727. %dir %{_libdir}/%{_name}/bin
  728. %dir %{_localstatedir}/%{_name}
  729. %attr(0770,root,%{www_group}) %dir %{_localstatedir}/%{_name}/session
  730. %files devel
  731. %defattr(-,root,root)
  732. %{_mandir}/man1/php-config.1*
  733. %{_mandir}/man1/phpize.1*
  734. %{_bindir}/php-config
  735. %{_bindir}/php-config5
  736. %{_bindir}/phpize
  737. %{_bindir}/phpize5
  738. %{_bindir}/phpextdist
  739. %{_includedir}/%{_name}
  740. %{_libdir}/%{_name}/build
  741. %if %{with_pear}
  742. %files pear
  743. %defattr(-,root,root)
  744. %config %{php_confdir}/pear.conf
  745. %config %{_sysconfdir}/rpm/macros.pear
  746. %{_bindir}/pear%{majorver}
  747. %{_bindir}/peardev%{majorver}
  748. %{_bindir}/pecl%{majorver}
  749. %{pear_rootdir}
  750. %dir %{pear_cachedir}
  751. %endif
  752. %if %{?_dist_release} == "vl5"
  753. %files apache
  754. %defattr(-,root,root)
  755. %config %{apache1_confdir}/%{_name}.conf
  756. %{apache1_moduledir}/lib%{_name}.so
  757. %{apache1_cgidir}/%{_name}-cgi
  758. %{apache1_fcgidir}/%{_name}-fcgi
  759. %endif
  760. %if %{with apache2}
  761. %files apache2
  762. %defattr(-,root,root)
  763. %doc %{_name}-apache2/README.vine
  764. %config %{apache2_confdir}/%{_name}.conf
  765. %{apache2_moduledir}/lib%{_name}.so
  766. %{apache2_cgidir}/%{_name}-cgi
  767. %{apache2_fcgidir}/%{_name}-fcgi
  768. %endif
  769. %files fpm
  770. %defattr(-,root,root)
  771. %{_sbindir}/%{_name}-fpm
  772. %{_initdir}/php-fpm
  773. %{_mandir}/man8/php-fpm.8*
  774. %dir %{php_confdir}/fpm.d
  775. %config(noreplace) %{php_confdir}/php-fpm.conf
  776. %config(noreplace) %{php_confdir}/fpm.d/*.conf
  777. %config(noreplace) %{_sysconfdir}/logrotate.d/php-fpm
  778. %files nginx
  779. %defattr(-,root,root)
  780. %config(noreplace) %{_sysconfdir}/nginx/php_params
  781. %files dba -f files.dba
  782. %files imap -f files.imap
  783. %files ldap -f files.ldap
  784. %files mcrypt -f files.mcrypt
  785. %files mysql -f files.mysql
  786. %files odbc -f files.odbc
  787. %files pdo -f files.pdo
  788. %files pgsql -f files.pgsql
  789. %files snmp -f files.snmp
  790. %files sqlite -f files.sqlite
  791. %files xmlrpc -f files.xmlrpc
  792. %files intl -f files.intl
  793. %files pcntl -f files.pcntl
  794. #======================================================================
  795. %changelog
  796. * Sun Nov 25 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.19-1
  797. - new upstream release.
  798. * Fri Oct 19 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.18-1
  799. - new upstream release.
  800. - dropped %%Patch2000 (fixed in upstream).
  801. * Fri Sep 14 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.17-1
  802. - new upstream release.
  803. * Fri Aug 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.16-1
  804. - new upstream release.
  805. * Sat Jul 21 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.15-2
  806. - owner of /var/www/session was changed to "www-data".
  807. * Fri Jul 20 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.15-1
  808. - new upstream release.
  809. * Fri Jun 15 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.14-1
  810. - new upstream release.
  811. * Wed May 09 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.13-1
  812. - new upstream release.
  813. * Fri May 04 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.12-1
  814. - new upstream release.
  815. - fixed initscript.
  816. * Sat Apr 28 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.11-2
  817. - added API versions to 'Provides'.
  818. * Thu Apr 26 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.11-1
  819. - new upstream release.
  820. * Thu Apr 26 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.10-6
  821. - added a sub-package "php-pcntl".
  822. - added a sub-package "php-nginx".
  823. * Tue Mar 13 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.3.10-5
  824. - fix Source13
  825. * Sun Mar 11 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.3.10-4
  826. - add /etc/rpm/macros.pear (Source13) from Fedora
  827. * Wed Mar 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.3.10-3
  828. - rebuild with net-snmp-5.7.1
  829. - update Source21 (php.ini-vine)
  830. * Fri Feb 03 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.10-2
  831. - fixed %%preun scripts.
  832. * Fri Feb 03 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.10-1
  833. - new upstream release.
  834. - reverted revision #319823 (bug#60723).
  835. * Thu Jan 12 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.9-1
  836. - new upstream release.
  837. * Sat Oct 29 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.8-1
  838. - new upstream release.
  839. - added a subpackage "php5-fpm".
  840. * Tue Aug 23 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.7-2
  841. - fixed bug#55439.
  842. * Thu Aug 18 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.7-1
  843. - new upstream release.
  844. * Mon Jun 13 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.3.6-4
  845. - rebuild with unixODBC-2.2.14-2
  846. * Tue Apr 12 2011 Shu KONNO <owa@bg.wakwak.com> 5.3.6-3
  847. - rebuilt with postgresql-9.0.3
  848. * Sat Apr 9 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.3.6-2
  849. - new upstream release
  850. - dropt apache subpackage on VineSeed (apache1 will be orphaned on Vine 6)
  851. * Mon Mar 28 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.6-1
  852. - new upstream release.
  853. - added tags "Vendor:", "Distribution:" and "Packager:".
  854. * Mon Jan 10 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.5-1
  855. - new upstream release.
  856. * Fri Dec 10 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.4-1
  857. - new upstream release.
  858. - added a sub-package "php5-intl".
  859. * Sun Sep 5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.3.3-1
  860. - new upstream release
  861. * Fri Nov 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.1-1
  862. - new upstream release.
  863. * Tue Sep 1 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.3.0-2
  864. - fix incorrect path in {pear,peardev,pecl}5 ([vine-users:079537])
  865. * Thu Jul 2 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.3.0-1
  866. - new upstream release.
  867. - updated patch51.
  868. - removed /usr/bin/php5-fcgi.
  869. * Sat Jun 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.10-1
  870. - new upstream release.
  871. - updated patch51.
  872. * Tue Jun 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 5.2.9-6
  873. - update php.ini
  874. - use UTF-8 for default charset and internal_encoding
  875. * Thu May 21 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.9-5
  876. - rebuilt with MySQL-shared-5.1.34.
  877. * Sat May 16 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.9-4
  878. - rebuilt with libc-client-2007e
  879. - added --with-kerberos option (VineSeed)
  880. * Fri Apr 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 5.2.9-3
  881. - rebuilt with openldap-2.4.11
  882. * Fri Mar 27 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.9-2
  883. - rebuilt with net-snmp-5.4.2.1-3 (VineSeed x86_64).
  884. * Thu Mar 19 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.2.9-1
  885. - new upstream release.
  886. - wrote specfile in UTF-8.
  887. * Tue May 6 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.2.6-2
  888. - move php5-{cgi,fcgi} to %%{_bindir}.
  889. * Tue May 6 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.2.6-1
  890. - new upstream release.
  891. - update %%Patch51.
  892. * Sat Apr 26 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.2.5-1
  893. - add FastCGI support.
  894. * Tue Jan 08 2008 Shu KONNO <owa@bg.wakwak.com> 5.2.5-0vl5
  895. - rebuilt with postgresql-8.2.6
  896. * Sun Jan 06 2008 Shu KONNO <owa@bg.wakwak.com> 5.2.5-0vl4
  897. - rebuilt with net-snmp-5.4.1
  898. * Thu Dec 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.2.5-0vl3
  899. - for VineSeed: rebuilt with MySQL-5.0.27-0vl7
  900. * Thu Dec 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.2.5-0vl2
  901. - rebuilt with MySQL-5.0.27-0vl6
  902. * Fri Nov 23 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.5-0vl1
  903. - new upstream release.
  904. * Thu Sep 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.4-0vl3
  905. - rebuilt with postgresql-devel 8.2.5
  906. * Sat Sep 15 2007 NAKAMURA Kenta <kenta@vinelinux.org> 5.2.4-0vl2
  907. - replaced BuildRequires: libstdc++3-devel with libstdc++34-devel
  908. * Sun Sep 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.4-0vl1
  909. - rebuilt for VineSeed
  910. * Tue Sep 4 2007 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.2.4-0vl0.40
  911. - new upstream release.
  912. - update Patch33.
  913. * Thu Jun 7 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.3-0vl2
  914. - rebuilt for VineSeed
  915. * Tue Jun 05 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.3-0vl1
  916. - new upstream release.
  917. - fix install script.
  918. * Sun May 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.2.2-0vl5
  919. - rebuilt with new toolchain (for VineSeed)
  920. * Wed May 16 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.2-0vl4
  921. - remove "Provides: php-devel" from devel subpackage
  922. * Mon May 14 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.2-0vl3
  923. - fix Source24(php5.conf-apache2)
  924. * Fri May 11 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.2-0vl2
  925. - add Provides tag to subpackages.
  926. * Tue May 08 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.2-0vl1
  927. - new upstream release.
  928. - add 'Provides: php = %%{version}-%%{release}' to main package.
  929. * Sun Mar 25 2007 NAKAMURA Kenta <kenta@vinelinux.org> 5.2.1-0vl3
  930. - added --with-libdir=%%{_lib} configure option
  931. * Mon Feb 26 2007 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.2.1-0vl2
  932. - built for VineSeed.
  933. * Fri Feb 16 2007 Atsushi SHICHI <ats777@gmail.com> 5.2.1-0vl1
  934. - new upstream release.
  935. - remove unnecessary 'Obsoletes: php-domxml, php-manual'
  936. * Sat Dec 02 2006 Atsushi SHICHI <ats777@gmail.com> 5.2.0-0vl4
  937. - change session.save_path to /var/php5/session in php.ini-vine <BTS:412>
  938. - unset http_proxy in %%install
  939. * Tue Nov 7 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.2.0-0vl3
  940. - new upstream release.
  941. * Sun Oct 29 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.1.6-0vl6
  942. - build with MySQL-5.0.27.
  943. * Fri Oct 27 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.1.6-0vl5
  944. - build with MySQL-5.0.26.
  945. - add mysqli module.
  946. - modify %%BuildRequires 'imap-devel' to 'uw-imap-devel'.
  947. * Sun Oct 22 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1.6-0vl4
  948. - fixed %triggerpostun section
  949. - added update-alternatives for checking symlink to %post section
  950. * Sat Oct 21 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1.6-0vl3
  951. - rebuilt for Vine Linux 4.0 <BTS:289>
  952. - added Patch1000 for building with uw-imap-2006b
  953. * Mon Sep 11 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.6-0vl2
  954. - rebuild for VinePlus/4.0
  955. - change 'BuildRequires: fileutils' to coreutils
  956. - add 'BuildRequires: libtool-ltdl-devel' to main package
  957. * Fri Aug 25 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.6-0vl1
  958. - new upstream release
  959. * Wed Aug 23 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.5-0vl1
  960. - new upstream release
  961. - fix bug [vine-users:074749]
  962. -- move php.gif from apache{,2} subpackage to main package
  963. - fix bug [VineLinux:0070], [VineLinux:0106]
  964. -- add 'Conflicts: php-devel' to devel subpackage
  965. -- remove suffix from {php-config,phpize,phpextdist}
  966. -- add alternatives support for {peardev5,pecl5}
  967. * Mon Jun 19 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.4-0vl1.4
  968. - add 'Requires: %%{name}-pdo' to sqlite subpackage [vine-php:137]
  969. * Sun Jun 18 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.4-0vl1.3
  970. - enable sqlite extension and add sqlite subpackage [vine-users:074695]
  971. * Tue May 30 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.4-0vl1.2
  972. - update Source0
  973. - change Requires: to PreReq: in apache{,2} subpackages [vine-php:113]
  974. - fix %%post apache{,2} script
  975. * Tue May 16 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.4-0vl1.1
  976. - fix /etc/httpd/conf.d/php5.conf [VinePlus:02967]
  977. * Sat May 13 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.4-0vl1
  978. - new upstream release
  979. - revive apache{,2} subpackage
  980. - add 'Source24: php.conf-apache2'
  981. - remove php-dbg, mod_php, phpfi, stronghold-php from Obsoletes
  982. - fix Requires of main package and dba subpackage
  983. - remove 'Conflicts: php-apache' from apache subpackage
  984. - remove 'Conflicts: php-apache2' from apache2 subpackage
  985. - add %%post apache{,2} script to chown session directory to root:apache
  986. - modify %%files section
  987. * Sun Apr 30 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.3-0vl0.3
  988. - update to 5.1.3RC3
  989. - fix %%post script and add %%triggerpostun script
  990. * Sat Apr 08 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.3-0vl0.2.3
  991. - drop 'Source10: pear.sh'
  992. - fix 'Source20: README.vine', 'Source21: php.ini-vine', 'Source23: php.conf'
  993. - add alternatives support
  994. -- add 'PreReq: alternatives' to main package and pear subpackage
  995. -- add 'Conflicts: php < 4.4.2-0vl1.1' to main package
  996. -- add 'Conflicts: php-pear < 4.4.2-0vl1.1' to pear subpackage
  997. -- add %%post, %%preun scripts
  998. * Wed Apr 05 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.3-0vl0.2.2
  999. - fix 'Source10: pear.sh'
  1000. - add --sysconfdir=%%{php_confdir} to configure
  1001. * Tue Apr 04 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.3-0vl0.2.1
  1002. - add 'Source10: pear.sh' to replace /usr/bin/{pear,peardev,pecl}
  1003. - add 'Patch33: php-5.1.3RC2-phpincludedir.patch'
  1004. - remove 'Conflicts: php, php-*'
  1005. - add 'export PHP_PEAR_SYSCONF_DIR, PHP_PEAR_CACHE_DIR, PHP_PEAR_PHP_BIN'
  1006. to %%Install section
  1007. -- move pear.conf to %%{_sysconfdir}/%%{_name}
  1008. -- add '%%dir %%{pear_cachedir}' to '%%files pear'
  1009. -- fix php_bin in pear.conf
  1010. - rename phpextdist to phpextdist5
  1011. * Fri Mar 31 2006 Atsushi SHICHI <ats777@gmail.com> 5.1.3-0vl0.2
  1012. - update to 5.1.3RC2
  1013. * Mon Mar 20 2006 Atsushi SHICHI <ats7@a.email.ne.jp> 5.1.3-0vl0.1
  1014. - new upstream release
  1015. - add Source23: php5.conf
  1016. - drop Patch21: php-4.3.1-odbc.patch
  1017. - drop Patch30: php-4.3.6-dlopen.patch
  1018. - drop Patch32: php-4.3.11-mbfilter.patch
  1019. - apply strict session patch, thanks to Yasuo Ohgaki
  1020. -- add Patch51: php-5.1.2-session_strict_mode.patch
  1021. -- add session.use_strict_mode = 1 to php.ini-vine
  1022. - add BuildRequires: autoconf, automake, bison, flex, gcc-c++,
  1023. readline-devel, sqlite3-devel
  1024. - drop BuildRequires: automake15, expat-devel, unixODBC-devel
  1025. - build with Apache2. Apache1.3 is still able to used by rebuilding
  1026. with --with apache1
  1027. -- add Requires: apache2
  1028. -- merge apache{,2} subpackage into main package
  1029. -- add Obsoletes: php5-apache, php5-apache2
  1030. - add Requires: autoconf, automake to devel subpackage
  1031. - add dba, pdo subpackage
  1032. - add Requires: php5-pdo to {mysql,odbc,pgsql} subpackage
  1033. - drop BuildRequires: expat-devel from xmlrpc subpackage
  1034. - add --program-suffix=5 to configure
  1035. - add missing files to %%files
  1036. * Thu Jan 12 2006 Atsushi SHICHI <ats7@a.email.ne.jp> 5.1.2-0vl1
  1037. - new upstream release
  1038. - remove workaround for install-pear-nozlib.phar bug (PHP Bug #35780, PEAR Bug #6154)
  1039. -- remove Source2: relocate.php
  1040. -- remove Source10: pear.sh
  1041. -- remove Source11: pecl.sh
  1042. -- remove Source12: peardev.sh
  1043. - remove old XSLT extension stuff
  1044. -- remove BuildRequires: libsablotron0-devel
  1045. -- remove --enable-xslt, --with-xslt-sablot configure option
  1046. * Thu Dec 07 2005 Atsushi SHICHI <ats7@a.email.ne.jp> 5.1.1-0vl2
  1047. - add %%{with_test}
  1048. - drop Patch5: php-4.3.3-install.patch
  1049. - drop Patch6: php-5.1.0-tests.patch
  1050. - drop Patch7: php-5.1.0-libtool15.patch
  1051. - drop Patch8: php-5.0.0RC3-miscfix.patch
  1052. - drop Patch10: php-5.1.0-sqlite_m4.patch
  1053. - change BuildPrereq tag to BuildRequires tag
  1054. - add BuildRequires: rpm-devel, popt, bzip2-devel, zlib-devel, glibc-devel
  1055. to snmp subpackage
  1056. - comment out CFLAGS, LIBS, IMAP_SHARED_LIBADD environment variable settings
  1057. - remove support for FreeType 1.x
  1058. -- remove BuildRequires: freetype, freetype-devel from main package
  1059. -- remove --enable-gd-native-ttf, --with-ttf configure option
  1060. - drop --enable-ucd-snmp-hack configure option
  1061. - add workaround for install-pear-nozlib.phar bug
  1062. -- add Source2: relocate.php
  1063. -- add Source10: pear.sh
  1064. -- add Source11: pecl.sh
  1065. -- add Source12: peardev.sh
  1066. -- remove include_path entry from vine.ini
  1067. - include phpextdist in devel subpackage again
  1068. - move pear.conf from main package to pear subpackage
  1069. - include pecl, peardev in pear subpackage
  1070. - move php.gif from main package to apache/apache2 subpackage
  1071. -- fix %%{contentdir}
  1072. - fix typo in %%changelog
  1073. * Tue Dec 06 2005 HOTTA Michihide <hotta@net-newbie.com> 5.1.1-0vl1
  1074. - new upstream release
  1075. - drop Patch #4 (php-4.2.2-cxx.patch)
  1076. - change Patch #6 (php-4.3.1-tests.patch) to php-5.1.0-tests.patch
  1077. - change Patch #7 (php-4.3.2-libtool15.patch) to php-5.1.0-libtool15.patch
  1078. - change Patch #10 (php-5.0.5-sqlite_m4.patch) to php-5.1.0-sqlite_m4.patch
  1079. - drop Patch #101 (php-5.0.5-mbfilter.patch)
  1080. - append include_path entry to vine.ini
  1081. * Sat Oct 15 2005 HOTTA Michihide <hotta@net-newbie.com> 5.0.5-0vl5
  1082. - rebuild for VineSeedPlus
  1083. * Thu Oct 06 2005 Atsushi SHICHI <ats7@a.email.ne.jp> 5.0.5-0vl4
  1084. - modify Source21: vine.ini
  1085. * Tue Oct 06 2005 HOTTA Michihide <hotta@net-newbie.com> 5.0.5-0vl3
  1086. - drop Patch3: php-5.0.5-lib64.patch
  1087. - drop Patch11: php-5.0.5-phpize_in.patch [VinePlus:02737]
  1088. - add --libdir=%%{_libdir}/php option to configure [VinePlus:02737]
  1089. * Tue Oct 04 2005 HOTTA Michihide <hotta@net-newbie.com> 5.0.5-0vl2
  1090. - add mbfilter.c.patch
  1091. * Sun Sep 18 2005 Atsushi SHICHI <ats7@a.email.ne.jp> 5.0.5-0vl1
  1092. - upstream release
  1093. - add Source21: vine.ini (additional settings to php.ini-recommened)
  1094. - add Source22: ltmain.sh.vine
  1095. - drop Patch2: php-5.0.3-config.patch
  1096. - fix Patch3: php-5.0.5-lib64.patch
  1097. - drop Patch9: php-5.0.0RC3-oniguruma.patch
  1098. - fix Patch10: php-5.0.5-sqlite_m4.patch
  1099. - add Patch11: php-5.0.5-phpize_in.patch
  1100. - drop Patch246: php-4.3.6-fixattr.patch
  1101. - add %%define __libtoolize true
  1102. - drop %%{_bindir}phpextdist
  1103. * Fri Jun 17 2005 IKEDA Katsumi <ikeda@webmasters.gr.jp> 5.0.3-0vl3.2
  1104. - added a security patch for CAN-2005-0524 and CAN-2005-0525 from SuSE.
  1105. * Thu May 16 2005 HOTTA Michihide <hotta@net-newbie.com> 5.0.3-0vl3.1
  1106. - for VinePlus/3.0
  1107. - add README.vine again
  1108. - add php-4.3.11-mbfilter.patch for workaround against degrade at 5.0.3
  1109. - remove veserion specification on BuildPrereq: curl-devel
  1110. * Fri Feb 25 2005 HOTTA Michihide <hotta@net-newbie.com> 5.0.3-0vl3
  1111. - drop BuildPrereq: apache2-apr-devel
  1112. - drop php-4.2.1-ldap-TSRM.patch
  1113. * Sat Dec 25 2004 HOTTA Michihide <hotta@net-newbie.com> 5.0.3-0vl1
  1114. - upstream release
  1115. - drop php-4.3.2-db4.patch
  1116. - add BuildPrereq: apache2-apr-devel
  1117. * Mon Oct 18 2004 HOTTA Michihide <hotta@net-newbie.com> 5.0.2-0vl1
  1118. - upstream release
  1119. - regenerate php5-imap
  1120. * Fri Aug 13 2004 HOTTA Michihide <hotta@net-newbie.com> 5.0.1-0vl1
  1121. - upstream release
  1122. * Tue Aug 03 2004 HOTTA Michihide <hotta@net-newbie.com> 5.0.0-0vl1
  1123. - upstream release : many thanks to YOSHIMURA Keitaro <ramsy AT ramix DOT jp>
  1124. - remove php4_{namazu,kakasi,chasen} (not supported)
  1125. - drop some patches for 4.3.x
  1126. - Build fix for oniguruma(re_registers dups)
  1127. - remove domxml (updated to libxml2)
  1128. - add Conflicts: php, php-*
  1129. - add php-5.0.0-authuser.patch (BUG#29129)
  1130. * Thu Jul 15 2004 HOTTA Michihide <hotta@net-newbie.com> 4.3.8-0vl1
  1131. - upstream release
  1132. - add BuildPrereq: freetype
  1133. * Sun Jul 11 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 4.3.7-0vl5
  1134. - remove explicit buildprereq to build-essential
  1135. - build apache2 module
  1136. split apache1/2 module to php-apache/php-apache2
  1137. thanks to jax <jax AT morejams DOT no-ip DOT com>
  1138. - add Obsoletes: php < %%{version}-%%{release} in php-apache sub-package
  1139. for upgrade.
  1140. * Wed Jul 07 2004 HOTTA Michihide <hotta@net-newbie.com> 4.3.7-0vl4
  1141. - add Obsoletes: php-imap, php-manual
  1142. * Sat Jun 26 2004 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 4.3.7-0vl3
  1143. - enable mcrypt module.
  1144. * Mon Jun 07 2004 HOTTA Michihide <hotta@net-newbie.com> 4.3.7-0vl2
  1145. - fix bug #28385 <http://bugs.php.net/bug.php?id=28385>
  1146. * Fri Jun 04 2004 HOTTA Michihide <hotta@net-newbie.com> 4.3.7-0vl1
  1147. - upstream release
  1148. * Wed May 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.6-0vl2
  1149. - rebuild with namazu-2.0.13
  1150. * Fri Apr 30 2004 HOTTA Michihide <hotta@net-newbie.com> 4.3.6-0vl1
  1151. - upstream release
  1152. * Mon Mar 15 2004 Tomoya TAKA <taka@vinelinux.org> 4.3.4-0vl2
  1153. - fix location of session save path, %%{_localstatedir} is defined as
  1154. /var/lib in Vine's rpm
  1155. * Sat Feb 21 2004 HOTTA Michihide <hotta@net-newbie.com> 4.3.4-0vl1
  1156. - upstream release
  1157. - sync to fedora(php-4.3.4-7)
  1158. - drop BuildRequires : aspell
  1159. - add workaround for inconsistent dependency of php-devel
  1160. - drop --enable-versioning to prevent ext modules loading error
  1161. * Thu Feb 05 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.2-0vl4
  1162. - rebuild with new toolchains (and resolved dependancy about libxslt)
  1163. - added patch7 to build with libtool-1.5
  1164. - added patch100 to build newest freetype2 library
  1165. - force to use automake-1.5
  1166. - added BuildPrereq: curl-devel, automake15
  1167. - fixed BuildRequires of php-snmp: net-snmp-devel
  1168. * Tue Jul 08 2003 HOTTA Michihide <hotta@net-newbie.com> 4.3.2-0vl3
  1169. - add README.vine
  1170. * Tue Jul 08 2003 HOTTA Michihide <hotta@net-newbie.com> 4.3.2-0vl2
  1171. - install sapi/cgi/php as php-cgi, sapi/cli/php as php
  1172. * Tue Jul 08 2003 HOTTA Michihide <hotta@net-newbie.com> 4.3.2-0vl1
  1173. - upstream release (sync to rawhide)
  1174. - add printf patch, PEAR_Registry patch etc.
  1175. - drop package php-manual
  1176. * Fri Jan 24 2003 HOTTA Michihide <hotta@net-newbie.com> 4.2.3-0vl3
  1177. - add zend_highlight.c-patch
  1178. - add -DHAVE_PQESCAPE to build_ext pgsql
  1179. * Wed Jan 22 2003 MACHINO Satoshi <machino@vinelinux.org> 4.2.3-0vl2
  1180. - rebuild against gmp-4.1 and sablotron-0.97
  1181. * Mon Sep 9 2002 HOTTA Michihide <hotta@net-newbie.com> 4.2.3-0vl1
  1182. - for VineSeedPlus
  1183. -- Updated to 4.2.3
  1184. -- added php-4.2.3-mbstr-20020908-2.patch
  1185. * Sun Aug 18 2002 Rui HIROKAWA <hirokawa@php.gr.jp> 4.2.2-0vl3
  1186. - applied php-4.2.2-mb_output_handler.patch to enable output encoding
  1187. for text/hdml.
  1188. - applied php-4.2.2-mb-decode.patch to fix decode problem of GET parameters.
  1189. - Patch to fix a problem where, given multiple cookies to set, only the last one would be made (#67853)
  1190. * Tue Jul 24 2002 HOTTA Michihide <hotta@net-newbie.com> 4.2.2-0vl2
  1191. - for VineSeedPlus
  1192. -- applied php-4.2.2-multibyte.patch.gz which obsolets 4.2.1's
  1193. -- dropped --enable-trans-sid configure option which is no longer meaningful
  1194. * Tue Jul 23 2002 HOTTA Michihide <hotta@net-newbie.com> 4.2.2-0vl1
  1195. - for VineSeedPlus
  1196. -- Updated to 4.2.2
  1197. -- dropped domxml.patch (merged into original)
  1198. * Fri Jul 05 2002 HOTTA Michihide <hotta@net-newbie.com> 4.2.1-0vl8
  1199. - for VineSeedPlus
  1200. -- added i18n patch by Fujimoto
  1201. -- dropped php4_mbregex extention (merged into original)
  1202. * Tue Jun 04 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl7
  1203. - added gmp support
  1204. - for VineSeedPlus
  1205. * Tue Jun 04 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl6
  1206. - for VineSeedPlus
  1207. -- added xslt support
  1208. * Tue Jun 04 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl5
  1209. - added expat-devel in BuildPreReq
  1210. * Tue Jun 04 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl4
  1211. - added mail functions
  1212. - added postfix in BuildPreReq
  1213. - updated manual_en(03-Jun-2002)
  1214. - updated manual_ja(29-May-2002)
  1215. - for VinePlus
  1216. -- dropped xslt support
  1217. * Thu May 16 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl3
  1218. - for VineSeed Plus
  1219. - added xslt support
  1220. -- added enable-xslt, with-xslt-sablot, with-dom-xslt
  1221. -- added BuildPrereq: libxslt-devel, libsablotron0-devel
  1222. * Thu May 16 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl2
  1223. - for VinePlus 2.5
  1224. - added php.in-dist.patch
  1225. * Wed May 15 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.1-0vl1
  1226. - updated php-4.2.1
  1227. - updated php_manual_en
  1228. - dropped reg.patch
  1229. - modified configured option
  1230. -- added --with-dom, --with-bz2, --with-png-dir, --with-expat-dir
  1231. * Thu May 09 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.0-99vl1
  1232. - updated php-4.2.1RC1
  1233. - fixed ereg_replace patch (4.2.1-reg.patch)
  1234. * Thu May 09 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.0-0vl2
  1235. - added ereg_replace patch (4.2.0-reg.patch)
  1236. - updated manual(en, ja)
  1237. * Thu Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 4.2.0-0vl1
  1238. - updated php-4.2.0
  1239. * Fri Mar 01 2002 Satoshi MACHINO <machino@vinelinux.org> 4.1.2-0vl1
  1240. - updated php-4.1.2
  1241. - updated php4_mbregex-1.3.1
  1242. - updated php4_namazu-2.1.0
  1243. - updated php4_kakasi-0.3.0
  1244. - REMOVED php4_iconv
  1245. - fixed patch
  1246. -- added domxml.patch
  1247. -- dropped old patches
  1248. * Mon Dec 3 2001 Jun Nishii <jun@vinelinux.org>
  1249. - 4.0.6-5vl3
  1250. - added --enable-mbstr-enc-trans
  1251. * Wed Aug 22 2001 Hisao SHIBUYA <shibuya@alpha.or.jp>
  1252. - 4.0.6-5vl2
  1253. - fix contentdir
  1254. * Tue Aug 21 2001 Hisao SHIBUYA <shibuya@alpha.or.jp>
  1255. - 4.0.6-5vl1
  1256. - add configure options for Vine
  1257. - add ldap, mysql and odbc modules.
  1258. * Fri Aug 10 2001 Tim Powers <timp@redhat.com>
  1259. - only english in php-manuals, space constraints :P
  1260. * Thu Aug 9 2001 Nalin Dahyabhai <nalin@redhat.com>
  1261. - include %{_libdir}/%{name}/build instead of %{_libdir}/%{name}4/build (#51141)
  1262. * Mon Aug 6 2001 Nalin Dahyabhai <nalin@redhat.com>
  1263. - add build deps on pam-devel, pspell-devel, gdbm-devel (#49878)
  1264. - add some conditional logic if %%{oracle} is defined (from Antony Nguyen)
  1265. * Mon Jul 9 2001 Nalin Dahyabhai <nalin@redhat.com>
  1266. - don't obsolete subpackages we ended up not merging
  1267. * Mon Jul 2 2001 Nalin Dahyabhai <nalin@redhat.com>
  1268. - cleanups
  1269. - add manuals in multiple languages (using ko instead of kr for Korean)
  1270. - merge all of the manuals into a single -manual subpackage
  1271. - use libtool to install binary files which libtool builds
  1272. - don't strip any binaries; let the buildroot policies take care of it
  1273. * Thu Jun 28 2001 Nalin Dahyabhai <nalin@redhat.com>
  1274. - update to 4.0.6 (preliminary)
  1275. * Mon Jun 25 2001 Nalin Dahyabhai <nalin@redhat.com>
  1276. - enable ttf in the build because the gd support needs it
  1277. - add -lfreetype to the LIBS for the same reason
  1278. * Wed Jun 6 2001 Nalin Dahyabhai <nalin@redhat.com>
  1279. - rebuild in new environment
  1280. * Wed May 16 2001 Nalin Dahyabhai <nalin@redhat.com>
  1281. - actually use two source trees to build things
  1282. - add %%post and %%postun scriptlets to run ldconfig
  1283. * Tue May 15 2001 Nalin Dahyabhai <nalin@redhat.com>
  1284. - quote part of the AC_ADD_LIBRARY macro to make newer autoconf happy
  1285. * Mon May 14 2001 Nalin Dahyabhai <nalin@redhat.com>
  1286. - fix error in %%install
  1287. - depend on the imap-devel which supplies linkage.c
  1288. - modify trigger to disable php versions less than 4.0.0 instead of 3.0.15
  1289. - enable DOM support via libxml2 (suggested by Sylvain Berg
  1290. - build the OpenSSL extension again
  1291. * Mon May 7 2001 Nalin Dahyabhai <nalin@redhat.com>
  1292. - enable pspell extensions
  1293. - update to 4.0.5
  1294. * Mon Apr 30 2001 Nalin Dahyabhai <nalin@redhat.com>
  1295. - build the ODBC extension
  1296. * Mon Apr 30 2001 Bill Nottingham <notting@redhat.com>
  1297. - build on ia64
  1298. * Fri Mar 2 2001 Nalin Dahyabhai <nalin@redhat.com>
  1299. - rebuild in new environment
  1300. * Fri Feb 23 2001 Nalin Dahyabhai <nalin@redhat.com>
  1301. - obsolete the old phpfi (PHP 2.x) package
  1302. * Thu Feb 8 2001 Nalin Dahyabhai <nalin@redhat.com>
  1303. - add a commented-out curl extension to the config file (part of #24933)
  1304. - fix the PEAR-installation-directory-not-being-eval'ed problem (#24938)
  1305. - find the right starting point for multipart form data (#24933)
  1306. * Tue Jan 30 2001 Nalin Dahyabhai <nalin@redhat.com>
  1307. - aaarrgh, the fix breaks something else, aaarrgh; revert it (#24933)
  1308. - terminate variable names at the right place (#24933)
  1309. * Sat Jan 20 2001 Nalin Dahyabhai <nalin@redhat.com>
  1310. - tweak the fix some more
  1311. * Thu Jan 18 2001 Nalin Dahyabhai <nalin@redhat.com>
  1312. - extract stas's fix for quoting problems from CVS for testing
  1313. - tweak the fix, ask the PHP folks about the tweak
  1314. - tweak the fix some more
  1315. * Wed Jan 17 2001 Nalin Dahyabhai <nalin@redhat.com>
  1316. - merge mod_php into the main php package (#22906)
  1317. * Fri Dec 29 2000 Nalin Dahyabhai <nalin@redhat.com>
  1318. - try to fix a quoting problem
  1319. * Wed Dec 20 2000 Nalin Dahyabhai <nalin@redhat.com>
  1320. - update to 4.0.4 to get a raft of bug fixes
  1321. - enable sockets
  1322. - enable wddx
  1323. * Fri Nov 3 2000 Nalin Dahyabhai <nalin@redhat.com>
  1324. - rebuild in updated environment
  1325. * Thu Nov 2 2000 Nalin Dahyabhai <nalin@redhat.com>
  1326. - add more commented-out modules to the default config file (#19276)
  1327. * Wed Nov 1 2000 Nalin Dahyabhai <nalin@redhat.com>
  1328. - fix not-using-gd problem (#20137)
  1329. * Tue Oct 17 2000 Nalin Dahyabhai <nalin@redhat.com>
  1330. - update to 4.0.3pl1 to get some bug fixes
  1331. * Sat Oct 14 2000 Nalin Dahyabhai <nalin@redhat.com>
  1332. - build for errata
  1333. * Wed Oct 11 2000 Nalin Dahyabhai <nalin@redhat.com>
  1334. - update to 4.0.3 to get security fixes integrated
  1335. - patch around problems configuring without Oracle support
  1336. - add TSRM to include path when building individual modules
  1337. * Fri Sep 8 2000 Nalin Dahyabhai <nalin@redhat.com>
  1338. - rebuild in new environment
  1339. - enable OpenSSL support
  1340. * Wed Sep 6 2000 Nalin Dahyabhai <nalin@redhat.com>
  1341. - update to 4.0.2, and move the peardir settings to configure (#17171)
  1342. - require %%{version}-%%{release} for subpackages
  1343. - add db2-devel and db3-devel prereqs (#17168)
  1344. * Wed Aug 23 2000 Nalin Dahyabhai <nalin@redhat.com>
  1345. - rebuild in new environment (new imap-devel)
  1346. * Wed Aug 16 2000 Nalin Dahyabhai <nalin@redhat.com>
  1347. - fix summary and descriptions to match the specspo package
  1348. * Wed Aug 9 2000 Nalin Dahyabhai <nalin@redhat.com>
  1349. - hard-code the path to apxs in build_ext() (#15799)
  1350. * Tue Aug 1 2000 Nalin Dahyabhai <nalin@redhat.com>
  1351. - add "." to the include path again, which is the default
  1352. * Wed Jul 19 2000 Nalin Dahyabhai <nalin@redhat.com>
  1353. - enable PEAR and add it to the include path
  1354. - add the beginnings of a -devel subpackage
  1355. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  1356. - automatic rebuild
  1357. * Fri Jul 7 2000 Nalin Dahyabhai <nalin@redhat.com>
  1358. - tweaks to post and postun from Bill Peck
  1359. * Thu Jul 6 2000 Nalin Dahyabhai <nalin@redhat.com>
  1360. - fixes from Nils for building the MySQL client
  1361. - change back to requiring %{version} instead of %{version}-%{release}
  1362. * Sat Jul 1 2000 Nalin Dahyabhai <nalin@redhat.com>
  1363. - update to 4.0.1pl2
  1364. - enable MySQL client
  1365. - move the php.ini file to %{_sysconfdir}
  1366. * Fri Jun 30 2000 Nils Philippsen <nils@redhat.de>
  1367. - build_ext defines HAVE_PGSQL so pgsql.so in fact contains symbols
  1368. - post/un scripts tweak php.ini correctly now
  1369. * Thu Jun 28 2000 Nalin Dahyabhai <nalin@redhat.com>
  1370. - update to 4.0.1
  1371. - refresh manual
  1372. * Tue Jun 26 2000 Nalin Dahyabhai <nalin@redhat.com>
  1373. - rebuild against new krb5 package
  1374. * Mon Jun 19 2000 Nalin Dahyabhai <nalin@redhat.com>
  1375. - rebuild against new db3 package
  1376. * Sat Jun 17 2000 Nalin Dahyabhai <nalin@redhat.com>
  1377. - Fix syntax error in post and preun scripts.
  1378. - Disable IMAP, LDAP, PgSql in the standalone version because it picks up
  1379. the extensions.
  1380. * Fri Jun 16 2000 Nalin Dahyabhai <nalin@redhat.com>
  1381. - Unexclude the Sparc arch.
  1382. - Exclude the ia64 arch until we get a working Postgres build.
  1383. - Stop stripping extensions as aggressively.
  1384. - Start linking the IMAP module to libpam again.
  1385. - Work around extension loading problems.
  1386. - Reintroduce file-editing post and preun scripts for the mod_php extensions
  1387. until we come up with a better way to do it.
  1388. * Mon Jun 5 2000 Nalin Dahyabhai <nalin@redhat.com>
  1389. - ExcludeArch: sparc for now
  1390. * Sun Jun 4 2000 Nalin Dahyabhai <nalin@redhat.com>
  1391. - add Obsoletes: phpfi, because their content handler names are the same
  1392. - add standalone binary, rename module packages to mod_php
  1393. - FHS fixes
  1394. * Tue May 23 2000 Nalin Dahyabhai <nalin@redhat.com>
  1395. - change license from "GPL" to "PHP"
  1396. - add URL: tag
  1397. - disable mysql support by default (license not specified)
  1398. * Mon May 22 2000 Nalin Dahyabhai <nalin@redhat.com>
  1399. - update to PHP 4.0.0
  1400. - nuke the -mysql subpackage (php comes with a bundled mysql client lib now)
  1401. * Tue May 16 2000 Nalin Dahyabhai <nalin@redhat.com>
  1402. - link IMAP module against GSS-API and PAM to get dependencies right
  1403. - change most of the Requires to Prereqs, because the post edits config files
  1404. - move the PHP *Apache* module back to the right directory
  1405. - fix broken postun trigger that broke the post
  1406. - change most of the postuns to preuns in case php gets removed before subpkgs
  1407. * Thu May 11 2000 Trond Eivind Glomsr <teg@redhat.com>
  1408. - rebuilt against new postgres libraries
  1409. * Tue May 09 2000 Preston Brown <pbrown@redhat.com>
  1410. - php3 .so modules moved to /usr/lib/php3 from /usr/lib/apache (was incorrect)
  1411. * Mon Apr 10 2000 Nalin Dahyabhai <nalin@redhat.com>
  1412. - make subpackages require php = %{version} (bug #10671)
  1413. * Thu Apr 06 2000 Nalin Dahyabhai <nalin@redhat.com>
  1414. - update to 3.0.16
  1415. * Fri Mar 03 2000 Cristian Gafton <gafton@redhat.com>
  1416. - fixed the post script to work when upgrading a package
  1417. - add triggere to fix the older packages
  1418. * Tue Feb 29 2000 Nalin Dahyabhai <nalin@redhat.com>
  1419. - update to 3.0.15
  1420. - add build-time dependency for openldap-devel
  1421. - enable db,ftp,shm,sem support to fix bug #9648
  1422. * Fri Feb 25 2000 Nalin Dahyabhai <nalin@redhat.com>
  1423. - add dependency for imap subpackage
  1424. - rebuild against Apache 1.3.12
  1425. * Thu Feb 24 2000 Preston Brown <pbrown@redhat.com>
  1426. - don't include old, outdated manual. package one from the php distribution.
  1427. * Tue Feb 01 2000 Cristian Gafton <gafton@redhat.com>
  1428. - rebuild to fix dependency problem
  1429. * Fri Jan 14 2000 Preston Brown <pbrown@redhat.com>
  1430. - added commented out mysql module, thanks to Jason Duerstock
  1431. (jason@sdi.cluephone.com). Uncomment to build if you have mysql installed.
  1432. * Thu Jan 13 2000 Preston Brown <pbrown@redhat.com>
  1433. - rely on imap-devel, don't include imap in src.rpm (#5099).
  1434. - xml enabled (#5393)
  1435. * Tue Nov 02 1999 Preston Brown <pborwn@redhat.com>
  1436. - added post/postun sections to modify httpd.conf (#5259)
  1437. - removed old obsolete faq and gif (#5260)
  1438. - updated manual.tar.gz package (#5261)
  1439. * Thu Oct 07 1999 Matt Wilson <msw@redhat.com>
  1440. - rebuilt for sparc glibc brokenness
  1441. * Fri Sep 24 1999 Preston Brown <pbrown@redhat.com>
  1442. - --with-apxs --> --with-apxs=/usr/sbin/apxs (# 5094)
  1443. - ldap support (# 5097)
  1444. * Thu Sep 23 1999 Preston Brown <pbrown@redhat.com>
  1445. - fix cmdtuples for postgresql, I had it slightly wrong
  1446. * Tue Aug 31 1999 Bill Nottingham <notting@redhat.com>
  1447. - subpackages must obsolete old stuff...
  1448. * Sun Aug 29 1999 Preston Brown <pbrown@redhat.com>
  1449. - added -DHAVE_PGCMDTUPLES for postgresql module (bug # 4767)
  1450. * Fri Aug 27 1999 Preston Brown <pbrown@redhat.com>
  1451. - name change to php to follow real name of package
  1452. - fix up references to php3 to refer to php
  1453. - upgrade to 3.0.12
  1454. - fixed typo in pgsql postun script (bug # 4686)
  1455. * Mon Jun 14 1999 Preston Brown <pbrown@redhat.com>
  1456. - upgraded to 3.0.9
  1457. - fixed postgresql module and made separate package
  1458. - separated manual into separate documentation package
  1459. * Mon May 24 1999 Preston Brown <pbrown@redhat.com>
  1460. - upgraded to 3.0.8, which fixes problems with glibc 2.1.
  1461. - took some ideas grom Gomez's RPM.
  1462. * Tue May 04 1999 Preston Brown <pbrown@redhat.com>
  1463. - hacked in imap support in an ugly way until imap gets an official
  1464. shared library implementation
  1465. * Fri Apr 16 1999 Preston Brown <pbrown@redhat.com>
  1466. - pick up php3.ini
  1467. * Wed Mar 24 1999 Preston Brown <pbrown@redhat.com>
  1468. - build against apache 1.3.6
  1469. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  1470. - auto rebuild in the new build environment (release 2)
  1471. * Mon Mar 08 1999 Preston Brown <pbrown@redhat.com>
  1472. - upgraded to 3.0.7.
  1473. * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
  1474. - Injected new description and group.
  1475. * Sun Feb 07 1999 Preston Brown <pbrown@redhat.com>
  1476. - upgrade to php 3.0.6, built against apache 1.3.4
  1477. * Mon Oct 12 1998 Cristian Gafton <gafton@redhat.com>
  1478. - rebuild for apache 1.3.3
  1479. * Thu Oct 08 1998 Preston Brown <pbrown@redhat.com>
  1480. - updated to 3.0.5, fixes nasty bugs in 3.0.4.
  1481. * Sun Sep 27 1998 Cristian Gafton <gafton@redhat.com>
  1482. - updated to 3.0.4 and recompiled for apache 1.3.2
  1483. * Thu Sep 03 1998 Preston Brown <pbrown@redhat.com>
  1484. - improvements; builds with apache-devel package installed.
  1485. * Tue Sep 01 1998 Preston Brown <pbrown@redhat.com>
  1486. - Made initial cut for PHP3.