php5-vl.spec 54 KB

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