php74-vl.spec 73 KB

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