php5-vl.spec 58 KB

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