From 7d33d4193b9d1b0119633c06442875a56a42823589893496dbb0c4319a4ae029 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 21 Feb 2022 17:10:16 +0000 Subject: [PATCH] Accepting request 956514 from home:gmbr3:Active - Enable selinux support - Update Supplements to new format OBS-URL: https://build.opensuse.org/request/show/956514 OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=261 --- sssd.changes | 6 ++++++ sssd.spec | 9 +++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/sssd.changes b/sssd.changes index db85d7c..4f61493 100644 --- a/sssd.changes +++ b/sssd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 21 14:50:38 UTC 2022 - Callum Farmer + +- Enable selinux support +- Update Supplements to new format + ------------------------------------------------------------------- Wed Feb 9 13:17:30 UTC 2022 - Samuel Cabrero diff --git a/sssd.spec b/sssd.spec index e9baf4c..c6a29c0 100644 --- a/sssd.spec +++ b/sssd.spec @@ -76,6 +76,7 @@ BuildRequires: pkgconfig(talloc) BuildRequires: pkgconfig(tdb) >= 1.1.3 BuildRequires: pkgconfig(tevent) BuildRequires: pkgconfig(uuid) +BuildRequires: pkgconfig(libsemanage) %{?systemd_ordering} Requires: sssd-ldap = %version-%release Requires(postun): pam-config @@ -253,7 +254,7 @@ requests. Summary: Library to allow communication between libnfsidmap and SSSD License: GPL-3.0-or-later Group: System/Libraries -Supplements: packageand(nfsidmap:sssd-client) +Supplements: (nfsidmap and sssd-client) %description -n libnfsidmap-sss A utility library to allow communication between libnfsidmap and SSSD. @@ -316,7 +317,7 @@ responder. Summary: A library to allow communication between sudo and SSSD License: LGPL-3.0-or-later Group: System/Libraries -Supplements: packageand(sudo:sssd-client) +Supplements: (sudo and sssd-client) %description -n libsss_sudo A utility library to allow communication between sudo and SSSD. @@ -382,9 +383,8 @@ autoreconf -fiv --enable-nsslibdir="/%_lib" \ --enable-pammoddir="/%_lib/security" \ --with-ldb-lib-dir="%ldbdir" \ - --with-selinux=no \ + --with-selinux=yes \ --with-os=suse \ - --with-semanage=no \ --disable-ldb-version-check \ --without-secrets \ --without-python2-bindings @@ -557,6 +557,7 @@ fi %_libexecdir/%name/sss_analyze %_libexecdir/%name/sss_signal %_libexecdir/%name/sssd_check_socket_activated_responders +%_libexecdir/%name/selinux_child %dir %sssdstatedir %attr(700,root,root) %dir %dbpath/ %attr(755,root,root) %dir %pipepath/