Vishwanatha Subbanna | 0f2b7b0 | 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 | 01b443e | 2018-10-02 20:51:15 -0700 | [diff] [blame] | 5 | PV = "1.0+git${SRCPV}" |
Vishwanatha Subbanna | 0f2b7b0 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 6 | LICENSE = "Apache-2.0" |
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" |
Patrick Venture | 01b443e | 2018-10-02 20:51:15 -0700 | [diff] [blame] | 8 | |
Vishwanatha Subbanna | 0f2b7b0 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 9 | inherit autotools pkgconfig |
| 10 | inherit obmc-phosphor-dbus-service |
| 11 | |
| 12 | DEPENDS += "autoconf-archive-native" |
| 13 | DEPENDS += "sdbusplus" |
| 14 | DEPENDS += "phosphor-logging" |
| 15 | DEPENDS += "phosphor-dbus-interfaces" |
Tom Joseph | 1c1845e | 2018-07-10 12:23:06 -0500 | [diff] [blame] | 16 | DEPENDS += "boost" |
Andrew Geissler | e1610d7 | 2018-10-09 04:10:28 +0000 | [diff] [blame] | 17 | DEPENDS += "nss-pam-ldapd" |
Brad Bishop | 26873c9 | 2019-03-22 23:41:42 -0400 | [diff] [blame] | 18 | DEPENDS += "systemd" |
Nagaraju Goruganti | 6d7f640 | 2018-09-03 21:56:42 -0500 | [diff] [blame] | 19 | PACKAGE_BEFORE_PN = "phosphor-ldap" |
Vishwanatha Subbanna | 0f2b7b0 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 20 | |
Richard Marian Thomaiyar | 0aed5da | 2018-04-12 16:06:36 -0700 | [diff] [blame] | 21 | inherit useradd |
| 22 | |
Nagaraju Goruganti | 6d7f640 | 2018-09-03 21:56:42 -0500 | [diff] [blame] | 23 | USERADD_PACKAGES = "${PN} phosphor-ldap" |
| 24 | DBUS_PACKAGES = "${USERADD_PACKAGES}" |
Richard Marian Thomaiyar | 0aed5da | 2018-04-12 16:06:36 -0700 | [diff] [blame] | 25 | # add groups needed for privilege maintenance |
Richard Marian Thomaiyar | 96e5ce1 | 2019-11-08 17:26:00 +0530 | [diff] [blame] | 26 | GROUPADD_PARAM_${PN} = "priv-admin; priv-operator; priv-user " |
| 27 | GROUPADD_PARAM_phosphor-ldap = "priv-admin; priv-operator; priv-user " |
Richard Marian Thomaiyar | 41882fb | 2018-12-14 09:04:40 +0530 | [diff] [blame] | 28 | |
Vishwanatha Subbanna | 0f2b7b0 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 29 | DBUS_SERVICE_${PN} += "xyz.openbmc_project.User.Manager.service" |
Nagaraju Goruganti | 6d7f640 | 2018-09-03 21:56:42 -0500 | [diff] [blame] | 30 | FILES_phosphor-ldap += " \ |
Patrick Venture | 7c9d6f9 | 2019-04-04 10:03:09 -0700 | [diff] [blame] | 31 | ${bindir}/phosphor-ldap-conf \ |
| 32 | ${bindir}/phosphor-ldap-mapper \ |
Nagaraju Goruganti | 6d7f640 | 2018-09-03 21:56:42 -0500 | [diff] [blame] | 33 | " |
Tom Joseph | 7047437 | 2018-10-07 05:51:04 -0500 | [diff] [blame] | 34 | DBUS_SERVICE_phosphor-ldap = " \ |
| 35 | xyz.openbmc_project.Ldap.Config.service \ |
| 36 | xyz.openbmc_project.LDAP.PrivilegeMapper.service \ |
| 37 | " |
Vishwanatha Subbanna | 0f2b7b0 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 38 | SRC_URI += "git://github.com/openbmc/phosphor-user-manager" |
Andrew Geissler | e398621 | 2020-10-04 07:11:38 +0000 | [diff] [blame] | 39 | SRCREV = "75be4e68c7a599650a1800d7846182b06534bdca" |
Vishwanatha Subbanna | 0f2b7b0 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 40 | S = "${WORKDIR}/git" |