php5-vl.spec 54 KB

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