Browse Source

add SNMP support to mod_php

Ralf S. Engelschall 23 years ago
parent
commit
faa4517b81
1 changed files with 9 additions and 1 deletions
  1. 9 1
      apache/apache.spec

+ 9 - 1
apache/apache.spec

@@ -60,7 +60,7 @@ Distribution: OpenPKG [BASE]
 Group:        Web
 License:      ASF
 Version:      %{V_apache}
-Release:      20030830
+Release:      20030904
 
 #   package options (suexec related)
 %option       with_suexec               yes
@@ -117,6 +117,7 @@ Release:      20030830
 %option       with_mod_php_wddx         no
 %option       with_mod_php_gdbm         no
 %option       with_mod_php_versioning   no
+%option       with_mod_php_snmp         no
 
 #   package options (optional PHP3 specific settings; requires "with_mod_php3")
 %option       with_mod_php3_ftp         no
@@ -300,6 +301,10 @@ PreReq:       gdbm
 %if "%{with_mod_php_oci7}" == "yes" || "%{with_mod_php_oci8}" == "yes"
 BuildPreReq:  ORACLE
 %endif
+%if "%{with_mod_php_snmp}" == "yes"
+BuildPreReq:  snmp
+PreReq:       snmp
+%endif
 %endif
 %if "%{with_mod_php3}" == "yes"
 BuildPreReq:  make, bison, flex
@@ -611,6 +616,9 @@ AutoReqProv:  no
 %endif
 %if "%{with_mod_php_versioning}" == "yes"
           --enable-versioning \
+%endif
+%if "%{with_mod_php_snmp}" == "yes"
+          --with-snmp=%{l_prefix} \
 %endif
           --disable-cli \
           --without-pear \