]> code.ossystems Code Review - openembedded-core.git/commitdiff
nfs-utils: obey 'tcp-wrappers' PACKAGECONFIG
authorChristopher Larson <chris_larson@mentor.com>
Fri, 31 May 2013 02:26:29 +0000 (19:26 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 31 May 2013 07:02:44 +0000 (08:02 +0100)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.8.bb

index 2f3509410a8ed618ff3010c2a51032de550d2a1e..40b897bb6b997d58a1010166dd83353daf40dc95 100644 (file)
@@ -8,7 +8,7 @@ LICENSE = "MIT & GPLv2+ & BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=95f3a93a5c3c7888de623b46ea085a84"
 
 # util-linux for libblkid
-DEPENDS = "libcap libnfsidmap libevent util-linux tcp-wrappers sqlite3"
+DEPENDS = "libcap libnfsidmap libevent util-linux sqlite3"
 RDEPENDS_${PN} = "rpcbind"
 RRECOMMENDS_${PN} = "kernel-module-nfsd"
 
@@ -45,6 +45,9 @@ EXTRA_OECONF = "--with-statduser=nobody \
                 --with-statdpath=/var/lib/nfs/statd \
                "
 
+PACKAGECONFIG ??= "tcp-wrappers"
+PACKAGECONFIG[tcp-wrappers] = "--with-tcp-wrappers,--without-tcp-wrappers,tcp-wrappers"
+
 INHIBIT_AUTO_STAGE = "1"
 
 PACKAGES =+ "${PN}-client ${PN}-stats"