diff options
Diffstat (limited to 'net-nds/openldap/openldap-2.4.42-r1.ebuild')
-rw-r--r-- | net-nds/openldap/openldap-2.4.42-r1.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/net-nds/openldap/openldap-2.4.42-r1.ebuild b/net-nds/openldap/openldap-2.4.42-r1.ebuild index d86a0f9fbb3f..2803acd5baf3 100644 --- a/net-nds/openldap/openldap-2.4.42-r1.ebuild +++ b/net-nds/openldap/openldap-2.4.42-r1.ebuild @@ -298,8 +298,12 @@ pkg_setup() { openldap_find_versiontags fi - enewgroup ldap 439 - enewuser ldap 439 -1 /usr/$(get_libdir)/openldap ldap + # The user/group are only used for running daemons which are + # disabled in minimal builds, so elide the accounts too. + if ! use minimal ; then + enewgroup ldap 439 + enewuser ldap 439 -1 /usr/$(get_libdir)/openldap ldap + fi } src_prepare() { |