diff options
author | Armin Kuster <akuster808@gmail.com> | 2020-10-08 07:05:38 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2020-10-10 16:21:48 -0700 |
commit | c0e801f1e08e43eaf44a52eb2364293ad3229ad0 (patch) | |
tree | 68f158e7baa206482d328f2f78955a0fc8ecf249 /recipes-security | |
parent | 7578a8b2ed8d23255aadcb469b5a398e761debc1 (diff) | |
download | meta-security-c0e801f1e08e43eaf44a52eb2364293ad3229ad0.tar.gz |
sssd: update to latest ltm 1.16.5
fix musl support
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-security')
-rw-r--r-- | recipes-security/sssd/files/0002-Provide-missing-defines-which-otherwise-are-availabl.patch | 32 | ||||
-rw-r--r-- | recipes-security/sssd/sssd_1.16.5.bb (renamed from recipes-security/sssd/sssd_1.16.4.bb) | 8 |
2 files changed, 37 insertions, 3 deletions
diff --git a/recipes-security/sssd/files/0002-Provide-missing-defines-which-otherwise-are-availabl.patch b/recipes-security/sssd/files/0002-Provide-missing-defines-which-otherwise-are-availabl.patch new file mode 100644 index 0000000..1a22332 --- /dev/null +++ b/recipes-security/sssd/files/0002-Provide-missing-defines-which-otherwise-are-availabl.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 37a0999e5a9f54e1c61a02a7fbab6fcd04738b3c Mon Sep 17 00:00:00 2001 | ||
2 | From: Armin Kuster <akuster808@gmail.com> | ||
3 | Date: Thu, 8 Oct 2020 05:54:13 -0700 | ||
4 | Subject: [PATCH] Provide missing defines which otherwise are available on | ||
5 | glibc system headers | ||
6 | |||
7 | Signed-off-by: Armin Kuster <akuster808@gmail.com> | ||
8 | |||
9 | Upsteam-Status: Pending | ||
10 | |||
11 | --- | ||
12 | src/util/util.h | 4 ++++ | ||
13 | 1 file changed, 4 insertions(+) | ||
14 | |||
15 | diff --git a/src/util/util.h b/src/util/util.h | ||
16 | index 8a754dbfd..6e55b4bdc 100644 | ||
17 | --- a/src/util/util.h | ||
18 | +++ b/src/util/util.h | ||
19 | @@ -76,6 +76,10 @@ | ||
20 | #define MAX(a, b) (((a) > (b)) ? (a) : (b)) | ||
21 | #endif | ||
22 | |||
23 | +#ifndef ALLPERMS | ||
24 | +# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)/* 07777 */ | ||
25 | +#endif | ||
26 | + | ||
27 | #define SSSD_MAIN_OPTS SSSD_DEBUG_OPTS | ||
28 | |||
29 | #define SSSD_SERVER_OPTS(uid, gid) \ | ||
30 | -- | ||
31 | 2.17.1 | ||
32 | |||
diff --git a/recipes-security/sssd/sssd_1.16.4.bb b/recipes-security/sssd/sssd_1.16.5.bb index e54fa98..9784ec7 100644 --- a/recipes-security/sssd/sssd_1.16.4.bb +++ b/recipes-security/sssd/sssd_1.16.5.bb | |||
@@ -6,7 +6,9 @@ LICENSE = "GPLv3+" | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
7 | 7 | ||
8 | DEPENDS = "openldap cyrus-sasl libtdb ding-libs libpam c-ares krb5 autoconf-archive" | 8 | DEPENDS = "openldap cyrus-sasl libtdb ding-libs libpam c-ares krb5 autoconf-archive" |
9 | DEPENDS += "libldb dbus libtalloc libpcre glib-2.0 popt e2fsprogs libtevent" | 9 | DEPENDS_append = " libldb dbus libtalloc libpcre glib-2.0 popt e2fsprogs libtevent" |
10 | |||
11 | DEPENDS_append_libc-musl = " musl-nscd" | ||
10 | 12 | ||
11 | # If no crypto has been selected, default to DEPEND on nss, since that's what | 13 | # 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 | 14 | # sssd will pick if no active choice is made during configure |
@@ -19,10 +21,10 @@ SRC_URI = "https://releases.pagure.org/SSSD/${BPN}/${BP}.tar.gz \ | |||
19 | file://fix-ldblibdir.patch \ | 21 | file://fix-ldblibdir.patch \ |
20 | file://0001-build-Don-t-use-AC_CHECK_FILE-when-building-manpages.patch \ | 22 | file://0001-build-Don-t-use-AC_CHECK_FILE-when-building-manpages.patch \ |
21 | file://0001-nss-Collision-with-external-nss-symbol.patch \ | 23 | file://0001-nss-Collision-with-external-nss-symbol.patch \ |
24 | file://0002-Provide-missing-defines-which-otherwise-are-availabl.patch \ | ||
22 | " | 25 | " |
23 | 26 | ||
24 | SRC_URI[md5sum] = "757bbb6f15409d8d075f4f06cb678d50" | 27 | SRC_URI[sha256sum] = "2e1a7bf036b583f686d35164f2d79bdf4857b98f51fe8b0d17aa0fa756e4d0c0" |
25 | SRC_URI[sha256sum] = "6bb212cd6b75b918e945c24e7c3f95a486fb54d7f7d489a9334cfa1a1f3bf959" | ||
26 | 28 | ||
27 | inherit autotools pkgconfig gettext python3-dir features_check systemd | 29 | inherit autotools pkgconfig gettext python3-dir features_check systemd |
28 | 30 | ||