php5-vl.spec 58 KB

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