php5-vl.spec 53 KB

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