]> code.ossystems Code Review - openembedded-core.git/commitdiff
tcp-wrappers: install /etc/hosts.allow and /etc/hosts.deny
authorYao Xinpan <yaoxp@cn.fujitsu.com>
Mon, 4 Aug 2014 09:15:20 +0000 (17:15 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Aug 2014 09:02:39 +0000 (10:02 +0100)
Signed-off-by: Yao Xinpan <yaoxp@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb

index 11cc243e6d6028ec1ec399a32ce294bfc22b0385..4d6430634efad200c92c0a6078eef0cbc2ab8051 100644 (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"