|
|
@@ -33,13 +33,14 @@ Class: BASE
|
|
|
Group: Database
|
|
|
License: GPL
|
|
|
Version: 2.3.14
|
|
|
-Release: 20051225
|
|
|
+Release: 20051226
|
|
|
|
|
|
# package options
|
|
|
%option with_fsl yes
|
|
|
%option with_crypt 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
|
|
|
@@ -63,6 +64,10 @@ PreReq: fsl >= 1.2.0
|
|
|
BuildPreReq: sasl
|
|
|
PreReq: sasl
|
|
|
%endif
|
|
|
+%if "%{with_odbc}" == "yes"
|
|
|
+BuildPreReq: unixodbc
|
|
|
+PreReq: unixodbc
|
|
|
+%endif
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -147,6 +152,11 @@ AutoReqProv: no
|
|
|
ARGS="$ARGS --enable-perl"
|
|
|
%endif
|
|
|
|
|
|
+ # configuration: optional ODBC-based RDBMS support
|
|
|
+%if "%{with_odbc}" == "yes"
|
|
|
+ ARGS="$ARGS --enable-sql"
|
|
|
+%endif
|
|
|
+
|
|
|
# configuration: special platform support
|
|
|
case "%{l_platform -t}" in
|
|
|
*-sunos* ) LIBS="$LIBS -lrt" ;;
|