summaryrefslogtreecommitdiffstats
path: root/meta
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 /meta
parent685cde50652fc47d163b7ba827238665216eaf30 (diff)
downloadpoky-ad1af9dc8b47a840dbd8cd4ec5982335c981e993.tar.gz
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>
Diffstat (limited to 'meta')
-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"
6LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=0fbe2a3ab3c68ac3fea3cad13093877c" 6LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=0fbe2a3ab3c68ac3fea3cad13093877c"
7 7
8DEPENDS = "openssl libcap" 8DEPENDS = "openssl libcap"
9PR = "r4" 9PR = "r5"
10 10
11SRC_URI = "ftp://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \ 11SRC_URI = "ftp://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \
12 file://conf.patch \ 12 file://conf.patch \
@@ -38,6 +38,7 @@ FILES_${PN}-dev += "${bindir}/isc-config.h"
38 38
39do_install_append() { 39do_install_append() {
40 rm "${D}${bindir}/nslookup" 40 rm "${D}${bindir}/nslookup"
41 rm "${D}${mandir}/man1/nslookup.1"
41 install -d "${D}${sysconfdir}/bind" 42 install -d "${D}${sysconfdir}/bind"
42 install -d "${D}${sysconfdir}/init.d" 43 install -d "${D}${sysconfdir}/init.d"
43 install -m 644 ${S}/conf/* "${D}${sysconfdir}/bind/" 44 install -m 644 ${S}/conf/* "${D}${sysconfdir}/bind/"