summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonatan Pålsson <jonatan.p@gmail.com>2020-03-07 20:54:01 +0000
committerArmin Kuster <akuster808@gmail.com>2020-03-08 14:13:07 -0700
commit6eaee464bfb8793145c313dfcf68eddc95eb6f29 (patch)
treef1b61395ed3ee43e745d9231d8ab43529e253fc4
parent1c22721eae19a324a5c590ca0b6c3b62455d78c2 (diff)
downloadmeta-security-6eaee464bfb8793145c313dfcf68eddc95eb6f29.tar.gz
sssd: DEPEND on nss if nothing else is chosen
sssd will attempt to build against nss if no crypto is selected. If a bbappend sets PACKAGECONFIG = <list without nss or crypto>, the appropriate DEPEND is not established. Fixes the following configure error: ... snip ... | checking for NSS... configure: error: Package requirements (nss) were not met: | | No package 'nss' found | | Consider adjusting the PKG_CONFIG_PATH environment variable if you | installed software in a non-standard prefix. | | Alternatively, you may set the environment variables NSS_CFLAGS | and NSS_LIBS to avoid the need to call pkg-config. | See the pkg-config man page for more details. | | WARNING: exit code 1 from a shell command. Signed-off-by: Jonatan Pålsson <jonatan.p@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--recipes-security/sssd/sssd_1.16.4.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-security/sssd/sssd_1.16.4.bb b/recipes-security/sssd/sssd_1.16.4.bb
index 29d1199..d42a455 100644
--- a/recipes-security/sssd/sssd_1.16.4.bb
+++ b/recipes-security/sssd/sssd_1.16.4.bb
@@ -8,6 +8,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
8DEPENDS = "openldap cyrus-sasl libtdb ding-libs libpam c-ares krb5 autoconf-archive" 8DEPENDS = "openldap cyrus-sasl libtdb ding-libs libpam c-ares krb5 autoconf-archive"
9DEPENDS += "libldb dbus libtalloc libpcre glib-2.0 popt e2fsprogs libtevent" 9DEPENDS += "libldb dbus libtalloc libpcre glib-2.0 popt e2fsprogs libtevent"
10 10
11# If no crypto has been selected, default to DEPEND on nss, since that's what
12# sssd will pick if no active choice is made during configure
13DEPENDS += "${@bb.utils.contains('PACKAGECONFIG', 'nss', '', \
14 bb.utils.contains('PACKAGECONFIG', 'crypto', '', 'nss', d), d)}"
15
11SRC_URI = "https://releases.pagure.org/SSSD/${BPN}/${BP}.tar.gz \ 16SRC_URI = "https://releases.pagure.org/SSSD/${BPN}/${BP}.tar.gz \
12 file://sssd.conf \ 17 file://sssd.conf \
13 file://volatiles.99_sssd \ 18 file://volatiles.99_sssd \