summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwenzong.fan@windriver.com <wenzong.fan@windriver.com>2013-01-22 17:27:39 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-22 15:38:08 +0000
commitad1af9dc8b47a840dbd8cd4ec5982335c981e993 (patch)
treebccad5f6b83b1b92c0b7d5fa61eb31c6d7668780
parent685cde50652fc47d163b7ba827238665216eaf30 (diff)
downloadpoky-ad1af9dc8b47a840dbd8cd4ec5982335c981e993.tar.gz
poky-ad1af9dc8b47a840dbd8cd4ec5982335c981e993.tar.bz2
poky-ad1af9dc8b47a840dbd8cd4ec5982335c981e993.zip
bind: disable nslookup man page
The nslookup is not shipped for now, we should disable its man page if the binary tool is not installed. [YOCTO#3754] (From OE-Core rev: 1a31918733a7f8479220c01fc99dd9099fdcaf9b) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-connectivity/bind/bind_9.8.1.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/bind/bind_9.8.1.bb b/meta/recipes-connectivity/bind/bind_9.8.1.bb
index 23ff0b459e..18cbb99b92 100644
--- a/meta/recipes-connectivity/bind/bind_9.8.1.bb
+++ b/meta/recipes-connectivity/bind/bind_9.8.1.bb
@@ -6,7 +6,7 @@ LICENSE = "ISC & BSD"
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=0fbe2a3ab3c68ac3fea3cad13093877c"
DEPENDS = "openssl libcap"
-PR = "r4"
+PR = "r5"
SRC_URI = "ftp://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \
file://conf.patch \
@@ -38,6 +38,7 @@ FILES_${PN}-dev += "${bindir}/isc-config.h"
do_install_append() {
rm "${D}${bindir}/nslookup"
+ rm "${D}${mandir}/man1/nslookup.1"
install -d "${D}${sysconfdir}/bind"
install -d "${D}${sysconfdir}/init.d"
install -m 644 ${S}/conf/* "${D}${sysconfdir}/bind/"