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 |
| 26 | GROUPADD_PARAM_${PN} = "priv-admin; priv-operator; priv-user; priv-callback " |
Nagaraju Goruganti | 6d7f640 | 2018-09-03 21:56:42 -0500 | [diff] [blame] | 27 | GROUPADD_PARAM_phosphor-ldap = "priv-admin; priv-operator; priv-user; priv-callback " |
Richard Marian Thomaiyar | 41882fb | 2018-12-14 09:04:40 +0530 | [diff] [blame] | 28 | |
| 29 | # Add root user to priv-admin group |
| 30 | GROUPMEMS_PARAM_${PN} = "-g priv-admin -a root" |
| 31 | |
Vishwanatha Subbanna | 0f2b7b0 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 32 | DBUS_SERVICE_${PN} += "xyz.openbmc_project.User.Manager.service" |
Nagaraju Goruganti | 6d7f640 | 2018-09-03 21:56:42 -0500 | [diff] [blame] | 33 | FILES_phosphor-ldap += " \ |
Patrick Venture | 7c9d6f9 | 2019-04-04 10:03:09 -0700 | [diff] [blame] | 34 | ${bindir}/phosphor-ldap-conf \ |
| 35 | ${bindir}/phosphor-ldap-mapper \ |
Nagaraju Goruganti | 6d7f640 | 2018-09-03 21:56:42 -0500 | [diff] [blame] | 36 | " |
Tom Joseph | 7047437 | 2018-10-07 05:51:04 -0500 | [diff] [blame] | 37 | DBUS_SERVICE_phosphor-ldap = " \ |
| 38 | xyz.openbmc_project.Ldap.Config.service \ |
| 39 | xyz.openbmc_project.LDAP.PrivilegeMapper.service \ |
| 40 | " |
Vishwanatha Subbanna | 0f2b7b0 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 41 | SRC_URI += "git://github.com/openbmc/phosphor-user-manager" |
Andrew Geissler | c3c16d3 | 2019-06-03 14:02:35 +0000 | [diff] [blame] | 42 | SRCREV = "59dba4435d0d553369790e8936d7eb43251ff302" |
Vishwanatha Subbanna | 0f2b7b0 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 43 | S = "${WORKDIR}/git" |