OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web Date: 15-Jul-2003 12:43:51
Branch: HEAD Handle: 2003071511434802
Modified files:
openpkg-src/apache apache.spec
openpkg-web news.txt
Log:
add PostgreSQL support for PHP
Summary:
Revision Changes Path
1.149 +15 -1 openpkg-src/apache/apache.spec
1.5574 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/apache/apache.spec
============================================================================
$ cvs diff -u -r1.148 -r1.149 apache.spec
--- openpkg-src/apache/apache.spec 10 Jul 2003 07:50:14 -0000 1.148
+++ openpkg-src/apache/apache.spec 15 Jul 2003 10:43:50 -0000 1.149
@@ -60,7 +60,7 @@
Group: Web
License: ASF
Version: %{V_apache}
-Release: 20030710
+Release: 20030715
# package options (suexec related)
%option with_suexec yes
@@ -89,6 +89,7 @@
# package options (optional PHP4 specific settings; requires "with_mod_php")
%option with_mod_php_calendar no
%option with_mod_php_mysql no
+%option with_mod_php_pgsql no
%option with_mod_php_gd no
%option with_mod_php_db no
%option with_mod_php_debug no
@@ -147,6 +148,10 @@
%undefine with_mod_php_zlib
%define with_mod_php_zlib yes
%endif
+%if "%{with_mod_php_pgsql}" == "yes"
+%undefine with_mod_php_openssl
+%define with_mod_php_openssl yes
+%endif
%endif
%if "%{with_mod_php3}" == "yes"
%if "%{with_mod_ssl}" == "yes"
@@ -207,6 +212,10 @@
BuildPreReq: mysql
PreReq: mysql
%endif
+%if "%{with_mod_php_pgsql}" == "yes"
+BuildPreReq: postgresql, openssl
+PreReq: postgresql, openssl
+%endif
%if "%{with_mod_php_gd}" == "yes"
BuildPreReq: gd, jpeg, png
PreReq: gd, jpeg, png
@@ -497,6 +506,11 @@
--with-mysql=%{l_prefix} \
%else
--without-mysql \
+%endif
+%if "%{with_mod_php_pgsql}" == "yes"
+ --with-pgsql=%{l_prefix} \
+%else
+ --without-pgsql \
%endif
%if "%{with_mod_php_gd}" == "yes"
--with-gd=%{l_prefix} \
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.5573 -r1.5574 news.txt
--- openpkg-web/news.txt 15 Jul 2003 10:43:08 -0000 1.5573
+++ openpkg-web/news.txt 15 Jul 2003 10:43:48 -0000 1.5574
@@ -1,3 +1,4 @@
+15-Jul-2003: Upgraded package: P<apache-1.3.27-20030715>
15-Jul-2003: Upgraded package: P<php-4.3.2-20030715>
15-Jul-2003: Upgraded package: P<perforce-2003.1-20030715>
15-Jul-2003: Upgraded package: P<rdist-7.0.0a10-20030715>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]