Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 1 | INITSCRIPT_PARAMS = "defaults 14 86" |
| 2 | |
| 3 | require samhain.inc |
| 4 | |
| 5 | DEPENDS = "gmp" |
| 6 | |
| 7 | SRC_URI += "file://samhain-server-volatiles" |
| 8 | |
| 9 | TARGET_CC_ARCH += "${LDFLAGS}" |
| 10 | |
| 11 | do_install_append() { |
| 12 | install -d ${D}${sysconfdir}/default/volatiles |
| 13 | install -m 0644 ${WORKDIR}/samhain-server-volatiles \ |
| 14 | ${D}${sysconfdir}/default/volatiles/samhain-server |
| 15 | |
| 16 | install -m 700 samhain-install.sh init/samhain.startLinux \ |
| 17 | init/samhain.startLSB ${D}/var/lib/samhain |
| 18 | } |
| 19 | |
| 20 | RDEPENDS_${PN} += "gmp bash perl" |