php5-vl.spec 61 KB

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