php72-vl.spec 70 KB

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