Vishwanatha Subbanna | 0ea6f63 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 1 | SUMMARY = "Phosphor User Manager Daemon" |
| 2 | DESCRIPTION = "Daemon that does user management" |
| 3 | HOMEPAGE = "http://github.com/openbmc/phosphor-user-manager" |
| 4 | PR = "r1" |
Patrick Venture | 4f79273 | 2018-10-02 20:51:15 -0700 | [diff] [blame] | 5 | PV = "1.0+git${SRCPV}" |
Vishwanatha Subbanna | 0ea6f63 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 6 | LICENSE = "Apache-2.0" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
Patrick Venture | 4f79273 | 2018-10-02 20:51:15 -0700 | [diff] [blame] | 8 | |
Vishwanatha Subbanna | 0ea6f63 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 9 | inherit autotools pkgconfig |
| 10 | inherit obmc-phosphor-dbus-service |
| 11 | |
Anton D. Kachalov | 31ecbfb | 2021-04-21 19:23:55 +0200 | [diff] [blame] | 12 | DEPENDS += "dbus" |
Vishwanatha Subbanna | 0ea6f63 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 13 | DEPENDS += "autoconf-archive-native" |
| 14 | DEPENDS += "sdbusplus" |
| 15 | DEPENDS += "phosphor-logging" |
| 16 | DEPENDS += "phosphor-dbus-interfaces" |
Tom Joseph | 926556d | 2018-07-10 12:23:06 -0500 | [diff] [blame] | 17 | DEPENDS += "boost" |
Andrew Geissler | 1de95de | 2018-10-09 04:10:28 +0000 | [diff] [blame] | 18 | DEPENDS += "nss-pam-ldapd" |
Brad Bishop | 44f3cce | 2019-03-22 23:41:42 -0400 | [diff] [blame] | 19 | DEPENDS += "systemd" |
Nagaraju Goruganti | df045f1 | 2018-09-03 21:56:42 -0500 | [diff] [blame] | 20 | PACKAGE_BEFORE_PN = "phosphor-ldap" |
Vishwanatha Subbanna | 0ea6f63 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 21 | |
Richard Marian Thomaiyar | a348860 | 2018-04-12 16:06:36 -0700 | [diff] [blame] | 22 | inherit useradd |
| 23 | |
Nagaraju Goruganti | df045f1 | 2018-09-03 21:56:42 -0500 | [diff] [blame] | 24 | USERADD_PACKAGES = "${PN} phosphor-ldap" |
| 25 | DBUS_PACKAGES = "${USERADD_PACKAGES}" |
Richard Marian Thomaiyar | a348860 | 2018-04-12 16:06:36 -0700 | [diff] [blame] | 26 | # add groups needed for privilege maintenance |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 27 | GROUPADD_PARAM:${PN} = "priv-admin; priv-operator; priv-user " |
| 28 | GROUPADD_PARAM:phosphor-ldap = "priv-admin; priv-operator; priv-user " |
Richard Marian Thomaiyar | 7a8e9b2 | 2018-12-14 09:04:40 +0530 | [diff] [blame] | 29 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 30 | DBUS_SERVICE:${PN} += "xyz.openbmc_project.User.Manager.service" |
| 31 | FILES:phosphor-ldap += " \ |
Patrick Venture | d8014ce | 2019-04-04 10:03:09 -0700 | [diff] [blame] | 32 | ${bindir}/phosphor-ldap-conf \ |
| 33 | ${bindir}/phosphor-ldap-mapper \ |
Nagaraju Goruganti | df045f1 | 2018-09-03 21:56:42 -0500 | [diff] [blame] | 34 | " |
Anton D. Kachalov | 31ecbfb | 2021-04-21 19:23:55 +0200 | [diff] [blame] | 35 | FILES:${PN} += " \ |
| 36 | ${base_libdir}/systemd \ |
| 37 | ${datadir}/phosphor-certificate-manager \ |
| 38 | " |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 39 | DBUS_SERVICE:phosphor-ldap = " \ |
Tom Joseph | 4227626 | 2018-10-07 05:51:04 -0500 | [diff] [blame] | 40 | xyz.openbmc_project.Ldap.Config.service \ |
| 41 | xyz.openbmc_project.LDAP.PrivilegeMapper.service \ |
| 42 | " |
Vishwanatha Subbanna | 0ea6f63 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 43 | SRC_URI += "git://github.com/openbmc/phosphor-user-manager" |
Anton D. Kachalov | 31ecbfb | 2021-04-21 19:23:55 +0200 | [diff] [blame] | 44 | SRCREV = "607ed50ae1c4817969a117d951a3e90f686fbde0" |
Vishwanatha Subbanna | 0ea6f63 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 45 | S = "${WORKDIR}/git" |