blob: ea52b35140f7afd198e3196f108f16871b0ca20b [file] [log] [blame]
Tom Josephfddc4052017-01-16 16:43:05 +05301SUMMARY = "Phosphor Network IPMI Daemon"
2DESCRIPTION = "Daemon to support IPMI protocol over network"
3HOMEPAGE = "https://github.com/openbmc/phosphor-net-ipmid"
4PR = "r1"
Patrick Venture6ffd6b42018-10-01 20:54:34 -07005PV = "1.0+git${SRCPV}"
Patrick Venture367b85b2018-11-03 09:43:10 -07006LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
Tom Josephfddc4052017-01-16 16:43:05 +05308
9inherit autotools pkgconfig
Tom Josephfddc4052017-01-16 16:43:05 +053010inherit obmc-phosphor-systemd
11
12DEPENDS += "autoconf-archive-native"
13DEPENDS += "phosphor-mapper"
14DEPENDS += "systemd"
15DEPENDS += "phosphor-ipmi-host"
16RDEPENDS_${PN} += "libmapper"
17RDEPENDS_${PN} += "libsystemd"
Tom Joseph20a3a192018-09-21 00:56:43 -050018RDEPENDS_${PN} += "iptables"
Tom Josephfddc4052017-01-16 16:43:05 +053019
Richard Marian Thomaiyar719bb6b2018-10-03 13:57:22 +053020inherit useradd
21
22USERADD_PACKAGES = "${PN}"
23# add ipmi group
24GROUPADD_PARAM_${PN} = "ipmi"
25
Tom Josephfddc4052017-01-16 16:43:05 +053026SRC_URI += "git://github.com/openbmc/phosphor-net-ipmid"
Tom Josephc2cb2972018-10-17 07:44:52 -050027SRC_URI += "file://ipmi-net-firewall.sh"
Andrew Geissler7d121ee2018-11-14 15:00:37 +000028SRCREV = "8977d12a4f6d647958b50003c11e396fadffde51"
Tom Josephfddc4052017-01-16 16:43:05 +053029
30S = "${WORKDIR}/git"
31
Tom Josephc2cb2972018-10-17 07:44:52 -050032do_install_append() {
33 install -m 0755 ${WORKDIR}/ipmi-net-firewall.sh \
34 ${D}${sbindir}/ipmi-net-firewall.sh
35}
36
Tom Joseph12798692017-01-27 14:11:58 +053037SYSTEMD_SERVICE_${PN} = " \
38 ${PN}.service \
39 ${PN}.socket \
40 "