[oe-commits] Yao Xinpan : tcp-wrappers: install /etc/hosts.allow and /etc/hosts.deny

git at git.openembedded.org git at git.openembedded.org
Wed Aug 6 09:03:52 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: e62b2c08df585a94d4713e5c88a64465f9bb88e6
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e62b2c08df585a94d4713e5c88a64465f9bb88e6

Author: Yao Xinpan <yaoxp at cn.fujitsu.com>
Date:   Mon Aug  4 17:15:20 2014 +0800

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

Signed-off-by: Yao Xinpan <yaoxp at cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
index 11cc243..4d64306 100644
--- a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
+++ b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb
@@ -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"



More information about the Openembedded-commits mailing list