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" |
Nagaraju Goruganti | 6d7f640 | 2018-09-03 21:56:42 -0500 | [diff] [blame] | 18 | PACKAGE_BEFORE_PN = "phosphor-ldap" |
Vishwanatha Subbanna | 0f2b7b0 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 19 | RDEPENDS_${PN} += "libsystemd" |
| 20 | RDEPENDS_${PN} += "phosphor-logging" |
| 21 | |
Richard Marian Thomaiyar | 0aed5da | 2018-04-12 16:06:36 -0700 | [diff] [blame] | 22 | inherit useradd |
| 23 | |
Nagaraju Goruganti | 6d7f640 | 2018-09-03 21:56:42 -0500 | [diff] [blame] | 24 | USERADD_PACKAGES = "${PN} phosphor-ldap" |
| 25 | DBUS_PACKAGES = "${USERADD_PACKAGES}" |
Richard Marian Thomaiyar | 0aed5da | 2018-04-12 16:06:36 -0700 | [diff] [blame] | 26 | # add groups needed for privilege maintenance |
| 27 | GROUPADD_PARAM_${PN} = "priv-admin; priv-operator; priv-user; priv-callback " |
Nagaraju Goruganti | 6d7f640 | 2018-09-03 21:56:42 -0500 | [diff] [blame] | 28 | 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] | 29 | |
| 30 | # Add root user to priv-admin group |
| 31 | GROUPMEMS_PARAM_${PN} = "-g priv-admin -a root" |
| 32 | |
Vishwanatha Subbanna | 0f2b7b0 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 33 | DBUS_SERVICE_${PN} += "xyz.openbmc_project.User.Manager.service" |
Nagaraju Goruganti | 6d7f640 | 2018-09-03 21:56:42 -0500 | [diff] [blame] | 34 | FILES_phosphor-ldap += " \ |
| 35 | ${sbindir}/phosphor-ldap-conf \ |
Tom Joseph | 7047437 | 2018-10-07 05:51:04 -0500 | [diff] [blame] | 36 | ${sbindir}/phosphor-ldap-mapper \ |
Nagaraju Goruganti | 6d7f640 | 2018-09-03 21:56:42 -0500 | [diff] [blame] | 37 | " |
Tom Joseph | 7047437 | 2018-10-07 05:51:04 -0500 | [diff] [blame] | 38 | DBUS_SERVICE_phosphor-ldap = " \ |
| 39 | xyz.openbmc_project.Ldap.Config.service \ |
| 40 | xyz.openbmc_project.LDAP.PrivilegeMapper.service \ |
| 41 | " |
Vishwanatha Subbanna | 0f2b7b0 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 42 | SRC_URI += "git://github.com/openbmc/phosphor-user-manager" |
Andrew Geissler | 21a4ae4 | 2018-11-28 14:40:33 +0000 | [diff] [blame] | 43 | SRCREV = "f5c2df5eef850900ece9aa8efeaa09ec083313c9" |
Vishwanatha Subbanna | 0f2b7b0 | 2017-10-18 15:47:54 +0530 | [diff] [blame] | 44 | S = "${WORKDIR}/git" |