php5-vl.spec 55 KB

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