From: Graham Gower <graham.gower@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] bind: Fix for DISTRO=micro: s|/usr/bin|${bindir}|
Date: Fri, 03 Dec 2010 11:51:48 +1030 [thread overview]
Message-ID: <4CF8462C.1010104@gmail.com> (raw)
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 <graham.gower@gmail.com>
---
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(-)
diff --git a/recipes/bind/bind_9.3.1.bb b/recipes/bind/bind_9.3.1.bb
index 33b1de2..268253e 100644
--- a/recipes/bind/bind_9.3.1.bb
+++ b/recipes/bind/bind_9.3.1.bb
@@ -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"
diff --git a/recipes/bind/bind_9.3.4-P1.bb b/recipes/bind/bind_9.3.4-P1.bb
index 45bf608..70c261e 100644
--- a/recipes/bind/bind_9.3.4-P1.bb
+++ b/recipes/bind/bind_9.3.4-P1.bb
@@ -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"
diff --git a/recipes/bind/bind_9.3.5-P1.bb b/recipes/bind/bind_9.3.5-P1.bb
index d105dfc..bb98261 100644
--- a/recipes/bind/bind_9.3.5-P1.bb
+++ b/recipes/bind/bind_9.3.5-P1.bb
@@ -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"
diff --git a/recipes/bind/bind_9.3.6.bb b/recipes/bind/bind_9.3.6.bb
index 1412a68..b10d6e8 100644
--- a/recipes/bind/bind_9.3.6.bb
+++ b/recipes/bind/bind_9.3.6.bb
@@ -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"
--
1.7.1
next reply other threads:[~2010-12-03 1:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-03 1:21 Graham Gower [this message]
2010-12-03 13:46 ` [PATCH] bind: Fix for DISTRO=micro: s|/usr/bin|${bindir}| Michael Smith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CF8462C.1010104@gmail.com \
--to=graham.gower@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.