bind: Fix for DISTRO=micro: s|/usr/bin|${bindir}|
PATCH 1/1 bind: Fix for DISTRO=micro: s|/usr/bin|${bindir}|
This is a conservative change to fix micro. Bind needs more attention as the latest in tree version is from 2008 and several vulnerabilities have been found and fixed since then. If you are doing anything except using bind as a resolver, please don't use these recipes.
Signed-off-by Graham Gower <[email protected]>
--- recipes/bind/bind_9.3.1.bb | 2 +- recipes/bind/bind_9.3.4-P1.bb | 2 +- recipes/bind/bind_9.3.5-P1.bb | 2 +- recipes/bind/bind_9.3.6.bb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
recipes/bind/bind_9.3.1.bb +1 -1
@@ -17,7 +17,7 @@ INITSCRIPT_PARAMS = "defaults" do_install_append() { - rm "${D}/usr/bin/nslookup" + rm "${D}${bindir}/nslookup" install -d "${D}/etc/bind" install -d "${D}/etc/init.d" install -m 644 ${S}/conf/* "${D}/etc/bind"
recipes/bind/bind_9.3.4-P1.bb +1 -1
@@ -19,7 +19,7 @@ INITSCRIPT_NAME = "bind" INITSCRIPT_PARAMS = "defaults" do_install_append() { - rm "${D}/usr/bin/nslookup" + rm "${D}${bindir}/nslookup" install -d "${D}/etc/bind" install -d "${D}/etc/init.d" install -m 644 ${S}/conf/* "${D}/etc/bind"
recipes/bind/bind_9.3.5-P1.bb +1 -1
@@ -19,7 +19,7 @@ INITSCRIPT_NAME = "bind" INITSCRIPT_PARAMS = "defaults" do_install_append() { - rm "${D}/usr/bin/nslookup" + rm "${D}${bindir}/nslookup" install -d "${D}/etc/bind" install -d "${D}/etc/init.d" install -m 644 ${S}/conf/* "${D}/etc/bind"
recipes/bind/bind_9.3.6.bb +1 -1
@@ -24,7 +24,7 @@ FILES_${PN}-utils = "${bindir}/host ${bindir}/dig ${bindir}/nslookup" FILES_${PN}-dev += "${bindir}/isc-config.h" do_install_append() { - rm "${D}/usr/bin/nslookup" + rm "${D}${bindir}/nslookup" install -d "${D}/etc/bind" install -d "${D}/etc/init.d" install -m 644 ${S}/conf/* "${D}/etc/bind"
Signature · 1 line
1.7.1
Quoted 7 lines · Graham Gower
This is a conservative change to fix micro. Bind needs more attention as the latest in tree version is from 2008 and several vulnerabilities have been found and fixed since then. If you are doing anything except using bind as a resolver, please don't use these recipes.
Signed-off-by Graham Gower <[email protected]>
Acked-by Michael Smith <[email protected]>