|
|
@@ -60,7 +60,7 @@ Distribution: OpenPKG [BASE]
|
|
|
Group: Web
|
|
|
License: ASF
|
|
|
Version: %{V_apache}
|
|
|
-Release: 20030710
|
|
|
+Release: 20030715
|
|
|
|
|
|
# package options (suexec related)
|
|
|
%option with_suexec yes
|
|
|
@@ -89,6 +89,7 @@ Release: 20030710
|
|
|
# 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 @@ RPM ERROR: with_mod_php conflicts with with_mod_php3
|
|
|
%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: gcc, sed, flex, bison
|
|
|
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
|
|
|
@@ -498,6 +507,11 @@ AutoReqProv: no
|
|
|
%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} \
|
|
|
--with-jpeg-dir=%{l_prefix} \
|