php5-vl.spec 54 KB

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