|
|
@@ -67,6 +67,7 @@
|
|
|
%{!?with_mod_php_oci8: %define with_mod_php_oci8 no}
|
|
|
%{!?with_mod_php_freetype: %define with_mod_php_freetype no}
|
|
|
%{!?with_mod_php_gettext: %define with_mod_php_gettext no}
|
|
|
+%{!?with_mod_php_imap: %define with_mod_php_imap no}
|
|
|
|
|
|
# fixing implicit inter-module dependencies and correlations
|
|
|
%if "%{with_mod_php}" == "yes"
|
|
|
@@ -117,7 +118,7 @@ Source1: http://www.modssl.org/source/mod_ssl-%{V_mod_ssl}.tar.gz
|
|
|
Source2: http://perl.apache.org/dist/mod_perl-%{V_mod_perl}.tar.gz
|
|
|
Source3: http://www.php.net/distributions/php-%{V_mod_php}.tar.gz
|
|
|
Source4: http://www.webdav.org/mod_dav/mod_dav-%{V_mod_dav}.tar.gz
|
|
|
-Source5: ftp://ftp.tangent.org/pub/apache/mod_layout-%{V_mod_layout}.tar.gz
|
|
|
+Source5: http://software.tangent.org/download/mod_layout-%{V_mod_layout}.tar.gz
|
|
|
Source6: http://www.cri.ensmp.fr/~coelho/mod_macro/mod_macro-%{V_mod_macro}.tar.gz
|
|
|
Source7: http://pam.sourceforge.net/mod_auth_pam/mod_auth_pam.tar.gz
|
|
|
Source8: http://www.remotecommunications.com/apache/mod_gzip/src/%{V_mod_gzip}/mod_gzip.c
|
|
|
@@ -185,6 +186,9 @@ BuildPreReq: freetype
|
|
|
%if "%{with_mod_php_gettext}" == "yes"
|
|
|
BuildPreReq: gettext, libiconv
|
|
|
%endif
|
|
|
+%if "%{with_mod_php_imap}" == "yes"
|
|
|
+BuildPreReq: c-client
|
|
|
+%endif
|
|
|
%endif
|
|
|
%if "%{with_mod_auth_pam}" == "yes"
|
|
|
BuildPreReq: PAM
|
|
|
@@ -219,6 +223,7 @@ AutoReqProv: no
|
|
|
with_mod_php_openssl=%{with_mod_php_openssl} with_mod_php_openldap=%{with_mod_php_openldap} with_mod_php_mm=%{with_mod_php_mm}
|
|
|
with_mod_php_pcre=%{with_mod_php_pcre} with_mod_php_ftp=%{with_mod_php_ftp} with_mod_php_java=%{with_mod_php_java}
|
|
|
with_mod_php_oci8=%{with_mod_php_oci8} with_mod_php_gettext=%{with_mod_php_gettext}
|
|
|
+ with_mod_php_imap=%{with_mod_php_imap}
|
|
|
|
|
|
%prep
|
|
|
# unpack Apache distribution
|
|
|
@@ -405,6 +410,9 @@ AutoReqProv: no
|
|
|
%endif
|
|
|
%if "%{with_mod_php_gettext}" == "yes"
|
|
|
--with-gettext=%{l_prefix} \
|
|
|
+%endif
|
|
|
+%if "%{with_mod_php_imap}" == "yes"
|
|
|
+ --with-imap=%{l_prefix} \
|
|
|
%endif
|
|
|
--disable-shared \
|
|
|
--enable-track-vars
|