]> code.ossystems Code Review - openembedded-core.git/commitdiff
bind: disable nslookup man page
authorwenzong.fan@windriver.com <wenzong.fan@windriver.com>
Tue, 22 Jan 2013 09:27:39 +0000 (17:27 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 22 Jan 2013 15:35:51 +0000 (15:35 +0000)
The nslookup is not shipped for now, we should disable its man page if
the binary tool is not installed.

[YOCTO#3754]

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/bind/bind_9.8.1.bb

index 23ff0b459e41d5eb0330344f5e345a41411561ce..18cbb99b928ab2dcc5e4b7dfbd3f6214bec39b57 100644 (file)
@@ -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/"