summaryrefslogtreecommitdiff
path: root/meta-security/recipes-ids/samhain/samhain-server.bb
blob: d304912e71bedde0c93a26f9385b2af1b2e8094f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
INITSCRIPT_PARAMS = "defaults 14 86"

require samhain.inc

DEPENDS = "gmp"

SRC_URI += "file://samhain-server-volatiles"

TARGET_CC_ARCH += "${LDFLAGS}"

do_install_append() {
    install -d ${D}${sysconfdir}/default/volatiles
    install -m 0644 ${WORKDIR}/samhain-server-volatiles \
        ${D}${sysconfdir}/default/volatiles/samhain-server

    install -m 700 samhain-install.sh init/samhain.startLinux \
        init/samhain.startLSB ${D}/var/lib/samhain
}

RDEPENDS_${PN} += "gmp bash perl"
RCONFLICTS_${PN} = "samhain-standalone"