blob: 646add4a19a99e67b05fc91b140c14a9043f5d03 [file] [log] [blame]
Vishwanatha Subbanna0f2b7b02017-10-18 15:47:54 +05301SUMMARY = "Phosphor User Manager Daemon"
2DESCRIPTION = "Daemon that does user management"
3HOMEPAGE = "http://github.com/openbmc/phosphor-user-manager"
4PR = "r1"
Patrick Venture01b443e2018-10-02 20:51:15 -07005PV = "1.0+git${SRCPV}"
Vishwanatha Subbanna0f2b7b02017-10-18 15:47:54 +05306LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
Patrick Venture01b443e2018-10-02 20:51:15 -07008
Vishwanatha Subbanna0f2b7b02017-10-18 15:47:54 +05309inherit autotools pkgconfig
10inherit obmc-phosphor-dbus-service
11
12DEPENDS += "autoconf-archive-native"
13DEPENDS += "sdbusplus"
14DEPENDS += "phosphor-logging"
15DEPENDS += "phosphor-dbus-interfaces"
Tom Joseph1c1845e2018-07-10 12:23:06 -050016DEPENDS += "boost"
Andrew Geisslere1610d72018-10-09 04:10:28 +000017DEPENDS += "nss-pam-ldapd"
Nagaraju Goruganti6d7f6402018-09-03 21:56:42 -050018PACKAGE_BEFORE_PN = "phosphor-ldap"
Vishwanatha Subbanna0f2b7b02017-10-18 15:47:54 +053019RDEPENDS_${PN} += "libsystemd"
20RDEPENDS_${PN} += "phosphor-logging"
21
Richard Marian Thomaiyar0aed5da2018-04-12 16:06:36 -070022inherit useradd
23
Nagaraju Goruganti6d7f6402018-09-03 21:56:42 -050024USERADD_PACKAGES = "${PN} phosphor-ldap"
25DBUS_PACKAGES = "${USERADD_PACKAGES}"
Richard Marian Thomaiyar0aed5da2018-04-12 16:06:36 -070026# add groups needed for privilege maintenance
27GROUPADD_PARAM_${PN} = "priv-admin; priv-operator; priv-user; priv-callback "
Nagaraju Goruganti6d7f6402018-09-03 21:56:42 -050028GROUPADD_PARAM_phosphor-ldap = "priv-admin; priv-operator; priv-user; priv-callback "
Richard Marian Thomaiyar41882fb2018-12-14 09:04:40 +053029
30# Add root user to priv-admin group
31GROUPMEMS_PARAM_${PN} = "-g priv-admin -a root"
32
Vishwanatha Subbanna0f2b7b02017-10-18 15:47:54 +053033DBUS_SERVICE_${PN} += "xyz.openbmc_project.User.Manager.service"
Nagaraju Goruganti6d7f6402018-09-03 21:56:42 -050034FILES_phosphor-ldap += " \
35 ${sbindir}/phosphor-ldap-conf \
Tom Joseph70474372018-10-07 05:51:04 -050036 ${sbindir}/phosphor-ldap-mapper \
Nagaraju Goruganti6d7f6402018-09-03 21:56:42 -050037"
Tom Joseph70474372018-10-07 05:51:04 -050038DBUS_SERVICE_phosphor-ldap = " \
39 xyz.openbmc_project.Ldap.Config.service \
40 xyz.openbmc_project.LDAP.PrivilegeMapper.service \
41"
Vishwanatha Subbanna0f2b7b02017-10-18 15:47:54 +053042SRC_URI += "git://github.com/openbmc/phosphor-user-manager"
Andrew Geisslere39cf942019-03-11 08:12:31 +000043SRCREV = "95a2931473dfa61a30e7a65606dab15ab24cd5b4"
Vishwanatha Subbanna0f2b7b02017-10-18 15:47:54 +053044S = "${WORKDIR}/git"