php5-vl.spec 58 KB

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