summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorYao Xinpan <yaoxp@cn.fujitsu.com>2014-08-04 17:15:20 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-06 10:03:21 +0100
commita0dcda8c797606ef24be00e369f28685d1755069 (patch)
tree129e91fb20b4b99ffc55ce60fb777e22a7a1e9f2 /meta/recipes-extended
parent1d75145f98d534ca8372766f825e1dd3162d669c (diff)
downloadpoky-a0dcda8c797606ef24be00e369f28685d1755069.tar.gz
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>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb5
1 files changed, 5 insertions, 0 deletions
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 11cc243e6d..4d6430634e 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 () {
119 119
120 install -d ${D}${includedir} 120 install -d ${D}${includedir}
121 install -m 0644 tcpd.h ${D}${includedir}/ 121 install -m 0644 tcpd.h ${D}${includedir}/
122
123 install -d ${D}${sysconfdir}
124 touch ${D}${sysconfdir}/hosts.allow
125 touch ${D}${sysconfdir}/hosts.deny
122} 126}
123 127
128FILES_${PN} += "${sysconfdir}/hosts.allow ${sysconfdir}/hosts.deny"