php5-vl.spec 60 KB

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