From 12d13782f598ef1bdbc742731d8a507959e4765f Mon Sep 17 00:00:00 2001 From: Michael van Elst Date: Fri, 6 Jun 2003 09:20:26 +0000 Subject: [PATCH] upgrade DLZ 0.40 -> 0.50 with ODBC support, fix dlz_postgres linking --- bind/bind.spec | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/bind/bind.spec b/bind/bind.spec index 9ab5b978a6..b6d7947295 100644 --- a/bind/bind.spec +++ b/bind/bind.spec @@ -25,7 +25,7 @@ # package versions %define V_bind 9.2.2 -%define V_dlz 0.4.3 +%define V_dlz 0.5.0 # package information Name: bind @@ -37,7 +37,7 @@ Distribution: OpenPKG [BASE] Group: DNS License: ISC Version: %{V_bind} -Release: 20030503 +Release: 20030606 # package options %option with_dlz_mysql no @@ -45,9 +45,10 @@ Release: 20030503 %option with_dlz_filesystem no %option with_dlz_stub no %option with_dlz_bdb no +%option with_dlz_odbc no # aggregate option -%if "%{with_dlz_mysql}" == "yes" || "%{with_dlz_postgres}" == "yes" || "%{with_dlz_filesystem}" == "yes" || "%{with_dlz_stub}" == "yes" || "%{with_dlz_bdb}" == "yes" +%if "%{with_dlz_mysql}" == "yes" || "%{with_dlz_postgres}" == "yes" || "%{with_dlz_filesystem}" == "yes" || "%{with_dlz_stub}" == "yes" || "%{with_dlz_bdb}" == "yes" || "%{with_dlz_odbc}" == "yes" %define with_dlz yes %else %define with_dlz no @@ -82,6 +83,10 @@ PreReq: postgresql BuildPreReq: db PreReq: db %endif +%if "%{with_dlz_odbc}" == "yes" +BuildPreReq: unixodbc +PreReq: unixodbc +%endif AutoReq: no AutoReqProv: no Conflicts: bind8 @@ -96,26 +101,21 @@ Conflicts: bind8 %prep %setup -q %if "%{with_dlz}" == "yes" - echo "WITH DLZ" %setup -q -T -D -a 10 # %{l_patch} -p1