Forráskód Böngészése

instead of a single overlay (dyngroup) allow all overlays to be built and do this by default, too

Ralf S. Engelschall 19 éve
szülő
commit
f4e4647bcb
1 módosított fájl, 12 hozzáadás és 7 törlés
  1. 12 7
      openldap/openldap.spec

+ 12 - 7
openldap/openldap.spec

@@ -33,14 +33,15 @@ Class:        BASE
 Group:        Database
 License:      GPL
 Version:      2.3.25
-Release:      20060804
+Release:      20060810
 
 #   package options
-%option       with_fsl   yes
-%option       with_crypt yes
-%option       with_sasl  no
-%option       with_perl  no
-%option       with_odbc  no
+%option       with_fsl      yes
+%option       with_crypt    yes
+%option       with_overlays yes
+%option       with_sasl     no
+%option       with_perl     no
+%option       with_odbc     no
 
 #   list of sources
 Source0:      ftp://ftp.openldap.org/pub/openldap/openldap-release/openldap-%{version}.tgz
@@ -117,7 +118,6 @@ AutoReqProv:  no
     ARGS="$ARGS --enable-dnssrv"
     ARGS="$ARGS --enable-null"
     ARGS="$ARGS --enable-shell"
-    ARGS="$ARGS --with-dyngroup"
     ARGS="$ARGS --with-proxycache"
     ARGS="$ARGS --enable-slurpd"
 
@@ -132,6 +132,11 @@ AutoReqProv:  no
     LIBS="`%{l_prefix}/bin/pth-config --libs` $LIBS"
     ARGS="$ARGS --with-threads=pth"
 
+    #   configuration: optional overlay support
+%if "%{with_overlays}" == "yes"
+    ARGS="$ARGS --enable-overlays=yes"
+%endif
+
     #   configuration: optional SASL support
 %if "%{with_sasl}" == "yes"
     ( echo "ac_cv_lib_sasl2_sasl_client_init=yes"