Tom Joseph | fddc405 | 2017-01-16 16:43:05 +0530 | [diff] [blame] | 1 | SUMMARY = "Phosphor Network IPMI Daemon" |
| 2 | DESCRIPTION = "Daemon to support IPMI protocol over network" |
| 3 | HOMEPAGE = "https://github.com/openbmc/phosphor-net-ipmid" |
| 4 | PR = "r1" |
Patrick Venture | 6ffd6b4 | 2018-10-01 20:54:34 -0700 | [diff] [blame] | 5 | PV = "1.0+git${SRCPV}" |
Tom Joseph | fddc405 | 2017-01-16 16:43:05 +0530 | [diff] [blame] | 6 | |
| 7 | inherit autotools pkgconfig |
| 8 | inherit obmc-phosphor-license |
| 9 | inherit obmc-phosphor-systemd |
| 10 | |
| 11 | DEPENDS += "autoconf-archive-native" |
| 12 | DEPENDS += "phosphor-mapper" |
| 13 | DEPENDS += "systemd" |
| 14 | DEPENDS += "phosphor-ipmi-host" |
| 15 | RDEPENDS_${PN} += "libmapper" |
| 16 | RDEPENDS_${PN} += "libsystemd" |
Tom Joseph | 20a3a19 | 2018-09-21 00:56:43 -0500 | [diff] [blame] | 17 | RDEPENDS_${PN} += "iptables" |
Tom Joseph | fddc405 | 2017-01-16 16:43:05 +0530 | [diff] [blame] | 18 | |
Richard Marian Thomaiyar | 719bb6b | 2018-10-03 13:57:22 +0530 | [diff] [blame] | 19 | inherit useradd |
| 20 | |
| 21 | USERADD_PACKAGES = "${PN}" |
| 22 | # add ipmi group |
| 23 | GROUPADD_PARAM_${PN} = "ipmi" |
| 24 | |
Tom Joseph | fddc405 | 2017-01-16 16:43:05 +0530 | [diff] [blame] | 25 | SRC_URI += "git://github.com/openbmc/phosphor-net-ipmid" |
Tom Joseph | c2cb297 | 2018-10-17 07:44:52 -0500 | [diff] [blame] | 26 | SRC_URI += "file://ipmi-net-firewall.sh" |
Brad Bishop | ca51cd7 | 2018-10-08 16:20:29 +0000 | [diff] [blame^] | 27 | SRCREV = "b00f8f7fdbe850ac6dc431713a10764031f5a0ec" |
Tom Joseph | fddc405 | 2017-01-16 16:43:05 +0530 | [diff] [blame] | 28 | |
| 29 | S = "${WORKDIR}/git" |
| 30 | |
Tom Joseph | c2cb297 | 2018-10-17 07:44:52 -0500 | [diff] [blame] | 31 | do_install_append() { |
| 32 | install -m 0755 ${WORKDIR}/ipmi-net-firewall.sh \ |
| 33 | ${D}${sbindir}/ipmi-net-firewall.sh |
| 34 | } |
| 35 | |
Tom Joseph | 1279869 | 2017-01-27 14:11:58 +0530 | [diff] [blame] | 36 | SYSTEMD_SERVICE_${PN} = " \ |
| 37 | ${PN}.service \ |
| 38 | ${PN}.socket \ |
| 39 | " |