URL: https://github.com/SSSD/sssd/pull/5859
Author: alexey-tikhonov
 Title: #5859: A couple of spec-file updates.
Action: opened

PR body:
"""
 - enable build of 'subid ranges' support
 - disable running files provider by default
"""

To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5859/head:pr5859
git checkout pr5859
From 8dcd4660b52dcc173f14d59751641f8e4a5afb8f Mon Sep 17 00:00:00 2001
From: Alexey Tikhonov <atikh...@redhat.com>
Date: Mon, 1 Nov 2021 12:08:08 +0100
Subject: [PATCH 1/2] SPEC: enabled build of 'subid ranges' support

Since feature support in shadow-utils is available since
upstream release version 4.9, support in SSSD can also be
enabled by default.
---
 contrib/sssd.spec.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index b46b988eb3..6cba7c02b9 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -130,6 +130,7 @@ BuildRequires: samba-devel
 # required for idmap_sss.so
 BuildRequires: samba-winbind
 BuildRequires: selinux-policy-targeted
+BuildRequires: shadow-utils-subid-devel
 # required for p11_child smartcard tests
 BuildRequires: softhsm >= 2.1.0
 BuildRequires: systemd-devel
@@ -519,6 +520,7 @@ autoreconf -ivf
     --with-sssd-user=%{sssd_user} \
     --with-syslog=journald \
     --with-test-dir=/dev/shm \
+    --with-subid \
 %if 0%{?fedora}
     --enable-files-domain \
     --disable-polkit-rules-path \
@@ -826,6 +828,7 @@ done
 %files client -f sssd_client.lang
 %license src/sss_client/COPYING src/sss_client/COPYING.LESSER
 %{_libdir}/libnss_sss.so.2
+%{_libdir}/libsubid_sss.so
 %{_libdir}/security/pam_sss.so
 %{_libdir}/security/pam_sss_gss.so
 %{_libdir}/krb5/plugins/libkrb5/sssd_krb5_locator_plugin.so

From dbfc51a493f39b5a8ed79f084f37259df4b0bf70 Mon Sep 17 00:00:00 2001
From: Alexey Tikhonov <atikh...@redhat.com>
Date: Mon, 1 Nov 2021 12:12:23 +0100
Subject: [PATCH 2/2] SPEC: disable running files provider by default

This is to sync Fedora and upstream spec-files.
---
 contrib/sssd.spec.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 6cba7c02b9..e1617f2274 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -522,7 +522,6 @@ autoreconf -ivf
     --with-test-dir=/dev/shm \
     --with-subid \
 %if 0%{?fedora}
-    --enable-files-domain \
     --disable-polkit-rules-path \
 %endif
     %{nil}
_______________________________________________
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to