From 2421460d24fb11b3b1a0ece4d38edd25dd6dbf42 Mon Sep 17 00:00:00 2001 From: Tomas Hozza Date: Mon, 30 Jul 2012 16:27:33 +0200 Subject: [PATCH] Fixed path to libdb.so in config.dlz.in --- bind-9.9.1-P2-dlz-libdb4.patch | 17 +++++++++++++++++ bind.spec | 3 +++ 2 files changed, 20 insertions(+) create mode 100644 bind-9.9.1-P2-dlz-libdb4.patch diff --git a/bind-9.9.1-P2-dlz-libdb4.patch b/bind-9.9.1-P2-dlz-libdb4.patch new file mode 100644 index 0000000..1fe8abf --- /dev/null +++ b/bind-9.9.1-P2-dlz-libdb4.patch @@ -0,0 +1,17 @@ +diff -up bind-9.9.1-P2/contrib/dlz/config.dlz.in.libdb4 bind-9.9.1-P2/contrib/dlz/config.dlz.in +--- bind-9.9.1-P2/contrib/dlz/config.dlz.in.libdb4 2012-07-30 16:10:33.764547355 +0200 ++++ bind-9.9.1-P2/contrib/dlz/config.dlz.in 2012-07-30 16:16:00.426807967 +0200 +@@ -281,11 +281,11 @@ case "$use_dlz_bdb" in + bdb_libnames="db48 db-4.8 db47 db-4.7 db46 db-4.6 db45 db-4.5 db44 db-4.4 db43 db-4.3 db42 db-4.2 db41 db-4.1 db" + for d in $bdb_libnames + do +- if test -f "$dd/${target_lib}/lib${d}.so" ++ if test -f "$dd/${target_lib}/libdb4/lib${d}.so" + then + if test "$dd" != "/usr" + then +- dlz_bdb_libs="-L${dd}/${target_lib} " ++ dlz_bdb_libs="-L${dd}/${target_lib}/libdb4 " + else + dlz_bdb_libs="" + fi diff --git a/bind.spec b/bind.spec index a96420b..2762ee8 100644 --- a/bind.spec +++ b/bind.spec @@ -72,6 +72,7 @@ Patch124:nslookup-norec.patch Patch125:bind99-buildfix.patch Patch127:bind99-forward.patch Patch129:bind98-rh816164.patch +Patch130:bind-9.9.1-P2-dlz-libdb4.patch # SDB patches Patch11: bind-9.3.2b2-sdbsrc.patch @@ -268,6 +269,7 @@ popd %patch125 -p1 -b .buildfix %patch127 -p1 -b .forward %patch129 -p1 -b .rh816164 +%patch130 -p1 -b .libdb4 %if %{SDB} %patch101 -p1 -b .old-api @@ -773,6 +775,7 @@ rm -rf ${RPM_BUILD_ROOT} %changelog * Mon Jul 30 2012 Tomas Hozza 32:9.9.1-6.P2 - Fixed bad path to systemctl in /etc/NetworkManager/dispatcher.d/13-named (#844047) +- Fixed path to libdb.so in config.dlz.in * Thu Jul 26 2012 Adam Tkac 32:9.9.1-5.P2 - update to 9.9.1-P2