php5-vl.spec 71 KB

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