tcp-wrappers: install /etc/hosts.allow and /etc/hosts.deny

(From OE-Core rev: e62b2c08df585a94d4713e5c88a64465f9bb88e6)

Signed-off-by: Yao Xinpan <yaoxp@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Yao Xinpan 2014-08-04 17:15:20 +08:00 committed by Richard Purdie
parent 1d75145f98
commit a0dcda8c79
1 changed files with 5 additions and 0 deletions

View File

@ -119,5 +119,10 @@ do_install () {
install -d ${D}${includedir}
install -m 0644 tcpd.h ${D}${includedir}/
install -d ${D}${sysconfdir}
touch ${D}${sysconfdir}/hosts.allow
touch ${D}${sysconfdir}/hosts.deny
}
FILES_${PN} += "${sysconfdir}/hosts.allow ${sysconfdir}/hosts.deny"