浏览代码

o added IMAP support to PHP o HTTP seems to work better that FTP as upstream source for mod_layout

Christoph Schug 23 年之前
父节点
当前提交
77c3a67405
共有 1 个文件被更改,包括 9 次插入1 次删除
  1. 9 1
      apache/apache.spec

+ 9 - 1
apache/apache.spec

@@ -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