diff options
author | Roman I Khimov <khimov@altell.ru> | 2010-03-22 17:47:53 +0300 |
---|---|---|
committer | Roman I Khimov <khimov@altell.ru> | 2010-03-22 22:21:12 +0300 |
commit | 58b5bec1b6f20c569c2819db6e74a3ddd56643f2 (patch) | |
tree | d2dd60ae50373de6c99040a72a1be62d25cd2248 /recipes/conntrack-tools/conntrack-tools_0.9.14.bb | |
parent | f9a7454d6930cc84b7072e83ac33627d46c2928b (diff) |
conntrack-tools: add new recipe
Includes failover script for pacemaker.
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/conntrack-tools/conntrack-tools_0.9.14.bb')
-rw-r--r-- | recipes/conntrack-tools/conntrack-tools_0.9.14.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/conntrack-tools/conntrack-tools_0.9.14.bb b/recipes/conntrack-tools/conntrack-tools_0.9.14.bb new file mode 100644 index 0000000000..c35930d42f --- /dev/null +++ b/recipes/conntrack-tools/conntrack-tools_0.9.14.bb @@ -0,0 +1,24 @@ +DESCRIPTION = "Connection tracking userspace tools for Linux" +LICENSE = "GPL" +DEPENDS = "libnfnetlink libnetfilter-conntrack" + +SRC_URI = " \ + http://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-${PV}.tar.bz2;name=tar \ + file://conntrack-failover \ + file://init \ + " +SRC_URI[tar.md5sum] = "7e9344fe85bb68bcf65c35034add6655" +SRC_URI[tar.sha256sum] = "" + +inherit autotools +inherit update-rc.d + +INITSCRIPT_NAME = "conntrackd" + +do_install_append() { + install -d ${D}/${sysconfdir}/conntrackd + install -d ${D}/${sysconfdir}/init.d + install -m 0644 doc/sync/ftfw/conntrackd.conf ${D}/${sysconfdir}/conntrackd/conntrackd.conf.sample + install -m 0755 ${WORKDIR}/conntrack-failover ${D}/${sysconfdir}/init.d/conntrack-failover + install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/conntrackd +}
\ No newline at end of file |