summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-net_git.bb
blob: 0c6cbd5e5428dac54005acd237d3f3fe94df63f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
SUMMARY = "Phosphor Network IPMI Daemon"
DESCRIPTION = "Daemon to support IPMI protocol over network"
HOMEPAGE = "https://github.com/openbmc/phosphor-net-ipmid"
PR = "r1"
PV = "1.0+git${SRCPV}"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"

inherit autotools pkgconfig
inherit obmc-phosphor-systemd

DEPENDS += "autoconf-archive-native"
DEPENDS += "cli11"
DEPENDS += "phosphor-mapper"
DEPENDS += "systemd"
DEPENDS += "phosphor-ipmi-host"
RDEPENDS_${PN} += "iptables"

SRC_URI += "git://scm.raptorcs.com/scm/git/phosphor-net-ipmid;protocol=https"
SRC_URI += "file://ipmi-net-firewall.sh"
SRCREV = "8af90ebcc552e243ae85aa9e9da1a00fbecab56c"

S = "${WORKDIR}/git"

do_install_append() {
        install -d ${D}${bindir}
        install -m 0755 ${WORKDIR}/ipmi-net-firewall.sh \
        ${D}${bindir}/ipmi-net-firewall.sh
}

SYSTEMD_SERVICE_${PN} = " \
        ${PN}.service \
        ${PN}.socket \
        "
OpenPOWER on IntegriCloud