php70-vl.spec 69 KB

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