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}" |
Patrick Venture | 367b85b | 2018-11-03 09:43:10 -0700 | [diff] [blame] | 6 | LICENSE = "Apache-2.0" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
Tom Joseph | fddc405 | 2017-01-16 16:43:05 +0530 | [diff] [blame] | 8 | |
| 9 | inherit autotools pkgconfig |
Tom Joseph | fddc405 | 2017-01-16 16:43:05 +0530 | [diff] [blame] | 10 | inherit obmc-phosphor-systemd |
| 11 | |
| 12 | DEPENDS += "autoconf-archive-native" |
| 13 | DEPENDS += "phosphor-mapper" |
| 14 | DEPENDS += "systemd" |
| 15 | DEPENDS += "phosphor-ipmi-host" |
| 16 | RDEPENDS_${PN} += "libmapper" |
| 17 | RDEPENDS_${PN} += "libsystemd" |
Tom Joseph | 20a3a19 | 2018-09-21 00:56:43 -0500 | [diff] [blame] | 18 | RDEPENDS_${PN} += "iptables" |
Tom Joseph | fddc405 | 2017-01-16 16:43:05 +0530 | [diff] [blame] | 19 | |
Richard Marian Thomaiyar | 719bb6b | 2018-10-03 13:57:22 +0530 | [diff] [blame] | 20 | inherit useradd |
| 21 | |
| 22 | USERADD_PACKAGES = "${PN}" |
| 23 | # add ipmi group |
| 24 | GROUPADD_PARAM_${PN} = "ipmi" |
| 25 | |
Tom Joseph | fddc405 | 2017-01-16 16:43:05 +0530 | [diff] [blame] | 26 | SRC_URI += "git://github.com/openbmc/phosphor-net-ipmid" |
Tom Joseph | c2cb297 | 2018-10-17 07:44:52 -0500 | [diff] [blame] | 27 | SRC_URI += "file://ipmi-net-firewall.sh" |
Andrew Geissler | 8142a5d | 2018-12-03 17:30:24 +0000 | [diff] [blame] | 28 | SRCREV = "472a37be3a4f6585fa2d30cdc69a27c38771c0bf" |
Tom Joseph | fddc405 | 2017-01-16 16:43:05 +0530 | [diff] [blame] | 29 | |
| 30 | S = "${WORKDIR}/git" |
| 31 | |
Tom Joseph | c2cb297 | 2018-10-17 07:44:52 -0500 | [diff] [blame] | 32 | do_install_append() { |
| 33 | install -m 0755 ${WORKDIR}/ipmi-net-firewall.sh \ |
| 34 | ${D}${sbindir}/ipmi-net-firewall.sh |
| 35 | } |
| 36 | |
Tom Joseph | 1279869 | 2017-01-27 14:11:58 +0530 | [diff] [blame] | 37 | SYSTEMD_SERVICE_${PN} = " \ |
| 38 | ${PN}.service \ |
| 39 | ${PN}.socket \ |
| 40 | " |