|
|
|
|
@ -44,6 +44,8 @@ Release: 20120603
|
|
|
|
|
%option with_pgsql no |
|
|
|
|
%option with_mysql no |
|
|
|
|
%option with_odbc no |
|
|
|
|
%option with_bdb no |
|
|
|
|
%option with_fs no |
|
|
|
|
%option with_ldap no |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
@ -71,6 +73,10 @@ PreReq: mysql
|
|
|
|
|
BuildPreReq: ODBC |
|
|
|
|
PreReq: ODBC |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_bdb}" == "yes" |
|
|
|
|
BuildPreReq: db |
|
|
|
|
PreReq: db |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_ldap}" == "yes" |
|
|
|
|
BuildPreReq: openldap, openssl |
|
|
|
|
PreReq: openldap, openssl |
|
|
|
|
@ -137,6 +143,12 @@ Conflicts: powerdns
|
|
|
|
|
%if "%{with_odbc}" == "yes" |
|
|
|
|
--with-dlz-odbc=%{l_prefix} \ |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_bdb}" == "yes" |
|
|
|
|
--with-dlz-bdb=%{l_prefix} \ |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_fs}" == "yes" |
|
|
|
|
--with-dlz-filesystem \ |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_ldap}" == "yes" |
|
|
|
|
--with-dlz-ldap=%{l_prefix} \ |
|
|
|
|
%endif |
|
|
|
|
|