Marri Devender Rao | c8267c3 | 2018-09-03 06:00:39 -0500 | [diff] [blame] | 1 | SUMMARY = "Phosphor Certificate Manager" |
| 2 | DESCRIPTION = "Manages client and server certificates" |
| 3 | HOMEPAGE = "https://github.com/openbmc/phosphor-certificate-manager" |
| 4 | |
| 5 | PR = "r1" |
| 6 | PV = "0.1+git${SRCPV}" |
| 7 | |
| 8 | LICENSE = "Apache-2.0" |
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
| 10 | |
Patrick Williams | bb99d22 | 2022-01-24 15:55:09 -0600 | [diff] [blame^] | 11 | SRC_URI = "git://github.com/openbmc/phosphor-certificate-manager;branch=master;protocol=https" |
Andrew Geissler | a0f0231 | 2022-01-12 06:00:12 +0000 | [diff] [blame] | 12 | SRCREV = "6de54aba4093e35da24fc72caab5514f8bf30823" |
Marri Devender Rao | c8267c3 | 2018-09-03 06:00:39 -0500 | [diff] [blame] | 13 | |
Patrick Williams | 045f2fb | 2021-12-05 07:02:18 -0600 | [diff] [blame] | 14 | inherit meson pkgconfig systemd |
Marri Devender Rao | c8267c3 | 2018-09-03 06:00:39 -0500 | [diff] [blame] | 15 | |
| 16 | DEPENDS = " \ |
Patrick Williams | d0b5c6f | 2020-02-24 21:45:42 -0600 | [diff] [blame] | 17 | openssl \ |
Marri Devender Rao | c8267c3 | 2018-09-03 06:00:39 -0500 | [diff] [blame] | 18 | phosphor-dbus-interfaces \ |
Patrick Williams | d0b5c6f | 2020-02-24 21:45:42 -0600 | [diff] [blame] | 19 | phosphor-logging \ |
Marri Devender Rao | c8267c3 | 2018-09-03 06:00:39 -0500 | [diff] [blame] | 20 | sdbusplus \ |
Marri Devender Rao | d5feb5e | 2019-05-03 00:42:24 -0500 | [diff] [blame] | 21 | sdeventplus \ |
Marri Devender Rao | c8267c3 | 2018-09-03 06:00:39 -0500 | [diff] [blame] | 22 | " |
| 23 | |
| 24 | S = "${WORKDIR}/git" |
| 25 | |
Patrick Williams | 045f2fb | 2021-12-05 07:02:18 -0600 | [diff] [blame] | 26 | EXTRA_OEMESON += "-Dtests=disabled" |
William A. Kennington III | 444a4c3 | 2021-06-04 18:32:50 -0700 | [diff] [blame] | 27 | |
Anton D. Kachalov | 609d487 | 2021-03-19 11:30:43 +0100 | [diff] [blame] | 28 | SYSTEMD_SERVICE:${PN} = "phosphor-certificate-manager@.service" |
Ravi Teja | a36d71a | 2020-06-23 01:06:35 -0500 | [diff] [blame] | 29 | |
Anton D. Kachalov | 609d487 | 2021-03-19 11:30:43 +0100 | [diff] [blame] | 30 | PACKAGECONFIG ??= "bmcweb-cert nslcd-authority-cert" |
Patrick Williams | 045f2fb | 2021-12-05 07:02:18 -0600 | [diff] [blame] | 31 | PACKAGECONFIG[ibm-hypervisor-cert] = "-Dca-cert-extension=enabled,-Dca-cert-extension=disabled" |
| 32 | PACKAGECONFIG[bmcweb-cert] = "-Dconfig-bmcweb=enabled,-Dconfig-bmcweb=disabled" |
| 33 | PACKAGECONFIG[nslcd-authority-cert] = "-Dconfig-nslcd=enabled,-Dconfig-nslcd=disabled" |
Anton D. Kachalov | 609d487 | 2021-03-19 11:30:43 +0100 | [diff] [blame] | 34 | |
| 35 | SYSTEMD_SERVICE:${PN} = " \ |
| 36 | phosphor-certificate-manager@.service \ |
| 37 | ${@bb.utils.contains('PACKAGECONFIG', 'ibm-hypervisor-cert', 'bmc-vmi-ca-manager.service', '', d)} \ |
| 38 | ${@bb.utils.contains('PACKAGECONFIG', 'nslcd-authority-cert', 'phosphor-certificate-manager@authority.service', '', d)} \ |
| 39 | ${@bb.utils.contains('PACKAGECONFIG', 'bmcweb', 'phosphor-certificate-manager@bmcweb.service', '', d)} \ |
| 40 | " |
| 41 | |
Andrew Geissler | 24aeba0 | 2021-10-07 13:30:54 +0000 | [diff] [blame] | 42 | FILES:${PN}:append = " ${systemd_system_unitdir}/* ${datadir}/dbus-1" |